Ensim friendly phpMyAdmin upgrade 2.11.1.1 (final)

This one is easy to do, and is 100% Ensim compatible. This will also work as a stand alone application. Side note: the 2.11 series is the last series that will support php4. Afterwards, php5 will be the only thing considered.

SSH into the server as root,

cd /root
rm -f upgrade_phpMyAdmin
wget http://www.customensimbackup.com/download/upgrade_phpMyAdmin
chmod 700 upgrade_phpMyAdmin
./upgrade_phpMyAdmin

Enjoy!

No Comments »

Ensim friendly phpMyAdmin upgrade 2.11.1 (final)

This one is easy to do, and is 100% Ensim compatible. This will also work as a stand alone application. Side note: the 2.11 series is the last series that will support php4. Afterwards, php5 will be the only thing considered.

SSH into the server as root,

cd /root
rm -f upgrade_phpMyAdmin
wget http://www.customensimbackup.com/download/upgrade_phpMyAdmin
chmod 700 upgrade_phpMyAdmin
./upgrade_phpMyAdmin

Enjoy!

5 Comments »

Ensim friendly phpMyAdmin upgrade 2.11.0 (final)

This one is easy to do, and is 100% Ensim compatible. This will also work as a stand alone application. Side note: the 2.11 series is the last series that will support php4. Afterwards, php5 will be the only thing considered.

SSH into the server as root,

cd /root
rm -f upgrade_phpMyAdmin
wget http://www.customensimbackup.com/download/upgrade_phpMyAdmin
chmod 700 upgrade_phpMyAdmin
./upgrade_phpMyAdmin

Enjoy!

2 Comments »

Proftpd error – IPv6 getaddrinfo ‘localhost’ error:

This nasty little error pops up when restarting proftpd on a virgin machine and a clean install. Another easy fix for this.
Just use the following and replace $HOST with the FQDN (fully qualified domain name) and replace the $HOSTSHORT with the actual name of the machine. For example: hostname.somedomain.com hostname

::1 localhost6.localdomain6 localhost6 $HOST $HOSTSHORT

No Comments »

Ensim friendly phpMyAdmin upgrade 2.11.0-rc1

This one is easy to do, and is 100% Ensim compatible. This will also work as a stand alone application. Side note: the 2.11 series is the last series that will support php4. Afterwards, php5 will be the only thing considered.

SSH into the server as root,

cd /root
rm -f upgrade_phpMyAdmin
wget http://www.customensimbackup.com/download/upgrade_phpMyAdmin
chmod 700 upgrade_phpMyAdmin
./upgrade_phpMyAdmin

Enjoy!

No Comments »

How to change the time zone for a particular site

Steps involved:
1) Make a copy of the original
2) Run “timeconfig”, and pick the timezone and accept. This creates a new /etc/localtime file with this timezone.
3) copy the new /etc/localtime to the users domain: domain.com (remember to change this)
4) restore your real timezone file:

cp /etc/localtime /etc/localtime.save
timeconfig
cp /etc/localtime /home/virtual/domain.com/etc/localtime
cp /etc/localtime.save /etc/localtime

No Comments »

Ensim Awstats 6.7

Here are the notes and instructions for installing or upgrading Ensim Awstats to ver 6.7

READ THE NOTES PRIOR TO INSTALLATION!
*******************************************
Note 1: You need to have root access and SSH capabilities

Note 2: If you have a virtDomain.sh and a virtDomain.tar, then you will need to merge the two together in order for this to work. You should know how to do this if you already have customizations installed. Prior versions of my Ensimized version of Awstats can follow the instructions as if it’s a new install. Just say yes for overwriting the files during the copying of files phase.

Note 3: I have coded and tested this on a Ensim X / CentOS 5 machine. This code use to work with Ensim 3.5 (Redhat 7.3) prior to the Fedora and CentOS release. Can’t imagine it not working for any of the Ensim builds.

Note 4: Original idea, scripts etc belong to forum board member “ho247″. I have been updating this and the scripts since 5.6. Special thanks goes to him.

Note 5: Usual disclaimers, warranties etc. apply. No guarantees. This is a “as-is” product.

Note 6: Updated these directions on Jul 20, 2007. The correct date and time stamp on the .gz file is Jul 20 14:48

Note 7: Special bonus! Included is a daily cron script to clean out the mail.quarantine folder on each and every virtual domain. It will dump all quarantined files older than 7 days.

Note 8: Upgrading to this version does not destroy your previous data. In fact, folks who have been using hand installed copies of Awstats have been able to convert over their data to this version.

Note 9: Extremely stressed out servers ( i.e. ones with tons of domains on them, or modestly populated ones that are extrememly busy) have reported excessive cpu usage during its initial run via cron. It can actually bring those servers to its knees. Not a surprise, considering their machines are already “stressed” so this will put another load onto your daily cron jobs. Remember that it is accessing your apache logs, so if they are big…guess what. It will take some time, and need processor muscle to complete it’s task. Once the initial data collection by awstats is finished, it drops down a bit. Stressed servers should consider adding this add-on, in the beginning of the month, and in the early morning when the logs are still small in size. You have been warned.

cd /root
rm -fr awstats-install
wget http://www.customensimbackup.com/download/ensim-awstats-6.7.tar.gz
tar -zxvf ./ensim-awstats-6.7.tar.gz
cd /etc/appliance/customization

Check to see if you have a virtDomain.sh or a virtDomain.tar ie. ls or ls -la
(if you do…proceed to note 2.)

rm -f /etc/appliance/customization/awstats.sh
cp /root/awstats-install/virtDomain.sh /etc/appliance/customization
cp /root/awstats-install/virtDomain.tar /etc/appliance/customization

Usage: /root/awstats-install/awstats-install [--server-install][--domain-install ]
Pick one and then afterwards check and see if it works. The example below is for a server wide install.

/root/awstats-install/awstats-install --server-install
run-parts /etc/cron.daily

/awstats is where awstats is located for each domain.
/awstats/docs is where awstats docs are located for each domain.
get a cup of coffee….DONE!

Side note: If you want to password protect the awstats directory, here is one possible solution out of many that actually works.

I highly recommend that you password protect your stats

See: http://forums.theplanet.com/index.php?showtopic=53427 and don’t forget to thank forum board member “cweb” for his hard work.

2 Comments »

AdobeReader_enu-7.0.9 doesn’t start

replace "check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION"" "# check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION"" -- /usr/local/Adobe/Acrobat7.0/bin/acroread

No Comments »

Ensim changes from hostname to IP addie when /admin is used.

This little annoyance is really troublesome for folks who spent a lot of money on SSL’s for their server. The fix is quick and painless though.

wget http://customensimbackup.com/download/install_apache_mods
chmod +x install_apache_mods
./install_apache_mods

Enjoy.

16 Comments »

How do I fix server site ownerships? They are all wacked out!

From time to time, server site file ownerships get led astray. Especially when the server administrator has been in there tinkering, uploading, etc.

To fix that, just run this little bit of code, and you will be all good to go.

#!/bin/bash
DOMAINS=`sitelookup -a domain`

for i in $DOMAINS; do
WP_USER=`sitelookup -d $i wp_user`
chown -R $WP_USER:$WP_USER /home/virtual/$WP_USER/var/www/html
chown -R $WP_USER:$WP_USER /home/virtual/$WP_USER/var/www/cgi-bin
done

Enjoy!

No Comments »

« Prev - Next »