Alibabacloud.com offers a wide variety of articles about install mongodb on aws ec2, easily find your install mongodb on aws ec2 information here online.
• Rvm install 1.9.3
• Rvm use 1.9.3 -- default
Deploy applications
Our example Sentiment API is located on Github. Try to clone the software library:
Git clone git@github.com: jerzyn/api-demo.git
Here you can review the code and tutorials for building and deploying the application again:
Http://www.3scale.net/2012/06/the-10-minute-api-up-running-3scale-grape-heroku-api-10-minutes/
And here:
Http://www.3scale.net/2012/07/how-to-out-of-the-box-api-anal
What can cloud technology do? Speaking of what we need for half a day, today we are playing with the implementation of building PPTP services through Amazon AWS EC2 to scientifically access the internet. I have previously introduced the AIM (Autodesk Infrastructure Modeler). There are many cool AIM case videos on youtube, video tutorials, and so on. I would like to introduce them to you very much, unfortuna
Get access key and secret access key
The option to have security credentials under your account and click Access Keys to create new access key as prompted
Installing the SDK
npm Install AWS-SDK--saveIn App.js, the declaration references Aws-sdk var AWS = require ('
AWS EC2 Server Configuration load balancer steps:1. General Load BalancerAt least two EC2 instances, Here take the Centos6.7 system as an example to install an Apache httpd server default 80 port, or use a different server and port also line, configure the load balancer need to use this port iptables firewall open 80 p
In this article, we have three tasks. 1. Use the Amazon Management Console to create an EC2 instance. Second, use the local command line tool to remotely log on to the EC2 instance. Third: create a web service on the EC2 instance and access the Web service through a public domain name.
If you do not have an AWS accoun
--with-mysqli=/usr/local/mysql/bin/mysql_configmake make installNote: If it is a 64-bit system, the "Cannot find OpenSSL libraries" may appear, the solution is to do a soft link: ln-s/usr/lib64/libssl.so/usr/lib/Post-install copy php.ini-production to/ect/php.iniConfiguration file for PHP-FPMCp/usr/local/php/etc/php-fpm.conf.default /usr/local/php/etc/php-fpm.confModify the FPM Master profile to change the running users and groups to WWW, removing
Evaluate the throughput method for the network on a virtual machine as a Web server: Nginx + Apache benchmark + nload
The first step is to build an Nginx server on the Amazon Linux eligible free set of versions
1. Installing Nginx
Yum Install Nginx
2. Open port 80
In the security group, select Edit Inbound rules to add HTTP and 80 ports. Access by Browser:/HTTP
, confirm that Nginx is working properly.
Second step, observe the load condit
, the contents as shown, each repo represents a warehouse, the following indicates that a particular user has specific permissions. This can be used for permission control.Suppose there are two users at this time Tom and Jack need to work with this GIT server to develop a project called Lake. First, Tom and Jack need to generate SSH keys on their respective computers, then rename the public key id_rsa.pub to Tom.pub and jack.pub, and add them to the directory under the Admin user on the server
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.