Login Username: pi
Login Password: raspberry
sudo [command]- Super User Do, this allows you to perform an administrative command.
nano [path/filname] – Text Editor.
ifconfig – Display information about the current network adapter configuration and status.
ping [hostname/IP]- A Command that attempts to verify network connectivity between two devices.
adduser [username] – Add a new user to the server.
usermod -aG sudo [username] – Upgrade a user into an administrator.
passwd [username] reset the password for a user.
halt – Shut down the server
apt-get update – Update the list of installable and upgradable packages
apt-get dist-upgrade – Install all of the available updates
apt-get install apache2 – Install the Apache Webserver package
Repairing WordPress after a site relocation:
mysql -u root -p
USE wordpress;
UPDATE wp_options SET option_value = ‘http://???.pi.ringwoodsc.vic.edu.au’ WHERE option_name = ‘home’;
UPDATE wp_options SET option_value = ‘http://???.pi.ringwoodsc.vic.edu.au’ WHERE option_name = ‘siteurl’;