Category Archives: Linux

Linux command reference, and other misc.

Installing NGiNX on Ubuntu 10.04 Lucid Lynx

Select box Plugin option is: four Add the following urls to your sources.list file: deb http://nginx.org/packages/ubuntu/ lucid nginx deb-src http://nginx.org/packages/ubuntu/ lucid nginx Close and save the file.  Then run the following commands: sudo apt-get update sudo apt-get install nginx That simple.  Next comes Configuring NGiNX.

Also posted in 10.04 Lucid Lynx, Ubuntu | Leave a comment

Editing Ubuntu sources.list

Select box Plugin option is: four The sources.list is a text file on a Debian derived Linux distributions.  Aptitude (apt-get) uses this list of servers as locations from which to retrieve software. To add to this you must be logged into a terminal.  Have ready and know how to use a simple terminal text editor such as nano or [...]

Also posted in 10.04 Lucid Lynx, Ubuntu | Leave a comment

Free Cloud Hosting for a year? Sign me up!

Select box Plugin option is: fourhttp://www.google.com/search?sourceid=chrome&ie=UTF-8&q=amazon+free+tier

Also posted in Server & Web Site Administration, Web Development & Administration, Web Hosting | Leave a comment

Unknown Terminal Type.

unknown_terminal_type

Select box Plugin option is: fourThe terminal from a Xubuntu desktop isn’t executing any commands. The error is “ ‘unknown’: unknown terminal type. “ Check what terminal is set to by running: “ SET | MORE ”   Then scroll down to where you see the variable:  ” TERM= “.  If “ TERM=unknown “, simply fix this problem by typing:  TERM=xterm

Also posted in Operating Systems, Server & Web Site Administration, Terminal Commands | Leave a comment

Webmin / Virtualmin Log In – ACCESS DENIED

Select box Plugin option is: fourEver tried logging into Virtualmin/Webmin too many times whilst typing the wrong password?  Well I have.. After 3-5 attempts it gives me ACCESS DENIED FOR …[ip]… Searching low and high on how to unban myself from virtual min it was as simple as logging into shell and restarting webmin with [...]

Also posted in Cent OS, Virtualmin, Webmin | Leave a comment

Linux – User Commands (finding users registered in the system)

Select box Plugin option is: fourFind all users and services registered in the system: cat /etc/passwd Find all users registered in the system: cat /etc/passwd | grep “/home” To add a user to a group: usermod -G<group> <user> To delete a user and their home directory: (Users can have a “home” directory) userdel -r <user> [...]

Posted in Linux | Tagged , , | Leave a comment

Linux commands – Groups

Select box Plugin option is: fourFind the groups the current user is in: groups You can also find groups other users are in: groups root groups <user> how to find all users of a group: egrep “^groupname” /etc/group

Posted in Linux | Leave a comment