This is a creation in Article, where the information may have evolved or changed.
Goread installation Configuration
System Ubuntu 13.04
Web server Apache
Https://github.com/mjibson/goread
Installation steps
This is not detailed, you can see his readme, just about
1. Install the python2.7 and make sure it is in path
2. Install the git,mercurial and make sure that Git and HG are in path
3. Install the Go App Engine SDK and make sure it's in path, simply say, download the zip package, unzip it to a directory, and then add the directory to path.
4. Use the command Goapp get-d github.com/mjibson/goread to download Goread and add the downloaded directory to Gopath
5.CD $GOPATH/src/github.com/mjibson/goread
6.app.sample.yaml Rename to app.yaml,settings.go.dist rename to Settings.go
7.goapp serve operation
8. It is now possible to access the http://localhost:8080 through the
9. Set local domain name, access by domain name
#cd/etc/apache/site-available #cp default goread.local #sudo vi goread.local <virtualhost *:80> ServerName Goread.local #ProxyPreserveHost on proxyrequests Off <proxy *> Order deny,allow allow From all </Proxy> proxypass/http://127.0.0.1:8080/ proxypassreverse/http://127.0.0.1:8080/ </VirtualHost>
Description
1.apache Log Error:
[Warn] Proxy:no protocol handler is valid for t he URL/. If you is using a DSO version of Mod_proxy, make sure the proxy S ubmodules is included in the configuration using Loadm Odule.
Solve:
sudo a2enmod proxy sudo a2enmod proxy_http sudo a2enmod proxy_connect
Restart Apache
Sudo/etc/init.d/apache restart
- Using the command goapp get-d github.com/mjibson/goread download Goread process, may be due to the network due to the failure of the package to download the success of the case, this situation will need to retry several times.