1、firewalld的基本使用
启动: systemctl start firewalld
查看状态: systemctl status firewalld
停止: systemctl disable firewalld
禁用: systemctl stop firewalld
为了能安装高版本的php
#rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
#rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
安装需要用到4个文件dkms kernel_ppp_mppe ppp pptpd
可以直接到这里下载http://sourceforge.net/projects/poptop/files/ 里面有很多版本,
自己找着下载就可以了.PPP这个如果是centos5的话,这里没找着。
1. 安装subversion
#yum -y install subversion
2. 创建svn库
#mkdir -p /usr/svn/chenapp.com
#/usr/bin/svnadmin create /usr/svn/chenapp.com
执行上面的命令后,自动在chenapp.com下建立多个文件,conf,db,format,hooks,locks,README.txt
3. 设...
yardvps CentOS5.7配置apache+php+mysql+vsftp笔记
1. 增加用户关闭root用户登陆
#useradd bevin
#passwd bevin
#vim /etc/ssh/sshd_config
把#PermitRootLogin 改成 PermitRootLogin no
#vim /etc/redhat-release
查看版本C...
第一步:先确认安装了安装包的基础包,通常使用系统更新安装即可:yum list libmcrypt*yum install libmcrypt*第二步:进入PHP源码解压后的目录中,如我这里是php-5.2.13,#cd /root/downloads/php-5.2.13/ext/mcrypt如果没有mcrypt则需要到网站上去下载,通常是自带了的。第三步:执行phpize, #/usr/local/php5/bin...