Installatie verslag van gallery#
Galery website: http://gallery.menalto.com/ #
Installatie instructies : http://codex.gallery2.org/index.php/Gallery2:How_do_I_Install_Gallery2 #
Uitgevoerd#
- met webmin een mysql user opgevoerd metskem en gallery (pw=gallery)
- mysqladmin -uroot create gallery2 -p (aanleggen database gallery2)
- mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO metskem@localhost IDENTIFIED BY 'password'" -p (geef alle Database permissions aan metskem op database gallery2)
- download typical versie van de code op : {http://prdownloads.sourceforge.net/gallery/gallery-2.1.1a-typical.tar.gz?download]
- uitpakken naar /usr/local/gallery2: cd /mnt/data/zips
- gunzip gallery-2.1.1a-typical.tar.gz
- cd /usr/local
- tar -xvf /mnt/data/zips/ gallery-2.1.1a-typical.tar
- aanleggen directory /mnt/data/gallery2: mkdir /mnt/data/gallery2
- chown wwwrun /mnt/data/gallery2
- chmod 755 /mnt/data/gallery2
- opnemen in /etc/apache2/user.conf (deze wordt ge-include vanuit httpd.conf) : #-------------------------- # tbv gallery2: #-------------------------- Alias /gallery "/usr/local/gallery2" <Directory "/usr/local/gallery2"> Allow from all </Directory> #---------------------------
- restart apache, en point to http://localhost/gallery
- tijdens install: Warning: Your PHP is configured to limit the memory to 8Mb (memory_limit parameter in php.ini). You should raise this limit to at least 16MB for proper Gallery operation.
- Dus file /usr/local/gallery2/.htaccess aangelegd met inhoud “php_value memory_limit 16M“
- installatie van php-mysql support:
- download rpm van : http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/x86_64/php5-mysql-5.1.2-27.x86_64.rpm ]
- rpm -i /mnt/data/zips/php5-mysql-5.1.2-27.x86.rpm
- restart apache
- admin user/pw: admin/xxxxxxx
- aanleggen /usr/local/gallery2/config.php met wwwrun als owner
- install nls support voor php, download from ftp://mirror.switch.ch/mirror/suse/projects/apache/php5/10.0-x86_64/php5-gettext-5.1.2-3.1.20060127.x86_64.rpm
en install de rpm
