Ubuntu Server 9 Commands

Trying to install an Ubuntu Server but i’m not an expert, so here are a few commands to help it setup:

changing proxy config for internet access:

  • export http_proxy=http://<proxy address>:<proxy port>

Getting SSH to work:

  • sudo apt-get install openssh-server

Add new user:

  • sudo adduser <username>

Add user to groups:

  • sudo usermod -a -G <group> <user>

Check group members

  • sudo id <user>