CentOS
共 5 篇文章
Centos7.9.2009 删除python和yum 重新安装
下载整理好的包 执行如下脚本 417 mkdir rpm 418 cd rpm/ 420 wget http://mirrors.ustc.edu.cn/centos/7.9.2009/os/x86_64/Packages/python-2.7.5-89.el7.x86_64.rpm 422 wget http://mirrors.ustc.edu.cn/centos/7.9.2009/os/x86_64/Packages/python2-rpm-macros-3-34.el7.noarch.rpm 425 wget http://mirrors.ustc.edu.cn/centos/7.9…
2021-06-27 16:37 · CentOS
centos 图形界面
要进入图形界面,首先要安装。 所以应该先执行 yum groupinstall "X Window System" -y yum groupinstall "Desktop" -y 再执行你的startx
2016-11-04 14:58 · CentOS
centos nginx
1、CentOS 6,先执行: rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm 2,查看yum的nginx信息 []# yum info nginx Loaded plugins: fastestmirror Determining fastest mirrors * base: mirror.esocc.com * extras: mirror.esocc.com * updates: mirror.esocc.com base | 3.7…
iptables 配置白名单
编辑iptables配置文件,将文件内容更改为如下,则具备了ip地址白名单功能 #vim /etc/sysconfig/iptables *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -N whitelist -A whitelist -s 1.2.3.0/24 -j ACCEPT -A whitelist -s 4.5.6.7 -j ACCEPT -A INPUT -m state --state RELATED,ESTABLISHED -j whitelist -A INPUT -m stat…
2015-09-19 13:59 · CentOS
CentOS环境下安装postgresql9.3
1 exclude=postgresql* 2 yum localinstall http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm 3 yum list postgres* 4 yum install postgresql93-server 5 cd /var/lib/pgsql/9.3/data/ 6 service postgresql-9.3 initdb 7 chkconfig postgresql-9.3 on 8 service postgresql-9.3 star…
2014-07-24 10:13 · postgresql · CentOS