Friday, November 19, 2010

Debian NSLU2: Installing packages 1

Initial setup

After the installation of the Debian OS is finished it is time to start installing the packages containing the services/servers/programs/utiliies that you need on the nslu2. It is of course the packages that was the initial reason that we started this installation adventure.

Furthermore some packages need to be removed.

Some have been tested and the removed again.

Installed packages

  • thttpd
  • vsftpd
  • samba
  • emacs
  • mc
  • screen
  • ddclient
  • rsync

Removed packages

I have removed the following packages which were installed by defaul. I must confess that the net"-something" is a package that a friend of mine removed and which he neglected to tell me the full name of.
  • nfs
  • net"-something"

Installed and removed packages

  • sg3-utils
  • atop
  • gdb
atop is quite usefull for discovering what is going on on the slug regarding network, hdd, memory usage etc.

How to install the packages
How to install the packages?  Start by logging in as root:
$ su
and supply the password that you set during the Debian OS install procedure. Then install sudo and emacs:
$ apt-get update; apt-get install sudo emacs

Add yourself to the sudoers group
Now you need to add yourself to the sudoers group. Run

$ visudo

and find the line
root     ALL=(ALL) ALL

and add the line 
"username"     ALL=(ALL) ALL
replacing "username" with your own chosen username. Then hit Ctrl+X to exit and answer Yes to the question of whether you want to save the file.

Remaining packages

Now it is time to install the remaining packages

$ sudo apt-get update; sudo apt-get install ntpdate vsftpd samba mc screen ddclient rsync sudo

How to continue
In the following blog-articles I will show how these packages are configured.

No comments:

Post a Comment