Goread installation Configuration

Source: Internet
Author: User
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
    1. 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.

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.