The default login/password for the server is admin/nimda
Don't use Ubuntu minimal. Use the regular 16.04 image
- On the terminal, type:
The installation is automatic, except for the initial part where you need to choose your timezone for time and date configuration.
Note: Installation may take up to an hour on a single CPU instance. - Once installation is complete, on the terminal, type:
sudo visudo
- To the bottom of the file that opens up, add:
www-data ALL=NOPASSWD: /bin/bash, /bin/ls
Ctrl+o
to save the file,Ctrl+X
to exit the notepad editor. This process is needed to give theNGINX
server access to the shell scripting.
There is no need to install large libraries if you want to just update the source code. In this case, you can run:
sudo ./update-mls.sh
- If you want to allow uploading of lowerthirds from the settings page, on the terminal,
type: sudo nano /etc/php/7.0/fpm/php.ini
- Find the line
;file_uploads = On
–> Usually around line 800.Ctrl+Shift+_
and type 800 to get there quickly. - Remove the semicolon in front of the line to uncomment it.
Ctrl+o
to save the file,Ctrl+X
to exit the notepad editor.
By default, all server logs are cleared on instance boot. This will ensure hardisk space isn't consumed too much. If you wish, you can retain them.
- On the terminal, type:
sudo nano /etc/init.d/nginxrestart.sh
- In the editor, comment on the line (Add # before it):
sudo rm /usr/local/nginx/logs/*.log
Ctrl+o
to save the file,Ctrl+X
to exit the notepad editor.- Installation is complete!