Installing Jinzora on Ubuntu
From Brandonhutchinson.com
(Difference between revisions)
| Line 1: | Line 1: | ||
| - | sudo | + | * Install prerequisites. |
| + | $ '''sudo aptitude -y install apache2 libapache-mod-ssl php5 mysql-server php5-mysql php5-gd''' | ||
| - | wget http://www.jinzora.com/downloads/jz275.tar.gz | + | * 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 )''' | ||
| - | $ sudo | + | * 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 | ||
| + | |||
| + | * Configure Jinzora by opening a Web browser to [http://localhost/jinzora2]. | ||
$ sudo rm -r /var/www/jinzora2/install | $ sudo rm -r /var/www/jinzora2/install | ||
Revision as of 03:13, 4 October 2007
- 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
- Configure Jinzora by opening a Web browser to [1].
$ sudo rm -r /var/www/jinzora2/install
- Apache2 SSL in Ubuntu
- Changing the root password on MySQL
- Geek to Live: Build an internet jukebox with Jinzora
- The Ultimate Media Server - Apache+SSL , PHP, MySQL and Jinzora
$ 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/
