Contents
- The basics
- Unix on your laptop
- Wordpress on your laptop
- Getting ready to go public
Unix on your laptop
-
Get started with Unix - This is an operating system like Windows10 which is used by developers and website administrators.
- Download and install Vagrant (Windows 64 bit version). This is software that will be able to start Unix inside your Windows laptop!
- Download and install VirtualBox (Windows 64 bit version). Vagrant uses this to run Unix inside your Windows laptop! You can use VirtualBox yourself but it can be a bit fiddly so best to let Vagrant do it to start with.
- Now you will need to run some commands. Type
cmd
in the Windows search bar at the bottom of the screen and start the command prompt app. - You will see something like:
Make a new directory by typingC:\Users\username>
Move into the directory by typingC:\Users\username>mkdir ubuntu
The prompt should change. Make a note of the prompt so you can get to the folder in Windows Explorer. It will be something like:cd ubuntu
C:\Users\username\ubuntu>
- Go into the github area for these lessons. Use the green button to download a zip of the files. Unzip the file and move
Vagrantfile
andbootstrap.sh
into the new folder you created - Back to the command line now:
This will take some time, install loads of updates and set up unix. You will get a new purple window but you can't get in there yet....\ubuntu>vagrant up
Now you will see something like...\ubuntu>vagrant ssh
Unix is up and running. Now you need an account. Use this command and follow the prompts:vagrant@ubuntu-xenial:~$
Get back to windows withvagrant@ubuntu-xenial:~$ sudo adduser username
The next commands will stop and restart unix (it will be much quicker this time). You should now be able to logon with that account you set up in the purple/red window.vagrant@ubuntu-xenial:~$ exit
You can 'up' and 'halt' whenever you need to start and stop the unix app. Time to play around. Find the "ubuntu software" icon on the left hand side. Click on this then search for "chromium" in the box. Install this and you now have Chrome web browser....\ubuntu>vagrant halt ...\ubuntu>vagrant up