Knowledgebase : Virtual Private Servers
   

KernelCare allows you to patch your cloud computes kernel on the fly without requiring a reboot, eliminating downtime and keeping your compute even more secure. This service is only available for cloud compute plans. To add KernelCare patching to your compute:

  1. Login to your client area at https://my.hawkhost.com/clientarea.php.

  2. Click "Services" from the menu navigation, and from the dropdown select "My Services":



  3. From your "My Products & Services" page there is an "Actions" menu on the middle-left side of the page. Click "View Available Addons":




  4. The "Product Addons" page will have an option labeled "KernelCare". Select your service from the provided dropdown list and click "Order Now" to proceed to checkout and complete the KernelCare purchase:

This specific KB article and addon is only available for cloud compute plans. All shared, cloud web hosting, reseller, and semi-dedicated plans include Softaculous at no extra fee. 

Softaculous provides you one-click installations for over 430 unique scripts. Using Softaculous requires your compute have a valid cPanel/WHM or DirectAdmin license. To add Softaculous to your compute:

  1. Login to your client area at https://my.hawkhost.com/clientarea.php

  2. Click "Services" from the menu navigation, and from the dropdown select "My Services":



  3. From your "My Products & Services" page there is an "Actions" menu on the middle-left side of the page. Click "View Available Addons":



  4. The "Product Addons" page will have an option labeled "Softaculous". Select your service from the provided dropdown list and click "Order Now" to proceed to checkout and complete the Softaculous purchase:


Changing the hostname of your VPS is a very simple process and only takes a few minutes to complete. In order to do this, follow these instructions:

  1. Login to your client area at https://my.hawkhost.com/clientarea.php

  2. Select 'Services' from the navigation and then 'My Services' from the dropdown

  3. Locate your VPS and then select 'View Details'

  4. On the following page select 'Management Actions' and then 'Management' from the dropdown

  5. On the next page select the 'Change' icon next to the 'Hostname' field

  6. Enter your new hostname and hit 'Change Hostname'

Your VPS hostname should now reflect the new hostname you provided. If the hostname does not update, please submit a ticket with our VPS support department at https://support.hawkhost.com

To change the root password on your cloud compute via SSH:

  1. Login to your cloud compute via SSH as the root user (KB: How to login to cloud compute via SSH)

  2. Once you're logged in as root, issue the following command to the terminal: passwd

  3. Follow the appropriate prompts to change your root password.

  4. If successful, you'll receive the following message: "passwd: all authentication tokens updated successfully."



To change the root password on your cloud compute through your client area:

  1. Login to your client area at https://my.hawkhost.com/clientarea.php

  2. Select 'Services' from the navigation and then 'My Services' from the dropdown:



  3. Locate your cloud compute from the services list and click the cloud compute service.

  4. You will be taken to the "Manage Product" page. From this interface look for the "Manage Your Server" section, specifically the "Password" field:



  5. Click the "Change" button next to the "Password" field. Enter your new password into the form, and then complete the process by clicking "Change" again:

 

To disable APC cache via .htaccess, you'll need to complete the following steps:
  1. Connect to your account through FTP or cPanels file manager

  2. Navigate to your domains public_html/ directory

  3. Locate your .htaccess file and open it in a text editor, or download the file to edit on your local computer

  4. Add the following line to the .htaccess file: php_flag apc.cache_by_default Off

  5. Save the .htaccess file, and re-upload it to your FTP if you edited the copy locally

Installing KernelCare requires you to have an active license first. If you need to add KernelCare to your cloud compute please refer to the following KB article: Adding KernelCare to cloud compute

Once you have purchased KernelCare follow the steps below to complete the installation:

  1. Login to your cloud compute as root via SSH (How do I login to my compute using SSH?)

  2. Once you have logged in to your compute via SSH paste and run the following command to your compute SSH terminal:

    curl -s -L https://kernelcare.com/installer | bash

  3. That's it! KernelCare is now installed on your compute!

You can also refer to the official KernelCare documentation for usage instructions and other useful commands.

All cloud compute plans include full root access via SSH. To connect to your compute using SSH:

1) Download an SSH client. We recommend PuTTY for an easy and free option, but any SSH client/terminal will work. (PuTTY Download)

2) Refer to your "New Cloud Compute Information" for your compute IP and root password.

3) Open up PuTTY or your alternative SSH client and enter your cloud compute IP into the hostname/IP field:



4) Hit enter on your keyboard or press the "Open' button from PuTTY. The SSH connection will be established to your compute. You'll be prompted with a window to accept a certificate. Hit "Yes" as it is safe to accept this certificate:



5) From there you'll be prompted with a black screen asking for a login, then password. Enter root as the login name and enter the root password from your "New Cloud Compute Information" setup email. Keep in mind when you type your password nothing will be showing up - this is normal and it is being entered:



6) Once you've typed in the root username and password, hit enter(return) on your keyboard to complete the login.

If you encounter any issues, please submit a support ticket with our compute support department.

Rebuilding / reinstalling your compute will completely format the existing compute and remove all files. This process cannot be reverted. Make sure you have a backup copy of anything you need saved from your compute before proceeding with a rebuild.

To rebuild your cloud compute:

  1. Login to your client area at https://my.hawkhost.com/clientarea.php

  2. Click "Services" from the menu navigation, and from the dropdown select "My Services":



  3. From your "My Products & Services" page locate the cloud compute you wish to rebuild and click the green "Active" button to the right of the service:



  4. From your computes "Manage Product" page click the "Rebuild" button:



  5. You will be shown a pop-up window. Select your new OS, carefully read the warning message, select the check-box and click "Confirm" to proceed:



  6. Your rebuild will be started and will take approximately five minutes to complete. Once the rebuild completes you will have power control over the compute again and your IP should respond to ping and SSH requests.

Cloud compute services can complete bandwidth only upgrades directly through the client area. We offer upgrades in blocks of 1TB and 5TB priced at $10.00/mo per additional 1TB. To upgrade your cloud compute bandwidth:

  1. Login to your client area at https://my.hawkhost.com/clientarea.php

  2. Click 'Services' from the menu navigation, and from the dropdown select 'View Available Addons'


  3. The Product Addons interface will show the 1TB and 5TB additional bandwidth packages. Select the compute you wish to upgrade from the dropdown and then click "Order Now"



  4. You will be redirected to the cart to complete the upgrade and payment. Once the order is submitted the bandwidth will be upgraded within 10 minutes.

Please note: If your compute is suspended you will be unable to complete this upgrade. You will need to open a ticket with our billing department to complete a bandwidth upgrade on a suspended compute.

EasyApache is a utility built into cPanel/WHM to help recompile your PHP/Apache configuration. It is most often used to compile in new extensions/modules, upgrade versions, or modify your server configuration files. While EasyApache can be accessed through CLI (/scripts/easyapache/) for purposes of this tutorial we'll be using the web based GUI.
  1. To start, login to WHM for your VPS at http://yourvpsip/WHM (If your VPS IP was 1.1.1.1, then you'd go to http://1.1.1.1/whm)

  2. Once you've logged in, type 'EasyApache' into the top left finder. (Example)

  3. On the initial page, you will leave the option to use the previously saved config (default) and select 'Start Customizing Based on Profile'. (Example)

  4. On the 'Apache Version' page, select the latest version (should always be the default one selected) and hit 'Next Step'. (Example)

  5. On the 'PHP Version' page, select the latest stable version (should always be the default one selected) and hit 'Next Step'. (Example)

  6. On the following page, you will be presented a list of PHP options. If your software requires any, select the radio box next to them. Once you've selected all the modules you need, scroll down and select the 'Exhaustive Options List'.

  7. On the 'Exhaustive Options' page, select the modules your software requires you to compile in. Once you've selected all you need, scroll to the bottom of the page and select 'Save and Build'. You will be prompted by two dialogue boxes, select 'Yes' and 'I understand' respectively. EasyApache will now begin rebuilding your configuration.

  8. When the rebuild is in progress, *do not* terminate the build process. Doing so could cause unrecoverable damage to your Apache/PHP configurations and require you to restore from backups. The process is meant to run in the background until it completes.

  9. If during the build process you see the following warning, do not be concerned unless the rebuild fails:!!Warning (VZ): You are only guarantee X Megabytes of ram when the system is out of ram! 512 Megabytes is recommended. !!. In the event your build fails, please contact our VPS support team

  10. The build can take up to one hour to complete, so be patient. When completed, you will be greeted with a dialogue to 'Configure Suexec and PHP'. The default settings are recommended, unless your software requires a specific setting. Scroll to the bottom of this dialogue and select 'Save New Configuration'. (Example)

Your build is now complete and your new Apache/PHP configurations are active. If you receive any errors or your VPS experiences issues after a rebuild, please contact our VPS support team at https://support.hawkhost.com

This article assumes your cloud compute already has an existing cPanel/WHM license with the cPanel/WHM software installed.

Once you have purchased Softaculous for your cPanel/WHM cloud compute follow the steps below to complete the installation:

  1. Login to your cloud compute WHM admin panel (How to login to WHM)

  2. Once you have logged in to WHM using the top left search and locate the "Tweak Settings" interface:



  3. From the "Tweak Settings" menu use the right side search to look for "ioncube". Enable ioncube and save the changes:



  4. Now that ioncube is enabled we can SSH in to your compute and start the Softaculous installation. 

  5. Login to your cloud compute as root via SSH (How do I login to my compute using SSH?)

  6. Now we need to download the software. Copy and paste the following command to your computes SSH terminal then hit enter:

    wget -N http://files.softaculous.com/install.sh

  7. Once the download is completed copy and paste the following command to your computes SSH terminal then hit enter:

    chmod 755 install.sh

  8. To start the installation copy and paste the following command to your computes SSH terminal then hit enter:

    ./install.sh

  9. Softaculous is now installed and you can view/manage the installation through WHM under the Softaculous interface.

You can also refer to the official Softaculous cPanel/WHM documentation for usage instructions and other useful commands.

This article assumes your cloud compute already has an existing DirectAdmin license with the DirectAdmin software installed.

Once you have purchased Softaculous for your DirectAdmin cloud compute follow the steps below to complete the installation:

  1. Login to your cloud compute as root via SSH (How do I login to my compute using SSH?)

  2. Now we need to download the software. Copy and paste the following command to your computes SSH terminal then hit enter:

    wget -N http://files.softaculous.com/install.sh

  3. Once the download is completed copy and paste the following command to your computes SSH terminal then hit enter:

    chmod 755 install.sh

  4. To start the installation copy and paste the following command to your computes SSH terminal then hit enter:

    ./install.sh
  5. Softaculous is now installed and you can view/manage the installation through your DirectAdmin web interface.

You can also refer to the official Softaculous DirectAdmin documentation for usage instructions and other useful commands.

You can download PuTTy here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
If you receive error(s) similar to these you will likely need to re-create /dev/urandom as it's a known OpenVZ kernel bug:

[root@vps ~]# yum update
Loaded plugins: fastestmirror
error: no dbpath has been set
error: cannot open Packages database in /%{_dbpath}

To fix this error issue the following commands:

rm -f /dev/urandom
mknod -m 644 /dev/urandom c 1 9

You should now be able to run RPM / Yum. If you're still experiencing issues please contact our VPS support department.

We currently support the follow distributions for VPS servers:

  • CentOS 6.X / 7.X

  • Fedora

  • Debian

  • Gentoo

  • Open SuSe

  • Ubuntu (LTS)


If you're interested in an alternative distribution please contact support and we would be more than happy to make a install just for you.

We currently utilize OpenVZ with our own custom in house VPS panel as our front-end customer panel.