个人工具
登录
查看“通过固定IP访问Gallery”的源代码 - Ubuntu中文
页面
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“通过固定IP访问Gallery”的源代码
来自Ubuntu中文
←
通过固定IP访问Gallery
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
== 通过固定IP访问Gallery == *请参阅 [[安装Gallery|如何安装 Gallery 来提供图片相册服务?]] {|border="1" cellspacing="0" |例如 假設网络及 internet 连接是已经正确设置完成<br>Internet (Hostname or fix IP) or LAN (fix IP): http://www.url.com |} <pre><nowiki>{ sudo cp /etc/gallery/config.php /etc/gallery/config.php_backup sudo gedit /etc/gallery/config.php </nowiki></pre> *找到这段文字 <pre><nowiki> ... $gallery->app->photoAlbumURL = "http://localhost/gallery"; $gallery->app->albumDirURL = "http://localhost/albums"; ... </nowiki></pre> *用下面文字覆盖 <pre><nowiki> $gallery->app->photoAlbumURL = "http://www.url.com/gallery"; $gallery->app->albumDirURL = "http://www.url.com/albums"; </nowiki></pre> *保存不编辑过的文件([http://tw.ubuntuguide.org/sample/config.php_configuregalleryaccessibleinternetlan 范 例]) *http://www.url.com/gallery/albums.php [[Category:服务器]]
返回至
通过固定IP访问Gallery
。