Installation of GALLERY2 Step (1) ---------------------------------------------------------- yum install php php-pear php-common php-mysql php-cli php-pdo php-gd Install PHP componet for Gallery2,vi /etc/httpd/conf/httpd.conf DirectoryIndex index.html index.html.var index.phpAdd "index.php" into config "DirectoryIndex" in httpd.conf /etc/init.d/httpd restart If your server is ready running PHP, skip this stepStep (2) ---------------------------------------------------------- yum install mysql mysql-devel mysql-server mysqaladmin -uroot password 123456 Set DB root password for first initialStep (3) ---------------------------------------------------------- Download the newest Gallery2 tar file http://gallery.menalto.com/
wget http://downloads.sourceforge.net/gallery/gallery-2.2.3-full.tar.gz Step (4) ---------------------------------------------------------- Open website browser for installation http://127.0.0.1/gallery2/install/ http://192.168.1.xxx/gallery2/install/ In authenticate section, copy the string, and paste in login.txt in the gallery2 directory In systemcheck section, ensure php setting is satisfied to Gallery2 vi /etc/php.ini chmod 755 /var/www/html/gallery2 In database section, according the instruction to define and setup the mysql authenication and database, but first create the database gallery2 in mysql firstmysql -uroot -p In create config file section, according the instruction to finish the step touch config.php chmod 666 config.php In Install Gallery Core section, according the instruction to finish the stepIn Install plugin section, according the instruction to finish the step In check security section, according the instruction to finish the step chmod 755 /var/www/html/gallery2 Step (5) ---------------------------------------------------------- http://127.0.0.1/gallery2/main.php Installation is finished, try it! Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |