Categories
technology

Installing Debian in Local Server (II)

The first part of this note-to-self will come later. And it’s about the decisions I made configuring the HDD’s.


Sudo wasn’t installed by default (installing from dvd’s), so I logged in as root: su -

apt-get install sudo didn’t help, because the sources.list was looking for the dvd’s, so i changed it.

In vi /etc/apt/sources.list I commented out the dvd sources:

#deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 xxx]/ stretch contrib main
#deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-2 xxx]/ stretch contrib main
#deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-3 xxx]/ stretch contrib main

And I added/uncommented the right ones:

deb http://deb.debian.org/debian/ stretch main
deb-src http://deb.debian.org/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main contrib
deb-src http://security.debian.org/debian-security stretch/updates main contrib

deb http://deb.debian.org/debian/ stretch-updates main contrib
deb-src http://deb.debian.org/debian/ stretch-updates main contrib

Then I installed sudo apt-get install sudo, and I added my user as sudoer: adduser username sudo, and lastly I restarted the Terminal.

Further I installed Guake and Vim: sudo apt-get install guake vim

Links

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.