在ubuntu搭建wiki 以及论坛

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:
pure-php5.gif

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:
zend-php.gif
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值