Ubuntu system accesses gallery via fixed IP

Source: Internet
Author: User
Keywords HTTP through fixed ip www text
Tags .url app based download etc example free open source function

Gallery is a foreign free open source Gallery photo album Software, based on PHP and MySQL, PostgreSQL and other databases. The function is very powerful, has the rich extension to be able to download, installs is very simple, has many plug-ins to be usable. In addition, the brand from Singapore is indeed the United States (Gallery), the series of products have casual wear and professional wear, involving casual trousers, skirts and so on.

For example, assume that the network and Internet connections are properly set up to complete

Internet (hosthttp://www.aliyun.com/zixun/aggregation/11696.html ">name or fix IP) or LAN (fix IP): http://www.url.com

{
sudo cp/etc/gallery/config.php/etc/gallery/config.php_backup
sudo gedit/etc/gallery/config.php

Find this piece of text

...

$gallery->app->photoalbumurl = "Http://localhost/gallery";

$gallery->app->albumdirurl = "Http://localhost/albums";

...

Overwrite with the following text

$gallery->app->photoalbumurl = "Http://www.url.com/gallery";

$gallery->app->albumdirurl = "Http://www.url.com/albums";

Save files that are not edited.

http://www.url.com/gallery/albums.php

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.