Linux 36
Linux tutorials for systems administrators and users wanting to manage linux systems, covering various topics such as administration, security, performance tuning, upgrades, and maintenance.
Recover A Root Password On CentOS
To recover the root password on a linux system if you do not have it have misplaced it depends on the major release of the OS. This guide will cover both CentOS 6(and prior releases) and CentOS 7. Recover a root password on CentOS 6 or older You will need to boot into single user mode. […]
Iptables Introduction and Examples
Iptables is a firewall service included in CentOS, in CentOS 7 its offered as a alternative firewalld is offered as well. Iptables uses netfilter to filter chains. Essentially you create a chain of filter rules to process how incoming and outgoing data is handled. You can view more about iptables on Netfilter Iptables rule format […]
MariaDB 10 Upgrade From MySQL 5.1 on CentOS 6
MariaDB is a fork of MySQL that was created from some of the original developers of mysql after MySQL was purchased by Oracle. Upgrading to MariaDB offers a range of benefits and is a relatively simple upgrade. It has more active development then MySQL currently and is just developed by Oracle support as MySQL is. […]
ModSecurity Installation With Apache On CentOS
ModSecurity is an open source monitoring system for web applications. It has powerful rule sets that allow you to protect applications from attacks. View the project for more details. It provides a ton of features such as: More than 16,000 specific rules, broken out into the following attack categories: * SQL injection * Cross-site Scripting (XSS) […]
mod_auth_token Installation In Apache
mod_auth_token is a apache module that can be used to sign URLs, using this it can create time based urls that expire after a certain amount of time. It will prevent hot linking as the URLs will expire. This is particularly useful with video and image sharing. To get started you will need to have […]
Compile Apache 2.4 From Source
Compiling Apache 2.4 from source is easy and allows for more customization later on. It also allows for control over where it is installed Install some required depedencies: yum install -y wget pcre-devel openssl openssl-devel expat-devel First get the latest version, at the time of writing this it is 2.4.25. The link to download the […]
Virsh KVM Commands For Management
Virsh is a command line executable to control existing virtual machines. It includes a number of commands to help manage KVM(kernel-based virtual machine) instances. It allows for easy command line management often remotely of virtual machines through SSH access. To enter the command shell over ssh just type the following: virsh From there you can type […]
Most Commented