Linux Services

When starting your Linux server you may see services that are starting which may slow the boot process. i will show you how to enable/disable certain services and which ones are essential for your system. First, a few words about runlevels. Each runlevel has a different purpose. In most Linux distributions runlevels are organized as…


Prefork vs. Worker

Apache uses modules called MPM’s or Multi-Processing Modules for the most basic functions of a web server. The default apache setup contains a selection of of these MPM’s which are responsible for binding to network ports on the server, accepting and dispatching child processes to handle the requests from a browser in order to display…


Create Apache default Success page

In order to modify this page, login to your server via ssh and cd over to /usr/local/apache/htdocs cd /usr/local/apache/htdocs Here, you can edit the file index.html vim index.html If you list the content of /usr/local/apache/htdocs you will see that you can also modify the content of other error pages that apache outputs as well. Also,…


opensource.com

http://opensource.com/ This site is one of the ways in which Red Hat gives something back to the open source community. Our desire is to create a connection point for conversations about the broader impact that open source can have–and is having–even beyond the software world. We think of this site as a “Red Hat community…


Faking User Agent with Wget

Faking User Agent with Wget Written by Steve Lake From http://www.raiden.net Posted on: Jan 27, 2010 at 07:49am Section: Tutorials Printer Friendly Version Legacy URL A good portion of the Linux community who are familiar with the command line are also very familiar with a powerful tool known as Wget.  It’s sort of an FTP/web…


Termbuilder

http://www.tuxradar.com/termbuilder has a nifty little utility to create command line output. It is limited right now but as time goes on, it could be a very useful tool for those looking to improve their command line fu. From their site: This is TermBuilder, an easy-to-use script that helps newbies form Linux terminal commands by selecting…


Install Pear mail_queue

A client asked me to install this last night and I figured i’d share the joy that is pear. To install pear on a server, simply use the following commands; wget http://pear.php.net/go-pear php go-pear Once pear is installed, you can see a list of the available options by typing in pear at the command line….


Shell scripting tutorial

Here is an awesome shell scripting tutorial from Nixcraft. Enjoy!


Disable Direct Root Login

Allowing the root user to login directly can be a major security issue. Here, i’ll show you how to disable it so you can still login as root but just not directly, reducing the security risk. This will force an attacker to guess 2 separate passwords to gain root access. You will first need to…


Can’t move Ubuntu taskbar

Came across this silly little thing about a week ago and had to dig for an hour or so to fix it. After I updated my nvidia drivers, my taskbar suddenly went from my left screen to my right screen. (I have a multi-screen setup). In order to fix this, try holding down the ALT…