Deploy the ROR project in linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. The client asked me to remotely help him deploy the project to the server. I didn't give anything, so I had to find a solution and deploy it while querying data.
First, write down the code.
[Yzhang @ localhost ~] $ Mkdir trust
[Yzhang @ localhost ~] $ Cd trust
[Yzhang @ localhost trust] $ svn checkout http ://........
User name:
Password:
[Yzhang @ localhost trust] $ cd trunk
[Yzhang @ localhost trunk] $ ls
App config doc lib public README sendmails. rb tmp
Components db document log Rakefile script test vendor
[Yzhang @ localhost trunk] $ vi config/database. yml
From the command line mode to the last line mode, use ":", and then use wq to save the changes and release them.
[Yzhang @ localhost trunk] $ vi config/database. yml
[Yzhang @ localhost trunk] $ pwd
View the current directory path
/Home/yzhang/trust/trunk
[Yzhang @ localhost trunk] $ mongrel_rails cluster: configure-e development-p 8090-N 4-c/home/yzhang/trust/trunk-a 127.0.0.1
Writing configuration file to config/mongrel_cluster.yml.
[Yzhang @ localhost trunk] $ mongrel_rails cluster: start
Starting port 8090
Starting port 8091
Starting port 8092
Starting port 8093
[Yzhang @ localhost trunk] $ pwd
/Home/yzhang/trust/trunk
[Yzhang @ localhost trunk] $ mysql-u wwsr_user-p
Enter password:
Welcome to the MySQL monitor. Commands end with; or \ g.
Your MySQL connection id is 57
Server version: 5.0.45 Source distribution
Type 'help; 'or' \ H' for help. Type '\ C' to clear the buffer.
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.