Webscholar - webscholar.net - WebScHoLaR Dot NET
General Information:
Latest News:
php configuration using rebuild_phpconf in cpanel 25 Feb 2011 | 01:18 am
cPanel allows php to be configured as DSO, suPHP and FastCGI. PHP can be reconfigured using /usr/local/cpanel/bin/rebuild_phpconf script. This also allows to set the default PHP version (4 or 5) and e...
custom virtualhost settings in cPanel 25 Feb 2011 | 01:06 am
cPanel allows custom modification to any website Virtual Host section. httpd.conf in cPanel server is no longer used as a data store and it is rebuilt based on information stored at /var/cpanel/userda...
Repair rpm database on *nix 25 Feb 2011 | 12:39 am
1. Check for processes holding the rpm database open (usually in MUTEX/FUTEX states): lsof | grep /var/lib/rpm If it finds any, kill -9 them all. 2. Delete any temporary DB files: rm -fv /var/lib/rpm/...
Pure-Ftp File display limit 17 Feb 2011 | 04:27 am
pure-ftp is a popular FTP Server. By default has a display limit of 2000 files, this prevents the server from showing more then 2000 files when you browse a directory with a FTP client. If there will ...
Enable cache in 3ware raid Card 30 Jan 2011 | 12:12 am
tw_cli is the management utility for 3ware Raid card. In case the cache needs to be enabled on raid card, this can be done as: root@server [~]# /path/to/tw_cli //server> /c0/u0 set cache=on Setting Wr...
Backup mysql stored procedures 30 Jan 2011 | 12:05 am
mysqldump is the utility to backup mysql databases. By default it generate backup for the complete database. In case only backup of stored procedures is required, this can be done as: mysqldump –routi...
Recursively change permissions on Linux 12 Dec 2010 | 04:10 am
Permissions are changed by chmod command in Linux. -r flag can be used with chmod command to recursively change permissions but it will change permissions for all files and folders. If different permi...
Extract specific rows from the database 12 Dec 2010 | 03:36 am
mysqldump can be used to generate SQL Script for the complete database or any specific table. In case we need to generate sql script for specific rows or need to extract rows on any criteria, this can...
Bulk Update DNS zone files serial 12 Dec 2010 | 03:31 am
DNS zone files in Bind are refreshed by increasing the serial number that is in the format yyyymmddXX (e.g 2010121101 i.e 11th December, 2010 and serial number is 01). In case all DNS zone files on th...
Access MySQL prompt on DirectAdmin 12 Dec 2010 | 03:26 am
The default MySQL installations on Linux have root user as the Admin user that has full access. DirectAdmin setups another Database user da_admin as Super database user. Password for it is stored insi...