[原创]CentOS 5.4+OpenVZ+Vtonf自建VPS服务器

四 29th, 2010 | Posted by | Filed under Linux

CentOS-5.4-i386系统(Vtonf不支持x86-64的系统,安装过程会出错,在其INSTALL中也有说明)
1、关闭SELinux
打开setup界面–firewall configureation,将SELinux置为Disabled
或修改

vi /etc/sysconfig/selinux

SELINUX=disabled
SELINUXTYPE=targeted

2、Firewall
如果不想关闭Firewall,需要打开8001端口: 

/sbin/iptables -I INPUT -p tcp –dport 8001 -j ACCEPT
/etc/rc[......]

继续阅读

goo.gl短网址制作-本站短网址http://goo.gl/sQEu

四 28th, 2010 | Posted by | Filed under 网络技术

在cyusyu的Blog上看到他弄了个goo.gl短网址,也去尝试了一下,得到http://goo.gl/sQEu,打开后会自动转身到http://www.armysoul.org,分享下制作方法。[......]

继续阅读

标签: ,

mysql通过文档读取并执行命令–快速为mysql添加多用户和数据库

四 26th, 2010 | Posted by | Filed under Unix

# vi mysqlusers.txt

create database dataname;
grant all privileges on dataname.* to username@localhost identified by ‘password;
flush privileges;

# /usr/local/mysql/bin/mysql -u root -p password < mysqlusers.txt

[......]

继续阅读

FreeBSD 8.0最小化安装后更新Ports

四 23rd, 2010 | Posted by | Filed under Unix

1、最小化安装,然后通过sysinstall安装base、src、ports、prel、cvsup。

#cd /sbin
#sysinstall

[......]

继续阅读

标签: , , ,

Fatal error: Allowed memory size of 33554432 bytes exhausted-内存溢出问题处理

四 15th, 2010 | Posted by | Filed under WordPress

刚才升级WP,后台提示Fatal error: Allowed memory size of 33554432 bytes exhausted…..错误,现在把解决办法记录如下:
打开WP安装目录,修改wp-settings.php文件中

define(‘WP_MEMORY_LIMIT’, ’32M’);

define(‘WP_MEMORY_LIMIT’, ’64M’);

即可。

CentOS5下Nginx+PHP(FastCGI)+MySql+eAcelerator一键安装脚本:CNMP

四 9th, 2010 | Posted by | Filed under Linux

国际惯例:CNMP脚本所采用内容版权归作者张宴所有,原文地址:http://blog.s135.com/nginx_php_v6/Phoebus整理制作,转载请注明原文连接http://www.armysoul.org/archives/844.html

===========================淫荡的分割线================================

目前网络上关于Linux环境下WEB环境一键安装包有很多,最火的应该是Licess的LNMP,目前已经更新到V0.4。为了和LNMP有所区别,而且本文这个集成包是基于CentOS环境(其它发行版没有测试过,有[......]

继续阅读