您的位置:首页 > 其它

在ubuntu搭建wiki 以及论坛

2007-11-04 14:44 330 查看
1修改www-data权限
apache的default文件中需要指定网页的根目录。默认是/var/www
apache默认的用户名和组是www-data
www目录下的文件对于www-data要具有可读写权。否则访问不了网页。
修改的方法是
sudo chmod -R www-data.www-data /home/www
这样apache就都可以访问/home/www目录中的文件了

2使用phpmyadmin 进行mysql数据库管理
使用apt-get install phpmyadmin 安装phpmyadmin
默认情况下会在/var/www中一个phpmyadmin的实例。
把这个phpmyadmin文件夹拷贝到你的www目录下。
这样在浏览器中输入
127.0.0.1/phpmyadmin
就可以对mysql进行管理了

为了安装supespace需要安装zendopt
ve a Ubuntu 7.04 server here with following server.
Apache2 and PHP 5
The PHP info show as below:




I still want to install Zend Optimizer.
So I go to Zend's official server, get the link of the latest version.

Now I record the steps how to install it on Ubuntu 7.04 server.
1) Login Ubuntu by Putty.

2) Enter the following command to download the source package for my i386 core.


wget http://downloads.zend.com/optimizer/3.2.8/ZendOptimizer-3.2.8-linux-glibc21-i386.tar.gz 3) Decompress the tar file


tar xvfz ZendOptimizer-3.2.8-linux-glibc21-i386.tar.gz
4) Install it.


cd ZendOptimizer-3.2.8-linux-glibc21-i386
./install.sh
During the installation, you need provide the path of the Zend installation,
/usr/local/Zend
PHP Configuration file location
/etc/php5/apache2
Apache Control Utility path
/usr/sbin
Done.

After installation, the PHP info changed to:


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: