Yesterday I wrote a post when I found a script to monitor disk space in a server and getting alert on thresh hold level. However that script just send a notification when disk space is on thresh hold, but I wanted to get disk usage on daily basis therefore I made some modifications in...
Iptables provide filtering, NAT and other packet mangling.
Viewing current configuration
iptables -L
Output will be like
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source ...
This tutorials will help you to install PPTP vpn on Xen vps.
PPTP installation:
Debian
apt-get install pptp
CentOS
yum -y install pptp
Configuration:
Open /etc/pptpd.conf and add following 2 lines
nano -w /etc/pptpd.conf
localip 123.123.123.123
remoteip 192.168.1.1-200
Replace...
Plesk handle things differently then Cpanel. If you will make any custom change in plesk configuration files then they will revert to original after some specific period of time.
To disable open_basedir in plesk for some specific domain, it requires to make a vhost.conf file.
Go to...
Have you lost your wordpress blog password? No worries, you can reset it using simple steps
Open up Cpanel and click on PHPMyAdmin
Go to the database of your blog
Populate tables
Go to the table wp_users and click on browse
Click on the pencil (edit) icon next to the user you want to...
firewall is always very important for the security of your system, specially if you are running a web server running very popular websites then firewall is the life of your server.
Previously I explained how to install CSF firewall, and here is the tutorial for APF which is another great firewall...
All linux and Unix distributions comes with kill command inside.
Killing process by name
If you know the process name which you want to kill then you can simply use
killall [process_name]
killall -9 [process_name]
Killing process by process ID
You can find process ID of a process...
telnet is consider to be very unsecure, therefore it is recommended to use ssh rather then telnet. However we do some time need telnet. Telnet is by default disabled in Windows7, but you can enable it if you want.
Click on start
Go to control panel
Click "program and features"
Click on...
Magento is a campus management system. Some time when you move your website to new location or to new directory, it require to change Base URL in the database of Magento.
You can use phpmyadmin to change this database or you can directly change it from command line
Using PhpMyadmin
Open...
It is very easy to remove Certificate exception from firefox.
Just click on Tools>>Options>>Advanced >> Encryption >> View Certificates
A new tab will option
Click on "servers" tab
There you can select certificate and click "Delete" button
Here are some screen...