Getting started with Debian linux
This tutorial will guide you through your first Debian linux boot after either purchasing an SD card with it pre-installed or after creating your own.
Power on your Pi to begin!
At first you will be presented with a long list of code just like in the picture below, don’t worry if you see any failed! messages in red as receiving a few of those is expected.
Don’t panic, the much nicer user interface will be loaded shortly.
After a few minutes you will receive a welcome message stating that the Raspberry Pi will be rebooted to finish the one-off initialization.
You do not need to do anything at this stage, just wait patiently while the Raspberry Pi restarts.
After the restart you will be asked to log into the Raspberry Pi, please enter pi for the username and press enter, then type raspberry for the password and press enter.
Username: pi
Password: raspberry
Once you have logged in, pi@raspberrypi:~$ will be displayed with a flashing cursor afterwords, this is where you enter your commands.
Type startx and press enter, this command will load the Debian graphical user interface for the first time.
Some more code will be listed before you are presented with the graphical user interface:
All done! You can now access the installed programs by clicking on the very first button in the bottom left corner just like you would using Windows.
Optional: Creating a root password
You will need something called super user access to execute some commands such as apt-get install used to install programs for example.
Type sudo before a command to give you super user access.
Example: sudo apt-get install nameofprogram
The most powerful account in linux is known as root.
You can execute commands as the root user with the Root Terminal with is located under Accessories in the Debian program menu.
Before you can do this you need to create a password for the root account, you can do this using the standard terminal as super user.
To start,open Terminal which is under Other in the Debian program menu.
Type sudo passwd root and press enter.
You will now be asked to enter a new password and then confirm the new password.
Once you have confirmed the password and pressed enter you will receive a message stating that the password was updated successfully.
You will now be able to use the root terminal which would allow you to execute commands without having to type sudo before each command.
The root terminal is accessible under accessories in the Debian program menu.