Search The Hostwinds Guides Knowledge Base

Install LAMP Stack Manually (Ubuntu)

Make sure your server is up-to-date with this guide. The LAMP stack is a development stack that is common for PHP-based websites and web applications. LAMP stands for Linux, Apache, MySQL, PHP. Install Apache You will want to run the following command to install Apache: apt-get install apache2 -y Running this command with the -y option will automatically proceed through any parts of the installation that would prompt you for a yes/no answer. Test your installation by opening a web browser and navigating to http://<Your_IP_Address> Install MySQL Run this command to install MySQL. Once again, we are using the…

Install Docker and WordPress On Ubuntu

  What is Docker? Docker is a containerization platform that performs operating system level virtualization, which lets you run lightweight containers in isolation. The following document will take you through the steps to install Docker and run a WordPress & MySQL container. Installing Docker Install docker from from the official repository.   curl -sSL https://get.docker.com/ | sh   Use the command below check to verify the version.   docker version Now install Docker Machine by grabbing from it’s github repo and making it executable. curl -L https://github.com/docker/machine/releases/download/v0.14.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine chmod +x /tmp/docker-machine sudo cp /tmp/docker-machine /usr/local/bin/docker-machine Install Docker…

How To Install Maldet on Ubuntu

Maldet is a Linux malware detection scanner. Maldet is a useful tool for those that run a hosted environment like WHM/cPanel installations. As stated by the Maldet creators, it uses threat data from network edge IDS that are actively used in attacks to generate an effective signature detection of php backdoors and darkmailers. The following steps will walk you through the process of installing maldet on your Linux machine.   Installing Maldet Change your working directory to /opt cd /opt/ Grab the file containing maldet from the official website. wget http://www.rfxn.com/downloads/maldetect-current.tar.gz   Uncompress the contents of the tar file. tar…

How to Change Your MySQL Password in Ubuntu 14.04

If you would like to reset the password for the root  user’s MySQL password, this guide will help you through that process.  Reset MySQL Password Stop the MySQL Server You will want to have the correct version before continuing with this guide and are able to get it using this command: mysql –version Before continuing with the following, you will want to know that these steps are intended to be run by the root user by using su or sudo commands. Logging in as your root user is not recommended. In order to change the MySQL password , you will need…

How to Enable Google’s TCP BBR (Linux Cloud VPS)

…(Core) Set the default boot entry: sudo grub2-set-default Finally, reboot the server: reboot Verify the result. You should find your newly installed kernel version listed after running: uname -r Ubuntu 18.04: Hostwinds’ Ubuntu 18.04 image should return an elgible kernel version like below after running uname -r: 4.15.0-22-generic To upgrade to the latest stable kernel version, 5.4.13, run each of the following separately: cd /tmp/ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.13/linux-headers-5.4.13-050413_5.4.13-050413.202001171431_all.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.13/linux-headers-5.4.13-050413-generic_5.4.13-050413.202001171431_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.13/linux-headers-5.4.13-050413-lowlatency_5.4.13-050413.202001171431_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.13/linux-image-unsigned-5.4.13-050413-generic_5.4.13-050413.202001171431_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.13/linux-image-unsigned-5.4.13-050413-lowlatency_5.4.13-050413.202001171431_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.13/linux-modules-5.4.13-050413-generic_5.4.13-050413.202001171431_amd64.deb wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.13/linux-modules-5.4.13-050413-lowlatency_5.4.13-050413.202001171431_amd64.deb sudo dpkg -i *.deb Finally, reboot the server: reboot Verify the result. You should find your newly installed kernel version listed…

Managing ISOs With Your Cloud / VPS Server

…(14.04 Server x86_64) 1 GBs Ubuntu (16.04 Desktop i386) 2 GBs Ubuntu (16.04 Desktop x86_64) 2 GBs Ubuntu (16.04 Server i386) 1 GBs Ubuntu (16.04 Server x86_64) 1 GBs Ubuntu (18.04 Desktop x86_64) 2 GBs Rancher OS (1.4 x86_64) 1 GBs Vyos (1.1.8 i586) 1 GBs Vyos (1.1.8 x86_64) 1 GBs Fedora (27 x86_64) 3 GBs Fedora (28 x86_64) 3 GBs Debian 8 (8.10 i386) 1 GBs Debian 8 (8.10 x86_64) 1 GBs Debian 9 (9.4 i386) 1 GBs Debian 9 (9.4 x86_64) 1 GBs FreePBX (14 x86_64) 2 GBs FreeBSD (10.4 Release i386) 1 GBs FreeBSD (10.4 Release x86_64)…

How to Set Up a Secure Remote Desktop on a Linux VPS (X2Go)

…X2Go supports XFCE, LXDE, and MATE desktops. The steps below show how to install XFCE: Ubuntu and Debian: sudo apt-get install xfce4 CentOS (not yet supported on CentOS 8): sudo yum install epel-release yum groupinstall -y “Xfce” Install X2Go Server After installing your desktop environment, install X2Go with the commands below: Ubuntu and Debian: sudo apt-get install x2goserver x2goserver-xsession CentOS (not yet supported on CentOS 8): yum install -y x2goserver-xsession Install X2Go Client Navigate here to install the X2Go client for Windows, OS X, and various Linux distributions like Ubuntu, Debian, Fedora, Redhat, Raspbian, and more. After launching X2Go Client,…

What Is A Cloud Server?

…Hourly Billing Work? How Do I Delete Hourly Storage? Operating System Selection Operating Systems: cPanel (CentOS 7 + cPanel) CentOS CentOS 6 CentOS 7 Ubuntu Ubuntu 14.04 Ubuntu 16.04 Ubuntu 18.04 Fedora Fedora 25 Fedora 26 Fedora 27 Fedora 28 Fedora 29 Debian Debian 8 Debian 9 Windows Server Windows Server 2008 Windows Server 2012 Windows Server 2016 Application Servers WordPress LAMP Stack Joomla! Minecraft CPVLab CentOS Web Panel LEMP Stack Virtualmin Webmin Plesk Vesta Control Panel FreePBX Magento 2 OwnCloud OpenVPN ISPManager MEAN Stack PrestaShop Visual Composer Drupal Nextcloud osCommerce phpbb Kanboard ISOs Provided Debian 9 CentOS 6.9 i386…

Creating An Apache Web Server On Your Linux VPS

…create a user with sudo privileges to follow this guide. Create User In CentOS 7 Create User In Ubuntu 18.04 Installing Apache Web Service You can install Apache server on Red Hat based distros such as CentOS or Fedora using the following command: dnf -y httpd On a Debian-based distribution such as Ubuntu or Debian, you would install it like this: apt-get -y install apache 2 The Apache web server service is called httpd on Red Hat based distros like CentOS and Fedora, while it is called apache2 in Debian based distros such as Debian or Ubuntu. Enter these commands…

How do I install and run Python code on a Linux VPS?

If you have Linux Cloud SSD with Hostwinds and want to use start using Python, this is the guide for you. To get started, connect to your Hostwinds Cloud SSD via SSH. If you’re not sure of how to connect over SSH, Hostwinds offers you a guide to connecting your VPS with ssh right here: https://www.hostwinds.com/guide/connecting-server-via-ssh/ You’ll also want to consider using a sudo user to follow along in this guide: Here is a guide on doing that in CentOS: https://www.hostwinds.com/guide/create-sudo-user-centos-7/ Likewise, here is a guide for setting up a sudo user in Ubuntu: https://www.hostwinds.com/guide/create-sudo-user-ubuntu/ Installing Python The exact installation…