Installing Jinzora on Ubuntu

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
Line 41: Line 41:
** Database Type: '''MySQL'''
** Database Type: '''MySQL'''
** Create Database: '''True'''
** Create Database: '''True'''
 +
 +
* Before launching Jinzora, remove the installation directory.
 +
$ '''sudo rm /var/www/jinzora2/install'''
=== Links ===
=== Links ===

Revision as of 03:25, 4 October 2007

The following are step-by-step instructions for installing Jinzora 2.75 on a Ubuntu 7.04 (Feisty) system. Please visit the #Links to read more about the installation before proceeding.

  • Install prerequisites.
$ sudo aptitude -y install apache2 libapache-mod-ssl php5 mysql-server php5-mysql php5-gd
  • Download Jinzora.
$ wget http://www.jinzora.com/downloads/jz275.tar.gz
  • Install Jinzora.
$ sudo tar zxvf jz275.tar.gz -C /var/www/
$ ( cd /var/www/jinzora2 && sudo sh configure.sh )
  • Change PHP5 settings for Jinzora.
$ 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
  • Set the root password for MySQL. By default, it is blank.
$ mysql -u root mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 14
Server version: 5.0.38-Ubuntu_0ubuntu1-log Ubuntu 7.04 distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SET PASSWORD FOR root@localhost=PASSWORD(password);
Query OK, 0 rows affected (0.00 sec)

mysql> \q
Bye
  • Reload Apache to ensure required and optional modules are found.
$ sudo /etc/init.d/apache2 reload
  • Configure Jinzora by opening a Web browser to http://localhost/jinzora2.
    • Installation Type: Standalone
    • Jukebox Mode: Streaming Only
    • Database User: root
    • Database Password: root@localhost password above
    • Database Type: MySQL
    • Create Database: True
  • Before launching Jinzora, remove the installation directory.
$ sudo rm /var/www/jinzora2/install

Links

WIP

$ 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: unable to write 'random state' hutch@hutch:~$ ls -ld ~/.rnd -rw------- 1 root root 1024 2007-08-20 17:17 /home/hutch/.rnd $ sudo chown hutch:hutch ~/.rnd $ 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: $

$ sudo mv server.key server.crt /usr/lib/apache2/

Personal tools