Current time: 05-05-2024, 01:09 PM Hello There, Guest! (LoginRegister)


Thread Closed 
[HOWTO] Using the CLI to manage ispcp via command line (scripts)
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #38
RE: [HOWTO] Using the CLI to manage ispcp via command line (scripts)
Quote:But did you have done these steps (at point 3) manualy or did u create a bashscript on the target-Machine.
I created/exchanged a openssh keypair, so I coud execute something like:
ssh root@new_server "/root/scripts/domain.php --action create_domain --domain example.com --password 9g2jsg"
This way I was able to create the domain from the old server.
After that, a "rsync -ave /var/www/vhosts/example.com/httpdocs root@new_server:/var/www/virtual/example.com/htdocs"
Then a --action fix_permisions

That would be to create the web part, test it properly.
Quote:Please can u sent little example-commands for creating domain, mysql-database, mails ?
Just have a look at the wiki, also the script when execute gives you all the alernative commands.

Oh, also have a look at TODO comments, some might be important.
02-24-2010 12:41 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: Using the CLI with ispcp - aseques - 05-08-2009, 11:26 PM
RE: [HOWTO] Using the CLI to manage ispcp via command line (scripts) - aseques - 02-24-2010 12:41 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)