![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CentOS7
tianma811
这个作者很懒,什么都没留下…
展开
-
centos设置静态ip
vim /etc/sysconfig/network-scripts/ifcfg-ens33 BOOTPROTO=static IPADDR=192.168.204.10 # 指定静态IP NETMASK=255.255.255.0 # 子网掩码 GATEWAY=192.168.204.2 # 网关地址 DNS1=8.8.8.8 # DNS服务器,设置后可通过域名访问 service network restart ...原创 2020-08-18 17:03:06 · 94 阅读 · 0 评论 -
CentOS7安装nginx
wget http://nginx.org/download/nginx-1.16.1.tar.gz yum install -y gcc libpcre3-dev aptitude libssl-dev openssl pcre gcc-c++ pcre-devel openssl-devel tar -zxvf nginx-1.16.1.tar.gz cd nginx-1.16.1 ./con...原创 2019-10-18 10:17:32 · 107 阅读 · 0 评论 -
CentOS7配置阿里云yum源和EPEL源
1 、备份 [root@bogon ~]# cd /etc/yum.repos.d/ [root@bogon yum.repos.d]# mkdir repo_bak [root@bogon yum.repos.d]# mv *.repo repo_bak/ [root@bogon yum.repos.d]# ls repo_bak 2、 下载新的CentOS-Base.repo 到/etc/y...原创 2019-10-17 13:31:29 · 132 阅读 · 0 评论 -
CentOS7安装mysql5.7
1、卸载mysql、mariadb [root@localhost ~]# rpm -qa |grep -i mysql [root@localhost ~]# rpm -qa |grep -i mariadb mariadb-libs-5.5.56-2.el7.x86_64 [root@localhost ~]# yum remove mariadb-libs-5.5.56-2.el7.x86_...原创 2019-10-17 17:35:32 · 96 阅读 · 0 评论