sure, these are my notes:
if you already have ispconfig already installed, but want to start fresh,
click here to learn how to remove ispconfig if you are re-installing ispconfig, after you've completed the re-install, make sure to
reset your certficate click here
command:
cd /root
command: download lates stable, in my case ISPConfig-2.2.14.tar.gz
wget http://prdownloads.sourceforge.net/ispconfig/ISPConfig-2.2.14.tar.gz?download
command: untar (unpack) tar file:
tar xvfz ISPConfig-2.2.14.tar.gz
Now i emable xml in compile file
nano /root/install_ispconfig/compile_aps/compile
Once i am nano, i hit these keys:
Hit: Contrl + w
Search: xml
Now nano will take you to line 129 at this point:
disable-libxml and remove the following:
--disable-libxml
--disable-xml ${WITH_ZLIB_DIR}
--disable-xmlreader
--disable-xmlwriter
--disable-simplexml
Once you have removed all the above, hit control+x to exit out and say yes to save at the prompt " save modified buffer (ANSWERING No WILL DESTROY CHANGES) ?
say type y for yes and hit return (Enter on keyboard) and hit ruturn again the the prompt: File Name to Write: /root/install_ispconfig/compile_aps/compile
now you shoul be back at the shell
command: change directory to ispconfig_install
cd /root/install_ispconfig/
command: run setup script file
./setup
go through the normal setup
for example these are the prompts i choose:
2 (en)
y
y (license)
1 (standard)
y (postfix)
y proftpd
STEP 0: RSA
STEP 2: (your cert infO: country,state,city,company etc...)
STEP 3: 3
STEP 5: again, your cert info: country,state,city,company etc..
STEP 6: 3
STEP 7: n
SETP 8: n
default text: [the administrator of that system] Enter
once you have completed the installation steps:
All prerequisites are fulfilled.
Here we go...
Please enter your MySQL server:localhost
OK
Please enter your MySQL user:root
Please enter your MySQL password: ******
OK
Please enter a name for the ISPConfig database (e.g. db_ispconfig):db_ispconfig
Please enter the IP address of the ISPConfig web (e.g. 192.168.0.1):192.168.0.1
OK
Please enter the host name (e.g. www):www
Please enter the domain (e.g. xyz.de):mydomain.com
OK
Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
1) HTTPS
2) HTTP
Your Choice: 1
Connected successfully to MySQL server
Restarting some services...
[Sat Jul 14 00:03:44 2007] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 1000 will probably never match because it overlaps an earlier ScriptAlias.
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
Shutting down proftpd: [ OK ]
Starting proftpd: [ OK ]
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
Please direct your browser to
https://www.mydomain.com:81
and log in:
Username: admin
Password: admin
now login and change password.
install phpmyadmin plugin
install the plugin remote through the update manager at, you can get it here:
http://www.ispconfig.org/remoting_plugin.htm
once you've installed it through the update manager, to to Tools tab and click on User under Remoting, then click on [Add] link.
then create username and password (leave ip blank) and select all the permission choices:
Permissions
Primary DNS Records
Query Primary DNS Records
Create Primary DNS Records
Edit Primary DNS Records
Delete Primary DNS Records
Secondary DNS Records
Query Secondary DNS Records
Create Secondary DNS Records
Edit Secondary DNS Records
Delete Secondary DNS Records
Resellers
Query Resellers
Create Resellers
Edit Resellers
Delete Resellers
Clients
Query Clients
Create Clients
Edit Clients
Delete Clients
Websites
Query Websites
Create Websites
Edit Websites
Delete Websites
then click on save button:
Now go back to your shell (im using ssh connection)
command: changed to root directory
cd /root
download ioncube
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
once it has completed dowloading then untar it with this command:
tar xvfz ioncube_loaders_lin_x86.tar.gz
Now copy the ioncube loder you just unpacked to the ispconfig directory with this command:
cp /root/ioncube/ioncube_loader_lin_5.2.so /home/admispconfig/ispconfig/web/ioncube/ioncube_loader_lin_5.2.so
Now you can confirm that infact you copied ioncube_loader_lin_5.2.so in the ispconfig directory by sending this command:
ls /home/admispconfig/ispconfig/web/ioncube/
if you need more help on installing ioncube CLICK HERE
NOW FOR THE FUN PART -----------------
in my case i have a laptop with windows xp on it, and i have installed php server for my testing, so my laptop will be my client(remote server) and i have another computer where i have installed ispconfig in fedora core 5.
Make sure you have CURL enabled, i had to enable CURL in my laptop because it was comment out.
CLICK HERE ON HOW TO ENABLE CURL
download the example files from this link:
http://www.ispconfig.org/downloads/remoting_example.zip
unzip remoting_example.zip and put the file in your server where you can open them with your browser, in my case it was: http://localhost/ispconfig/remote_example
now create a file to add a reseller. copy and paste this code and save it as add-reseller.php:
/**
* ISPConfig Soap Connector
* Version 1.3
* (c) Projektfarm GmbH 2005
*
* This script requires PHP with CURL extension
*
*/
if ($_GET['action']){
include("soap.lib.php");
##################################### START CONFIGURE #####################################
// Insert here your 42go Server
$server_url = "https://192.138.1.101:81";
// Username and Password of the remoting user (not identical
// with the user to log into the web interface!)
$parameters = array('user' => 'myusername',
'pass' => 'mypassword');
##################################### STOP CONFIGURE #####################################
// creating object for SoapClient
$soapclient = new soapclient($server_url.'/remote/index.php');
// Login into 42go Server
$session_id = $soapclient->call('login',$parameters);
// Error Check
//if($err = $soapclient->getError()) die("MY ERROR HERE: ".$err);
// Adding a reseller
$params = array ( 'sid' => $session_id,
'module' => 'reseller',
'function' => 'reseller_add',
'params' => array ( reseller_title => 'wallpaperama',
firma => 'wallpaperama',
vorname => 'Jens',
limit_user => '50',
limit_disk => '1000',
limit_web => '10',
limit_domain => '10',
name => 'Jensen',
strasse => 'Hauptstr. 1',
plz => '12345',
ort => 'Hauptstadt',
telefon => '0511 5469766',
fax => '0511 9799655',
email => 'test@hostobserver.com',
internet => 'http://www.reseller4.tld',
reseller_user => 'reseller4',
reseller_passwort => 'huhu',
anrede => 'Herr', // Herr, Frau, Firma
land => 'Deutschland',
limit_httpd_include => '1',
limit_dns_manager => '1',
limit_domain_dns => '50',
province => 'Niedersachsen',
limit_shell_access => '0',
limit_cgi => '1',
limit_php => '1',
limit_ssi => '1',
limit_ftp => '1',
limit_mysql => '1',
limit_ssl => '1',
limit_anonftp => '1',
limit_standard_cgis => '1',
limit_wap => '1',
limit_error_pages => '1',
limit_frontpage => '0',
limit_mysql_anzahl_dbs => '100',
limit_slave_dns => '50',
client_salutatory_email_sender_email => '',
client_salutatory_email_sender_name => '',
client_salutatory_email_bcc => '',
client_salutatory_email_subject => '',
client_salutatory_email_message => '',
standard_index => '',
user_standard_index => ''
));
$reseller_id = $soapclient->call('service',$params);
if($err = $soapclient->getError()) die("Error: ".$err);
print_r($reseller_id);
// 42go Server logout
$soapclient->call('logout',array('sid' => $session_id));
// Error Check
//if($err = $soapclient->getError()) die("Error: ".$err);
echo '
Script end ...';
?>
NOTE: Make sure that you change the ip address and the username and password in the this add-reseller.php file in order for SOAP to do its thing...
now open add-reseller.php from your remote computer (i my case, my laptop) and it will add a reseller called wallpaperama to your ispconfig remote server.
there are other things you can do like list edit add users websites and more, all you have to do is use each function according to what you want. the functions can be found in the test.php file that came with remoting_example.zip
oh, if you want to show the array of the reseller you've just added with add-reseller.php you can create this code and save it as show-resellers.php
show-resellers.php
/**
* ISPConfig Soap Connector
* Version 1.3
* (c) Projektfarm GmbH 2005
*
* This script requires PHP with CURL extension
*
*/
if ($_GET['action']){
include("soap.lib.php");
##################################### START CONFIGURE #####################################
// Insert here your 42go Server
$server_url = "https://192.138.1.101:81";
// Username and Password of the remoting user (not identical
// with the user to log into the web interface!)
$parameters = array('user' => 'myusername',
'pass' => 'mypassword');
##################################### STOP CONFIGURE #####################################
// creating object for SoapClient
$soapclient = new soapclient($server_url.'/remote/index.php');
// Login into 42go Server
$session_id = $soapclient->call('login',$parameters);
// Error Check
//if($err = $soapclient->getError()) die("MY ERROR HERE: ".$err);
echo '
Resellers List
';
// Get Reseller List
$params = array ( 'sid' => $session_id,
'module' => 'reseller',
'function' => 'reseller_list',
'params' => '');
$reseller_list = $soapclient->call('service',$params);
// Error Check
//if($err = $soapclient->getError()) die("Error: ".$err);
print_r($reseller_list).'
';
// 42go Server logout
$soapclient->call('logout',array('sid' => $session_id));
// Error Check
//if($err = $soapclient->getError()) die("Error: ".$err);
echo '
Script end ...';
?>