Add HTML and other files to show up on the https://croydonlibrarycodeclub.github.io website.
Laptop info:
Lenovo ideapad 310-15ABR
Carrizo [1002:9874] (rev ca)
Create a USB key with an MX linux ISO on it, I used MX-23.3_x64 and Rufus on Windows or the built in USB creator on Linux.
Shutdown the laptop, boot, and mesh F2 (with the Fn key down) or boot with a pin in hole on the right hand side, to get into the BIOS.
Change the boot order to boot from USB.
Now run the installer. If it fails with failed to create partition
then run GParted and create a new partition table of type gpt
and reboot. The admin password for the Live USB is demo
Choose 105 Intl keyboard + English UK keyboard with no variant.
For partitioning choose entire hard drive and default options for partitions and ESP.
For computer name I used cc01
to cc10
.
For domain leave the default example.dom
Untick SAMBA.
Locale: United Kindom - British English
Tick System clock uses LOCAL
Timezone: Europe/London
Default user login: codeclubadmin
Deafult user password and admin password (check email)
Reboot and remove USB.
MX welcome: tick don't show at start up.
Connect to network.
Click package icon to do full upgrade.
Install Scratch3 via GDebi.
Note: sonic-pi through synaptic doesn't work
Use MX Tools
user manager to create a codeclub account with the password of codeclub
. Make sure it doesn't have the sudo group. And tick the autologin box.
Download the driver here and install.
Generate a key for the machine:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Setting up port forwarding for git over public WIFI:
nano ~/.ssh/config
Host github.com
Hostname ssh.github.com
Port 443
Cloning StudentFiles in the home directory, enter:
git clone [email protected]:CroydonLibraryCodeClub/StudentFiles.git
git clone [email protected]:CroydonLibraryCodeClub/croydonlibrarycodeclub.github.io.git
Reconfigure the remote to use ssh with the following commands (you must be in each directory):
git remote set-url origin [email protected]:CroydonLibraryCodeClub/StudentFiles.git
git remote set-url origin [email protected]:CroydonLibraryCodeClub/croydonlibrarycodeclub.github.io.git
Adding your SSH key to the ssh-agent:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
Copy the public key ~/.ssh/id_rsa.pub
to GitHub.
Setting the git user name and email:
git config --global user.email "[email protected]"
git config --global user.name "cc01"
This menu usually pops up multiple times when trying to use Google Chrome.
Open the Passwords and Keys
program, right click to open the context menu for the Login
entry, and set the password to blank.
Install from this link.
Use this link to install the hub and then install 2018.4 LTS