阿里云ubuntu14.04建立用户并安装lamp server

建立用户参见: http://www.ruanyifeng.com/blog/2014/03/server_setup.htmlphp

安装lamp server:html

  1. sudo apt-get update
  2. sudo apt-get install tasksel
  3. sudo tasksel install lamp-server

解决 phpmyadmin error “json extension is missing”:apache

go to /etc/php5/mods-available/json.ini and uncomment priority=20 (remove the semicolon) restart apache2 ( sudo service apache2 restart ) and it will be okjson

解决 Forbidden You don't have permission to access / on this server: <VirtualHost *:80> ....ui

# Set access permission
<Directory />
    Require all granted
</Directory>

....

</VirtualHost>this

安装gd: sudo apt-get install php5-gdrest

相关文章
相关标签/搜索