Search The Hostwinds Guides Knowledge Base

Managing IPTables Rules

…commands:   Note: IPTables should be pre-installed on CentOS 6.   Ubuntu   apt-get install iptables-persistent   CentOS 7   systemctl stop firewalld systemctl mask firewalld yum install iptables-services systemctl enable iptables systemctl start iptables   IPTables will now be installed on your system. Let’s take a look at how to use IPTables.   How do I use IPTables? This section will cover some basic IPTables specific commands and uses, such as how to list your current ruleset and blocking an IP address from establishing a connection.   List Rules by Specification To list the currently active ruleset by specification…

How To Install MongoDB on Linux

…Debian Login to your server via SSH. After you have successfully logged in, like the above steps for CentOS, you’ll want to add the repository to the package manager. To do this, it’ll require an additional step. Start by running this command here: sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 The package manager that we will be using to install MongoDB, apt , requires that packages are signed with GPG keys. That command imports the MongoDB public GPG key for us to use. Now you’ll want to add the repository for MongoDB to the package manager. This will usually depend…

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…

Installing WordPress using Softaculous

…that it assigns unless you’re comfortable with databases and have already set one up that you want to use Don’t use admin for your username to login for security reasons Generate a strong admin password and store this in a safe place Enable the installation of the Limit Login Attempts plugin By default, your installation of WordPress will upgrade automatically You may also choose to auto upgrade themes and features, although this is not enabled by default in the Advanced Options area   Helpful Related Articles   Installing WordPress On Centos-WebPanel Installing WordPress On Ubuntu 16.04 CPanel And WHM Overview…

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…

Server Management Panel Overview

…create a backup of the server at any time.     Reinstall When selecting the Reinstall action, a new window will be opened (make sure pop-ups are allowed on this page). This new window will provide you with all of the operating system choices available from Hostwinds for your VPS under the Operating Systems tab and includes several different versions of cPanel, CentOS, Ubuntu, Fedora, Debian and Windows.     There are also a number of available pre-built applications such as WordPress, LAMP Stack, Joomla!, Minecraft, CPVLab, CentOS Web Panel (CWP), LEMP Stack, VirtualMin, Webmin, Plesk, Vesta Control Panel, Magento,…

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  …

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…

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…

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…