http://kernelbook.sourceforge.net/
-
-
Generate Regular Expressions on the Web
http://txt2re.com/
-
Web Metrics
The key to getting good performance is metrics. You need to measure every aspect of a system as it’s running to determine where the problems are and to prioritize where to expend optimization effort. Particular metrics of interest are: Queue sizes Queue rates # of clients (by IP and by connection count) # of pending requests average response rate throughput
-
Restarting LDAP
To restart LDAP with most installations (not Mac OS X), use the following command: /etc/init.d/slapd restart
-
The basics of cron
The cron command has officially been deprecated in Mac OS X, but still functions if called upon. cron starts a process that executes commands at specified dates and times. Regularly scheduled commands can be specified according to instructions found in the crontab files in the directory /var/spool/cron/crontabs. Users can submit their own crontab files via the crontab command. Crontab copies the specified file or standard input if no file is specified, into a directory that holds all users’ crontabs. crontab options: The -e option edits a copy of the current users’ crontab file or creates an empty file to edit if crontab does not exist. The-r option removes a user’s…
-
Working Directory
When I say working directory I am referring to the current directory you are in when using a command prompt. Just an FYI. If you are ever unsure as to what your working directory is then you can use the pwd command to print it out to the screen.
-
Install imapsq
apt-get install ipmasq -y
-
Quick Install of Squid and Dans Guardian
To get Squid and Dans Guardian: apt-get install squid dansguardian To backup the squid config file: cp /etc/squid/squid.conf /etc/squid/squid.conf.bak To make it transparent, uncomment this line from the squid.conf file: http_port 127.0.0.1:3128 transparent Add this on the next line: http_port 8080 Next, backup the dansguardian config file using the following command: cp /etc/dansguardian/dansguardian.conf /etc/dansguardian/dansguardian.conf.bak Then change 8080 to 8081 Then change filtergroups to = 2 rather than the default of 1 You can then install the webmin module from: http://internap.dl.sourceforge.net/sourceforge/dgwebminmodule/dg-0.5.10-pr5.wbm
-
Where are my LDAP schema files?
/etc/ldap/schema
-
Logging Sudo Events
Someone asked me the other day how to setup OS X to log sudo events. Well, there’s nothing to do. Whether the password used with sudo is right or wrong, all attempts to authenticate through sudo are logged.