Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008
    Posts
    25
    Plugin Contributions
    0

    Default SSH Command Line upload and install

    I want to setup many mini sites using an install with all my modules and extras ready to go.

    I have made a zip file of this and uploaded to an empty new hosting account.

    I have managed to SSH and unzip the file.

    Is there away to do all post configuration though putty rather than doing it online.

    i.e. give a command to tell it about the database connection settings, physical paths, company name email address etc,

    Basically enter all the details that are entered online via the command line instead

    Has anyone managed to do this?

  2. #2
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: SSH Command Line upload and install

    You can edit files from the command line once connected via SSH, but the question has to be "Why would you want to?".

    SSH is useful for certain tasks, but it's complete overkill when it comes to simple file editing ...and some of the settings you mention are stored in the db which you wouldn't edit using Putty.

    If you want to keep track of changes and roll them back if you need to, and publish them to your site then you can get yourself a free Subversion account, install Tortoise SVN on your PC, install XAMPP on your PC (local web server) and use that combination to keep an online Repository of your site files, edit them offline and Commit them to the Repository and Publish them to your website from there. You'd use XAMPP to test the changes locally before committing.

    Vger

 

 

Similar Threads

  1. Command line parameters - how to?
    By kalastaja in forum General Questions
    Replies: 9
    Last Post: 23 Aug 2010, 06:15 PM
  2. CURL Command-line
    By webstar in forum Basic Configuration
    Replies: 2
    Last Post: 24 Nov 2009, 10:34 PM
  3. Command line run of update_product.php
    By liderbug in forum General Questions
    Replies: 0
    Last Post: 12 Jul 2009, 04:19 AM
  4. Easy Populate From Command Line
    By jmycr in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 24 Aug 2008, 03:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg