gallery
wget http://nchc.dl.sourceforge.net/project/gallery/gallery2/2.3/gallery-2.3-full.tar.gz
1.yum install mysql*
2.service mysqld start
mysql> create database gallery2;
mysql> show databases;
mysql> use databases;
mysql> CREATE USER ‘exampleoo’@’localhost’ IDENTIFIED BY ‘exampleoo’;
mysql> GRANT ALL PRIVILEGES ON .* TO ‘exampleoo’@’localhost’ WITH GRANT OPTION;
3.cp -R gallery2 /usr/local/apache2/htdocs/
5.cd gallery2
7.go to firefox and 192.168.2.245/gallery2 and so the stepsyum install gd*
cp -pr php5.* php-gal
cd php-gal
./configure –prefix=/usr/local/php-gal –with-gd –with-mysql –with-apxs2=/usr/local/apache2/bin/apxs
make
make install
For reference==http://codex.gallery2.org/Gallery2:How_do_I_Install_Gallery2
IN Browser: 192.168.2.158/gallery2
install->2nd step->key generate->copy key->/usr/local/apache2/htdocs/gallery2/login.txt (create this file)
In htdocs
mkdir g2data (edit the username and password)