yum install apr-util apr-util-devel apr apr-devel pcre pcre-devel zlib zlib-devel openssl openssl-devel gcc cmake gcc-c++ -y
阿里鏡像源和經常使用資源下載php
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
安全修改配置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
阿里雲源配置linux
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
打開數優化命令nginx
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
圖形界面安裝c++
https://www.cnblogs.com/passer101/p/9899249.html
若是報錯卸載組件從新安裝web
yum -y remove grub2-common*
有陣列沒法安裝的問題spring
https://www.linuxidc.com/Linux/2014-02/96871.htmdocker
一鍵網刻json
https://jingyan.baidu.com/article/0f5fb0993256136d8334ea9a.htmlcentos
經常使用系統工具下載
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