个人工具
登录
查看“Ubuntu/Step by step”的源代码 - Ubuntu中文
页面
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“Ubuntu/Step by step”的源代码
来自Ubuntu中文
←
Ubuntu/Step by step
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
=Update & Upgrade= <pre> # Make sure your list of packages is update to date, and system upgrade sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get autoremove </pre> =Web Server (Apache2)= Please see [http://wiki.ubuntu.org.cn/Ubuntu/Web_Servers Wiki Ubuntu Web Server] and [https://help.ubuntu.com/16.04/serverguide/web-servers.html Help Web Server]. <pre> # Installation sudo apt-get install apache2 # Create a new web site JUniverse # Customer can create a directory named JUnivers, like ~/JUniverse. cd /var/www/html # Create link for JUniverse sudo ln -s ~/JUniverse JUniverse cd /etc/apache2/sites-available sudo cp 000-default.conf juniverse.conf sudo nano juniverse.conf # updating it as below <VirtualHost *:81> DocumentRoot /var/www/JUniverse # save and exit # restart sudo a2ensite juniverse.conf sudo service apache2 restart </pre> =MySQL= <pre> sudo apt-get install mysql-server </pre> =PHP= <pre> sudo apt-get install php php-cli php-cgi php-xml php-xdebug libapache2-mod-php php-mysql php-mbstring </pre> =End=
返回至
Ubuntu/Step by step
。