Differences

This shows you the differences between two versions of the page.

Link to this comparison view

programming:website [2016/05/26 00:54] (current)
trinh created
Line 1: Line 1:
 +New Ubuntu server checklist:
 +https://​www.digitalocean.com/​community/​tutorials/​how-to-connect-to-your-droplet-with-ssh
 +
 +Install LAMP
 +https://​www.digitalocean.com/​community/​tutorials/​how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04
 +
 +Set up host name
 +https://​www.digitalocean.com/​community/​tutorials/​how-to-set-up-a-host-name-with-digitalocean
 +
 +
 +Set up Virtual Hosts
 +https://​www.digitalocean.com/​community/​tutorials/​how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts
 +
 +Unzip dokuwiki tar file in ptrinh.com/​public_html
 +
 +Run phpinfo code to get UID and GID (both www-data)
 +
 +sudo gpasswd -a trinh www-data
 +
 +
 +data directory:
 +chmod -R 775 data/
 +chown -R www-data:​www-data data/
 +
 +everything below the data directory:
 +chmod 2775 {attic,​cache,​index,​locks,​media,​meta,​pages,​tmp}
 +chown www-data:​www-data {attic,​cache,​index,​locks,​media,​meta,​pages,​tmp}
 +
 +chown -R www-data:​www-data lib/​plugins/​
 +chown www-data:​www-data lib/tpl/
 +
 +chown www-data:​www-data conf/
 +
 +https://​www.dokuwiki.org/​install:​permissions
 +
 +
 +
 +
 +Apache htaccess
 +https://​www.digitalocean.com/​community/​tutorials/​how-to-use-the-htaccess-file
 +Make sure to change directory to  /​etc/​apache2/​apache2.conf