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.

If you want to boot your system straight up into your regular OS after repartitioning, you should execute "exitrescue" now on the commandline before proceeding.

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

 

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
19Jun/150

Mounting of additional hard drives in Windows

In this tutorial, we are going to mount an additional hard drive in Windows. As you may notice, we will do so in Windows Server 2012, but the procedure is basically the same with Windows Server 2008.

At first, we need to open a menu by right-clicking the Start button:

_2015-05-28_18-14-12

We must select Disk Management to open the Disk Management service. If Windows identifies a new hard drive, a pop-up menu opens:

mbrgpt

For volumes smaller than 2 TB, we choose MBR, for larger disks, we select GPT. As the hard drive in our example only has a capacity of 100 GB, we'll go with MBR here. By clicking OK, the chosen partition table will be written to the hard disk. After that procedure, we will be sent to the main menu of the Disk Management service. Alternatively, one can reach this overview via Control Panel => Computer Management.

haupt

As we can see here, our new hard drive is listed as Disk 1. But before we can use it for storing data, we need to partition and format it. Therefore, we right-click the rectangle next to the box which says Disk 1 and choose New Simple Volume.

haupt2

A wizard opens. It is quite self-explanatory and you can't do anything wrong by using the pre-selected and suggested values. Per default, the wizard uses the whole disk capacity for the new partition and formats it with the file system NTFS, which is recommended for Windows. Of course, you are free to change those settings, but in our example, we go along with them.

ntfs

The name of our new partition is STORAGE, but of course you can name it as you wish.

Once you went through the wizard, the new hard drive will be ready to use. It will also be visible in the Explorer:

explorer

13Aug/140

New VPS offers: Higher performance, SSD boost!

VPS without setup fee

After months of development, the time has come: Today, our entire lineup of VPS offers has been updated. Each Contabo VPS now provides much more performance - at the same price as before! What does this mean for you? More CPU cores, more RAM, more disk space and, for the VPS XL, a Gbit/s uplink. While our previous VPS offers did not have to fear the comparison with dedicated servers, this is even more true for the new Contabo VPS, which are superior to a lot of dedicated servers.

Moreover, all VPS have received the new SSD boost feature: Every Contabo VPS is now equipped with SSD acceleration per default. By using SSDs, the I/O performance (IOPS and bandwidth) of your virtual server is improved massively. Databases and other applications which require I/O to perform best are accelerated significantly by the SSD boost. Lags when accessing or writing data are a thing of the past now!

The new Contabo Virtual Private Servers (VPS) - unbeatable when it comes to price and performance:

VPS M
2 CPU Cores
6 GB RAM (guaranteed)
500 GB HDD
100 Mbit/s switch port
Unlimited Traffic
Only 7.99 EUR / month!
This week only: 0,00 EUR setup fee!

VPS L
4 CPU Cores
14 GB RAM (guaranteed)
1000 GB HDD
100 Mbit/s switch port
Unlimited Traffic
only 13.99 EUR / month!
This week only: 0,00 EUR setup fee!

VPS XL
6 CPU Cores
30 GB RAM (guaranteed)
2000 GB HDD
1000 Mbit/s switch port
Unlimited Traffic
Only 24.99 EUR / month!
This week only: 0,00 EUR setup fee!

14Nov/132

Virtual Private Servers now almost for free!

VPS Discount
Once again our technicians have been working hard to improve the price-performance ratio of our popular virtual private servers (VPS). Although thousands of customers worldwide already trust in our services and rent virtual servers from Contabo, we do not rest on our laurels.
There's still this one goal. We simply want to be the best.

The result of our improvements: more performance, even more reliable servers - at a monthly price that is unbeatable on the hosting market.

Contabo Virtual Private Servers (VPS) - now more performance for even less money!
VPS price reduction
VPS M
1 CPU Core, 3.2 GHz
4 GB RAM (guaranteed)
200 GB HDD
100 Mbps switch port
Unlimited Traffic
Only 7.99 EUR / month!
Setup fee starting with 0.00 EUR!

VPS L
2 CPU Cores, 3.2 GHz
8 GB RAM (guaranteed)
400 GB HDD
100 Mbps switch port
Unlimited Traffic
only 13.99 EUR / month!
Setup fee starting with 0.00 EUR!

VPS XL
6 CPU Cores, 3.2 GHz
16 GB RAM (guaranteed)
800 GB HDD
100 Mbps switch port
Unlimited Traffic
Only 24.99 EUR / month!
Setup fee starting with 0.00 EUR!

Highspeed-support, high-end systems, lowest prices: What are you waiting for? Get your new VPS now!

Posted by: Katharina | Tagged as: , , , , 2 Comments
27Aug/130

Process Controlling With Supervisor

If you run your own virtual or dedicated server, chances are that you want to run a specific program or a number of programs that make up the service you want to use or offer. If the program you want to run is part of the Linux distribution of your choice there usually is not much more to it than installing the package and configuring the program. However, if the program comes from an external source or you are writing it yourself, you need to make sure it is started automatically when the server is booting. Additionally, during development or early testing phases of your own program, there might be errors in the code leading to a crash of your application and you might want to make sure that it gets restarted automatically in such a case. A few years ago, the solution to the first issue was quite simple. All you needed to do was to create an init script that would then handle the starting and stopping of the server. However, recently many Linux distributions changed the way they handle the boot process. Some are still using init, others may be using upstart or even systemd now. Providing the files necessary for all of this systems can be quite a hassle and while upstart and systemd support restarting programs on unexpected termination, implementing this with init is possible but requires to change init's configuration itself.

For my own needs I have become attached to using supervisor for this task - the program and the documentation can be found on http://supervisord.org, but most Linux distributions provide pre-built packages in their repositories. Supervisor itself is a daemon that is run by the system's process management so it gets run by init or it's counterparts. To run your own program, you have to add it to supervisord's configuration and it will make sure that it gets started on boot and restarted in case it crashes.

As an example, I will be using a very small custom web application written in Python using the bottle framework. Since this article is not about web programming, I am keeping it simple:

1 from bottle import route, run
2
3 @route('/')
4 def index():
5     return 'Hello World'
6
7 run(host='0.0.0.0', port=8080)

All this does is run a webserver on port 8080 and displaying Hello World in your web browser when you navigate to it. If the above code is saved to a file app.py, you can run it using python app.py and it will just run forever (or until it crashes). Now would be a good time to configure supervisor to run this application for us. Supervisor provides a command line tool called supervisorctl to check the status of configured applications and to start or stop them if needed. Running supervisorctl status will show you... nothing, as we did not set up anything yet. We create a new file called hello.conf which will contain everything supervisor needs to know to run our application and place it in /etc/supervisor/conf.d/. The most basic configuration defines a new program to run with a given name and a command to be executed as well as a user name that the program should be run with - if you leave this, your program will run as root which is almost always a bad idea:

[program:hello]
command=/usr/bin/python /home/markus/app.py
user=markus

Note that it is usually a good idea to provide absolute paths in such configurations. After the file has been saved, you can use supervisorctl reread to cause supervisor to reread its configuration file. If everything is right, the output of the command should tell you that a program named hello is now available:

# supervisorctl reread
hello: available

We can now start the program by running

# supervisorctl start hello
hello: started

Check the status again to see if its actually running now:

# supervisorctl status
hello                 RUNNING    pid 32675, uptime 0:00:46

As you can see, it tells us that the program is running, it's PID and the time elapsed since it's start. To simulate a crash, we will forcefully terminate the program and check if supervisor restarts it as expected:

# kill -9 32675
# supervisorctl status
hello                 RUNNING    pid 32686, uptime 0:00:04

The supervisor homepage gives you a lot more information about possible values to configure supervisor itself and the programs it runs. You can even configure the location of log files and automatic rotation for them in case they grow over a given size. More details about this can be found here: http://supervisord.org/configuration.html. Finally, no more reason to run your applications in detached screen sessions... 😉

30Oct/120

GIGA V-Servers are called VPS from now on!

Effective of today we change the official name for our virtual servers. Our offered hosting solution V-Server is called VPS from now on. VPS is the shortcut for Virtual Private Server.

After long consideration we have decided on a name change, because our experiences have shown that our customers prefer the more common name VPS, also in their correspondence with us.

Customers of Giga-Interational.com, please note:
You, as our customer, are not affected by this modification, nothing besides the name changes for you.
Please note that the invoices you are receiving from us bear the new product name from now on.

7Mar/120

V-Servers now equipped with more power!

While super models are presently strolling down the catwalks in TV-shows true beauties can still be discovered at our company.

Giga-International.com had not been afraid of any expenses and efforts to present their top notch virtual servers „L“ and „XL“ even more attractive on the virtual catwalk, starting today. So we have silently boosted the hardware of our hostsystems during the past couple of weeks to present you here and now with an upgrade which does all honour to haute couture in Milan and Paris.

Giga-International presents: The GIGA virtual servers in a new outfit!

    • V-Server M
    • CPU: One core, single priority
    • RAM: 2 GB guaranteed
    • HDD: 100 GB
    • Uplink: 100 Mbit/s
    • Unlimited Traffic
    • Only 9,99 EUR / month
    • Minimum contract period 1 month
    • V-Server L
    • CPU: Two cores, double priority
    • RAM: 6 GB guaranteed
    • HDD: 300 GB
    • Uplink: 100 Mbit/s
    • Unlimited Traffic
    • Only 19,99 EUR / month
    • Minimum contract period 1 month
    • V-Server XL
    • CPU: Four cores, quadruple priority
    • RAM: 12 GB guaranteed
    • HDD: 600 GB
    • Uplink: 100 Mbit/s
    • Unlimited Traffic
    • Only 39,99 EUR / month
    • Minimum contract period 1 month
25Oct/110

Meet us on Facebook!

As of today, Giga-International.com is presenting their official website on FACEBOOK.

Like in our company blog, we would like to use this platform to inform all interested folks specifically about our products, new developments, some interesting details about our day-to-day business and, not to forget, about ourselves.

In addition, you can post your comments regarding our input via your regular FACEBOOK account. That way, you can communicate with our staff nearly “face-to-face”. We are looking forward to receiving your feedback, your proposals and your opinion in general with regard to several topics – even apart from the hosting environment.

Giga-International's entire team is contributing with news and status reports on FACEBOOK, to provide you with an open minded view on our own ideas and perspectives.

We cordially invite you to become a ‘follower’ and gain a deeper insight into our enterprise. We would be grateful for any kind of feedback. And should you generally like our homepage and our service, why not clicking the commonly well known “Like” symbol? We appreciate any fan 🙂

Visit our homepage on http://www.facebook.com/pages/Giga-International/161405220619366

1Jun/100

V-Servers available at Giga-International!

It’s about time: Our V-Servers are finally available for international customers!

We've invested countless hours during the past few months and we haven’t been afraid of necessary expenses to provide you with a rock-solid product, paired with a great mix of technical features for a small price. According to our slogan “Think bigger, think Giga!” here they come! Giga-International V-Servers at an excellent cost-performance ratio.

For only 9.99 EUR / month we provide a high-performance Intel-CPU with four cores, 2 GB of RAM – guaranteed! - and a hard disk of 100 GB. You need more power? Check out our V-Servers 'L' and 'XL'. They will definitely meet your requirements, that's for sure! With a guaranteed amount of RAM of up to 8 GB and 400 GB of hard disk space you definetly won't regret choosing Giga-International. Just like our dedicated servers, our V-Servers are connected to a 100 Mbps port paired with unlimited traffic. And, of course, you'll gain full root and administrator access to the machine installed with an operating system of your choice.

And there is something more to complete this 'all-in-one-package': Our great customer support, available 365 days a year, even on holidays and on weekends, from 8 am to 11 pm (available by telephone or e-mail), is included!

During market launch only: Order your new GIGA V-Server today and your virtual machine will come without a setup fee!

Check our offers on your own: Our V-Server offers