Saturday 5 April 2014

Install VMware Tools on RHEL 6 & Centos 6

This is a HOWTO for installing VMware Tools on RHEL 6 and Centos 6.  I'm mainly posting this since I never remember what the prerequisites are.

Install the VMware tools prerequisites:

yum install make gcc kernel-devel kernel-headers glibc-headers perl

Mount the VMware Tools CD (after inserting it into the VM)

mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom

Copy the install bundle from the CD and extract it.

cp /mnt/cdrom/VMware-Tools*.tar.gz /tmp/
cd /tmp/
tar xvfz VMwareTools*.tar.gz

Run the installer, default on all prompts works fine.

cd /tmp/vmware-tools-distrib
./vmware-install.pl  # add -d to auto accept defaults

install zpanel with php 5.5.9 with suhosin

Install ZPanel including the last PHP version and Suhosin.
Now PHP 5.5.9 including suhosin. At the end of the installation it confirms it works.

CentOS 6.X

Code:
bash <(curl -Ss http://tomvanbrienen.nl/downloads/10_1_1_custom.sh)

This is the clean ZPanel version with only PHP 5.5.9 & Suhosin

Zpanel Installs

Pear - Install
wget http://pear.php.net/go-pear.phar
sudo php -d detect_unicode=0 go-pear.phar


If its blank with no output you need to
edit /etc/suhosin.ini
add suhosin.executor.include.whitelist = phar
When you install Pear install with the defaults
then in zpanel go to Admin, Module Admin, Apache Config
and change Use Open Base Dir to "FALSE"
edit /etc/php.ini
add include_path=".:/usr/share/pear:/php/includes"

Repo Browser - Install
zppy repo add rustus.txt-clan.com
zppy update
zppy install repo_browser


Vhosts edit for sub folder as main www dir
Admin, Module Admin, Apache Config
Select vhosts for the account you want and paste the whole lot for document root in there
so example would be
DocumentRoot "/var/zpanel/hostdata/MYHOSTNAME/public_html/MYHOST.COM"
and you would change to
DocumentRoot "/var/zpanel/hostdata/MYHOSTNAME/public_html/MYHOST.COM/subfolder/anothersubfolder"

Backup database's but not files
Admin, Module Admin, Backup Config

Ajax Explorer addon

in /etc/zpanel/panel/etc/apps/ajaxplorer/conf
and file bootstrap_conf.php
uncomment line with define("AJXP_LOCALE", "en_EN.UTF-8");

Tuesday 1 April 2014

My First Chrome Theme Deep Dark

I released a theme to the Google Web Store A Dark carbon kind of texture with blue text. This theme was inspired by the firefox theme FT DeepDark so credits to him.
ScreenShot

Deep dark Download
I Have another theme same as this only Aero instead might upload that very soon