在GoDaddy虚拟主机上安装ownCloud私有云

The Web Installer is the easiest method for newbies to install ownCloud on their web host like Godaddy or Hostgator. I will go through the installation and also troubleshoot some possible errors that might come up during the installation.

To Install ownCloud on GoDaddy you need:

0. Make sure to select a Linux server as a hosting server. If your site is not being hosted on a linux server or you’re unsure contact GoDaddy, let them know that you need a Linux server as your hosting server.

1. A domain name and hosting account. to be used for ownCloud only unless you know enough to troubleshoot errors without effecting an already running website on that hosting.

2. You need access to your hosting via FTP. Any hosting company will walk you through the FTP set up for free.

3. Go to ownCloud.org, click on Host ownCloud yourself button.

 

Installation:

1. In the Install OwnCloud Server window click on </>Web Installer button, this will open  Install ownCloud using the Web Installer window providing basic instruction on how to upload the file via FTP.

2. The first step has a link that says Right-click here, click on it to download the setup-owncloud.php.

3. Connect to your hosting via FTP and upload setup-owncloud.php to the root directory of your web host.

4. In the web browser enter http://www. yourdomain.com/setup-owncloud.php

5. Follow the instructions to install and configure ownCloud.

If you get “Magic Quotes is enabled. ownCloud requires that it is disabled to work properly.”

1. Access to your hosting via FTP. BACK UP the .htaccess and php.ini

2. Copy or drag out the php.ini to your desktop, right click, open with notepad.

3. In php.ini add these lines:

; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off
; Use Sybase-style magic quotes (escape ‘ with ” instead of \’).
magic_quotes_sybase = Off

4. Save it and rename the php.ini to php5.ini

5. Upload php5.ini to the root directory of your web host.

kill web system processes on Linux shared hosting accounts:

    1. Log in to your Godaddy, Account Manager.
    2. From the Products section, click Web Hosting.
    3. Next to the hosting account you want to use, click Launch.
    4. In the Stats & Monitors section of the hosting Control Panel, click the System Processes icon.
    5. Click End Web and follow any prompts.
    6. Reload the phpinfo.php page to see if the desired changes have taken effect.
    7. Done!!!

if you get No input file specified error after disabling Magic Quotes:

Once OwnCloud is installed, Although GoDaddy supports PHP 5, the default PHP.ini file needs a little help. Open the php5.ini file to edit and add the following entry.

cgi.fix_pathinfo = 1

in case cgi.fix_pathinfo = 1 by it self didn’t work then also Configure the .htaccess file to deal with the proper security permissions needed for the application. Just replace the .htaccess file in the ownCloud root directory with this one. remember to back up before applying any changes. If it doesn’t work revert the owncloud .htaccess to original and replace the .htaccess file in the root directory with the following information.

ErrorDocument 403 /core/templates/403.php
ErrorDocument 404 /core/templates/404.php
< IfModule mod_php5.c>
php_value upload_max_filesize 513M
php_value post_max_size 513M
php_value memory_limit 512M
< IfModule env_module>
SetEnv htaccessWorking true
< /IfModule>
< /IfModule>
< IfModule mod_rewrite.c>
Options -Multiviews
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|css|gfx|js|swf|robots\.txt|favicon\.ico)
#RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteRule .* – [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]
RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]
RewriteRule ^apps/calendar/caldav.php remote.php/caldav/ [QSA,L]
RewriteRule ^apps/contacts/carddav.php remote.php/carddav/ [QSA,L]
RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
< /IfModule>
< IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
< /IfModule>
Options -Indexes

WP Rocket最新版下载 WordPress缓存火箭加速优化插件

简单速度

不要把你的时间浪费在复杂的插件设置。
WP火箭发射后激活——最小的配置,取得立竿见影的效果。

页面缓存

缓存创建一个超快速的加载时间,对改善搜索引擎优化和提高转换率至关重要。当您打开WP火箭,页面缓存被立即激活。

预加载缓存

因为我们的抓取工具模拟一个访客来预加载缓存,您的网站被搜索引擎索引瞬间提高。

按需加载图片

只在你的访客向下滚动页面时加载图像,提高页面的加载时间。 YouTube和Facebook,雅虎等各大网站都使用这种技术。现在,你也可以做到。

静态文件压缩

WP火箭通过压缩减少了HTML、JavaScript和CSS文件重量。 轻文件意味着更快的加载时间!

开发人员友好

WP火箭的代码是根据WordPress的最佳实践开发。 它是干净的,评论和大量的钩子,所以开发人员可以很容易地使高级定制。

更多功能

WP Rocket网站优化插件推动你的wordpress网站高速运行,更多功能查看下面的与W3 Total Cache、Super Cache、 Hyper Cache的对比列表。

222下载链接:

WP Rocket最新版下载 WordPress缓存火箭加速优化插件链接   密码:57yy   链接失效请留言

ARCGIS Shapfile字段中文字符显示不全乱码问题解决

Arcgis10.2以后的版本经常会出现字段名及属性内容被截断的问题,甚至直接乱码。出现这种问题的根本原因是arcgis10.2之前shapeFile的dbase默认的编码格式是GBK,而更新的版本之后全部是默认UTF-8。shapeFile的字段名长度是限制在9个字符,GBK格式一个汉字占两个字符,这样可以存4个汉字,而UTF-8格式一个汉字占三个字符,所以只能存储三个汉字。所以大家经常看到被截断的字段名都是保留3个汉字。属性总的汉字乱码也是同理。

出现这种问题的直接的解决办法就是放弃shapeFile格式,毕竟是上个世纪90年代的产物了,现在应该用数据库格式。当然一下子也转变不过来的话可以用下面这个解决办法:

保存以下内容为注册表文件格式,双击写入注册表就可以了。注意替换arcgis版本为你所安装的版本号。

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\ESRI\Desktop10.4.1\Common]
[HKEY_CURRENT_USER\SOFTWARE\ESRI\Desktop10..4.1\Common\CodePage]
“dbfDefault”=”oem”

ArcGIS 10.5正式发布 打造智能的Web GIS平台

2017年新年来临之际,ArcGIS 10.5正式发布。历经几个版本,ArcGIS 10.5已经革新为一个智能的以Web为中心的地理平台,推出更精细的分级授权、全新的i3S三维标准、大数据分析处理产品、多Portal间协作共享等诸多新特性及增强,更进一步促进用户间的沟通协作,分析大数据背后的价值,使用户更智能、更高效、更敏捷的进行决策及响应。

革新1:全新分级授权模式

Named User作为访问平台的钥匙,可以使组织中的每类角色人群随时随地使用Web GIS平台。ArcGIS 10.5引入全新分级授权模型,提供两种Named User级别,Level 1和Level 2。Level 1面向组织中仅需浏览资源的人群,Level 2则具有更多能力,面向可以对平台内容进行编辑及创造的人群。ArcGIS 10.5通过更精细的级别划分,让平台用户的职责与权限更加明晰,在不同的业务场景中 “因人制宜”地使用平台。

1.jpg

革新2:全新的i3S三维标准

Esri推出全新i3S三维标准,其具备三大特点:采用web访问标准,更易于桌面、Web、移动等多种客户端的访问;具有LOD、流方式加载数据等特性,能够支持更大规模场景数据更高性能地加载显示;同时它还是一种开放的标准,被Smart 3D、Pix4D等第三方平台支持,使得倾斜摄影数据等更多源的数据能够轻松接入Web GIS平台中。全新的i3S标准未来也将不断改进,为用户带来更多惊喜。 继续阅读“ArcGIS 10.5正式发布 打造智能的Web GIS平台”