Change upload size in phpMyAdmin ( Cpanel )
Friday, April 10th, 2009Change the post_max_size value to your choice in the file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini which is the php.ini for phpMyAdmin and restart Cpanel.
Change the post_max_size value to your choice in the file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini which is the php.ini for phpMyAdmin and restart Cpanel.
AddType handler specifies how the client (eg:- browser) has to deal with a particular data stream . The AddHandler on the other hand maps a handler to the file extension telling the server what to do with it.
AddType application/x-httpd-php4 .php4
AddHandler application/x-httpd-php4 .php4
The above two lines looks similar except for the difference in AddType and AddHandler [...]
cpuunits is not dependent on RAM or vice versa . Normal allocation is 5000 pcs
CPUUNITS=”5000″
Analysis of a vps
———————–
vzcpucheck
Current CPU utilization: 227090
Power of the node: 781118
What this says is that node has 781000~ cpuunits available with the processors which it has there. What your host should do, is figure out how many VPSs your host is [...]
Scenario:- edquota: Can’t write quota for 32063 on /dev/vzfs: No such process
Resetting quota for <user> to 0 Meg….Done
This is used for tracking quota for all your files in the system. The more files you have in your system, the more quotaugidlimit is required . quotaugidlimit is used to track the numer of group and users [...]
Consider your mail server IP got blocked in many spam databases and instead of waiting for the spam database authorities to remove it ( while you have given the IP unblock request ) you can change the mail server IP which exim uses so that email traffic is open again. We can use the “interface” [...]
Error:- Can’t find file: ‘horde_sessionhandler.MYI’
If you get this error, you’ve most likely done a file-based MySQL backup restore, and the InnoDB files are not present. The horde_sessionhandler table is an InnoDB table but not a MyISAM.
To fix this first you will need to stop mysql
# /etc/init.d/mysqld stop
Then remove the innoDB table
# rm /var/lib/mysql/horde/horde_sessionhandler.frm
Then start MySQL
# [...]
To enable password-less login using SSH to any linux server do the following. It requires you generate your own personal set of private/public key pair. Consider you have two linux machines HostA & HostB. I am trying to configure password-less login from HostA to HostB
root@HostA # ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in [...]
To enable FTP on Plesk you will need to login to the server using a shell and do the following:-
First check whether ftp is running in the server using “ps” and then check the status using
>>chkconfig ftp_psa status
Now to turn on FTP
>>chkconfig ftp_psa on
and similarly if you want to turn OFF FTP
>>chkconfig ftp_psa off
The FTP [...]
How to echo the time in a specified zone ?
Use the command zdump, which is called the time zone dumper
for eg :-
linuxcom:~ # zdump EST
EST Mon Mar 30 06:31:21 2009 EST
linuxcom:~ # zdump IST
IST Mon Mar 30 11:31:38 2009 GMT
Check out the man page for the same for more options.
And if you want to change [...]
I got the following error in configuring an exim mailqueue checking nrpe command
===================
/usr/local/nagios/libexec/check_nrpe -H <ip> -c check_eximmailqueue
must have a tty to run sudo
===================
This is actually not an error.But a setting in sudo configuration that sets a tty requirement for doing a sudo.
And the error condition is caused because the check command is trying to do [...]