编译安装常用包+阿里镜像源-常用资源-系统-下载-科莱软件下载-docker仓库包-安全圈-杏雨梨云-图形界面安装-docker私有双仓库-阿里源报错处理-centos7目录大小
yum install apr-util apr-util-devel apr apr-devel pcre pcre-devel zlib zlib-devel openssl openssl-devel gcc cmake gcc-c++ -y
阿里镜像源和常用资源下载
https://mirrors.aliyun.com/centos/7.6.1810/isos/x86_64/ http://msdn.itellyou.cn/ http://www.5sharing.com/
http://www.0933.me/share/2053548.html
安全修改配置
setenforce 0 systemctl stop firewalld systemctl disable firewalld sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config # 修改字符集, 否则可能报 input/output error的问题, 因为日志里打印了中文 $ localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8 $ export LC_ALL=zh_CN.UTF-8 $ echo 'LANG="zh_CN.UTF-8"' > /etc/locale.conf
阿里云源配置
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
31 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 32 yum makecache 33 yum clean all 34 yum makecache
yum install epel-release
打开数优化命令
echo -e "root soft nofile 65535\nroot hard nofile 65535\n* soft nofile 65535\n* hard nofile 65535\n" >> /etc/security/limits.conf sed -i 's#4096#65535#g' /etc/security/limits.d/20-nproc.conf
图形界面安装
https://www.cnblogs.com/passer101/p/9899249.html
如果报错卸载组件重新安装
yum -y remove grub2-common*
有阵列无法安装的问题
https://www.linuxidc.com/Linux/2014-02/96871.htm
一键网刻
https://jingyan.baidu.com/article/0f5fb0993256136d8334ea9a.html
常用系统工具下载
https://msdn.itellyou.cn
ip查询和科莱分析软件下载
http://www.colasoft.com.cn/download/capsa.php
https://www.ipchacha.com/
docker仓库包
https://hub.docker.com/r/richarvey/nginx-php-fpm/tags?page=2
安全圈
https://www.anquanquan.info/
vc库下载
https://www.fujieace.com/jingyan/vc11-vc14-vc15.html
https://www.cnblogs.com/hgj123/p/5936656.html
杏雨梨云
https://www.xyboot.com/%e6%9d%8f%e9%9b%a8%e6%a2%a8%e4%ba%91usb%e7%bb%b4%e6%8a%a4%e7%b3%bb%e7%bb%9f2019%e7%ab%af%e5%8d%88%e7%89%88/
阿里源报错清理
yum --enablerepo=base clean metadata rm -f /var/lib/rpm/__* rpm --rebuilddb -v -v yum clean dbcache yum clean metadata yum clean rpmdb yum clean headers yum clean all rm -rf /var/cache/yum/timedhosts.txt rm -rf /var/cache/yum/* yum makecache
vi /etc/docker/daemon.json { "insecure-registries": [ "192.168.1.197" ] }#私有 { "registry-mirrors": ["https://rncxm540.mirror.aliyuncs.com"] }#公有 两个镜像仓库 { "registry-mirrors":["https://rncxm540.mirror.aliyuncs.com"], "insecure-registries":["192.168.1.197"] }
{
"registry-mirrors": ["https://7bezldxe.mirror.aliyuncs.com/","https://IP:PORT/"]
}
systemctl daemon-reload && systemctl restart docker
centos7 目录大小查看
du -h --max-depth=1 /data/images/
阿里jar打包配置
https://www.cnblogs.com/xiaojf/p/10836923.html
https://repo.spring.io/webapp/#/artifacts/browse/tree/General/libs-milestone
满血拉二胡 残血到处浪