April 22nd, 2014
Comments Off, FTP, Linux, Ubuntu, by HowtoForge - Linux Howtos and Tutorials -.
Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Ubuntu 14.04LTS
This document describes how to install a Proftpd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine. In addition to that I will show the use of quota with this setup. This tutorial is based on Ubuntu 14.04LTS.
April 18th, 2014
Comments Off, CentOS, ISPConfig, by HowtoForge - Linux Howtos and Tutorials -.
How to install Roundcube on your ISPConfig3 server on CentOS 6
This tutorial has been created for those who have installed The Perfect Server – CentOS 6.4 x86_64 [ISPConfig 3] and wish to have alternative webmail application – Roundcube. You may still able access to Squiremail as this Roundcube installation will not overwrite the Squirremail.
Running TYPO3 6.2 On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.10
This tutorial shows how you can install and run a TYPO3 (version 6.2) web site on a Debian Wheezy or Ubuntu 13.10 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced “engine x”) + MySQL + PHP).
nginx is a HTTP server that uses much less resources than Apache and
delivers pages a lot of faster, especially static files.
April 16th, 2014
Comments Off, Apache, Debian, by HowtoForge - Linux Howtos and Tutorials -.
Speed up Apache webserver with mod_pagespeed and memcached on Debian 7 (Wheezy)
April 14th, 2014
Comments Off, Apache, Fedora, MySQL, PHP, by HowtoForge - Linux Howtos and Tutorials -.
Installing Apache2 With PHP5 And MySQL Support On Fedora 20 (LAMP)
LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a Fedora 20 server with PHP5 support (mod_php) and MySQL support.
April 9th, 2014
Comments Off, Desktop, Linux, by HowtoForge - Linux Howtos and Tutorials -.
The Perfect Desktop – OpenSUSE 13.1 (GNOME)
This tutorial shows how you can set up an OpenSUSE 13.1 desktop that is a full-fledged replacement for a Windows desktop, i.e.that has all the software that people need to do the things they do on their Windows desktops. The advantages are clear: you get a secure system without DRM restrictions that works even on old hardware, and the best thing is: all software comes free of charge.
April 9th, 2014
Comments Off, PHP, by HowtoForge - Linux Howtos and Tutorials -.
PHP number_format() and a problem with negative values rounded to Zero
As is known, the PHP function number_format() rounds the given value to the needed amount of decimal places.
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.
April 8th, 2014
Comments Off, CentOS, Security, by HowtoForge - Linux Howtos and Tutorials -.
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)
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)
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.
April 2nd, 2014
Comments Off, CentOS, Fedora, by HowtoForge - Linux Howtos and Tutorials -.
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.
March 28th, 2014
Comments Off, Apache, PHP, by HowtoForge - Linux Howtos and Tutorials -.
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.
March 28th, 2014
Comments Off, PHP, Web Server, by HowtoForge - Linux Howtos and Tutorials -.
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
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