Showing posts with label squeeze). Show all posts
Showing posts with label squeeze). Show all posts

Sunday, September 25, 2011

How To Set Up SSL Vhosts Under Nginx + SNI Support (Ubuntu 11.04/Debian Squeeze)

Enable the vhost and reload nginx:

cd /etc/nginx/sites-enabled/
ln -s /etc/nginx/sites-available/www.hostmauritius.com.vhost www.hostmauritius.com.vhost
/etc/init.d/nginx reload

 

4 Creating A Self-Signed Certificate

Before we set up our SSL vhost, we need an SSL certificate. I will now show you how to create your own self-signed certificate. With this certificate, you will get browser warnings, but this certificate is required to get a trusted certificate from a trusted CA later on.

Make sure that the package ssl-cert is installed:

apt-get install ssl-cert

You can now create a self-signed certificate for www.hostmauritius.com as follows:

make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/www.hostmauritius.com.crt

You will be asked for the hostname:

Host name: <-- www.hostmauritius.com

This will create the self-signed certificate and the private key in one file, /etc/ssl/private/www.hostmauritius.com.crt:

cat /etc/ssl/private/www.hostmauritius.com.crt

-----BEGIN RSA PRIVATE KEY-----MIIEowIBAAKCAQEAsxOSdUsiEcay6M8EpSu5eeC797v/TpDRGnui4uaYd/YpjrPhPWW01FEIpaCixYb5U2uMuvFOlmZhyfer

View the Original article

Sunday, July 31, 2011

How To Run Your Own DNS Servers (Primary And Secondary) With ISPConfig 3 (Debian Squeeze)

'1.2.3.5' IDENTIFIED BY 'yourrootsqlpassword' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;

CREATE USER 'root'

View the Original article

Sunday, May 29, 2011

Setting Up A Spam-Proof Home Email Server (The Somewhat Alternate Way) (Debian Squeeze)

(some poorly designed websites do not recognizes the www. as valid email address, for those I just leave it away).

For people I use a format like that: "email.john.doe

View the Original article

Monday, March 28, 2011

Setting up an Android app build environment with Eclipse, Android SDK, PhoneGap (Debian squeeze)

 

This tutorial describes how you can set up a development environment for building Android applications on a Debian squeeze desktop with Eclipse, Android SDK, and PhoneGap. Device tested describe how to build Android apps from the command line with the PhoneGap and the GUI with Eclipse and PhoneGap and how in an Android emulator and a real Android. PhoneGap, you can use your Android applications with Web technologies such as HTML, to develop CSS and JavaScript (e.g. with JavaScript libraries such as jQuery/Keds) and it is these Web apps in native Android apps (in fact, PhoneGap supports multiple platforms such as such as AndroidiPhone), Palm, Windows Mobile, Symbian, so that you can use the same sources to create apps for multiple platforms).

 

 

Read more on HowtoForge set as a favorite of this email-ThisComments (0)

View the Original article