yum -y install openssl* gcc-c++ gcc flex g++ make;wget http://www.directadmin.com/setup.sh;chmod +x ./setup.sh;./setup.sh
#enable SSL
/usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /usr/local/directadmin/conf/cakey.pem -out /usr/local/directadmin/conf/cacert.pem -days 9999 -nodes
chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem
chmod 400 /usr/local/directadmin/conf/cakey.pem
sed -i "s/SSL=0/SSL=1/g" /usr/local/directadmin/conf/directadmin.conf
service directadmin restart
directadmin, install, guideyum, openssl, gcc, flex, wget, http, www, sh, chmod, enable, ssl, usr, bin, req, newkey, rsa, keyout, conf, cakey, pem, cacert, nodes, chown, diradmin, sed, quot, restart,