Friday, October 10, 2014

Configure a Server with Debian

The server must also include user credentials for others to access the server and enable ssh for remote access.

Setting up the server

1. Install Debian (squeeze) with basic utilities and ssh server
    Note: This can be done in a variety of ways (PXE Network Boot, USB Drive, CD-ROM, etc)

2. Once installed, enter privileged mode
    su

3. Install ntp, tcpdump, vim
    sudo apt-get install <program name>

4. Install Nagios
    Note: refer to wiki page for Nagios NRPE installation

5. Get IP address of server
    ifconfig

6. On a separate computer, login to server using default credentials

7. Enter privileged mode
   su

8. Add usernames of all members
    adduser <username>
   Use a basic default password (it will be replaced)

9. Enable sudo for each member
   usermod -a -G sudo <username>

10. On a preexisting server, view /etc/shadow to find actual password hash

11. Edit /etc/shadow on the server and insert the correct hash.  


No comments:

Post a Comment