安装步骤 添加Nginx到YUM源 sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 安装Nginx sudo yum install -y ...
分类:
其他好文 时间:
2020-04-04 09:30:55
阅读次数:
164
重建docker网络 重启命令二:systemctl restart docker pkill docker iptables -t nat -F ifconfig docker0 down brctl delbr docker0 service docker restart deepin安装doc ...
分类:
其他好文 时间:
2020-04-03 12:24:13
阅读次数:
96
1、首先安装好Xshell软件 2、确认一下Linux系统中是否开启了sshd服务 sshd服务的命令操作 查看状态: systemctl status sshd.service 启动服务: systemctl start sshd.service 重启服务: systemctl restart s ...
分类:
系统相关 时间:
2020-04-02 16:14:41
阅读次数:
134
卸载软件 linux下安装软件,如何知道软件安装位置 注:一般的软件的默认安装目录在/usr/local或者/opt里,可以到那里去找找. whereis v3ray(这个最实用,找出来直接删) which v3ray yum remove v3ray systemctl disable v3ray ...
分类:
系统相关 时间:
2020-04-01 22:11:53
阅读次数:
110
一、概念 在 Linux 重启之后,会自动启动一些服务和程序。 二、需要自启动的服务和脚本 1. 需要自启动的服务有 vsftpd 和 mysql 2.需要自启动的脚本有 tomcat 三、服务自启动 1.开启 systemctl enable vsftpd.service systemctl en ...
分类:
编程语言 时间:
2020-04-01 11:05:50
阅读次数:
78
命令:nmtui 选择 Edit a connection 选择需要编辑的网卡 修改完成之后选择OK 然后一路退出 配置完成之后需要重启网卡服务 # 重启网卡 systemctl restart network ...
分类:
其他好文 时间:
2020-04-01 01:04:50
阅读次数:
155
环境交代: 192.168.1.7:LVS主机 192.168.1.8 192.168.1.10 三台都要做 1 2 [root@server01 ~]# systemctl stop firewalld [root@server01 ~]# setenforce 0 在1.7上做以下操作: 配置V ...
分类:
Web程序 时间:
2020-03-31 20:57:28
阅读次数:
97
yum -y install nginxyum -y i php php-fpm systemctl start nginx systemctl start php-fpm yum install php-bcmathsystemctl reload nginx.servicesystemctl r ...
分类:
Web程序 时间:
2020-03-31 19:25:10
阅读次数:
90
一、环境 64位centos 二、安装 (1)关闭防火墙 systemctl stop firewalld systemctl disable firewalld (2)安装etcd与kubernetes(会自动安装docker) yum install -y etcd kubernetes (3) ...
分类:
其他好文 时间:
2020-03-31 14:36:23
阅读次数:
67
在linux环境下 重启docker服务 systemctl restart docker 重启服务 docker ps -a 显示所有的容器 docker start 启动已经停止的容器 docker exec -it mysql01 bash 在容器名称为mysql01中开启一个互交模式做的终端 ...
分类:
其他好文 时间:
2020-03-30 23:44:15
阅读次数:
133