How to install VMWare Player in Debian 8

First of all you will need to download the installation files from VMware official site

Open the terminal and go to the directory that the bundle has been downloaded to:

# cd ~/Downloads

Then you will need to make sure the permissions are correct by running the following command:

chmod +x VMware-Player-12.0.0-*.bundle

Then you will need to run the installer using the command:

# sudo ./VMware-Player-12.0.0*.bundle

For the free version you just need to add an email and then run through the installation.


How to setup software RAID 1 in Debian/Ubuntu

When getting to the partitioning disk section of the OS installation you will need to select:

  • Manual” under the Partitioning Method
  • On the next screen make sure both disks are visible and select the first disk and press Enter
  • A message may pop up warning you that you are about to create a new partition that will destroy any existing partition. Choose “Yes” to proceed.
  • You will notice that it will create a new partition at the bottom of the hard disk. Choose the new partition and hit Enter
  • Select the Create New Partition
  • When creating the partition for boot, just type 700MB or 1GB in the line depending on which server.
  • Choose “Primary” and press enter then “Beginning” and press Enter
  • On the next screen, select “Use As” and hit Enter
  • Choose the “Physical Volume For RAID” option
  • Make sure that the Bootable Flag is tuned On
  • Choose “Done Setting Up The Partition” to save the new partition
  • You will be taken back to the first screen. Next step is to choose the next free space and hit Enter
  • You will do the same as above but this is for swap so assign 1.5 x RAM in server
  • Then the left over space do the same and this is for the root partition
  • Now moving on to the second hard disk for the partitioning. Hit Enter and do the same partitioning with the 2nd hard disk to look like the first
  • After the 2nd hard disk has been partitioned, the overall partition configuration will be completed. So now move the selector to “Configure Software RAID” and hit Enter
  • Select “Yes” to accept the new partition changes
  • Now we will group the RAID hard disk. Select the “Create MD Device” option
  • Choose “RAID1
  • Leave the default number 2 for the number of RAID devices and select “Continue
  • On the next screen leave it as zero and select “Continue
  • Now select the SDA1 and SDB1 as we are creating the RAID for /boot
  • When it has been done, choose “Finish” to save the new RAID partition
  • Do the same for swap but select SDA2 and SDB2
  • Do the same for root but select SDA3 and SDB3
  • The initial software RAID is completed what’s left is to assign each RAID partition its role. Now select the RAID partition Device #0 for /boot setup
  • Choose the “Use As” and hit Enter
  • Choose the EXT3 Journaling File System (or EXT4 for Ubuntu) and hit Enter
  • Move the selector to the Mount Point: and hit Enter
  • Now select the /boot and hit Enter
  • Select the “Done Setting Up The Partition” to complete the /boot partition setup
  • Do the same for the swap and root paritions
  • Finally select the “Done Setting Up the Partition” to complete the procedure
  • The final partition should be like the picture below.
  • Once confirmed, move the selector to the “Finish Partitioning And Write Changes To Disk” and hit enter


(FATAL): Failure to exec /usr/local/cpanel/scripts/cpanel_initial_install

If you get this error or something similar when trying to install cPanel:

[20140423.190019] E Error downloading /cpanelsync/
[20140423.190019] 0
[20140423.190019] The Administrator will be notified to review this output when this script completes
[20140423.190019] E Detected events which require user notification during updatenow. Will send iContact the log
Notification => via EMAIL [level => 1]
Cpanel::iContact: icontact /usr/sbin/sendmail is not executable by 0
[20140423.190019] Removing staged files and directories for binaries/linux-x86_64, cpanel
[20140423.190020] Removing staged files and directories for x3
[20140423.190021] Removing staged files and directories for x3mail
Can't exec "/usr/local/cpanel/scripts/cpanel_initial_install": No such file or directory at /home/cPanelInstall/selfgz11634/install line 146.
2014-04-23 19:00:21 148 (FATAL): Failure to exec /usr/local/cpanel/scripts/cpanel_initial_install

Check you have enough disk space.

How to install Webmin with SSL on Ubuntu 14.04


Webmin is a web-based system administration tool for Unix-like systems. It provides an easy alternative to command line system administration and can be used to manage various aspects of a system, such as users and services, through the use of the provided Webmin modules.

To install Webmin, you will need to have access to a user with root privileges.

Note that you are required to use password-based authentication enabled to login to your server via Webmin.

Log in via SSH

# ssh root@server_IP_address

Install Webmin

To install Webmin via apt-get, you must first add the Webmin repository to your sources.list file.

# nano /etc/apt/sources.list

Now press Ctrl-W then Ctrl-V to navigate to the end of the file, then add the following lines to the file:

deb sarge contrib
deb sarge contrib

When you are finished editing, save the file by pressing Ctrl-X, then y, RETURN.

Now add the Webmin GPG key to apt, so the source repository you added will be trusted. This command will do that:

# wget -q -O- | sudo apt-key add –

Before installing Webmin, you must update apt-get’s package lists:

# sudo apt-get update

Now to install Webmin:

# sudo apt-get install webmin -y

After the installation is complete, the Webmin service will start automatically.

Log in to Webmin

In a web browser, access your server’s Webmin login page via its public IP address (the same IP address you used to login via SSH) on port 10000. By default, Webmin will start with SSL/TLS enabled, so you will need to use HTTPS to connect to it.

Open this URL in your web browser (your IP address):


You will be prompted with a warning that says your server’s SSL certificate is not trusted. This is because Webmin automatically generates and installs an SSL certificate upon installation, and this SSL certificate was not issued by a certificate authority that is trusted by your computer. Although your computer cannot verify the validity of the certificate, you know that you are, in fact, accessing your own server. It is fine to proceed.

Instruct your web browser to trust the certificate. If you are using Chrome, for example, click the Advanced link, then click the Proceed to server_IP_address (unsafe) link. If you are using Firefox, click I Understand the Risks, then the Add Exception… button, then the Confirm Security Exception button.

At this point, you will see the Webmin login screen:

Enter the same login credentials that you used to log in to your server via SSH. This user must have root privileges via sudo.

That’s Webmin successfully installed, and it is ready to be used.

Using Webmin

When you first log into Webmin, you will be taken to the System Information page, which will show you an overview of your system’s resources and other miscellaneous information. This view also shows you any Webmin updates that are available.

On the left side, you will see the navigation menu, which you can use to access the various Webmin modules and manage your server. The navigation menu is organized into categories, and each category has its own set of modules. The Webmin category is special because contains modules that are used to configure the Webmin application, while the other categories are used to perform various system administration tasks.

Example: Create a New User

A basic system administration task that you can perform with Webmin is user management. We will show you how to create a new user with the Users and Groups module.

Expand the System category in the navigation menu, then click on Users and Groups.

Then click the Create a new user. link.

Enter the Username and any other settings you want to assign to the new user, then click the Create button.

The user will be created on the server, with the specified settings.

The Users and Groups module can also be used to perform other user management tasks, such as deleting and disabling users and groups.