Install Without WHMCS

Installing Directly on Server

If you do not use WHMCS, or do not wish to use it, you can still install CoffeeCP for Virtualmin directly on your server.

To do, log into your server via SSH as root.

Execute the script below, substituting your username and password below.


			
			#!/bin/bash -e
# CoffeeCP for Virtualmin
# Cited, Inc. 2017
# Usage Implies Acceptance of Terms
# https://coffeecp.com/terms-of-service.html

#--------------------------------------
# For use on existing Virtualmin
#--------------------------------------


#--------------------------------------
# Set creds and repo location
#--------------------------------------
 
REPO_USER='UserName'
REPO_PASS='Password'
REPO_BASE="https://${REPO_USER}:${REPO_PASS}@gogs.coffeecp.com/Virtualmin"


#--------------------------------------
# RHEL or Debian?
#--------------------------------------

if [ "$(which apt-get 2>/dev/null)" ]; then
	apt-get -y install git
       WEBPATH='share'
elif [ "$(which yum 2>/dev/null)" ]; then
	yum -y install git
       WEBPATH='libexec'
else
	echo 'Error: Unsupported distro'; exit 1;
fi
 
cd ${HOME}
 
#--------------------------------------
# Grab the Instance Modules
#--------------------------------------

for mod in tomcat glassfish wildfly jetty; do 
 
	git clone ${REPO_BASE}/${mod}
	pushd ${mod}
        git remote update
        git fetch
	popd 
	
done

#--------------------------------------
# Grab the Master CoffeeCP Module
#--------------------------------------
 
       git clone ${REPO_BASE}/coffeecp
       pushd ${mod}
       git remote update
       git fetch
       popd

#--------------------------------------
# Install all Modules
#--------------------------------------

for mod in coffeecp tomcat glassfish wildfly jetty; do
	tar -cvzf /tmp/${mod}.wbm.gz ${mod}/
	rm -rf ${mod}/
 
	/usr/${WEBPATH}/webmin/install-module.pl /tmp/${mod}.wbm.gz
    rm -f /tmp/${mod}.wbm.gz
done
			
			

 

Once completed, proceed to Select Java Version below:

   

Up Next: Select Java Version

Selecting Java Versions