Photo Album Server

TableOfContents(2)

Install

apt-get update
apt-get install apache2
apt-get install mysql-server
apt-get install php5
apt-get install php5-mysql

apt-get update
apt-get install gallery2

Configure

Alias /gallery2 /usr/share/gallery2

*Now restart or start your apache server/

/etc/init.d/apache2 restart

Gallery2 components

cp /home/lucas/Desktop/login.txt /usr/share/gallery2/

mkdir /usr/share/gallery2/g2data
chmod 755 /usr/share/gallery2/g2data 
chown www-data:www-data /usr/share/gallery2/g2data