CentOS装LAMP服务器(Apache2+PHP5+MySQL)
摘要:1.重要提示: 在本教程中使用的主机名为server1.example.com,IP 地址为 192.168.0.100 。这些设置会与具体安装的设置有所不同,所以你必须在你的安装过程中进行替代。 2.安装MySQL 5.0 打开终端,输入:yum install mysql mysql-server 然后为MySQL创建系统启动链接(这样在系统启动时,MySQL会自动启动),在终端输入命令:chkconfig --levels 235 mysqld on/etc/init.d/mysqld start 为MySQL root帐户设置密码: mysql_secure_install...
阅读全文
posted @
2012-06-28 15:12
Romen
阅读(207)
推荐(0)
我是懒人
摘要:yum install -y gcc gcc-c++ make autoconf libtool-ltdl-devel gd-devel freetype-devel libxml2-devel libjpeg-devel libpng-devel openssl-devel curl-devel patchlibmcrypt-devel libmhash-devel ncurses-devel sudo bzip2
阅读全文
posted @
2012-06-28 14:33
Romen
阅读(164)
推荐(0)
centos6.2更新yum源
摘要:# 备份# mv /etc/yum.repos.d/CentOS-Base.repo{,.bak}# 修改# vi /etc/yum.repos.d/CentOS-Base.repoConfig代码 #CentOS-Base.repo##ThemirrorsystemusestheconnectingIPaddressoftheclientandthe#updatestatusofeachmirrortopickmirrorsthatareupdatedtoand#geographicallyclosetotheclient.YoushouldusethisforCentOSupdates#u
阅读全文
posted @
2012-06-27 10:32
Romen
阅读(233)
推荐(0)
更新centos源
摘要:创建/etc/yum.repos.d/CentOS-Base.repo文件,定义yum更新源,www.linuxidc.com这里使用的是上海交大的CentOS更新源[root@linux-a ~]# vi /etc/yum.repos.d/CentOS-Base.repo [base] name=CentOS-5-Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$
阅读全文
posted @
2012-06-27 09:11
Romen
阅读(1044)
推荐(0)
显卡驱动与卸载——如何安装*.run文件
摘要:安装:.run是一个脚本,可以用如下几个命令安装:chmod 751 ati*.run./ati*.run(或sh ati*.run)卸载:cd /usr/share/aitsh ./fglrx-uninstall.shreboot———OK
阅读全文
posted @
2012-06-11 13:19
Romen
阅读(436)
推荐(0)
[转载]#2002 - 服务器没有响应 (或者本地 MySQL 服务器的套接字没有正确配置
摘要:google一下,有这样的解决方案:要将 config.inc.php 中$cfg['Servers'][$i]['host'] = ’localhost’;改成 $cfg['Servers'][$i]['host'] = '127.0.0.1';还要添加$cfg['Servers'][$i]['hide_db'] = 'information_schema';//使用登陆后看不见information_schema数据库于是把配置文件里的host改成127.0.0.
阅读全文
posted @
2012-06-10 15:37
Romen
阅读(2237)
推荐(0)
[转载]Fedora14下MySQL、Apache、PHP、phpMyAdmin的安装步聚
摘要:**********************************************************************先查看下本机是否已安装了MySQL、Apache、PHP、phyMyAdmin,新手最好卸载重装吧。避免出现一些问题。[test1@localhost ~]$ rpm -qa | grep MySQL MySQL-client-5.5.24-1.linux2.6.i386 MySQL-server-5.5.24-1.linux2.6.i386 [root@localhost test1]# rpm -e MySQL-client-5.5.24-1.linu
阅读全文
posted @
2012-06-10 15:00
Romen
阅读(238)
推荐(0)