How To Edit A Hosts File

In some instances you may find that you’re asked to or need to edit your hosts file. At this point you may be wondering what is a hosts file? A hosts file is a plain text file that is used to link host names to IP addresses. This article will cover how to locate and edit your hosts file on the Windows (7, 10), Linux and Mac OSX.   Windows 7 To modify your hosts file in Windows 7 you’ll need to open the hosts file up in Notepad with administrative permissions. This can be done by clicking the Start…

How to Install and Run Clamscan

How to install ClamAV ClamAV or Clamscan is a malware scanner for Linux. It will often catch things that are malicious, such as PHP scripts, bad emails, etc. On your Linux server, it is very easy to install and run Clamscan, however you’ll need to be familiar with how to SSH into your server. If you’re not familiar with how to do this, we’ve got you covered! Please review the following guide, which should assist you with this: Connecting to Your Server via SSH To install clamscan on your cpanel/centos server, copy and paste these commands into SSH as “root”:…

Hosting a WordPress site on a Server with Virtualmin

Virtualmin makes it very easy to manage all aspects of your website via its very intuitive GUI. In this article we will cover how to create a WordPress site within Virtualmin. If you have not already installed Virtualmin, please refer to the following guide before continuing. How to install Virtualmin (CentOS 7)   How can I Host my WordPress Website on a Cloud Server with Virtualmin/Webmin? This process can essentially be broken into 3 tasks, which are extensively covered in the guides below.   Creating a new virtual server in Webmin/Virtualmin Creating A New Database in Virtualmin Installing WordPress in…

CPV Lab Setup Guide

The following guide shows you how to setup CPV Lab with step-by-step instructions. Instructions assume that you have already purchased a license and have a Cloud, VPS or Dedicated Server with Hostwinds.   Please note that this is not needed in our specialized CPV lab servers as they come installed and ready to run the application. When creating a new Instance from the Cloud Portal, you can select Centos 7 + CPVLab to have this done for you as shown in the image below     How Do I Setup CPV Lab Manually? Unzip CPV Lab files a. Unzip cpv_lab_files.zip…

Best Security Practices For A Linux Server

How Can I Secure My Linux Server? A number of measures can be taken to secure your server in the best way possible to mitigate malicious issues. Below you’ll find some of the best practices to apply when securing your Linux servers.   Changing The SSH Port How To Change Your SSH Port Create A Second User That Is Not Root Creating A User From The Command Line Or Shell (Please See Steps Below) How To Create A New User (CentOS 7) How To Create A New User (Ubuntu) Restrict Access To The Root User(s), Either Through IP Address Or…

How to Change Virtual Server Password in Virtualmin

…have already installed Virtualmin, if you have not done so yet please take a look at the following article: How to install Virtualmin (CentOS 7). Before we get started you’ll need to login to your Virtualmin or Webmin account. If you’re not certain how to do this, or if following links fascinates you please review the following article, which covers: How to login to Webmin. Once you’re logged in you can proceed with this article and utilize the following steps to change a virtual server owner’s password.   Under the Virtualmin section select the domain from the dropdown menu for…

Customizing the Bash Environment

…User specific aliases and functions # Environment Variables PATH=$PATH:/home/hwtest/bin # Aliases alias ls=’ls -a’ alias ll=’ls -lah –color=auto’ # Prompt PS1=”[\u@\h:\w] \$?\n\\$ ” # Display on session start df -h uptime You can see the result of adding the df -hand uptime commands in the following example. The commands will run every time a new shell session is started so be sure to only put quick and low resource cost commands here or it could delay the session from starting.   Helpful Related Articles Common Linux Commands List of Useful Ports to Know at Hostwinds Getting Started with CentOS 7…

How to Use the Upload and Download Module in Virtualmin

…both upload and download files to and from your server. This article implies that you have already installed Virtualmin, if you have not done so yet please take a look at the following article: How to install Virtualmin (CentOS 7) . The Upload and Download module is a great module that comes with all Virtualmin installations by default. It allows you to upload files from your server to your local device (PC, smartphone, etc) and allows you to download files directly from the internet, similar to wget in Linux. Before we get started you’ll need to login to your Virtualmin…

How to Backup a Virtual Server in Virtualmin

…backup of your site related content so that you can simply restore the backup and the site would then come back up. Conveniently enough Virtualmin offers this functionality right out of the box.   The focus of this article is to teach you how to create a backup of your virtual server using Virtualmin. This article implies that you have already installed Virtualmin, if you have not done so yet please take a look at the following article on setting up Virtualmin (CentOS 7).   Before we get into the nitty gritty you’ll need to login to your Virtualmin or…

How to start/stop/restart a service in Virtualmin

With Virtualmin you can start, stop or restart any service on your server with a click of a button! That’s right, you no longer have to know a series of commands to manage services on your server as long as you have Virtualmin on your side. In this article, we’ll cover how to access the necessary interface that allows you to easily manipulate services on your server. This article assumes that you have already installed Virtualmin. If you have not, please refer to the following article: How to install Virtualmin (CentOS 7) . You’ll also need to be logged into…