ubuntu 10.10 directadmin installation

greenm

Verified User
Joined
Jul 11, 2006
Messages
38
Hello all,

I am posting this thread to eventually create a perfect install.
First of all i need to say that ubuntu 10.10 64 bit works really good with the directadmin install.

Here are some tips for other people:

I have tried this new installation on a VPS.
The VPS had a ubuntu 10.10 virtual kernel so i had to update it
to the normal server kernel to support quota

Code:
apt-get -y update
apt-get -y upgrade
apt-get -y install linux-headers-2.6.35-22-server linux-image-2.6.35-22-server
The following file contains the order in which the boot selection orders the kernels:

Code:
vim /boot/grub/grub.cfg
Make sure the following entries are correct:

Code:
menuentry 'Ubuntu, with Linux 2.6.35-22-server'
The server kernel stuff should be below the virtual and i moved them to the top so grub will choose the top one which is then the server kernel.
Now reboot the server and check the kernel:

Code:
uname -a
Because im aiming here for an installation with a little extra stuff there might be some things you dont need if you dont want them.

Code:
apt-get -y install gcc g++ autoconf libdb4.6 libwww-perl iptables quota imagemagick libmagickcore-dev libmagickwand-dev libtidy-dev
cd /tmp
wget http://www.directadmin.com/setup.sh
chmod 777 setup.sh
./setup.sh
Now this is gonna take a while zzz

After its done
Now i dont need named:

Code:
vim /usr/local/directadmin/data/admin/services.status
vim /etc/init.d/named   (put this on the 2nd line: exit 0;)
killall named
A great firewall tool:

Code:
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
./install.sh
./install.directadmin.sh
chmod 0600 /etc/csf/csf.conf
Code:
/usr/local/directadmin/custombuild/build clean
/usr/local/directadmin/custombuild/build update_script
/usr/local/directadmin/custombuild/build update
I setup
/usr/local/directadmin/custombuild/options.conf
accordingly to my needs for example php 5.3

Code:
/usr/local/directadmin/custombuild/build all
Now some extra modules:

Code:
pecl install imagick
pecl install xdebug
pecl install tidy

wget http://download.suhosin.org/suhosin-0.9.32.1.tar.gz
tar zxvf suhosin-0.9.32.1.tar.gz
cd suhosin-0.9.32.1
phpize
./configure
make
make install

vim  /usr/local/lib/php.ini
change:
extension_dir = "/usr/local/lib/php/extensions/

add:
zend_extension = /usr/local/lib/php/extensions/xdebug.so
extension=imagick.so
extension=tidy.so
extension=suhosin.so

Code:
mv /usr/local/lib/php/extensions/no-debug-*/* /usr/local/lib/php/extensions/

/etc/init.d/httpd restart
 
Last edited:
Top