_____________________设置IP
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:0:
TYPE=Tthernet
UUID=486cb8fd-7e13-4fce-80c3-ccffc76d00a2
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
DNS1=192.168.1.1
IPV6INIT=no
USERCTL=no
IPADDR=192.168.1.155
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
service network restart或/etc/init.d/network restart
————————————————lamp yum
yum -y install make apr* autoconf automake curl-devel gcc gcc-c++ zlib-devel openssl openssl-devel pcre-devel gd kernel keyutils patch perl kernel-headers compat* mpfr cpp glibc libgomp libstdc++-devel ppl cloog-ppl keyutils-libs-devel libcom_err-devel libsepol-devel libselinux-devel krb5-devel zlib-devel libXpm* freetype libjpeg*libpng* php-common php-gdncurses*libtool*libxml2 libxml2-devel patch cmake
service apache restart
/phpstudy/server/httpd/bin/apachectl restart
/phpstudy/server/httpd/bin/apachectl start