Tag: linux

[HOW] Apache Security – Local attack prevent

First of all , login to root account : Open the file “php.ini” by nano editor nano /usr/local/lib/php.ini Find the word “safe_mode” [ Ctrl + W and type “safe_mode” ] Change Off to On [ “safe_mode = Off” to “safe_mode = On” cialis tablets in lahore ] Find “disabled_functions” [ […]

How To Configure Yum Behind Authenticated Proxy Server

we are going to configure my YUM software to use proxy to get my LINUX updated with new softwares all the times with repositories available on internet. OS = Fedora 10 1) Configure yum.conf vi /etc/yum.conf enter following lines at bottom of [main] section proxy=http://yourproxyaddress:port/ proxy_username=youruser proxy_password=yourpassword   2) Export […]

Mysql failed after upgrade: Table ‘mysql.plugin’ doesn’t exist

After performing a mysql upgrade, you may run into a problem where Mysql won’t start successfully and will result in a “Table ‘mysql.plugin’ doesn’t exist” error message. The mysql error logs will state something like follows: /usr/libexec/mysqld: Table ‘mysql.plugin’ doesn’t exist 110620 01:01:01 [ERROR] Can’t open the mysql.plugin table. Please […]

Deny Or Allow Countries With Apache .htaccess

Introduction The following script is using blogama.org IP geolocation API to automatically generate Apache .htaccess file to deny or allow specific countries. You can put this script under crontab and the .htaccess rules will be automatically updated. Also, it can update multiple .htaccess files. Source: http://blogama.org [ad#adgoogle1] Deny or allow? […]

How to Delete Files Older Than x Days on Linux

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete […]

Changing Timezones

# rm /etc/localtime # ln -s /usr/share/zoneinfo/Asian/SaiGon cialis 10 mg daily use – canadianpharmacyonline-rx.com /etc/localtime # hwclock –systohc } else {

Nginx HTTP Server + PHP5 (With fast-cgi And xcache) On Ubuntu Feisty Fawn

This HowTo describes the implementation of Nginx with php5 support (through FastCGI). The fast-cgi process will be initiated via spawn-fcgi. What for? Nginx is a great replacement of Apache with very low memory footprint and contrary to Lighttpd, doesn’t suffer from memory leak over time. You can then use all […]

How to Disable IPv6 for Redhat and Centos

Some applications or policies require that IPv6 be disabled on the server, since the IPv6 protocol is currently not a requirement. This article will explain how to disable IPv6 for Redhat (Rhel) and CentOS based Linux servers. Disabling IPV6 Log into the server via SSH. Verify that IPv6 is indeed […]