As I played around with the Raspberry Pi I saw that the VI editor was not working as it should. You were not able to use the cursor keys and the backspace key correctly. The reason is that normally Linux has installed VIM and not the original VI. So I first updated VI with the following command:

[codesyntax lang=”text”]

[/codesyntax]

After that I installed the Midnight Commander as I find it more comfortable than just using the command line:
[codesyntax lang=”text”]

[/codesyntax]

As my Pi will be reachable via the Internet  I do not want to have the standard user “pi” enabled. So I created a new user which also does not have sudo rights (in case someone gets access to my user password he still will need to have the root password in order to get root rights). So I used the following commands:
[codesyntax lang=”text”]

[/codesyntax]

Now login again as user “newuser” and then change to root and disable the user “pi”:

[codesyntax lang=”text”]

[/codesyntax]

Now define an alias for the “ls” command to display files and directories in the long format and wih some color coding. For that edit the files “/home/newuser/.bashrc” and “/root/.bashrc” and add the following lines at the end:
[codesyntax lang=”text”]

[/codesyntax]

By the way: To use the graphical programs of the Pi, you can start the LXDE-Panel with the command “lxpanel”. You will need a local XServer and XWindows redirection for that (I am using the great tool MobaXterm for that).
Raspberry Pi: Some first steps to do
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *