Gallery 3 on Ubuntu 12.04 mini-HOWTO
This mini-HOWTO will guide you though installation of Gallery 3 on Ubuntu 12.04, as a subdomain managed by Virtualmin.
Since the main dish of this mini-HOWTO is NOT about Virtualmin + Ubuntu 12.04, so I will assume you have that installed correctly. Please also refer to link provided for more information of subdomain creation.
Prepare the subdomain for Gallery 3
Here I will create a subdomain for Gallery 3 as below:
- Domain name: gallery3.example.com
- Parent server: example.com (example)
- Home directory: /home/example/domains/gallery3.example.com
- Website documents sub-directory: /home/example/domains/gallery3.example.com/public_html
Fetch Gallery 3 from GIT
I would like to use GIT version of Gallery 3 so can update with git pull simply. First login as user example then run:
cd /home/example/domains/gallery3.example.com/public_html/ git init git remote add origin git://github.com/gallery/gallery3.git git fetch git branch 3.0.x origin/3.0.x git checkout 3.0.x chown -Rf example:example /home/example/
Start Gallery 3 installation
Now access http://gallery3.example.com/ and should start the installer as below:
Fill in the information as below:
- Database name: example_gallery3
- User: example
- Password: your_secret_password
- Host: localhost
Update administrator information
Once install complete click on "Start using Gallery" and now it should prompt you as below:
Add some photoes
Ok so most likely your Gallery 3 already get ready for use. Now add some photoes?
Let's enjoy it ;-)
- hswong3i's blog
- 4459 reads










Add new comment