Apache /php /mysql in SUSE

View previous topic View next topic Go down

Apache /php /mysql in SUSE

Post  RAMKEE on Fri Feb 26, 2010 10:51 pm

Check the installation package
#rmp -qa apache2
#rmp -qa php
#rpm -qa mysql
-------------------------------------------------

cat /dev/random > /tmp/random
openssl genrsa -des3 -out /tmp/server.key -rand /tmp/random 1024
openssl req -new -x509 -key /tmp/server.key -out /tmp/server.crt

cp /tmp/server.key /etc/apache2/ssl.key/
cp /tmp/server.crt /etc/apache2/ssl.crt/

chmod 400 /etc/apache2/ssl.key/server.key
chmod 400 /etc/apache2/ssl.crt/server.crt

vim /etc/apache2/vhost/vhost-ssl
<VirtualHost 192.168.1.2:443>
ServerName www.example.com:443
SSLengine on
</vHOst>

vim /etc/sysconfig/apache2
APACHE_SERVER_FLAGS="SSL"
APACHE_START_TIMEOUT="10"
apache2ctl configtest
rcapache2 restart
insserv -r apache2

RAMKEE

Posts : 2
Join date : 2009-12-17

View user profile

Back to top Go down

thanks for the info

Post  Admin on Tue Mar 23, 2010 5:41 am

Thanks dude for the info...cheers Very Happy
avatar
Admin
Admin

Posts : 32
Join date : 2009-09-13
Age : 31
Location : Chennai

View user profile http://linux.nsguru.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum