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
ServerName www.example.com:443
SSLengine on

vim /etc/sysconfig/apache2
apache2ctl configtest
rcapache2 restart
insserv -r apache2


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

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