Ubuntu

Debian
Featured
Linux
Technology
Tips and Tricks
Tutorial
Ubuntu

How to Setup Rsync with SSH without Password on Ubuntu / Debian

Rsync is awesome tool for synchronize local files or directories with files and directories on remote server. Rsync is commonly used for data backup. For rsync installation you can read this article. Below is command line how to use rsync with ssh. You will be asked for a ssh password before rsync can start synchronizing. […]

Read More
Database
Debian
Featured
Linux
Open Source
Technology
Tips and Tricks
Tutorial
Ubuntu

How to Fix MySQL Error “Stopping MySQL database server : mysqld failed!” on Debian Squeeze

This problem happens when you modify user table in mysql database. In Debian system, there is a user named debian-sys-maint. We can’t restart mysql daemon if the password is not correct. We have to update the password for that user. First, we check the password: Login to mysql shell as root Now use the following […]

Read More
Debian
Featured
Linux
Open Source
Technology
Tips and Tricks
Tutorial
Ubuntu

How to Save Apache Access Log into MySQL Database Using libapache2-mod-log-sql on Debian Squeeze

The purpose of saving Apache access log into MySQL database is to make it easier to parse website’s visitor information. First of all, we do repository update: Install libapache2-mod-log-sql Create apachelogs and scoreboard table: Modify /etc/apache2/sites-available/default: If you have other virtual hosts, you can put LogSQLTransferLogTable directive into each virtual host tag. Create mod_log_sql-preserve file: […]

Read More
Debian
Featured
Linux
Open Source
PHP
Technology
Tips and Tricks
Tutorial
Ubuntu

How to Install PHP 5 on Ubuntu / Debian

PHP is a popular web scripting language. This article will show you how to install PHP on Ubuntu / Debian server. 1. First of all, we update repository. 2. Install PHP and Apache web server 3. It’s done. You can put your .php source code at /var/www and access http://your_ip from browser. Now we will […]

Read More
Database
Debian
Featured
Linux
Open Source
PHP
Technology
Tutorial
Ubuntu

How to Install PhpMyAdmin on Ubuntu / Debian

PhpMyAdmin is a web-based tool written in PHP to handle administration of MySQL database. To install PhpMyAdmin on Ubuntu / Debian, execute this command: After that, you can access it on http://your_ip/phpmyadmin/

Read More
Featured
Internet
Linux
Technology
Tips and Tricks
Ubuntu

How to Fix Squirrelmail Error “ERROR: Could not complete request. Query: SELECT INBOX Reason Given: Unable to open this mailbox.” on EHCP

Squirrelmail show this error when I tried to login to webmail: To fix the problem, check email folder and make sure it has the subfolder: cur, new, tmp with appropriate permission. Keywords:error: could not complete request query: select inbox reason given: unable to open this mailbox

Read More
Debian
Featured
Linux
Open Source
Security
Technology
Tips and Tricks
Tutorial
Ubuntu

How to Add User to Sudoers File on Ubuntu / Debian

Sudo is a program that allows users to run programs with the security privileges of another user (normally the superuser, or root). The /etc/sudoers file controls who can run what commands as what users on what machines and can also control special things such as whether you need a password for particular commands. To add […]

Read More
Debian
Featured
General
Linux
Open Source
Security
Technology
Tips and Tricks
Tutorial
Ubuntu

How to Install Fail2ban on Debian Squeeze

Fail2ban is an important software for system administrator. It scans log files (e.g. /var/log/auth.log) and bans IPs that show malicious signs, something like too many password failures and looking for exploits. To install fail2ban, execute this command: Open the configuration file to activate some rules: Find following line to set email destination for notification: Find […]

Read More
Debian
Featured
Linux
Open Source
Technology
Tips and Tricks
Tutorial
Ubuntu

How to Upgrade EHCP 0.30.4 to 0.30.6

Download version 0.30.6 from this link. # cd /root # wget http://sourceforge.net/projects/ehcp/files/ehcp_yeni.tgz/download Extract the file Backup current EHCP # copy -R /var/www/new/ehcp /root/backup_ehcp Copy new EHCP # copy -R /root/ehcp /var/www/new/ Copy config.php from backup # cp /root/backup_ehcp/config.php /var/www/new/ehcp Open browser and go to http://your_ip and login to EHCP. If you have logged in already, […]

Read More
Debian
Featured
PHP
Security
Technology
Tips and Tricks
Ubuntu

How to Fix Suhosin Error ‘ALERT – configured GET variable value length limit exceeded…’ on Debian Squeeze

PHP Suhosin is an open source patch for PHP5 to harden the servers security. I found this Suhosin looping error message when checked on /var/log/user.log Feb 25 07:28:39 rastavarian suhosin[444]: ALERT – configured GET variable value length limit exceeded – dropped variable ‘cookie’ (attacker ‘202.42.246.191’, file ‘/var/www/wp-admin/admin-ajax.php’) Feb 25 07:28:40 rastavarian suhosin[442]: ALERT – configured […]

Read More