You will get faster speed and responsiveness using Android version 1.5 Cupcake for HTC Dream, compared to Froyo and Gingerbread ROM. In the other hand, using this ROM you will not able to install latest application from Market. This is how to install SuperD ROM on HTC Dream: 1. Download ROM files and copy to […]
Read MoreSudo 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 MoreFail2ban 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 MoreDownload 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 MorePHP 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 MoreThe purpose of this installation is to filter spam email and virus on Postfix mail agent. Here I already installed Postfix in the server, because it is included in EHCP installation. 1. Install the packages 2. Install the optional packages for better spam detection libmail-spf-query-perl package is not available in Debian, therefore I change to […]
Read More1. Download the following files: Gingerbread ROM Gapps GPRS version 12 (optional) 2. Mount your android phone into PC and put all downloaded files above into sdcard. 3. Reboot into recovery 4. Wipe all data (cache, dalvik, factory reset) 5. Flash from zip file using this sequence: 1st = Gingerbread ROM 2nd = Gapps 3rd […]
Read MoreUbuntu 11.10 comes with PostgreSQL 8.4. I did this downgrade because my web application, Hospital Management System, was developed using PostgreSQL 8.2 database and it will throw SQL query error if running on version 8.4. This is step by step guide how to install PostgreSQL 8.2 on Ubuntu 11.10 1.Download source code from http://www.postgresql.org/ftp/source/ and […]
Read MoreThe assumption here is that apache web server already installed in system. Below is guide on how to install MRTG and SNMP packages. 1. Install MRTG and SNMP 2. Configure SNMP Backup configuration file: Create new configuration file: And replace the current content with these lines: Edit /etc/default/snmpd And make sure the file contains these […]
Read MoreBelow is guide how to remote backup using rsync. 1. Install rsync on both client and remote computer: 2. Create config file /etc/rsyncd.conf on remote computer: And put these lines into the file: Press Ctrl-X, Y, and Enter to exit from nano. 3. Activate rsync Find RSYNC_ENABLE=false line, and change to RSYNC_ENABLE=true 4. Execute rsync 5. […]
Read More