摘要:
yum install -y --downloaddir=./root java mkdir /server && cd /server http://mirror.bit.edu.cn/apache/tomcat/ 找现在的版本 wget http://mirror.bit.edu.cn/apac 阅读全文
摘要:
proxy 192.168.3.21 nginx 192.168.3.222 tomcat 192.168.3.223 nginx: mkdir jia images vim /etc/nginx/conf.d/www.conf server { listen 80; server_name www 阅读全文
摘要:
nginx1 :222 略 nginx2 :223 略 mysql_nfs :22 略 LB_nginx :21 /etc/nginx/nginx.conf 中添加4层代理 include /etc/nginx/L4.conf/*.conf; stream { upstream ssh222 { s 阅读全文
摘要:
192.168.3.222 nginx+php 略 192.168.3.22 mariadb 略 192.168.3.21 proxy_nginx 21host:安装nginx [root@localhost conf.d]# cat /etc/nginx/proxy_params proxy_se 阅读全文
摘要:
安装ufs 两主机均安装 yum install rpcbind nfs-utils -y systemctl restart nfs systemctl enable nfs nfs host mkdir /nfs chmod 777 /nfs echo '/data/nfs *(rw,sync, 阅读全文
摘要:
打包数据库 mysqldump -uroot -p --all-databases --single-transaction > `date +%F-%R`_mysql_alldatabases.sql //--all-databases所有库 --single-transaction 数据一致性( 阅读全文
摘要:
lnmp略 /etc/nginx/conf.d/default.conf server { listen 80; server_name localhost; root /usr/share/nginx/html/wordpress; index index.php; location ~ \.ph 阅读全文
摘要:
linux 7.1 ningx 1.1.6 mariadb5.5.6 php7.1 如果本地安装rpm包可用yum localinstall -y rpm包名安装依赖关系 ningx 1.1.6 mariadb5.5.6略 php7.1只能通过第三方安装 移除原有php yum remove php 阅读全文
摘要:
rpm -qa|grep xxx rpm -e --nodeps 搜索列出的名字 --nodeps不管依赖关系强行处理 阅读全文
摘要:
7代及其之前 yum makecache && yum install vim net-tools -y&& yum update -y 8代 dnf makecache && dnf install vim net-tools -y&& dnf update -y 阅读全文