Tag: DirectAdmin
Free DirectAdmin
by admin on Feb.04, 2012, under News
Dear Customer
Saat ini IGN/IndoVPS sudah dapat memberikan free directadmin untuk semua product VPS (RAM 256+), Dedicated dan Colocation server.
Directadmin adalah salah satu control panel web hosting yang mencakup fitur untuk admin, reseller dan enduser interface. (http://www.directadmin.com/features.html)
Silahkan melihat ke http://www.directadmin.com/install.html untuk pilihan sistem operasi yang disupport oleh DirectAdmin.
Salam
Softaculous now available
by admin on Feb.03, 2012, under News
Pelanggan YTH.
Perhari ini semua layanan Hosting & Reseller sudah dapat menggunakan Softaculous program. Softaculous adalah program auto installer yang memiliki 150 script siap pakai dan dan dapat di install dengan mudah dan cepat. Dalam waktu dekat program ini juga akan kami implementasikan pada semua server cPanel.
Salam,
Change apache to do graceful restarts
by admin on Jan.29, 2012, under DirectAdmin
If you want to avoid download interruptions during apache restarts, apache has to be changed to restart gracefully.
To do that, you’ll need to change your httpd boot script.
The path for your script will vary depending on your OS.
For FreeBsd it’s:
/usr/local/etc/rc.d/httpd
For all other OS’s, it’s:
/etc/init.d/httpd
As for the actual change, you’ll edit the httpd boot script for your system, find this code:
restart)
stop
waitforexit "httpd" 20
start
;;
and change it to read:
restart)
kill -USR1 `cat $PIDFILE`
;;
Note, this is not tested as much, so you’ll need to keep an eye on things until you’re satisfied that it’s stable.
An apache restart will no longer start apache if it’s stopped. You must "start" it, as the graceful restart only works on already running processes.
Updating Apache to the latest version
by admin on Jan.27, 2012, under DirectAdmin
You can check the current version of apache by running
httpd -v
If you wish to update your 1.3 version of apache to the most recent, run the following:
cd /usr/local/directadmin/customapache
./build clean
./build update
./build apache_mod_ssl
If you’re using apache 2.x, use "./build apache_2" instead of apache_mod_ssl.
This should update both the configure options and the version of apache to the most recent version. Once the update has completed, you’ll need to restart apache:
RedHat:
/sbin/service httpd restart
FreeBSD:
/usr/local/etc/rc.d/httpd restart
How to add all of the Include lines into your httpd.conf
by admin on Jan.26, 2012, under DirectAdmin
If you reinstall DA (./directadmin i) on a live box, your /etc/httpd/conf/httpd.conf file will get overwritten and emptied of all data. You’ll need to read all of the Include lines for your users so that their sites show up (you’ll be seeing the apache pages, or the shared IP pages instead)
Type:
cd /usr/local/directadmin/data/users
for i in `ls`; do { echo "Include /usr/local/directadmin/data/users/$i/httpd.conf" >> /etc/httpd/conf/httpd.conf; }; done;
Note that this add the include lines for *all* users.. so if you’ve added users to DA after you ran the "./directadmin i", you’ll end up with duplicates. Make sure you don’t have duplicate Include lines.. (apache won’t restart, it will let you know)
