网站运营
位置:首页>> 网站运营>> 用ubuntu server8.10做php-web服务器(3)

用ubuntu server8.10做php-web服务器(3)

  发布时间:2008-12-16 11:31:00 

标签:


During the installation, you need provide path for php.ini”,

填入路径:“/etc/php5/apache2”(这个路径不行的话,通过命令:$sudo find / -name php.ini,可以找到你本机的路径,然后填进去)

接下来,你可能还会遇到

“During the installation, you need provide path for apache2 binary path”

填入路径:“/etc/init.d/apach2”(跟上边不一样的)

然后会进行安装,安装完之后,系统会提示你要进行www服务重启,在重新启动的过程中,会有一个问题“asking you restart Apache2, it's better do it manually, because installer only restart from httpd.conf not apache2.conf under /etc/apache2”,我理解的是又让输路径了(因为有一个和之前一样的输入框),输入这个路径:“/etc/init.d/apache2”,至此,zendoptimizer程序安装完毕。

最后,将你下载的php源码复制到ubuntu server系统中。

通过命令(卸载之前,确保你的U盘所挂载的目录处于非busy状态,):

$sudo umount /mnt

然后通过步骤:VM--->Removable Devices--->USB Devices--->口USB DISK 2.0将那个方框里的勾取消掉,你的U盘自然就又挂回了主系统(如何你是直接的真机上安装ubuntu server系统的话,打完这个命令并回车之后,就可以直接拔了)然后将你从网上下的php网站源码放入U盘,再通过上面那一步如何将U盘加入ubuntu server系统的方法将U盘挂载回ubuntu server系统。进入U盘挂载目录:

$cd /mnt(你的挂载目录)

$ls

$sudo cp hbcms_last_release /home/*****你的个人文件夹

0
投稿

猜你喜欢

手机版 网站运营 asp之家 www.aspxhome.com