formats

Apache Server Status with mod_status

Apache Server Status with mod_status | Apache has a built-in web-based server status module called mod_status. Here’s how it works! In Ubuntu / Debian, first enable the apache status module: $ sudo a2enmod status An existing config file is already in place for Debian and Ubuntu. Edit as follows: $ sudo nano /etc/apache2/mods-available/status.conf It looks like this: # #

formats

Apache List Loaded Modules

Published on August 29, 2011, by + in sysadmin.

Apache List Loaded Modules | Use apache2ctl -M or httpd -M to list loaded apache modules. The output will look similar to: $ sudo apache2ctl -M Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_worker_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgid_module (shared) deflate_module (shared)

formats

RHCE Exam – Now 400 Bucks

RHCE Exam – Now 400 Bucks | As of Red Hat 6, the RHCE exam price has dropped in half. What was $800 is now $400. It is also now only a 2 hour exam. Has anyone taken the RHCE exam for Red Hat 6 yet? How did it go? Also note that the RHCT has been replaced by the new RHCSA.

formats

pfSense – Free Open Source Firewall

pfSense – Free Open Source Firewall | pfSense is an excellent customization of FreeBSD for use either as a firewall or a router. FreeBSD is known for powering many commercial and large enterprise firewall appliances. pfSense gives you that same extensive feature set in a version you can install yourself on your own hardware or purchase pre-installed by many vendors. pfSense is

formats

Quick Intro to zsh: auto complete

Quick Intro to zsh: auto complete | zsh or the z shell is an interactive shell that builds upon features of other shells such as bash, ksh, and tcsh. zsh is great for advanced script monkeys but also is an excellent simple bash replacement for the regular joe user. Here is a quick intro to the auto complete features of zsh! On

formats

Protect Against Brute Force with ufw

Published on August 8, 2011, by + in sysadmin.

Protect Against Brute Force with ufw | ufw is the super easy firewall interface featured in Ubuntu and also the latest Debian. Somewhat like fail2ban, one feature of ufw is built-in rate limiting to protect against brute force attacks. While this could be used on any port, a common use is on port 22 to protect against ssh dictionary attacks or other

formats

Make Your Web Server Snappy With php-apc

Published on August 3, 2011, by + in sysadmin.

Make Your Web Server Snappy With php-apc | In Debian / Ubuntu, simply installing one package will instantly make your web server faster. (That is, if you are serving up php!) Here ya go: sudo apt-get install php-apc Next, edit the following file: $ sudo nano /etc/php5/conf.d/apc.ini And put in the following values. Increase the apc.shm_size as high as is available: extension=apc.so apc.shm_size=64M

formats

How to MySQL Dump and Recovery

Published on July 26, 2011, by + in sysadmin.

How to MySQL Dump and Recovery | MySQL has the ability to dump or backup an entire database to a single recoverable file. I’ll show you how to dump and also recover! Dump a MySQL database To dump a mysql database, the command is: $ mysqldump -u mysqlusername -p databasename > mybackup.sql Enter password: (enter your mysqlusername’s mysql password) For example if

formats

Reset or Change User Password in Linux

Published on July 22, 2011, by + in linux, sysadmin.

Reset or Change User Password in Linux | To set or reset a user password in Linux, use the command passwd Here are some tips! When logged in as your regular account, simply type passwd at the command prompt to change your own password: scott@localhost:~$ passwd Changing password for scott (current) UNIX password: Enter new UNIX password: Retype new UNIX password: passwd: password

formats

CentOS 6 netinstall URL

Published on July 17, 2011, by + in linux, sysadmin.

CentOS 6 netinstall URL | The netinstall method has changed for CentOS 6. Use the following URLs to install via the netinstall iso: 32 bit: http://mirror.centos.org/centos/6/os/i386/ 64 bit: http://mirror.centos.org/centos/6/os/x86_64/

Home Archive for category "sysadmin" (Page 12)