HowtoForge provides user-friendly Linux tutorials about almost every topic.

If you've written a Linux tutorial that you'd like to share, you can contribute it. If you'd like to discuss Linux-related problems, you can use our forum. If you have questions, please contact us by email: info [at] howtoforge [dot] com or use our contact form.

Want to support HowtoForge? Become a subscriber!
 

How to find out if your server is affected from Openssl Heartbleed vulnerability (CVE-2014-0160) and how to fix that

How to find out if your server is affected from Openssl Heartbleed vulnerability (CVE-2014-0160) and how to fix that

A severe vulnerability in OpenSSL has been found, the vulnerability is named Heartbleed and affects the heartbeat implementation in Openssl version 1.0.1 up to version 1.0.1f. This velnerability can be used to get the private key of a SSL connection, so it is important to update the server immediately. The bug is fixed in OpenSSL 1.0.1g. All Major Linux Distributions have release updates to the vulnerability.

Securing SSH On Redhat/Centos With WiKID Two-Factor Authentication

Securing SSH On Ubuntu With WiKID Two-Factor Authentication

SSH offers a highly secure channel for remote administration of servers. However, if you face an audit for regulatory or business requirements, such as Visa/Mastercard PCI, you need to be aware of some potential authentication related short-comings that may cause headaches in an audit.

Improve Spam abuse protection in dovecot by restricting access to mail accounts by IP address (e. g. with ISPConfig 3)

Improve Spam abuse protection in dovecot by restricting access to mail accounts by IP address (e. g. with ISPConfig 3)

This howto will show you how to add ip restrictions to single mail accounts when using dovecot with MySQL.

This is especially useful if you need to access a mail account from only one single ip or a few ips or if you want to block specific ip addresses from accessing the mail account (e. g. due to spam abuse).

Install Apache2, PHP5 And MySQL Support On CentOS 6.5 (LAMP)

Install Apache2, PHP5 And MySQL Support On CentOS 6.5 (LAMP)

LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a CentOS 6.4 server with PHP5 support (mod_php) and MySQL support.

Data recovery from accidentally deleted files or crashed drives in Redhat, CentOS and Fedora Linux

Data recovery from accidentally deleted files or crashed drives in Redhat, CentOS and Fedora Linux

This tutorial will help you to recover data from accidentally deleted data from Linux-file systems. This is a very drastic mistake by any user/admin which costs for huge penalties. This script will be a boon for newbies/expert for data management. I will be using TestDisk for data-recovery. Here I have simplified the task with the help of a script.

PHP session data is not deleted when using custom session management on debian (and ubuntu)

PHP session data is not deleted when using custom session management on debian (and ubuntu)

On debian systems (as far as I know this applies to ubuntu, too) the garbage collector for PHP sessions is disabled by default.

The corresponding setting in php.ini is session.gc_probability = 0 which enables the garbage collector when set to something greater than zero. The default value in PHP is 1, so the garbage collector is called with a probability of 1/100 at each PHP script call.

On debian systems this setting is disabled because of the fact that the default path for session storage is not writable for the web server process (and it shouldn't be either). Deleting of outdates session files is done by a system cron job here.

Rounding numbers to special values in PHP - e. g. "nice prices"

Rounding numbers to special values in PHP - e. g. "nice prices"

Sometimes you need to round numbers to special values. Maybe you have a shop and want to calculate your selling prices automatically, but you don't like prices like 12.52 USD.

Here's a small PHP function that can be used in many different ways to solve this problem.

How To Add PPP Kernel Support To OpenVZ Containers

How To Add PPP Kernel Support To OpenVZ Containers

If you are trying to build a VPN tunnel from within an OpenVZ container to some other system, you will most likely get the error message /usr/sbin/pppd: Sorry - this system lacks PPP kernel support. This tutorial explains how you can add PPP kernel support to your OpenVZ container so that you can start VPN connections from your container.

Data Recovery From Accidentally Deleted Files or Crashed Drives in Ubuntu

Data Recovery From Accidentally Deleted Files or Crashed Drives in Ubuntu

This tutorial will help you to recover data from accidentally deleted data from Linux-file systems. This is a very drastic mistake by any user/admin which costs for huge penalties. This script will be a boon for newbies/expert for data management. I will be using TestDisk for data-recovery. Here I have simplified the task with the help of a script.

Script for converting Outlook pst to Thunderbird/Evolution compatible format on Linux

Script for converting Outlook pst to Thunderbird/Evolution compatible format on Linux

This tutorial will show how to convert Outlook PST into Thunderbird/Evolution compatible SBD format. For this  I have created a script for the conversion format.This will work in Debian/Ubuntu/CentOS too!

first page
previous page
...
8
...
next page
last page