51CTO博客开发
rcSuSEfirewall2 stop
修改字符集locale #查看当前字符集vim /etc/sysconfig/language 修改字符集rc_lang="" => rc_lang="zh_CN.GBK"SuSEconfig #激活配置vim /etc/profileexprot
Redis安装教程cd /opt/tar zxf redis-2.8.12.tar.gzcd redis-2.8.12make && make installmkdir /usr/local/redis/mkdir /usr/local/redis/confmv /usr/local
iptables -A POSTROUTING -t nat -s 192.168.10.0/24 -j SNAT --to 服务器IP地址 标注红字的IP段必须是pptpd.conf里面配置的ip段
安装mysql(mysql-5.0.21.tar.gz) cp mysql-5.0.21.tar.gz /home cd /home tar zxf mysql-5.0.21.tar.gz
#! /bin/bashPHP=/usr/bin/phpDEVICE=/var/www/html/cli/add_device.phpGRAPHS=/var/www/html/cli/add_graphs.phpTREE=/var/www/html/cli/add_tree.phpfor ((i=63; i<=63; ++i))do &nbs
vi /usr/local/apache/conf/httpd.conf 修改apache的配置文件 添加: AddType application/x-httpd-php .php
cp phpMyAdmin-2.6.0.tar.gz /home tar zxf phpMyAdmin-2.6.0.tar.gz mv phpMyAdmin-2.6.0 /usr/local/apache/htdocs/ &nb
安装apache (httpd-2.0.59.tar.gz) cp httpd-2.0.59.tar.gz /home cd /home tar zxf httpd-2.0.59.tar.gz &n
安装php (php-5.1.6.tar.bz2) cp php-5.1.6.tar.bz2 /home cd /home tar jxf php-5.1.6.tar.bz2 cd p
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号