Ipanel And WebMail Server PHP Installation Instructions

Install on Linux
Install on Windows

Ipanel And WebMail PHP Installation Instructions for Linux

  1. Uploading the application Or Extract zipfile in your Server.

    Unzip Or extract upload the contents of web folder (the scripts, folders and other files of the application) from the installation package onto your web server. Let's assume you created a folder Ipanel And webmail in the root of your web space (web root) and placed the contents of the web folder there. This way, you'll be able to access the application through the web at the http://your_domain/ipanel and Mail http://your_domain:8001 And http://your_domain:8001/webmail URL.

    Examples (assuming you want to use Ipanel name for the target folder):
    • in case of SSH access to a dedicated server, the web root usually looks like /var/www/html/Tomcat6.0/webapps/ipanel. Thus, you should create /var/www/html/Tomcat6.0/webapps/ipanel/webmail/original/webmail folder and place the application files/folders there.
    • in case of uploading via FTP on a shared hosting, the web root is usually something like /public_html and you should create and upload into /public_html/ipanel/Tomcat6.0/webapps/ipanel folder.


  2. Assigning owners/permissions on the filesystem.

    Skip "Assigning owners/permissions" step if all of the following is true:
    • you only have FTP access to your server;
    • your FTP server doesn't allow setting permissions;
    • you do not have a web control panel (like cPanel or Plesk) at all or it does not allow setting permissions;
    • you have no other options to set permissions.

    In all of the above is true (usually, shared hosting with preconfigured permissions), the permissions should be OK but if they are not and the hosting provider does not allow you to set them, you will need to contact their support to do this for you.

    Assigning permissions through SSH or direct access to the server.

    Change the current working directory to the folder Ipanel Server PHP scripts:
    cd /var/www/html/Ipanel/

    Then, assign rights to folders and files in the Ipanel PHP scripts folder.

    Assign rights to folders:
    find . -type d -exec chmod 755 {} \;

    and to files:
    find . -type f -exec chmod 644 {} \;

    Now assign owner to folders and files in the Ipanel PHP scripts folder. You should assign the same owner other folders/files in /var/www/html/ have (assuming they have the correct owner set).

    Assign owner to folders:
    find . -type d -exec chown root.root {} \;

    and to files:
    find . -type f -exec chown root.root {} \;

    Then, change the current directory to the Ipanel PHP Ipanel folder (by default, it's a sub-folder of the folder which contains Ipanel PHP scripts):
    cd /var/www/html/Ipanel

    Now assign rights to folders and files in Ipanel folder.

    Assign rights to folders:
    find . -type d -exec chmod 755 {} \;

    and to files:
    find . -type f -exec chmod 644 {} \;

    Then, assign owner (usually, apache.apache) to folders and files in the Ipanel PHP Ipanelserver folder. Please note, Apache may be sometimes started under another user account (for example, under nobody.nogroup Or nobody Reseller).

    Generally speaking, with setting the correct owner on Reseller folder you will make sure Apache process (httpd) has read/write permissions to that folder. Thus, you should set the user account running Apache as the owner of Ipanel folder contents.

    Assign owner to folders:
    find . -type d -exec chown apache.apache {} \;

    and to files:
    find . -type f -exec chown apache.apache {} \;

    If the permission settings described above don't work for you, you may try to repeat "Assigning owners/permissions" step, but use 777 instead of 755 and 666 instead of 644 (although this is less secure).

    Assigning permissions through cPanel/Plesk/Ipanel or other hosting control panel.

    If your hosting control panel provides some kind of a file manager, i.e. a tool which shows you all files and folders and allows you to set set permissions for files and folders, you should set the following permissions:

    object numeric flagged user-friendly
    Ipanel folder and all its subfolders 755 -rwxr--r-- owner: read, write, navigate
    group: read
    others: read
    all files in the Ipanel folder and all its subfolders 644 -rw-r--r-- owner: read, write
    group: read
    others: read


    The table demonstrates the same permissions in three different notations. These are the same permissions, you should choose the notation most convenient and clear to you.

    If the above permissions don't work for you, please try the following ones:

    object numeric flagged user-friendly
    Ipanel folder and all its subfolders 777 -rwxrwxrwx owner: read, write, navigate
    group: read, write, navigate
    others: read, write, navigate
    all files in the Ipanel folder and all its subfolders 666 -rw-rw-rw- owner: read, write
    group: read, write
    others: read, write


    Assigning permissions through FTP.

    Sometimes it's possible to assign necessary permissions through FTP after uploading files. This works if all of the below is true:
    • your FTP server allows clients to change permissions. Most Linux FTP servers allow this by default, but the system administrator of the server can disable this.
    • your FTP client application allows you to assign permissions. Please refer to your FTP client documentation to learn if it's possible and how to do this.

    You should assign the same permissions as in case of control panel.

  3. Open http://your_server_name/ipanel page in your browser and follow the instructions.

  4. After completing the instructions of the installer Zip file, you'll be redirected into Ipanel (http://your_server_name/ipanel). There, you can then customize your login form, create/delete/edit domains and users in WHm, or otherwise configure Whm. Don't forget to delete ipanel zip file from the Ipanel PHP scripts folder.

  5. Now the installation is complete, Ipanel is ready to use. Start using it at http://your_server_name/ipanel. And this work in port 9001


Ipanel And Shams Webmail server Installation Instructions for Windows

  1. After setup your windows server
    Uploading the application.

  2. Uploading the application Or Extract zipfile in your Server.

    Unzip Or extract upload the contents of web folder (the scripts, folders and other files of the application) from the installation package onto your web server. Let's assume you created a folder Ipanel And webmail in the root of your web space (web root) and placed the contents of the web folder there. This way, you'll be able to access the application through the web at the http://your_domain/ipanel and Mail http://your_domain:8001 And http://your_domain:8001/webmail URL.

    Examples (assuming you want to use Ipanel name for the target folder):
    • in case of SSH access to a dedicated server, the web root usually looks like /var/www/html/Tomcat6.0/webapps/ipanel. Thus, you should create /var/www/html/Tomcat6.0/webapps/ipanel/webmail/original/webmail folder and place the application files/folders there.
    • in case of uploading via FTP on a shared hosting, the web root is usually something like /public_html and you should create and upload into /public_html/ipanel/Tomcat6.0/webapps/ipanel folder.


  3. Assigning owners/permissions on the filesystem.

    Skip "Assigning owners/permissions" step if all of the following is true:
    • you only have FTP access to your server;
    • your FTP server doesn't allow setting permissions;
    • you do not have a web control panel (like cPanel or Plesk) at all or it does not allow setting permissions;
    • you have no other options to set permissions.

    In all of the above is true (usually, shared hosting with preconfigured permissions), the permissions should be OK but if they are not and the hosting provider does not allow you to set them, you will need to contact their support to do this for you.

    Assigning permissions through SSH or direct access to the server.

    Change the current working directory to the folder Ipanel Server PHP scripts:
    cd /var/www/html/Ipanel/

    Then, assign rights to folders and files in the Ipanel PHP scripts folder.

    Assign rights to folders:
    find . -type d -exec chmod 755 {} \;

    and to files:
    find . -type f -exec chmod 644 {} \;

    Now assign owner to folders and files in the Ipanel PHP scripts folder. You should assign the same owner other folders/files in /var/www/html/ have (assuming they have the correct owner set).

    Assign owner to folders:
    find . -type d -exec chown root.root {} \;

    and to files:
    find . -type f -exec chown root.root {} \;

    Then, change the current directory to the Ipanel PHP Ipanel folder (by default, it's a sub-folder of the folder which contains Ipanel PHP scripts):
    cd /var/www/html/Ipanel

    Now assign rights to folders and files in Ipanel folder.

    Assign rights to folders:
    find . -type d -exec chmod 755 {} \;

    and to files:
    find . -type f -exec chmod 644 {} \;

    Then, assign owner (usually, apache.apache) to folders and files in the Ipanel PHP Ipanelserver folder. Please note, Apache may be sometimes started under another user account (for example, under nobody.nogroup Or nobody Reseller).

    Generally speaking, with setting the correct owner on Reseller folder you will make sure Apache process (httpd) has read/write permissions to that folder. Thus, you should set the user account running Apache as the owner of Ipanel folder contents.

    Assign owner to folders:
    find . -type d -exec chown apache.apache {} \;

    and to files:
    find . -type f -exec chown apache.apache {} \;

    If the permission settings described above don't work for you, you may try to repeat "Assigning owners/permissions" step, but use 777 instead of 755 and 666 instead of 644 (although this is less secure).

    Assigning permissions through cPanel/Plesk/Ipanel or other hosting control panel.

    If your hosting control panel provides some kind of a file manager, i.e. a tool which shows you all files and folders and allows you to set set permissions for files and folders, you should set the following permissions:

    object numeric flagged user-friendly
    Ipanel folder and all its subfolders 755 -rwxr--r-- owner: read, write, navigate
    group: read
    others: read
    all files in the Ipanel folder and all its subfolders 644 -rw-r--r-- owner: read, write
    group: read
    others: read


    The table demonstrates the same permissions in three different notations. These are the same permissions, you should choose the notation most convenient and clear to you.

    If the above permissions don't work for you, please try the following ones:

    object numeric flagged user-friendly
    Ipanel folder and all its subfolders 777 -rwxrwxrwx owner: read, write, navigate
    group: read, write, navigate
    others: read, write, navigate
    all files in the Ipanel folder and all its subfolders 666 -rw-rw-rw- owner: read, write
    group: read, write
    others: read, write


    Assigning permissions through FTP.

    Sometimes it's possible to assign necessary permissions through FTP after uploading files. This works if all of the below is true:
    • your FTP server allows clients to change permissions. Most Linux FTP servers allow this by default, but the system administrator of the server can disable this.
    • your FTP client application allows you to assign permissions. Please refer to your FTP client documentation to learn if it's possible and how to do this.

    You should assign the same permissions as in case of control panel.

  4. Open http://your_server_name/ipanel page in your browser and follow the instructions.

  5. After completing the instructions of the installer Zip file, you'll be redirected into Ipanel (http://your_server_name/ipanel). There, you can then customize your login form, create/delete/edit domains and users in WHm, or otherwise configure Whm. Don't forget to delete ipanel zip file from the Ipanel PHP scripts folder.

  6. Now the installation is complete, Ipanel is ready to use. Start using it at http://your_server_name/ipanel. And this work in port 9001



Send feedback to Shamswin

Copyright © 2008-2009, Shamswin Corporation. All rights reserved.