rhnreg_ks –profilename=my_rhel_system01 –username=myusername –password=mypw1234
Category Archives: Linux
How to get my red hat version?
Get your RedHat version:
cat /etc/redhat-release
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>