|
||||||||||
|
|
Mailing List Created Unable to create tst mailing listOctober 26, 2008 on 12:01 pm | In Cpanel | No CommentsCpanel issue. which will not let you create a mail list. Here is the fix. Open the file /usr/local/cpanel/3rdparty/mailman/Mailman/Defaults.py Check for the following directives. DEFAULT_EMAIL_HOST = ‘mail.youdomain.com’ HOME_PAGE = ‘index.html’ Insert the proper entries.. /usr/java/jdkX.X.X_Xbin/java: not found + Install Java on Linux serversOctober 19, 2008 on 8:20 pm | In Apache, Centos, Cpanel, Installation, Linux | No CommentsIn some cases, the 3rd parts scripts in server requires java to be installed. It may not work properly if the binary of java installed in the server. You need to install JavaSDK So we present here the installation of Java in Linux server. Its as easy as you run upcp in a Cpanel server. Download the installation binary from Sun’s Java site J2SE for Linux http://java.sun.com/j2se/1.4.2/download.html.( Download J2SE SDK) You may need to register at the site and then they will send you the download link. Download the non-rpm binary cd /usr/local/src/ wget thebinary mv j2sdk-1_4_2_18-linux-i586.bin /usr/local/ cd /usr/local/ chmod 755 j2sdk-1_4_2_18-linux-i586.bin ./j2sdk-1_4_2_18-linux-i586.bin Now setup the environment variables. JAVA_HOME=/usr/local/j2sdk1.4.2_18 export JAVA_HOME Also, you need to add these in the file /etc/profile. JAVA_HOME=/usr/local/j2sdk1.4.2_18 export JAVA_HOME Ioncube InstallationOctober 19, 2008 on 7:59 pm | In Cpanel, Installation, PHP | No CommentsIoncube is easy to install without recompiling PHP. Specifically in cpanel servers you can install Ioncube without recompiling PHP. These steps can be used to install in any Linux servers.. Check the architecture. uname -i cat /etc/redhat-release Download the source from the link http://downloads2.ioncube.com/loader_downloads/ For i316 architecture linux server select ioncube_loaders_lin_x86.tar.gz 2. Installation cd /usr/local/src/ wget http://downloads2.ioncube.com/loader_downloads/<source>.tar.gz tar zxvff <source>.tar.gz mv ioncube /usr/local Locate you php.ini file using the command php -i | grep php.ini open up the php.ini file using any editors, find the “zend_extension” and add the line zend_extension=/usr/local/ioncube/ioncube_loader_lin_x.x.so Don’t forget to replace x.x with the php verision. For example you have php version 5.2.6, replace the x.x with 5.2. Restart Apache /etc/rc.d/init.d/httpd restart Test it php -v It should show Ioncube. How to install BFDOctober 11, 2008 on 9:36 am | In APF, Centos, Linux | No CommentsWhat is BFD (Brute Force Detection)?
This guide will show you how to install and configure BFD to protect your system from brute force hack attempts. Requirements:
1. cd /usr/local/src/. Article provided by WebHostGear.com
<a href=’http://a.wavepointmedia.net/adclick.php?n=a263378f’ target=’_blank’><img src=’http://a.wavepointmedia.net/adview.php?what=zone:14&n=a263378f’ border=’0′ alt=”></a>
2. wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz 3. tar -xvzf bfd-current.tar.gz 4. cd bfd-* 5. Run the install file: ./install.sh .: BFD installed 6. Edit the configuration file: vi /usr/local/bfd/conf.bfd 7. Enable brute force hack attempt alerts: Find: EMAIL_USR=”root” CHANGE TO: EMAIL_USR=”your@yourdomain.com” Save the changes 8. Prevent locking yourself out! 9. Run the program! 10. Customize your applicatoins brute force configuration Here you’ll find all kinds of pre-made rules for popular services such as Apache, and ProFTPD w00t! Suexe issue + PHP cgi… individual php.ini file wont reflect….CpanelOctober 10, 2008 on 11:17 pm | In Cpanel, PHP | 1 CommentThe php.ini files in your home directory won’t reflect the changes. Perform the following actions to get it resolved. 1. Moving php5 binary: mv /usr/local/cpanel/cgi-sys/php5 /usr/local/cpanel/cgi-sys/php5.bin 2. Then creating wrapper file in the /usr/local/cpanel/cgi-sys/php5 with the following content: #!/bin/bash # This will fake the name & path and hide the /usr/local/cpanel/cgi-sys/php5 path! if [ -f "$DOCUMENT_ROOT/php.ini" ]; then 3. Save the file and change the permissons: chown root:wheel /usr/local/cpanel/cgi-sys/php5*; Thanks to Cpanel forums….. |
![]() Powered and designed by Presoon.com. |