User:NiharikaAnne

Installing Alpine Linux using a CD boot and saving settings onto a USB drive

 * 1) Download the latest version of alpine linux from the website http://www.alpinelinux.org/
 * 2) This will give a 1.9.3, 346 MB ISO image.
 * 3) Burn this image onto a CD.
 * 4) Insert this CD into the CD drive and reboot the system prioritizing the boot order to 'boot from CD'.
 * 5) After the system reboots, it will ask for a user name, which will be root.
 * 6) The default settings do not need a password, so after typing root,and pressing enter, you will be logged onto alpine linux.
 * 7) In order to modify the  /etc/lbu/lbu.conf  file, nano text editor is has to be installed. In order to do so, type apk add nano
 * 8) After nano editor is added, type the following command to modify the lbu.conf file. nano /etc/lbu/lbu.conf
 * 9) After configuring the nano editor,make sure the USB stick is attached and enter the following command which will make sure that the settings are saved and everytime the system reboots,it will recognize the USB stick and read the settings from it.  lbu ci
 * 10) To setup the network interfaces, we need to add a file called interfaces, which can be done by typing the command nano /etc/network/interfaces
 * 11) Then a new window will open where in a code for the DHCP settings can be written, which is, auto l0 iface l0 inet loopback auto eth0 iface eth0 inet dhcp
 * 12) Press ctrl x to save changes to the code and come back to the command prompt and save changes with lbu ci command.
 * 13) To restart the system with the new changes and checking whether it will work, type the command, /etc/init.d/networking start
 * 14) It will fail at the first attempt but press enter again and it will start.
 * 15) If this is working correctly, open SSH can be installed by using apk add openssh and the SSH can be started using /etc/init.d/sshd start.