I dont know how to update DA In DA update does not work so .... I cant update it :/
Happy Birthday Martynas!!!
Regards
Thank you. Try to update DirectAdmin manually: http://help.directadmin.com/item.php?id=29
I dont know how to update DA In DA update does not work so .... I cant update it :/
Happy Birthday Martynas!!!
Regards
Mr. Jinx, if you use PHP as CGI it shouldn't read them for php_value or php_flag values.
[root@vegas custombuild]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Wed May 09 18:38:42 2007] [warn] module php5_module is already loaded, skipping
Syntax error on line 99 of /etc/httpd/conf/extra/httpd-ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty
[FAILED]
mkdir -p /etc/httpd/conf/ssl.key
mkdir -p /etc/httpd/conf/ssl.crt
/usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /etc/httpd/conf/ssl.key/server.key -out /etc/httpd/conf/ssl.crt/server.crt -days 9999 -nodes -config ./configure/ap2/cert_config
Try this for SSL:
Code:mkdir -p /etc/httpd/conf/ssl.key mkdir -p /etc/httpd/conf/ssl.crt /usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /etc/httpd/conf/ssl.key/server.key -out /etc/httpd/conf/ssl.crt/server.crt -days 9999 -nodes -config ./configure/ap2/cert_config
P.S. are you using the latest version of custombuild?
#### NEW SERVER ####
yum update
yum remove samba samba-client samba-common bind-libs
yum install gcc gcc-c++
yum install freetype freetype-devel freetype-libs libxslt libxslt-devel expat expat-devel
chkconfig --level 2345 iptables off
#### DIRECTADMIN ####
touch /root/.custombuild
wget http://www.directadmin.com/setup.sh
sh setup.sh
if [ ! -d /etc/httpd/conf/ssl.key ] || [ ! -d /etc/httpd/conf/ssl.crt ]; then
mkdir -p /etc/httpd/conf/ssl.key
mkdir -p /etc/httpd/conf/ssl.crt
#install the cert/key
/usr/bin/openssl req -x509 -newkey
rsa:1024 -keyout /etc/httpd/conf/ssl.key/server.key -out /etc/httpd/conf/ssl.crt/server.crt -days
9999 -nodes -config ./configure/ap2/cert_config
fi
if [ ! -d /etc/httpd/conf/ssl.key ] || [ ! -d /etc/httpd/conf/ssl.crt ]; then
cd ${WORKDIR}
mkdir -p /etc/httpd/conf/ssl.key
mkdir -p /etc/httpd/conf/ssl.crt
#install the cert/key
/usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /etc/httpd/conf/ssl.key/server.key -out /etc/httpd/conf/ssl.crt/server.crt -days 9999 -nodes -config ./configure/ap2/cert_config
cd ${CWD}
fi
[root@vegas custombuild]# ./build update_script
cat: /etc/debian_version: No such file or directory
--23:28:44-- http://files.directadmin.com/services/custombuild/custombuild/build
=> `/usr/local/directadmin/custombuild/build.new'
Resolving files.directadmin.com... 199.237.54.170
Connecting to files.directadmin.com|199.237.54.170|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
23:28:45 ERROR 404: Not Found.
[root@vegas custombuild]# ./build
[root@vegas custombuild]#
wget -O /usr/local/directadmin/custombuild/build http://files.directadmin.com/services/custombuild/beta/custombuild/build