posted @ 2009-06-18 15:13
随笔分类 - linux
摘要:系统刚安装完/etc/sysconfig/i18n默认如下:LANG="en_US.UTF-8"SYSFONT="latarcyrheb-sun16"中文显示乱码需要修改为:LANG="zh_CN.GB18030"LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_U...
阅读全文
摘要:编译安装PHP,MYSQL,Apache1。下载软件:#wget http://apache.etoak.com/httpd/httpd-2.2.11.tar.gz#wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.35.tar.gz/from/ftp://ftp.jaist.ac.jp/pub/mysql/#wget http...
阅读全文
posted @ 2009-06-17 14:25
摘要:1.安装GD2下载地址: http://www.libgd.org/Downloads按照上篇的约定#cd /usr/local/src#wget http://www.libgd.org/releases/gd-2.0.35.tar.gz#tar zxvf gd-2.0.35.tar.gz#cd gd-2.0.35.tar.gz#./configure --prefix=/usr/local/g...
阅读全文
posted @ 2009-06-17 10:14
摘要:centos安装好之后 卸载系统自带的 php,mysql,apache可以使用rpm命令检查一下#rpm -qa|grep -iphp#rpm -qa|grep -imysql#rpm -qa|grep -i httpd很多依赖。最简单的方法是使用yum卸载。由于是新安装的系统,所以问题应该不大。#yum -y remove php#yum -y remove mysql#yum -y remo...
阅读全文
posted @ 2009-06-17 10:02
摘要:原文地址:http://www.ondev.net/post/show/685编辑/etc/hosts用vi打开/etc/hosts:vi /etc/hosts内容大概类似于这样:# Do not remove the following line, or various programs# that require network functionality will fail.127.0.0....
阅读全文
posted @ 2009-06-16 14:13
摘要:原文地址:http://www.ondev.net/post/show/669选择需要安装的软件包,这里因为我们只需要安装服务器,所以只选择“Server”就可以。同时要把“Packages from CentOS Extras”的选择框去掉。之后选择“Customize Now”,然后选择Next。现在需要定制软件包,这里选...
阅读全文
posted @ 2009-06-16 14:10
摘要:文章目的是解释如何在Centos 5.3上设置一些必须的服务器,包括:apache web服务器,postfix邮件服务器,FTP服务器,DNS服务器,MySQL,防火墙,等等
阅读全文
posted @ 2009-06-16 14:06
浙公网安备 33010602011771号