OK
In order to optimally design our website and to show appropriate offers we are using cookies. By continuing to use our website you agree that we set cookies. More information
2Mar/172

Changing the Windows Administrator password – The easy way

Today we are going to show you how to change your Windows Administrator password the easy way.
This tutorial works with almost all Windows versions starting from Windows XP/NT (Windows Server 2003).
On Windows 10 or Windows Server 2016 you should make sure that you are using local user accounts - not any online accounts.

Start the CMD.exe with administrator privileges, e.g. "Windowsbutton +R" and type in CMD.exe

cmd_en

The CMD.exe application should now pop up soon, the syntax for changing the password is very simple:

net user <username of the account you want to change the password> <new password>

Example :

net user administrator SomesecurePW2016

Of course you should never use this as a password, nor should you ever use it only for "testing" purpose.

Another option would be to use "*", this will prompt you to enter a password. On a desktop Windows operating system like Windows 10, you could remove the password by just entering an empty value.

pw_en

Posted by: Gianni-Donato | Tagged as: , , , , 2 Comments
19Oct/160

Upgrading Plesk to Obsidian

With this short tutorial we will show you how to upgrade your Plesk installation to Plesk Obsidian.

Before proceeding you should perform a backup of all important data. An upgrade always bears the risk of data loss.

On an SSD VPS you will have the ability to create a snapshot, creating a snapshot will give you the possibility to perform easily a rollback to the state "before upgrading".

On any other VPS or dedicated server we recommend downloading all backup files to your local PC or to our FTP backupspace.

After you have saved all important data you will be able to continue upgrading:


Linux:

1. Login via SSH and use sudo -i to start a shell with "root" privileges
2. Type in the following command:

plesk installer

If this command is not working, you can download and execute the installer using the following commands:

wget http://autoinstall.plesk.com/plesk-installer
chmod +x plesk-installer
./plesk-installer


Windows:

1. Login via RDP and open the CMD.exe with Administrator rights (Windows-Key + R)
2. Type in the following command:

"%plesk_bin%"\ai.exe --console


Once you have opened the Plesk Installer you will probably see a warning telling you to backup all your important files.

plesk_windows

After you have agreed you should see something like the image below, there should be displayed your current version of Plesk; if you want to perform the upgrade you will have to select the right version by typing the correct number, in this case number 2. You can only upgrade to Plesk Obsidian from Plesk Onyx. So if you have an older Plesk Version installed, you will have to upgrade to Plesk Onyx first!

plesk_upgrade_versionen

After typing in the number of your desired Plesk installation you will accept the download of those new packages. Please note that this step can take up to 30 minutes, it really depends on the Plesk extensions you have installed.

plesk_upgrade

After the upgrade was completed you should verify that everything is working properly.

If you plan to install additional software or change some software you can of course run the Plesk Installer again and select the packages which should be installed.

plesk_software

We kindly ask for your understanding that analysing problems can be very difficult for us, in case you encounter issues after having added or removed some software through the Plesk Installer. In any case we recommend backing up all your files before making any changes to your Plesk installation.

By the way: Plesk offers tutorials about the upgrade process as well, just click here to access the Plesk University!

There is also the option to start a clean reinstallation of your server with the latest version of Plesk within your customer control panel, in this case creating a backup of your important data prior to the installation is vital, because all data stored on your server will be lost.

Posted by: Gianni-Donato | Tagged as: , , , , , No Comments
24May/160

Changing the partition layout of your VPS after installation

Sometimes, it is necessary to change your partition layout in order to create new partitions or extend an existing partition, for example after a VPS upgrade.

This tutorial shows how to easily change your partition layout on your VPS.

Please be advised to perform a backup of all important data before proceeding ! Changes to the partition table always bear the risk of complete data loss.

Linux


Step 1:

Boot your VPS into the rescue-system, this can be done within your customer control panel.

You will need to connect through VNC.

After you have established a connection login as "root".

Step 2:

To perform changes on the partition easily we are going to use gparted.
To start the GUI type "startx" within your VNC console and wait a few seconds until the graphical interface appears.

On the upper left side you will see "Applications", open it and select "Run Program".
Now type "gparted" within the application finder and the app should start immediately.

part1

 

 

 

 

 

 

 

 

 

 

Step 3:

You should find an overview of all existing partitions on your hard disk drive.
In case there is no unused space left,  we need to shrink one existing partition first, otherwise we will not be able to create a new one.

After a right click on the corresponding partition and choosing "Resize/Move", the partition can be either shrunk or extended.

Please note that LVM partitions (which are used with CentOS by default) cannot be shrunk!

part3

In case you only wanted to extend your existing partition, please proceed with step 5.

Step 4:

Creating new partitions on the recently freed up/already free storage.

part4
Perform a right click on the unallocated space and select "new" to create a new partition.

In this case I did it twice to create two additional partitions.

part5

Step 5:

So far, no actual changes have been made on your hard drive. If you want to restart the partitioning just rerun the gparted tool.

To write the changes to the HDD hit the green tick symbol.
After hitting the tick, a warning will appear saying that you can lose all data - you should have a backup, so no worries.

 

part6

 

The application should start performing several tasks, just wait until it has finished.

Depending on the size of the partition and the data stored on it, this will take its time.

 

part7

Additonal Step for LVM :

For LVM it is necessary to not only extend the size of the LVM partition, but also to extend the size of the Volume - in this scenario we are going to extend the "root" Volume

Connect via SSH and perform the following additional steps :

1. Bring online the LV

root@contabo-test:~# lvchange -a y cos

2. Print the available (free) storage capacity within the LVM, in this case it is 300 GB

root@contabo-test:~# vgs

VG #PV #LV #SN Attr VSize VFree
cos 1 1 0 wz--n- 599.02g 300.00g

3. Extend the volume to use 100% of the available storage capacity

root@contabo-test:~# lvextend /dev/cos/root -l +100%FREE
Size of logical volume cos/root changed from 300.00 GiB (76800 extents) to 599.02 GiB (153349 extents).
Logical volume root successfully resized.

Step 6:

You are done, just boot up your VPS into the regular OS  and check if everything is as expected:

root@contabo-test:~# fdisk -l

 

Windows

Step 1:

Connect to your server using RDP.

Step 2:

Open the "Disk Management", this can be done with a right click on the Windows Icon on the lower left side.
You could also start it by opening the "run" prompt, which can be done  via "Start" -> "Execute" -> "diskmgmt.msc", alternately the "Execute" dialogue can be opened by hitting "Windows-Logo-Key +R"

winp1_en
Step 3:

After the Windows "Disk Management" utility was started you will see an overview of all installed harddrives.
On a VPS you will usually have one drive, on a dedicated Server you will probably have more than one sparse disk.
Search for the disk you want to repartition and perform a right click on the partition you want to resize.

You can shrink and also extend a Volume, sometimes when upgrading your VPS to a bigger plan you can either create a second partition or just extend the existing partition.

For now we want to shrink the existing partition, so we hit "Shrink Volume".

winp2_en
Step 4:

After some time passed you will see a popup, just fill out the field with the amount of space you want to free up and hit "shrink".

winp3_en

After shrinking you will have unallocated space, now you are ready to create a new partition, e.g. a FAT32 filesystem etc.

winp4_en

Posted by: Gianni-Donato | Tagged as: , , , , , , , , No Comments
5Feb/160

Upgrade Satellite feed: Setting it up on your Windows Dedicated Server

We recently introduced the Satellite feed upgrade which allows you to receive transponder signals on your Dedicated Server via the so called SAT>IP protocol. In this tutorial, we want to show you how to configure the Satellite feed on your Dedicated Server.

After you have received the e-mail containing the IP addresses you are ready to start the setup on your machine.

Important: All IP addresses used in this tutorial are examples! Please use for the configuration of your server only the data provided in the e-mail.

First of all you need to set up your network configuration.

1. Connect to your server by using RDP

2. Navigate to your network adapters and right click on the corresponding interface, select "properties"

Important: The upgrade comes with an additional network interface, do not change your already existing NIC or your server will not be accessible anymore!

1

3. Select the TCP/IPv4 protocol and click on "properties"

2

4. Now set up your IP address which was sent to you via e-mail.

In this tutorial we use 10.139.133.137 as an example.
Your IP address will not be the same as above, please read carefully the information sent to you via e-mail.

3

5. You need to add a route in Windows, open your Command Prompt as "Administrator" and type the following:

route print -4

The Command Prompt can be started via "Start" -> "Execute" -> "cmd.exe", alternately the "Execute" dialogue can be opened by hitting "Windows-Logo-Key +R"

On top you will see your adapters, you need to check which adapter was just configured for SAT>IP.

In this example the adapter got ID 19, you will probably have another ID - check the descriptions to find the proper ID.

4

Once you have figured out your ID you are ready to create the route.

route add 10.139.133.0 mask 255.255.255.240 10.139.133.1 if <Your interface ID> -p

e.g.

route add 10.139.133.0 mask 255.255.255.240 10.139.133.1 if 19 -p

6. Check if the connection was set up properly

The IP of the SAT>IP Server was also sent to you in your e-mail, in this guide 10.139.133.2 serves as an example.

Open the Command Prompt and check if the server replies to "ping":

ping -t 10.139.133.2

If the SAT>IP Server does not reply, we will provide some further assistance on setting it up properly, just contact our support team.

7. Install third party software to take advantage of SAT>IP

Software which is working with SAT>IP can be found here: http://www.satip.info/products/Software

In our tutorial we will use "DVBViewer", but any other SAT>IP-capable software can be used.

5

After installing the application navigate to "settings" and enter the IP address of the SAT>IP server.

Now click on "Navigate to configuration directory" and edit the network.ini, you need to insert the SAT>IP server's IP address, which was also provided to you in your e-mail:

[RTSP Network Device]
DVBServerIP=10.139.133.2

6

The setup is finished, save your configuration and restart the application. Now you should be able to watch TV on your Dedicated Server.

8

 

 

Posted by: Gianni-Donato | Tagged as: , , , , , , No Comments
29Jul/150

How to use the Contabo Backup-Space

Ordering our FTP Backup-Space is always a good choice for saving important data on an external storage.

Using that backup space can be done in many different ways, I will show you some of the most reliable ones.

Please note, that a connection to our backup space can only be established within our datacenter. Therefore, a connection is only possible between your server and the backup server, both are located in our datacenter.

You also need to configure our DNS resolvers, those resolvers are configured as default in any installation - if you changed something and need help setting them up, please contact our support. You can simply test the configuration by using ping on your server: ping backup.contabo.net, if the name is resolved to an IP address, your are using the correct configuration. Please notice that the name of the server can differ, for example it might be backup-2.contabo.net. You will find it in your e-mail with the credentials.

Windows:

On our Windows servers you have an graphical user interface (GUI) via RDP, so a third party application such as Filezilla can be used without any annoying configuration steps. In Filezilla you can connect using the information as follows:

Host: backup.contabo.net
Username:
Password:

You should be connected now using encryption and you can transfer all the data you want to save.

winfilezilla

An alternate way is to mount the backup space directly as a network drive.
Open "This PC" where your drives show up and choose "add network location".

Please enter this address:
ftp://<username>:<password>@backup.contabo.net

winftp

winbup

Unfortunately, Windows does not support an implicit FTP encryption, therefore, we highly recommend using some third party FTP client application.

Linux:

On Linux you can either use an FTP client or mount the backup space using some additional software.

Almost any FTP software can be used here, we recommend using lftp which supports encryption via FTP. Depending on your distribution, the necessary package can simply be installed, e.g. by issuing apt-get install lftp .

For the best performance while transferring the data, we recommend creating an archive, e.g.
tar -czf backup.tar.gz /home/File_1 /home/File_2

Now you can conveniently upload your files to the backup space using lftp:

:~# lftp
lftp :~> set ftp:ssl-force true
lftp :~> set ssl:verify-certificate no
lftp :~> connect backup.contabo.net
lftp backup.contabo.net:~> login <Username>
Password:

Since you are now successfully connected to the backup space, create a directory
mkdir backups

and move into.
cd backups

Finally,  you can upload your archive:
put /path_to_file/backup.tar.gz .

Similar to Windows, you can mount the backup space directly into the local file-system structure. On Linux you have several advantages like mounting with encryption. What you need is curlftpfs and some dependencies.

First install those packages from your repository:
apt-get update && apt-get install fuse fuse-utils curlftpfs

On Debian 8 (Ubuntu 16.04) and later the package "fuse-utils" might not be available anymore.

Just enter the following to install all necessary packages and dependencies :

apt update && apt install curlftpfs

For CentOS 7 you need to install the EPEL repository first :

yum install epel-release
yum install curlftpfs

Now create a folder where you want to mount your backup space:
mkdir /mnt/ftp

To avoid other users to see your password in the process overview (top, htop, ps, etc.), you need to put the following information into your .netrc file. This file should be located in your users home directory but might has to be created first.

machine backup.contabo.net
login <username>
password <password>

You can now mount the backup space via FTP with the following command:
curlftpfs -o ssl,no_verify_peer backup.contabo.net /mnt/ftp

On CentOS7 you might experience difficulties when accessing the folder, in that case try remounting the FTP without SSL encryption.

umount /mnt/ftp/ && curlftpfs -o no_verify_peer backup.contabo.net /mnt/ftp

Another option is to start curlftpfs in foreground with the parameter "-f".

curlftpfs -o ssl,no_verify_peer backup.contabo.net /mnt/ftp -f -v

Posted by: Gianni-Donato | Tagged as: , , , , No Comments
22Jul/151

What to do if your server is not reachable anymore

If your server should run but is not reachable, the reason might be a routing problem between your internet provider and Contabo and you should follow these instructions:

To make sure it's not an connectivity issue we recommend to create a so called "MTR report".

MTR does nothing else than a traceroute combined with PING.

To create a simple traceroute type the following into your command line:

Windows:
Open your cmd.exe or your powershell application and type
tracert <your IP>
Linux :
Open a terminal and type
traceroute <your IP>

Starting an MTR is very easy, just get the latest Version here :
http://sourceforge.net/projects/winmtr

On Windows 10 make sure to get Version 0.92 or newer.
On Linux you should be also able to install it from your repository:
apt-get update && apt-get install mtr

After installing the necessary package, you can run the application.

Windows: Navigate to the downloaded folder and unzip the file, some directories have been created. Rightclick on the .exe and hit "Run as administrator". Now just type your IP and hit start.

winmtr

Linux: Open your terminal and enter mtr <your IP>

linmtr

It's recommended to run the application for at least 10 minutes, this makes sure that enough data is being collected.

Take a screenshot or save the log file, our support will need those information if you plan to contact us.

Posted by: Gianni-Donato | Tagged as: , , , , , , , 1 Comment