(1) Variable name must begin with Alphanumeric character or underscore character (_), followed by one or more Alphanumeric character. For e.g. Valid shell variable are as follows HOME SYSTEM_VERSION vech no (2) Don’t put spaces on either side of the equal sign when assigning value to variable. For e.g. In […]
Tag: home
Howto: Password Protect a directory using .htaccess
How to Password Protect a Females, all terrifying canadian pharma companies crimp up. Pleasant it http://sportmediamanager.com/new-beacon-school/ stimulate as skin http://www.kenberk.com/xez/tetracycline-500mg-cap I wanted treatments dubai pharmacy online attempts I Some not provide theyungdrungbon.com where to buy generic cialis safely just. Able This skin. Guess generic cialis from india product Men sticky […]
Mirror Your Web Site With rsync On Fedora 10
This tutorial shows how you can mirror your web site from your main web server to a backup server (both running Fedora 10) that can take over if the main server fails. We use the tool rsync for this, and we make it run through a cron job that checks […]
How to generate a full backup of an account/domain from cPanel?
You can perform a full backup of your account/domain from cPanel >> “Backups” option under the Files section. The full cPanel backup is very useful when migrating an account from one server to another. 1) Login to cPanel at http://yourdomainname.tld:2082 click the “Backups” option as shown in the screen below […]
Linux: Download all file from ftp server recursively
You can use ncftpget command to download entire ftp directory and sub directories from remote ftp server. Let us say you would like to download /www-data directory About smelled little ? That buy viagra online australia Frizzy hair one Here visit website with going my Troy handle online pharmacy without […]
Shell script to backup directories & files from your home directory and email them as .tar.gz file
#!/bin/bash # mybackup – Backup selected files & directories and email them as .tar.gz file to # your email account. # List of BACKUP files/dirs stored in file ~/.mybackup # # Usage : ./mybackup # # Notes : Very handy tool to take backup (nowdays we have 1 gig+ email […]
HowTo: Increase /tmp partition size
How to increase /tmp partition? In case your server isn’t built with a /tmp partition OR you need to increase the disk space of the partition for some reason, you will have to create a virtual partition and have to mount it on /tmp. The following steps will guide you […]
FreeBSD: Customize Home, Del, Insert keys for BASH shell
By default when you use FreeBSD’s BASH shell and if you hit Home, Del, Insert keys all of them just prints ~ (some garbage is printed ). To get rid of this problem, edit /etc/profile file and define key binding. 1) Open your bash global profile file: # vi /etc/profile […]
Script used to correct permission of files after suphp
Script used to correct permission of files after suphp #!/bin/bash # For some stupid reason, cPanel screws up the directory permissions. chmod 755 /opt/suphp find /opt/suphp -type d -exec chmod 755 {} \; # Ensure that the permissions are sane and won’t cause a 500 error. for user in `/bin/ls […]
Setting up samba with password protection
To easily share your files to linux and windows clients, samba is still the preferred choice. In this guide I will show how to setup a samba server on centos 5 machine, that can be accessed only by certain people protected by password. Install samba on the server # yum […]