Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
xenica_install_instructions [2018/06/01 10:00]
orwah
xenica_install_instructions [2023/06/17 12:04] (current)
orwah
Line 57: Line 57:
  
  
-<color #​22b14c>​note :</​color>​ you will need php-xmlrpc for your whmcs , so you must install it if not installed (package name will differdepending on the version of PHP , it maybe php7.0-xmlrpc or php5-xmlrpc , you can install it easily via yum or apt)+<color #22b14c>**note :**</​color>​ you will need php-xmlrpc for your whmcs , so you must install it if not installed (package name will differ depending on the version of PHP , maybe php7.0-xmlrpc or php5-xmlrpc ​or .., you can install it easily via yum or apt)
  
 ---- ----
Line 88: Line 88:
  
 __CentOS :__ __CentOS :__
-     yum install ​mariadb-devel ​gcc python-devel python-pip+     yum install gcc python-devel mysql-devel python-pip
      pip install mysqlclient      pip install mysqlclient
  
 or or
      yum install MySQL-python      yum install MySQL-python
-  
-If you are using Mysql also use : yum install mysql-dlevel 
  
  
Line 100: Line 98:
  
 __Debian/​Ubuntu :__ __Debian/​Ubuntu :__
-     ​apt-get install ​python-pip ​python-dev libmysqlclient-dev+     ​apt-get install python-dev libmysqlclient-dev ​python-pip
      pip install mysqlclient      pip install mysqlclient
-     + 
 + 
 +more information about mysqlclient-python [[https://​github.com/​PyMySQL/​mysqlclient-python|here]] . 
  
 {{ :​user:​python.png?​direct |}} {{ :​user:​python.png?​direct |}}
Line 109: Line 110:
 <color #​333CFF>​**<​fs medium>​4</​fs>​.**</​color>​ <fs medium>​you can download Xenica files from servarica WHMCS download section () and upload your files manually to your whmcs machine , or you can follow these auto installation script instructions : <color #​333CFF>​**<​fs medium>​4</​fs>​.**</​color>​ <fs medium>​you can download Xenica files from servarica WHMCS download section () and upload your files manually to your whmcs machine , or you can follow these auto installation script instructions :
 </fs> </fs>
-  * <fs medium> Download the Auto Installation Script</​fs>​ [[http://​servarica.com/​xenica3_install.sh|xenica3_install.sh]] +  * <fs medium> Download the Auto Installation Script</​fs>​ [[https://clients.servarica.com/​dl.php?​type=d&​id=62|xenica3_install.sh]] 
-<​code>​wget ​http://​servarica.com/​xenica3_install.sh</​code>​ +<​code>​wget ​https://clients.servarica.com/​xenica3.2_install.sh</​code>​
 {{ :​user:​download.png?​direct |}} {{ :​user:​download.png?​direct |}}
 ----  ----
   * <fs medium>​Once Downloaded , **change permission** and **run**</​fs>​   * <fs medium>​Once Downloaded , **change permission** and **run**</​fs>​
-<​code>​chmod +x xenica3_install.sh +<​code>​chmod +x xenica3.2_install.sh 
-./xenica3_install.sh</​code>​+./xenica3.2_install.sh</​code>​
 {{ :​user:​execute.png?​direct |}} {{ :​user:​execute.png?​direct |}}
 ---- ----
Line 142: Line 143:
 </​code>​ </​code>​
 {{ :​user:​permission.png?​direct |}}  {{ :​user:​permission.png?​direct |}} 
-rrds,​kickstarts and graphs ​ folders need to be writable by apache ,  +
-<​code>​chmod -R 755 modules/​servers/​Xenica/​rrds  +
-chmod -R 755 modules/​servers/​Xenica/​kickstarts  +
-chmod -R 755 modules/​servers/​Xenica/​graphs </​code>​ +
-{{ :​user:​chmod.png?​direct |}}+
  
 ---- ----
Line 193: Line 190:
 {{ :​user:​errors.png?​direct |}} {{ :​user:​errors.png?​direct |}}
  
-<fs medium>use the following commands ​to manually create ​the directories ​and set the permissions</​fs>​+<fs medium>rrds,​kickstarts and graphs ​ folders need to be writable by apache , you may check the parent folder owner to make sure that its apache user (and is not root , that apache can't write to root folders) , after changing the owner user try again with the installer, it must complete now. 
 + 
  
-   ​cd ​/your whmcs directory/​modules/​servers/​Xenica;​ mkdir rrds;chmod 755 rrds +in special cases if you still get errors, and need to fix this later, you can manually create the directories as described below, but its better to find the problem cause first, because even if you create directories manually you may face related issues later :</fs>
-   cd /your whmcs directory/​modules/​servers/​Xenica;​ mkdir kickstarts;​chmod 755 kickstarts +
-   cd / your whmcs directory/​modules/​servers/​Xenica;​ mkdir graphs;​chmod 755 graphs+
  
 +   cd /your whmcs directory/​modules/​servers/​Xenica ​
 +   mkdir rrds;chmod 755 rrds 
 +   mkdir kickstarts;​chmod 755 kickstarts
 +   mkdir graphs;​chmod 755 graphs
  
 +{{ :​user:​chmod.png?​direct |}}
 ---- ----
 +
 <color #​ff7f27>​**Step 4**:</​color>​ <fs medium>​Configure the Xenica module</​fs>​ <color #​ff7f27>​**Step 4**:</​color>​ <fs medium>​Configure the Xenica module</​fs>​
 {{ :​user:​templates.png?​direct |}} {{ :​user:​templates.png?​direct |}}
  • xenica_install_instructions.1527847230.txt.gz
  • Last modified: 2018/06/01 10:00
  • by orwah