Tag Archives: vpn

5分钟完成配置CentOS+Apache+MySQL+PHP5+Webmin+PPTP VPN+Subversion+etc

嗯,今天实在不知道的写什么,就只有把老本拿出来了:自己折腾了N台vps后整理出的快速配置centos的脚本,只要打开terminal一行行的粘进去回车就完事。 正常情况下是可以在5分钟内完成一台新vps的配置的,如果遇到非正常情况。。就。。。。。。 跑poptopd的前提是你的vps是xen架构,否则免谈 #安装epel+rpmforge rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt http://quattor.web.lal.in2p3.fr/packages/os/sl520-x86_64/base/RPM-GPG-KEYs/RPM-GPG-KEY-CentOS-5 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm rpm –import RPM-GPG-KEY.dag.txt rpm –import RPM-GPG-KEY-CentOS-5 rpm -Uhv rpmforge-release-0.5.1-1.el5.rf.i386.rpm #更新系统 yum -y update yum -y upgrade #install php 5.2+ on centos5 vim /etc/yum.repos.d/CentOS-Testing.repo [c5-testing] name=CentOS-5Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing … Continue reading

Posted in Linux | Tagged , , , , , , | Leave a comment