安装Gallery
来自Ubuntu中文
安装Gallery
- 请参阅 如何新增其他的软件库 (extra Repositories)?
- 请参阅 如何安装 Apache HTTP 服务来提供 HTTP(WEB) 服务?
- 请参阅 如何让 Apache HTTP 服务支持 PHP ?
sudo apt-get install gallery (when prompted to restart Apache, choose No or Cancel) sudo apt-get install imagemagick sudo apt-get install jhead sudo apt-get install libjpeg-progs sudo /etc/init.d/apache2 restart sudo sh /usr/share/gallery/configure.sh
- http://localhost/gallery/setup/index.php
- Gallery Configuration
Gallery Configuration Wizard: Step 1 Next Step -> Gallery Configuration Wizard: Step 2 General settings Tab -> Admin password: Specify the password Locations and URLs Tab -> Album directory: /var/www/albums/ Temporary directory: /tmp/ Gallery URL: http://localhost/gallery Albums URL: http://localhost/albums Next Step --> Gallery Configuration Wizard: Step 3 Next Step --> Gallery Configuration Wizard: Step 4 Save Config ->