Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service. 第二步:安装Python3.6 [root@localhost ~]# yum -y install python3 执行结果如下: Loaded plugins:fastestmirror,langpacks Loadingmirrorspeedsfromcachedhostfile *base:mirrors.aliyun.com *extras:mirrors.aliyun.com *updates:mi...
sudo yum -y install unzip sudo yum -y install libcurl-devel sudo yum -y install openssl sudo yum -y install openssl-devel sudo yum -y install libxml2-devel sudo yum -y install libxml2 sudo yum -y install glibc-static sudo yum -y install libstdc++-static sudo yum -y install libffi-...
yum-y install ruby rubygems ruby-devel#安装fpm依赖解压:[root@db_rpm~]#tar xf fpm-1.3.3.x86_64.tar.gz#换gem源 删掉国外源,换成国内源(不换源也可以,速度慢些)gem sources --add https://mirrors.huaweicloud.com/repository/rubygems/ --remove https://rubygems.org/# 安装fpm的包[root@db_...
二、局域网yum源搭建 一般都是通过apache来搭建http的yum源,本次使用nginx进行搭建演示,首先下载nginx源码包,下载地址:Index of /download/Index of /download/https://nginx.org/download/nginx-1.16.1.tar.gz(若已挂载镜像搭建好了本地yum源,可直接在线安装:yum -y install nginx,本次演示使用源码包) 在线安...
然后安装: yum install -y mongodb-org 查看mongo安装位置 whereis mongod 查看修改配置文件 : vi /etc/mongod.conf 启动mongod :systemctl start mongod.service 停止mongod :systemctl stop mongod,service 外网访问需要关闭防火墙: CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 关闭fire...
centos7 升级以后出了很多新新功能,比如firewall 代替iptables,MariaDB 代替mysql 。。。各种不习惯 #修改yum源为163 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup (备份) cd /etc/yum.repos.d/ wget http://mirrors.163.com/.help/CentOS7-Base-163.repo (centos...
└─8220/usr/bin/python-Es/usr/sbin/firewalld--nofork--nopid9月0708:33:40JiekeXu systemd[1]:Starting firewalld-dynamic firewall daemon...9月0708:33:48JiekeXu systemd[1]:Started firewalld-dynamic firewall daemon.9月0708:33:55JiekeXu firewalld[8220]:WARNING:/etc/sysconfig/network-script...
设置开机启用防火墙:systemctl enable firewalld 设置开机禁用/永久关闭防火墙: systemctl disable firewalld 或 systemctl disable firewalld.service 启动防火墙:systemctl start firewalld 关闭防火墙:systemctl stop firewalld 或 systemctl stop firewalld.service ...
(3D000): No Database Selected MySQL ERROR 1045 CentOS或其他linux系统的美国VPS系统时间同步方法 在Centos中yum安装和卸载软件的使用方法 Centos 6.0将光盘作为yum源的设置方法 Linux -bash ./xx Permission denied 2013 Lost connection to MySQL server during query CentOS7.0 关闭firewall防火墙,改为iptables 在...
1. 关闭selinux sestatus vi /etc/selinus/config #SELINUX 修改为 disabled, 需重启机器才生效2. 关闭防火墙 firewall-cmd --state systemctl stop firewalld #停止firewall systemctl disable firewalld #禁用 firewall 开机启动 (2)导入rpm包,生成索引文件。在本例中,以镜像包...