Archive for the ‘How to’ Category

Services Configuration Tool to Start / Stop System Services

Saturday, August 28, 2010 21:34 No Comments

Your Debian / Ubuntu Linux box security depends upon access to system services (one of many aspects). For example, you may need to provide a web server (Apache service) to serve web pages. However, if you do not need use a service, you should always turn off all unused services to avoid exploits.
Traditionally, Debian provided [...]

This was posted under category: Apache server, How to, Knowledge, Tutorials Tags: ,

Shell Script To Auto Restart Apache HTTPD

Saturday, August 28, 2010 21:23 No Comments

Here is a simple shell script tested on CentOS / RHEL / Fedora / Debian / Ubuntu Linux. Should work under any other UNIX liker operating system. It will check for httpd pid using pgrep command
Pgrep command
pgrep looks through the currently running processes and lists the process IDs which matches the selection criteria to screen. [...]

This was posted under category: Apache server, How to, Knowledge, MYSQL, Tutorials Tags: , ,

OpenDNS with Dynamic IP Addresses on Ubuntu and Fedora

Saturday, August 28, 2010 21:01 No Comments

When setting up your OpenDNS dashboard, if you are a home user on a Internet provider that gives you a dynamic IP address, you need to tell OpenDNS your IP address has changed or there will not be any relevant stats for your domain. In fact, it may report erroneously that a BotNet or Malware [...]

This was posted under category: How to, How to DNS, Knowledge, Tutorials Tags: , ,

Settingup an FTP Server on Ubuntu with ProFTPD

Saturday, August 28, 2010 20:55 No Comments

ProFTPD is a proven, high-performance, scalable FTP server written from scratch, with a focus toward simplicity, security, and ease of configuration. Naturally, ProFTPD powers some of the largest sites on the Internet. It features a very Apache-like configuration syntax, modules, and a highly customizable server infrastructure, including support for multiple ‘virtual’ FTP servers, anonymous FTP, [...]

This was posted under category: How to, Knowledge, Tutorials Tags: ,

Scheduled command execution for your Linux server or workstation

Saturday, August 21, 2010 0:21 No Comments

Cron has many uses. I have used cron to create nightly backups, update server room temperature web pages at various intervals, generate new email ‘.signature’ files every five minutes, and syncronize files nightly via SSH over the internet. I am sure there are many more.
Cron Documentation
Cron documentation is not bad (not [...]

This was posted under category: How to, Knowledge, Tutorials Tags: , , , , , ,

Cron and Crontab usage and examples

Saturday, August 21, 2010 0:17 No Comments

Cron
Cron is a daemon that executes scheduled commands. Cron is started automatically from /etc/init.d on entering multi-user runlevels. Cron searches its spool area (/var/spool/cron/crontabs) for crontab files (which are named after accounts in /etc/passwd); crontabs found are loaded into memory. Note that crontabs in this directory should not be accessed directly - the crontab command [...]

This was posted under category: How to, Knowledge, Linux system, Tutorials

What are cron and crontab, and how do I use them?

Saturday, August 21, 2010 0:04 No Comments

Note: On most systems, you must get permission from the system administrator before you can submit job requests to cron. On some shared systems, because there is only one crontab file, only the administrator has access to the crontab command. To request that cron be enabled on your Webserve account, see the Indiana [...]

This was posted under category: How to, Knowledge, Linux system, Tutorials Tags: ,