Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.98 minutes in June 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

OnApp install control Panel Server – How to do it

by | Jul 4, 2021

Wondering how to install control Panel Server on OnApp? We can help you.

As part of our Server Virtualization Technologies and Services, we assist our customers with several OnApp queries.

Today, let us see how our Support Techs install it.

 

OnApp install Control Panel Server

Today, let us see the steps followed by our Support Techs to install Control Panel Server on OnApp.

1.Firstly, update your server:

# yum update

2.Then, download OnApp YUM repository file:

# rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-6.0.noarch.rpm

3.Next, install OnApp Control Panel installer package:

#> yum install onapp-cp-install

4.You can optionally apply the Control Panel custom configuration.

It is important to set the custom values before the installer script runs.

Edit the /onapp/onapp-cp.conf file to set Control Panel custom values

Template server URL

TEMPLATE_SERVER_URL='http://templates-manager.onapp.com/'

IPs (separated with coma) list for the snmp to trap

SNMP_TRAP_IPS=

OnApp Control Panel custom version

ONAPP_VERSION=

OnApp MySQL/MariaDB connection data (database.yml)

ONAPP_CONN_WAIT_TIMEOUT=15
ONAPP_CONN_POOL=30
ONAPP_CONN_RECONNECT='true'
ONAPP_CONN_ENCODING='utf8'
ONAPP_CONN_SOCKET='/var/lib/mysql/mysql.sock'

MySQL/MariaDB server configuration data (in case of local server)

MYSQL_WAIT_TIMEOUT=604800
MYSQL_MAX_CONNECTIONS=500
MYSQL_PORT=3306

Use MariaDB instead of MySQL as OnApp database server

WITH_MARIADB=0

Configure the database server relative amount of available RAM

TUNE_DB_SERVER=0

The number of C data structures that can allocate before triggering the garbage collector. It defaults to 8 million

RUBY_GC_MALLOC_LIMIT=16000000
sysctl.conf net.core.somaxconn value
NET_CORE_SOMAXCONN=2048

The root of OnApp database dump directory (on the Control Panel box)

ONAPP_DB_DUMP_ROOT=

Remote server’s (to store database dumps) IP, user, path, openssh connection options ans number of dumps to keep

DB_DUMP_SERVER=
DB_DUMP_USER=root
DB_DUMP_SERVER_ROOT=/onapp/backups
DB_DUMP_SERVER_SSH_OPT="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no"
KEEP_DUMPS=168
DB_DUMP_CRON='40 * * * *'

Enable monit – tool for managing and monitoring Unix systems

ENABLE_MONIT=1

If enabled (the 1 value is set) – install (if local box) and configures RabbitMQ Server (messaging system) for the vCloud support.

ENABLE_RABBITMQ=1

Rotate transactions’ log files created more then TRANS_LOGS_ROTATE_TIME day(s) ago

TRANS_LOGS_ROTATE_TIME=30

Maximum allowed for uploading file size in bytes.

MAX_UPLOAD_SIZE=1073741824

Timeout before ping Redis Server to check if it is started. Default is 5 sec.

REDIS_PING_TIMEOUT=5
# OnApp Control Panel SSL certificates (please do not change if you aren’t familar with SSL certificates)
# * The data below to generate self-signed PEM-encoded X.509 certificate
SSL_CERT_COUNTRY_NAME=UK
SSL_CERT_ORGANIZATION_NAME='OnApp Limited'
SSL_CERT_ORGANIZATION_ALUNITNAME='OnApp Cloud'
SSL_CERT_COMMON_NAME=`hostname --fqdn 2>/dev/null`

# SSLCertificateFile, SSLCertificateKeyFile Apache directives’ values
# ssl_certificate, ssl_certificate_key Nginx directives’ values

SSLCERTIFICATEFILE=/etc/pki/tls/certs/ca.crt
SSLCERTIFICATECSRFILE=/etc/pki/tls/private/ca.csr
SSLCERTIFICATEKEYFILE=/etc/pki/tls/private/ca.key

# * PEM-encoded CA Certificate (if custom one exists)
# SSLCACertificateFile, SSLCertificateChainFile Apache directives’ values
# ssl_client_certificate Nginx directives’ values

SSLCACERTIFICATEFILE=
SSLCERTIFICATECHAINFILE=

# SSLCipherSuite, SSLProtocol Apache directives’ values
# ssl_ciphers, ssl_protocols Nginx directives’ values

SSLCIPHERSUITE=
SSLPROTOCOL=

# vi /onapp/onapp-cp.conf

5.Then, run the Control Panel installer.

#> /onapp/onapp-cp-install/onapp-cp-install.sh -i SNMP_TRAP_IPS

6.Install CloudBoot dependencies.

#> yum install onapp-store-install
#> /onapp/onapp-store-install/onapp-store-install.sh

7.Then, install OnApp license to activate the Control Panel.

Enter a valid license key via the Web UI.

Your default OnApp login is admin/changeme. You can change the password via the Control Panel’s Users and Groups menu in the Control Panel.

8.Once you have entered a license it can take up to 15 minutes to activate.

Finally, restart the OnApp service:

#> service onapp restart

 

[Need help with the process? We’d be happy to assist]

Conclusion

In short, today we saw how our Support Techs install Control Panel Server on OnApp.

.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

OnApp Support

Spend time on your business, not on your servers.

Managing a server is time consuming. Whether you are an expert or a newbie, that is time you could use to focus on your product or service. Leave your server management & end-user tech support to us, and use that time to focus on the growth and success of your business.

TALK TO US Or click here to learn more.
OnApp Support

Spend time on your business, not on your servers.

Managing a server is time consuming. Whether you are an expert or a newbie, that is time you could use to focus on your product or service. Leave your server management & end-user tech support to us, and use that time to focus on the growth and success of your business.

TALK TO US Or click here to learn more.

Categories:

Tags: