linuxhelpresource.com

Free Linux help and Tutorials

how to setup a router/gateway on a home or small business network

This howto goes over how to setup a router/gateway on a home or small business network that will filter content through tinyproxy and Dan’s Guardian. The awesome thing about this setup is that you can run this on any old piece of crap pc in your garage or house. A 486 will effectively run this [...]

How to enable Mod_Rewrite on a vhost with .htaccess

You can determine if mod_rewrite is enabled on your webserverby running the command below:
[root@www apache2]# apachectl -l | grep rewrite
mod_rewrite.c
The apachectl output shows that mod_rewrite is a loaded module and is working. Below is a example  of how to enable this on a vhost:
.htaccess – in this example  a rule is setup for index.php via [...]

How to install Apache 2.2.11 & PHP 5.2.9 on a linux system from source

Here are some notes from my recent upgrade to Apache 2.2.11 & PHP 5.2.9 on a linux system from source. Enjoy!
####################################
##              Notes from my apache install    ##
####################################
#Installing some prequisites I need – I am staying with the RedHat stable version of Mysql
yum -y install openssl-devel mysql-server mysql mysql-devel libxml2-devel freetype-devel libpng-devel curl-devel libjpeg-devel
#making source directories
cd [...]

How to install grsec enabled kernel on Redhat 5.2 ES

Per http://en.wikipedia.org/wiki/Grsec – grsecurity is a set of patches for the Linux kernel with an emphasis on enhancing security. Its typical application is in web servers and systems that accept remote connections from untrusted locations, such as systems offering shell access to its users.
Notes from my GRSEC kernel installation.
cd into your /usr/src directory
cd /usr/src/
Download the [...]

How to setup Cron Jobs

Cron Jobs
What are Cron Jobs? A cron job is a command or a series of commands set to run at specific times on your Linux or Unix based system. Cron jobs are very flexible when used in conjuction with programs and shell scripts and can automate various parts of system administration (.such as logfile [...]

How to use the dpkg package managment tool

dpkg package managment tool What is dpkg?
dpkg is the software at the base of the Debian package management system. dpkg is used to install, remove, and provide information about .deb packages. dpkg itself is a low level tool; higher level tools, such as [APT], are used to fetch packages from remote locations or deal with [...]

How to use the RPM Command

The RPM Command
What is RPM? RPM is the RPM Package Manager. It is an open packaging system available for anyone to use. It allows users to take source code for new software and package it into source and binary form such that binaries can be easily installed and tracked and source can be rebuilt [...]

How to use the APT Package management tool

APT Package management tool
What is APT?
The Advanced packaging tool, or APT, is a user interface that works with core libraries to handle the sometimes difficult process of installing software on Linux. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from [...]

Using the YUM Package managment tool

YUM Package managment tool
What is YUM?
The Yellow dog Updater, Modified (YUM) is a free software/open source command line package management utility for RPM-compatible Linux operating systems. It was developed by Seth Vidal and a group of volunteer programmers, and is currently maintained as part of Duke University’s Linux@DUKE project. Though yum is a command [...]

APF (Advanced Policy Firewall)

APF (Advanced Policy Firewall)
What is APF? Advanced Policy Firewall (APF) is an iptables(netfilter) based firewall system designed around the essential needs of today’s Internet deployed servers and the unique needs of custom deployed Linux installations. The configuration of APF is designed to be very informative and present the user with an easy to [...]