Posts

Showing posts from April, 2014

free web host cloud introduct - openshift

this is git address: ssh://52c6d36f5973ca9404XXXXXX@{app name}-{other name}.rhcloud.com/~/git/php.git/ NOW, mysql 5.5 address: 5359c033500446ffxxxxxxxx-pkrss.rhcloud.com:57866 Database Name: {app name} Password: xxxxxxxxxx Username: xxxxxxxxx   1.setup rhc client on my windows worker. 1.1 install cygwin,with ruby download ruby gem http://old.stevenharman.net/blog/archive/2008/11/12/installing-rubygems-in-cygwin.aspx   ruby setup.rb install gem update --system   for linux: sudo yum install rubygems git   1.2.Installing OpenShift RHC Client Tools   gem install rhc rhc setup // typed in your account and passwords   3.clear old data rhc app force-stop -a {app name} rhc app-tidy -a {app name} rhc app restart -a {app name} 4.add multiple account rhc setup -l {openshift email account} 5.port forward // this command can bind remote mysql ip and port to 127.0.0.1:xxxxx port rhc port-forward -a {app name} This is output: Service Local OpenShift ------- --------------...