Installing Jinzora on Ubuntu

From Brandonhutchinson.com

Revision as of 21:58, 3 October 2007 by Hutch (Talk | contribs)
Jump to: navigation, search
sudo perl -pi.bak -e 's/max_execution_time = \d+/max_execution_time = 300/;s/post_max_size = \d+M/post_max_size = 32M/;s/upload_max_filesize = \dM/upload_max_filesize = 32M/' /etc/php5/apache2/php.ini

wget http://www.jinzora.com/downloads/jz275.tar.gz sudo tar zxvf jz275.tar.gz -C /var/www/ ( cd /var/www/jinzora2 && sudo sh configure.sh )


$ sudo aptitude -y install apache2 libapache-mod-ssl php5 mysql-server php5-mysql php5-gd


$ sudo rm -r /var/www/jinzora2/install

  • Create a private server key.
$ openssl genrsa -des3 -out server.key 1024
Generating RSA private key, 1024 bit long modulus
..++++++
....................++++++
e is 65537 (0x10001)
Enter pass phrase for server.key:
Verifying - Enter pass phrase for server.key:


  • Create a CSR.
$ openssl genrsa -des3 -out server.key 1024
Generating RSA private key, 1024 bit long modulus
..++++++
....................++++++
e is 65537 (0x10001)
Enter pass phrase for server.key:
Verifying - Enter pass phrase for server.key:
hutch@hutch:/tmp$ openssl req -new -key server.key -out server.csr
Enter pass phrase for server.key:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:Minnesota
Locality Name (eg, city) []:Minneapolis
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Navitaire Ltd.
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:hutch.navitaire.com
Email Address []: 

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
  • Create a self-signed server certificate by signing the public key with the private key.
$ openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
Signature ok
subject=/C=US/ST=Minnesota/L=Minneapolis/O=Navitaire Ltd./CN=hutch.navitaire.com
Getting Private key
Enter pass phrase for server.key:
  • Remove the passphrase from the server key.
$ openssl rsa -in server.key -out server.key
Enter pass phrase for server.key:
writing RSA key
Personal tools