Setup your Digital Ocean droplet.
your machine:
ssh root@IP-ADDRESS
on the server:
passwd
apt-get update -y
tasksel
press space on [ ]lamp
press tab to select OK press space on OK
enter passwords for mysql server
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.630_all.deb
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python -y
dpkg --install webmin_1.630_all.deb
apt-get install phpmyadmin -y
choose apache2 and OK.
visit http://IP-ADDRESS/phpmyadmin
- Log In
- Click Databases
- type
- choose utf8_unicode_ci
- click 'create'
Back to command line:
unzip -d /var/www Craft.zip
nano /var/www/craft/config/db.php
add your mysql username and password and database name
ctrl-o and enter to save.
ctrl-x to exit
mv /var/www/public/htaccess /var/www/public/.htaccess
chown -R www-data:www-data /var/www
Visit https://ip-address:10000 Log in with root user and password
- Change apache server default virtual host to /var/www/public
- enable mod_rewrite
- Allow Override All in general directives
any issues: [email protected]
sudo php5enmod mcrypt