www.dilella.org

“the only source of knowledge is experience” – Albert Einstein

Archive for the ‘Linux’ Category

If you want to enable SSL you must follow these simple steps (tested on debian ‘testing’)

# apt-get install apache2
# apache2-ssl-certificate
# vi /etc/apache2/ports.conf

+ Listen 443
# cp /etc/apache2/sites-available/default /etc/apache2/sites-available/ssl
# vi /etc/apache2/sites-available/default

> NameVirtualHost *:80
> VirtualHost *:80
# vi /etc/apache2/sites-available/ssl
> NameVirtualHost *:443
> VirtualHost *:443
+ SSLEngine On
+ SSLCertificateFile /etc/apache2/ssl/apache.pem
# ln -s /etc/apache2/sites-available/ssl /etc/apache2/sites-enabled/
# ln -s /etc/apache2/mods-available/ssl.load /etc/apache2/mods-enabled/
# ln -s /etc/apache2/mods-available/ssl.conf /etc/apache2/mods-enabled/
# /etc/init.d/apache2 restart

  • Share/Bookmark
  • Comments Off
  • Filed under: Linux
  • How to install Plone under Debian

    logo.jpgIve told that I want to spend some time with the programming language python. The best thing of python is that there are also many tools, also CMS systems, available that are written in python. This is also a good thing to test the performance of python applications in the web environments. Ive decided to install plone, a content management system based on zope and written in python. I heard that it is one of the best and powerful open-source cms. The installation on a debian system is very easy.

    # apt-get install plone
    # mkzope2.7instance (with /var/lib/zope2.7/instance/default as default directory)
    # vi /var/lib/zope2.7/instance/default/etc/zope.conf
       comment all "products" lines out
    # /etc/init.d/zope2.7 restart

    Now connect to http://localhost:9367 and add a "plone site". More informations can be found under the plone website http://www.plone.org.

    Thats all :)

    • Share/Bookmark
  • Comments Off
  • Filed under: Linux