Linux deployment project process

Source: Internet
Author: User
Tags drupal
Linux deployment project full process remote login ssh-p5108root @ 52. **. 173.202 Theauthenticityofhost & amp; #39; [52.215.173.202]: 5108 ([52.215.173.202]: 5108) & amp; #39; can & amp; #39; tbeestablished. remote logon to ssh-p 5108 root @ 52. **. 173.202 The authenticity of host' [52.215.173.202]: 5108 ([52.215.173.202]: 5108) 'Can't be established. RSA key fingerprint is 88: f9: c9: d7: 65: 29: 65: 3c: 41: c1: 50: 74: 7b: 14: 74: ce. are you sure you want to co Ntinue connecting (yes/no )? YesWarning: Permanently added '[52.215.173.202]: 100' (RSA) to the list of known hosts.root@52.215.173.202's password: * ***** Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) * Documentation: https://help.ubuntu.com/Last Login: Tue Apr 23 17:37:14 2013 from 180.172.53.43 root @ SNDA-192-168-15-106 :~ # Pwd/root @ SNDA-192-168-15-106 :~ # Cd/etc/apache2/sites-available copy a root @ SNDA-192-168-15-106:/etc/apache2/sites-available # cp default yoursite. comroot @ SNDA-192-168-15-106:/etc/apache2/sites-available # lsdefault default-ssl yoursite_com root @ SNDA-192-168-15-106:/etc/apache2 # cd sites-enabled/root @ SNDA-192-168-15-106: /etc/apache2/sites-enabled # ls000-default create link root @ SNDA-192-168-15-106:/etc/apache2/sites-enabled # ln-s .. /sites-available/yoursite_com. root @ SNDA-192-168-15-106:/etc/apache2/sites-enabled # lltotal 8drwxr-xr-x 2 root 4096 Apr 25. /drwxr-xr-x 7 root 4096 Apr 3 .. /lrwxrwxrwx 1 root 26 Apr 1 18:10 000-default-> .. /sites-available/defaultlwxrwxrwx 1 root 31 Apr 25 :09 yoursite_com-> .. /sites-available/yoursite_com root @ SNDA-192-168-15-106:/etc/apache2/sites-available # lsdefault default-ssl yoursite_com transfer files and deploy this P must be capitalized root @ root-M68MT-S2P: /var/www $ scp-P 5108 project_201302.16.tar.gz root@52.215.173.202:/root/root@52.215.173.202's password: * project_201302.16.tar.gz 100% 912KB 911.9KB/s 00:00 compression and then transfer root @ root-M68MT-S2P:/var/www $ cpproject_201302.16. SQL/tmp/root @ root-M68MT-S2P: /var/www $ cd/tmp/root @ root-M68MT-S2P:/tmp $ tar czfproject_201302.16. SQL .tgzproject_201302.16. SQL root @ root-M68MT-S2P:/var/www $ scp-P 5108/tmp/project_201302.16. SQL .tgz root@52.215.173.202: /root/root@52.215.173.202's password: project_2013020.. SQL .tgz 100% 666KB 666.5KB/s 00:00 root @ root-M68MT-S2P:/var/www $ edit yoursite_com 1 2 ServerName yoursite.com 3 ServerAlias www.yoursite.com 4 ServerAdmin webmaster @ localhost 5 6 Redirect/dian/cc? Login = cc 7 Redirect/wen/cc? Login = pp 8 ProxyPass/cc http: // localhost: 9088 9 10 DocumentRoot/var/www/drupal/11 12 Options FollowSymLinks 13 AllowOverride All 1415 16 Options Indexes FollowSymLinks MultiViews 17 AllowOverride All 18 Order allow, deny 19 allow from all 2021 22 ScriptAlias/cgi-bin // usr/lib/cgi-bin/23 24 AllowOverride All 25 Options + ExecCGI-MultiViews + SymLinksIfOwnerMatch 26 Order allow, deny 27 Allow from all 28 29 30 ErrorLog $ {APACHE_LOG_DIR}/error. log 31 32 # Possible values include: debug, info, notice, warn, error, crit, 33 # alert, emerg. 34 LogLevel warn 35 36 CustomLog $ {APACHE_LOG_DIR}/access. log combined 37 38 Alias/doc/"/usr/share/doc/" 39 40 Options Indexes MultiViews FollowSymLinks 41 AllowOverride All 42 Order deny, allow 43 Deny from all 44 Allow from 127.0.0.0/255.0.0.0: 1/128 45 46 47  
Related Article

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.