Search The Hostwinds Guides Knowledge Base

How to Add UFW Rules

Uncomplicated Fire Wall or UFW for short is a piece of software that manages your default netfilter firewall on your Ubuntu system. The following steps will walk you through the process of adding different rules that will secure your server. Setup Default Rules When managing your system’s firewall one of the first things you want to do is set some default rules to minimize the amount of attack vectors. You can use the ufw default command to create blanket rules for both ingress and egress traffic as shown below. Once you’ve added your default rules you can then continue to…

Setting Up The Hostwinds VPN On Linux

…can configure your Hostwinds VPN on Linux by performing the following steps:   Download and install the network-manager-openvpn-gnome (or its equivalent if you’re using something other than Network Manager) using a package manager (Debian, Ubuntu, etc) Unzip the TBLK file somewhere Go to your notification area Click the Network Manager icon Choose VPN Connections > Configure VPN In the window that comes up, click Import on the right Select the Hostwinds-VPN.ovpn from where you unzipped the TBLK file Input your login credentials that were emailed to you – You can also choose whether to connect automatically and whether the VPN…

How to Install Virtualmin (CentOS 7)

…distros:   CentOS/RHEL/Scientific Linux 7 on x86_64 CentOS/RHEL/Scientific Linux 5 and 6 on i386 or x86_64 Debian 6, 7, and 8 on i386 or amd64 Ubuntu 12.04 LTS, 14.04 LTS, and 16.04 LTS on i386 or amd64 (non-LTS releases are not supported)   The following steps can be utilized to install Virtualmin in a CentOS 7 (RHEL 7) environment.   Ensure your server is up to date   yum update -y     Install perl for the Virtualmin script to execute correctly   yum install perl -y     Download the Virtualmin installer script using wget   wget http://software.virtualmin.com/gpl/scripts/install.sh  …

How to View Running Processes in Virtualmin

Linux is an open source kernel that is used in many different Unix like Operating systems, such as CentOS, Ubuntu and OpenElec – just to name a few. Virtualmin is a free and open source control panel that can run on top of or rather in tandem with Linux on a server to help you manage the functionality of the server and any websites associated with that server. Like with any operating system you can list currently running processes in Linux, however on a Linux server this typically requires utilizing the Linux shell (command line) unless you have a control…

Common Linux Commands

Linux is an open source operating system that has been available since the mid 1990’s and powers multiple devices from home appliances to smartphones. Linux is comprised of various different distributions such as Ubuntu, CentOS and Linux Mint. Each distro has it’s own take on the desktop and overall user environment for home PC use, however when utilizing Linux for a server you’ll primarily utilize the terminal or shell interface. Like all operating systems Linux has a plethora of different commands that can be utilized from within the shell or terminal interface. In this article we will list off some…

Create a sudo user (CentOS 7)

…a session, you’ll be prompted for the password to complete the command. If you followed this guide and the password was entered correctly, you should now see the directory listing for the root user. Having and using a sudo user is an excellent security practice, as it ensures that you can still enjoy the benefits of having the root user’s privileges without some of the risks associated with using the root account all of the time.   Related Articles Create A Sudo User (Ubuntu) Changing File Ownership and Permissions in Linux Common Commands (CentOS 7) Getting Started With CentOS 7…

How To Set or Change PHP Time-zone

…when ready.       If you would like to edit the individual cPanel(s) PHP timezone, please see the above steps under How to edit on Hostwinds Shared and/or Business Hosting Services. The same steps will change the PHP timezone for that specific cPanel account.   How To Edit PHP Time-zone Without WHM or cPanel Directions should apply for any of the following operating systems: CentOS, Ubuntu, Fedora, Windows, and Debian If SSHing from a Windows computer, please make sure you have a SSH tool installed like PuTTY   Step 1: See what the current time-zone is by typing the…

Free SSL from Let’s Encrypt

…installation and obtaining your first certificate for CentOS and Ubuntu using the Apache plugin to not only request the certificate but also install the certificate automatically. CentOS 7 To utilize Let’s Encrypt certificates with Apache on CentOS 7, you’ll need to install a couple things first. This article assumes you already have at least Apache set up as a web service. Once ready, log into the server over SSH and run the following commands as root. yum install epel-release yum install python2-certbot-apache These commands will install the EPEL (Extended Packages for Enterprise Linux) Release repository which houses their stable packages,…

WordPress System Requirements

WordPress can be run on any system that supports PHP, MySQL or MariaDB and HTTPS. As long as you are running these services on your system, you should be able to use WordPress. These requirements may change, so make sure to review the Server Requirements listed as this will continue to change and be updated.   How do I find my version of PHP, MySQL and MariaDB? cPanel   First: Login into your account Second: Find Server Information on the right side     Third: Review the versions of all the software on the server Ubuntu First: Find PHP Version…

Mounting Restic Backups to a Linux Server

With Linux (unfortunately, this feature is not available for Windows) you can mount your restic repo to a location of your choice, to navigate ALL of your snapshots in a directory tree. As with any interaction with Restic, you must first initialize the repo to perform actions within restic, to do so follow this guide. You may need to install fuse if it is not installed already, to do so run the following comands – CentOS yum install fuse Ubuntu apt-get install fuse Fedora yum install fuse Debian apt-get install fuse To mount your restic repo, simply create a mount…