admin
Plesk domain date.timezone error
Warning: phpinfo(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but … Read more
SPF Records
Sender Policy Framework (SPF) is a method of fighting spam. As more time passes, this protocol will be used as one of the standard methods of fighting spam on the Internet. An SPF record is a TXT record that is part of a domain’s DNS zone file. The TXT record specifies a list of authorized … Read more
How do I check how many HTTP connections are open currently?
Keep it mind that http is a stateless protocol. Each line can represent one client opening multiple sockets to grab different files (css, images, etc) that will hang out for awhile in a timewait state. To display only active Internet connections to the server at port 80 and sort the results, allow to recognize many … Read more
Known configure errors with php
1. Configure: error: Please reinstall the BZip2 distribution # yum install bzip2-devel 2. Configure: error: DBA: Could not find necessary header file(s). # yum install gdbm-devel # yum install db4-devel 3. Configure: error: libjpeg.(a|so) not found. # yum install libjpeg-devel 4. Configure: error: libpng.(a|so) not found. # yum install libpng-devel 5. Configure: error: freetype.h not … Read more
How to install and use two versions of PHP on the same Plesk for Linux server
Source: http://kb.odin.com/en/118378 php version – php-5.4.31 CentOS 6.5 Plesk Panel 12.0 Current php version 5.3 1. SSH to your Plesk server (or Apache Service Node for Parallels Plesk Automation) as root, download the PHP source, unpack it, and configure it: Note: You MUST USE THE PREFIX SWITCH in order for your new PHP to be … Read more
Deleting and Re-creating email for a domain in plesk
Let’s say that you need to delete a plesk domain with email and recreate it. 1. Recording the email addresses and passwords (over ssh you can use the command /usr/local/psa/admin/bin/mail_auth_view to show addresses and passwords) 2. Making a copy or renaming of the folder /var/qmail/mailnames/domain.com to something like /var/qmail/mailnames/domain.com.BAK 3. Deletion of the Alias and … Read more
Adding Additional IP Addresses CentOS
ssh to the server If the main adapter is called “eth0” you have to call the next (virtual) adapter in a sequential order like so: ifcfg-eth0 (primary adapter, physical) ifcfg-eth0:1 (first virtual adapter to the physical primary adapter) ifcfg-eth0:2 (second virtual adapter to the physical primary adapter) Copy our primary adapter configuration file and name … Read more
AB Tool for Benchmark
http://httpd.apache.org/docs/2.2/programs/ab.html http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html -n 10000: ab will send 1000 number of requests to server 202.54.200.1 in order to perform for the benchmarking session -c 50 : 50 is concurrency number i.e. ab will send 50 number of multiple requests to perform at a time to server 202.54.200.1 Login to Linux/bsd desktop computer and type following command: … Read more
FTP Passive Mode – Plesk Server
Passive Mode To enable FTP Passive Mode on Plesk systems, you will need to first edit the proftpd.conf file in /etc/ Then find the following lines Under the lines above, add the following and save the file. Now restart xinetd Once xinetd is restarted, you need to add the port range to the Plesk Firewall. … Read more