Tuesday, 6 September 2016

ZONES NOTES:

ZONES:

ssh s4391531@http://deco1800-504.zones.eait.uq.edu.au
then password
commands: 
ls - list
cd - change directories
/ - forward directory
double tab - gives all possible options
vim - for editing (might need to use)
  • vim [name of file]
  • does not put into ‘edit mode’, command based to insert press i hit escape once done editing, column ‘:’ then w to save q to quit. 
sudo - edit things on root (i was not given permission to do this but whatever...)

SCP - Secure CoPy

to use phpmyadmin: url - www.deco1800-406.uqcloud.net/phpmyadmin

------ NGINX SERVER ------
file server with php installed

nginx log - var/log/nginx/  to save don't use scp copy using SFTP
access - less access.log


To RESTART nginx
sudo svcadm restart nginx



If you messed up big time you can roll back: 
cp -a /var/www/.zfs/snapshot/[nameofsnapshotfile]/htdocs 

Enabling SQL
sudo svcadm enable sql
Enabling PHP
sudo svcadm enable php-fpm

Putty (for windows) 
free download, use top .exe link (you can download the installer but it isn't necessary) 

Prac tutor Dion is on slack for communication

No comments:

Post a Comment