How to optimize image online in Linux?


Online image optimization in Linux:

Image compression may have an interest in many situations. For example, while writing a web article in which we need compressed images to reduce the total weight of a web page. Image compression may also need while sending an email. For this it is worthwhile to know how to do it quickly from command line. So here we will see how to lighten images in PNG, JPEG/JPG format with various tools.

read more

Posted in FAQ, Others Web Hosting Related | Tagged , | Comments Off

Hyper-V Free Monitoring Tool

Veeam Task Manager for Hyper-V is a monitoring utility for a Hyper-V host and its virtual machines. The objective of this free tool is to provide a task manager that lets you to view the use of resource in real-time, both for the host and VMs it contains.

It approaches the task manager to Windows, and in my opinion it is more appropriate that the information provided in the Hyper-V Manager.

What you should know before downloading Veeam Task Manager?

Before you begin, you should know that it needs to be installed on a client computer, the application requires operating systems > Windows 7, Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2.

read more

Posted in Hyper-V VPS Hosting | Tagged , , , , , , , | Comments Off

Automatically logoff a disconnected windows user

We come across with a query of automatically logging of a Windows user which is already disconnected. If you are also facing same issue, then check the following guidelines. Note: the steps for this starts from “Windows Group Policy”.

1) Log in to your Windows Server
2) Open “Group Policy” by running command through “Run” tab -> gpedit.msc
3) On the left side you will see “Administrative Templates” – Click on that option

disconnected windows user_1

4) On the right side there is “Windows Components” – Click on that file.
5) Now click on “Terminal Services”

read more

Posted in Windows Dedicated Servers | Tagged , , , , | Comments Off

Linux process CPU usage monitoring

In this tutorial we will see how to collect CPU usage of a Linux process.

The main purpose behind this query is supervision or debugging. It would be convenient if you know how to retrieve CPU usage of a particular Linux process. It is often noticed people only check overall CPU usage on a machine, but don’t bother to analyze, which process is consuming more CPU time. Once they start focusing on which process consumes more CPU, then it will be helpful for them to optimize that process.

read more

Posted in FAQ | Tagged , , , , , , , , | Comments Off

Explore the Debian packages with Apt-file

Debian package management Apt-file to explore the Debian packages: when one uses only the command line on Linux, there are tools to have in your pocket, so apt-file for exploring the Debian packages (.deb) and finds a package according to a file. Here, we are going to see how to use it:

First we will see the installation and preparation of apt-file: Apt-file is simply installed on Debian via deposits, it will capture the following command.

read more

Posted in FAQ | Tagged , , , | Comments Off

How to know playback speed of a hard drive with Debian?


Today, we will see a trick to calculate the playback speed of a hard drive, Linux and specifically with Debian in this tutorial. For this, we will rely on fdisk to list the hard drives, and hdparm for the calculation of performance.

First, we are going to see procedure with hdparm so let’s start by listing the drives on the machine with the following command:

fdisk -l | grep "Disque"

Note: the presence of two discs: sda and sdb. About md0 and md1 it is software RAID arrays present on the machine.

read more

Posted in FAQ | Tagged , | Comments Off

How to create a Windows 8 VM quickly?

Use Convert-WindowsImage and create a Windows 8 VM quickly.

Written in PowerShell, Convert-WindowsImage is a tool to quickly create a Windows installation on a VHD virtual hard disk or VHDX, from a Windows installation ISO file.

This tool can be used from the command line or GUI, it’s your choice. No installation required since it’s a PowerShell script.

In terms of compatibility, it can be used in Windows 8, but is recommended for Windows 8.1 and Windows Server 2012 R2. Then you can work with the ISO Supported OS, specifically Windows 7 / Windows Server 2008 R2 and newer OS.

read more

Posted in FAQ | Tagged , , , | Comments Off

How to use ifconfig under CentOS 7?

ifconfig As we all know that recently CentOS released a new version “7”, this new stable version has its own share of change and among them, the fact that the ifconfig control no longer present in the native system. So if you have old habits, then you may want to find this option in this newer version. And I am sure you probably not the only one trying to reinstall it on CentOS 7.

So the first question you may ask whether ifconfig is already available in the package?

read more

Posted in FAQ | Tagged , , | Comments Off

Upgrading to PHP 5.5

Today we will see how to upgrade PHP to the latest version. FYI, PHP 5.5.8 released on 9th January 2014. Here, we will perform the operations on CentOS 6 and Debian 7 with stable version of PHP 5.4.4. Version stable is the version that we find by default when we install PHP without changing the deposits anyway.

Attention, it is very important to take a full backup of the server or a snapshot if it is a virtual machine before performing process of upgrade. Note: it is possible to quickly see the version of PHP installed on your machine through the following command line.

php –v

When you use the standard version, you will see the following type of result on CentOS


Through this command you will clearly see which version is currently installed on the machine. However, make sure PHP CLI package is installed. If it’s not installed then you can install it via command line. For example:

sudo apt-get install php5-cli

It is necessary to have CLI package because PHP binary requires being included to your path. When you run php –v command and gets not output, then it’s certain that it’s not in your path.

You can also check the path with “echo $PATH”. If the directory where the PHP binary is installed is not in your path, then you can set it with export; for example: PATH=$PATH:/path/to/php.

Uninstalling PHP

First, uninstall the current PHP version so it will not conflict with newer version’s packages. Note: you must save your precautionary configuration files in a directory. We will see now how to create that directory.

mkdir /root/configphp
cp -Rf /etc/php* /root/configphp

Then delete the version of PHP on your machine by using below command in CentOS:

yum remove php php-cli php-common && yum clean all

To uninstall PHP under Debian:

apt-get remove --purge php5

Download deposits

Now download and install the latest version deposit containers from PHP.

• Download and process deposits under CentOS

Yum that is able to download and install via its deposits option

• How to download Debian repositories

Under Debian, include two lines of deposits which are simple URL containing the deposits file (/etc/apt/source.list)

echo “deb wheezy-php55 all” >> /etc/apt/source.list
echo “deb-src wheezy-php55 all” >> /etc/apt/source.list

Now download and then install the signing key deposit which avoids errors during installation and updates:

apt-key add dotdeb.gpg

And now update the deposits in question:

apt-get update

read more

Posted in Server Management and Troubleshooting | Tagged , , | Comments Off