摘要:
无法给远程连接的用户权限问题。结果这样子操作mysql库,即可解决。在本机登入mysql后,更改 “mysql” 数据库里的 “user” 表里的 “host” 项,从”localhost”改称'%'。。mysql -u root -pmysql>use mysql;mysql>select 'host' from user where user='root';mysql>update user set host = '%' where user ='root';mysql>flush pr 阅读全文
摘要:
下面以httpd-2.0.55.tar.gz版本为例,介绍Apache在Linux中的安装过程:1、解压和解包安装文件:gzip -d httpd-2.0.55.tar.gztar xvf httpd-2.0.55.tar2、配置:cd httpd-2.0.55./configure --prefix=/usr3、编译:make4、安装:make install5、配置:vi /usr/conf/httpd.conf将文件中“#ServerName www.example.com:80”这一行中的“#”删掉,并将www.example.com 改为linux本机的IP地址。6、启动服务:/us 阅读全文