ServerMeister is looking for a talented Marketing intern. In this role you will support the marketing team in coordinating the marketing of ServerMeister across Ad’s, social, events and local marketing.
- Assist in the organization of international marketing
- Assist with other ad hoc marketing activities
- Gather social highlights for our weekly marketing update
- Support the Digital Marketing Team with the implementation of our Social Media
- Assist in the coordination of launching multiple in-store product campaigns
- You are more highly motivated than Mr. Motivator
- You are a team player and a self-starter like Lionel Messi
- You have a creative mind like Leonardo Da Vinci
- You learn things faster than Einstein
- You desire to work in a commercial environment and develop a career in marketing within the IT industry
- You have more energy than the Duracell Bunny
- You are frequently told to curb your enthusiasm
- You are looking for an internship for 6+ months for 32-40 hours per week
- HBO/MBO students in their second or third year studying near Amsterdam or willing to work remotly
- Fluency in English, with excellent verbal and written communication skills
- Proven experience in Adobe Photoshop / InDesign / Illustrator
- Strong skills in visual presentations
- Skills such as multitasking, managing information and creativity
- Knowledgeable about hosting or the Interwebz
- Should be also well-organized, communicative and eager to contribute to team success, pro-active approach; flexible, curious
What do we offer?
- Working with a young and rapidly growing international company within the IT branch
- Informal and dynamic working atmosphere in an inspiring environment
- Positive vibes, passionate and ambitious colleagues
Are you interested in this position, mail your CV with photo and cover letter to [email protected] Location: Amsterdam, The Netherlands
Our mission is to provide the world with the ultimate Hosting experience by pushing boundaries and challenging the status quo. Our servers are all located in Amsterdam, Germany, USA and Singapore.
Are you ready to come and join the family?
very serious security problem has been found in the Linux kernel. A 0-day local privilege escalation vulnerability has existed for eleven years since 2005. This bug affects all sort of of Android or Linux kernel to escalate privileges. Any user can become root in less than 5 seconds. The bug has existed since Linux kernel version 2.6.22+. How do I fix this problem?
This bug is named as Dirty COW (CVE-2016-5195) is a privilege escalation vulnerability in the Linux Kernel. Exploitation of this bug does not leave any trace of anything abnormal happening to the logs. So you can not detect if someone has exploited this against your server.
What is CVE-2016-5195 bug?
From the project:
A race condition was found in the way the Linux kernel’s memory subsystem handled the copy-on-write (COW) breakage of private read-only memory mappings. An unprivileged local user could use this flaw to gain write access to otherwise read-only memory mappings and thus increase their privileges on the system.
A nasty bug for sure. Any local users can write to any file they can read, and present since at least Linux kernel version 2.6.22. Linus Torvalds explained:
This is an ancient bug that was actually attempted to be fixed once (badly) by me eleven years ago in commit 4ceb5db9757a (“Fix get_user_pages() race for write access”) but that was then undone due to problems on s390 by commit f33ea7f404e5 (“fix get_user_pages bug”).
In the meantime, the s390 situation has long been fixed, and we can now fix it by checking the pte_dirty() bit properly (and do it better). The s390 dirty bit was implemented in abf09bed3cce (“s390/mm: implement software dirty bits”) which made it into v3.9. Earlier kernels will have to look at the page state itself.
Also, the VM has become more scalable, and what used a purely theoretical race back then has become easier to trigger.
To fix it, we introduce a new internal FOLL_COW flag to mark the “yes, we already did a COW” rather than play racy games with FOLL_WRITE that is very fundamental, and then use the pte dirty flag to validate that the FOLL_COW flag is still valid.
A list of affected Linux distros (including VMs and containers that share the same kernel)
- Red Hat Enterprise Linux 7.x
- Red Hat Enterprise Linux 6.x
- Red Hat Enterprise Linux 5.x
- CentOS Linux 7.x
- CentOS Linux 6.x
- CentOS Linux 5.x
- Debian Linux wheezy
- Debian Linux jessie
- Debian Linux stretch
- Debian Linux sid
- Ubuntu Linux precise (LTS 12.04)
- Ubuntu Linux trusty
- Ubuntu Linux xenial (LTS 16.04)
- Ubuntu Linux yakkety
- Ubuntu Linux vivid/ubuntu-core
- SUSE Linux Enterprise 11 and 12.
How do I fix CVE-2016-5195 on Linux?
Type the commands as per your Linux distro. You need to reboot the box. Before you apply patch, note down your current kernel version:
$ uname -a
$ uname -mrs
Linux 3.13.0-95-generic x86_64
Debian or Ubuntu Linux
$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
Reboot the server:
$ sudo reboot
Related: Ubuntu Linux users can hotfix this Linux kernel bug without rebooting the server.
RHEL / CentOS Linux 5.x/6.x/7.x
$ sudo yum update
$ sudo reboot
RHEL / CentOS Linux 4.x
$ sudo up2date -u
$ sudo reboot
Suse Enterprise Linux or Opensuse Linux
To apply all needed patches to the system type:
# zypper patch
You need to make sure your version number has changed:
$ uname -a
$ uname -r
$ uname -mrs
Determine if your system is vulnerable
For RHEL/CentOS Linux, use the following script:
$ wget https://access.redhat.com/sites/default/files/rh-cve-2016-5195_1.sh
$ bash rh-cve-2016-5195_1.sh
For all other distro try PoC (proof of concept exploit code)
Grab the PoC:
$ wget https://raw.githubusercontent.com/dirtycow/dirtycow.github.io/master/dirtyc0w.c
Run it as follows. First be root:
$ sudo -s
# echo this is not a test > foo
Run it as normal user:
$ gcc -lpthread dirtyc0w.c -o dirtyc0w
$ ./dirtyc0w foo m00000000000000000
$ cat foo
Most people who set up their own website or blog do so on shared hosting because it’s the cheapest and easiest option available. Most shared hosting options come with “unlimited” space, bandwidth, domain assignments, email, databases and everything else a site owner needs. Sadly promising unlimited diskspace and traffic is most of the time a marketing-related feature. A lot of hostingproviders say that they offer unlimited addons, but then you hit the soft threshold they start billing you.
The up-side is that it’s incredibly easy to set up a simple blog, a gallery or a basic app. The physical server is managed by your hosting company and all you ever see of it is a front-end control panel that gives you easy options to install common apps, FTP files, point domain names to sub-directories and so on.
However, shared hosting has a down-side. Because you’re sharing the resources with hundreds or thousands of other owners, your site can become sluggish as soon as you get a few hundred hits per day. Bump that up to a few thousand hits (or a single application that’s database-heavy) and your site’s response times can drop to insufferable speeds.
As an example from my own experience, when I had a single WordPress blog on shared hosting, it ran fine. A little bit slow at peak times but easily bearable. Response times were 1-2 seconds at worst. Then I installed a bunch more blogs and a Drupal development environment… Drupal’s very database heavy and the response times for the basic login page were almost a minute. A minute of waiting for something to happen. That’s bad.
Virtual Private Servers
The next step up is the VPS. This is where we give you a server to yourself… only it’s not really a server. It’s part of a server (hence “virtual”), set aside for your personal use. There will be other people’s sites on the same machine but, given that most web servers are multi-processor beasts of barely imaginable power, you aren’t likely to notice.
As far as you are concerned, you have your own, personal server (hence it’s “private”). You can set up sites on it in the normal fashion and you won’t notice a degradation in response times with tens of thousands of hits (or more) per month.
Once you’ve hit the top level of the VPS and have become so popular that it isn’t enough, you’ll need to move on to a dedicated server setup.
Prices for VPS setups are very reasonable. We mostly suggest using our second package for about 40 euro’s a month including DirectAdmin.
This is the top end setup. You get an entire server to yourself with all its space, processing power, bandwidth and everything else for your own, exclusive use.
Ben jij een enthousiaste student die op zoek is naar een stage waarbij je werkervaring op gaat doen en een onderzoek uit gaat voeren waarbij je jouw kennis in de praktijk kan brengen?! En ben je per direct beschikbaar? Lees dan snel verder…
Binnen ServerMeister, locatie Nederland, zijn we voor onze sales binnendienst per direct op zoek naar een gemotiveerde stagiair(e)!
Dit ga je doen:
Je gaat meewerken op de afdeling en advies uitbrengen over het verbeteren van het administratie en opvolgingsproces van lead management. Zo krijg je de kans om je kennis in een bruikbaar advies om te zetten en ervaring op te doen binnen een professionele organisatie.
Als stagiair ben je actief betrokken in het werving en acquisitie proces en speel je een belangrijke rol in de ondersteuning van Telesales en Fieldsales om nieuwe klanten te werven. Dit betekent onder andere dat je warme leads gaat nabellen, maar ook koude acquisitie gaat plegen en dit verwerk je in ons CRM systeem. Ook ga je de nieuwe leads administreren, distrubiteren en rapportages bijhouden (scorecard).
Daarnaast ga je je bezig houden met een best practice/ onderzoek voor ons Lead Management en daar de SOP (standard operation procedure) op aanpassen en implementeren.
Dit ben jij:
Een ondernemende Young professional die zich in de wereld van Hosting en Sales wil verdiepen en gaan ontwikkelen. Jij hebt een projectmatig inzicht en vind het een uitdaging om in de telefoon te klimmen en klanten te interesseren voor de diensten van ServerMeister. Je volgt een HBO of MBO opleiding Commerciële Economie/ Communicatie/ Bedrijfskunde of vergelijkbaar en uiteraard ben je commercieel en communicatief sterk.
Verder heb je minimaal…
* HBO werk- en denkniveau (maar mag ook met een MBO achtergrond);
* Je bent sterk met Excel, data management en overige computer vaardigheden;
* Affiniteit met SAP en/of CRM systeem;
* De beschikbaarheid van minimaal 5 maanden;
* Ervaring in een Callcenter of Telemarketing omgeving is een pre.
Dit bieden wij:
Wij bieden een uitdagende fulltime (32 uur is bespreekbaar) stage opdracht met een riante stagevergoeding.
– Content creatie voor social media en andere online kanalen (Facebook, Twitter, LinkedIN)
– Ondersteuning voor het New Product Development team bij nieuwe innovaties
– Data entry ondersteuning bieden voor zowel eigen merken als distributie merken
– Marketing kanalen aanvullen en onderhouden
What’s in it for you?
– Ruimte voor eigen initiatieven
– Ruimte voor persoonlijke ontwikkeling
– Stagevergoeding per maand op basis van 40 uur
– Korting op hosting & domeinnamen
– Een informele werkomgeving waar successen worden gevierd
– Crossfit, geregeld borrels en leuke teamuitjes met een jong team
Heb je geen zin om tijdens je stageperiode constant koffie te gaan halen voor je baas? En heb je eigenlijk helemaal geen zin om iedere ochtend strak in pak van huis te gaan? Wil je gewoon lekker jezelf zijn? Solliciteer dan snel voor de stage marketing bij ServerMeister!
Bij ons wordt dit namelijk helemaal niet van jou verwacht, jij wordt vanaf je eerste stagedag een onderdeel van ons marketingteam met eigen taken en eigen verantwoordelijkheden.
– Je volgt een MBO-opleiding in de richting van Marketing en Communicatie
– Je bent in staat zelfstandig te werken
– Je bent productief in een dynamische omgeving
Dit ben jij
Je bent iemand die van aanpakken houdt en goed weet wat er speelt op het gebied van de nieuwste technologieën. Je vind merken interessant en je bent leergierig.
Kun jij deze snelle en uitdagende branche aan en is dit de ideale stage voor jou?
Whether you are just looking for a hosting control panel for shared hosting or whether you are looking for a control panel for your VPS or Dedicated Server the chances are that you will be considering one of the three main options; cPanel, Directadmin or Plesk.
The Control Panel will allow you to manage all aspects of your server without having to resort to command lines or any other utilities. You will be able to add and delete new users, databases, view the error logs for your server, install popular software, configure email, and perform hundreds of other day-to-day maintenance activities on the server including backup and restoration. A control panel for a Web server can do so much today that it’s almost unimaginable to think of going without one – even though it’s technically possible.
When choosing a control panel one of the main difficulties lies in the fact that migration between them is difficult and as such in order to save yourself much trouble and expense in the future because you change your mind, or you want to move to a host that uses a different control panel it is important to get it right first time.
This article looks at some of the main differences between the different control panels, and goes into a little more detail than you would need if you are simply looking for shared hosting and wanting to know the differences in control panel. That being said, if you are looking for a reseller, VPS or dedicated where you often get access to the full functionality the differences are more relevant.
Operating System Compatibility
It’s important to choose a product that plays well with the operating system you’re familiar with. Even though each of these provides a GUI that abstracts the underlying workings of the server, it still helps a great deal to be comfortable with whatever OS the server runs on. Say for example you wish to install a few add-ons from some vendors, you need to make sure that they are compatible with your environment. So your needs and experience will play a huge role in determining which web hosting control panel you want to go with.
|Plesk||Windows Server (2012), Linux (CentOS/CloudLinux/RedHat/Ubuntu/Debian, openSUSE)|
Backend/Frontend and Functionality
If you’ve used cPanel from a client’s perspective as opposed to someone who runs their own server, you may never even have heard of WHM. WHM is the “backend” of cPanel and is a software used by server administrators to perform all the functions that cPanel users can’t. It ranges from setting up DNS clusters, comprehensive security rules, creating and assigning packages, server level configuration, and a host of other functions unavailable through cPanel.
If you are a client who has just purchased a shared hosting plan however, you would never even see WHM. Your username/password combination would be used to log directly into cPanel either as a regular user or a reseller. The options available in WHM are so comprehensive and detailed that it’s impossible to even know where to start.
The other two products – Plesk and DirectAdmin – have no such split personalities. What you can and cannot do depends entirely on the permissions assigned to you. The interface will look pretty much the same with certain options enabled and disabled.
|Configurable reseller hosting packages|
|CSS-brandable reseller experience|
|CSS-based theme system|
|Multiple language packs|
|Manage all daemons from one screen|
|One screen shows full system health|
|Fast, RPM-based installation||~35 MIN|
|Full API Coverage (SOAP, XMLRPC, and CLI interfaces)|
|Advanced IPv6 Management via IPv6 Pools|
|Multiple IPs (v4 and v6) per domain|
|IPv6 diagnostic tools|
|Manage MySQL databases, users, & permissions|
|View & terminate running queries|
|E-MAIL, SPAM, & VIRUSES|
|Configurable mailboxes, forwarders, quotas|
|Configurable spam filtering|
|E-mail virus protection|
|Domainkeys (DKIM) & SPF records|
|Global white & black lists|
|Secure Remote Assistance Feature|
|Problem Detection/Notification/Repair System|
|Graphical Real Time Usage Statistics|
|High availability load balancing|
|External MySQL servers (one or multiple)|
|External file servers|
|External DNS syncronization|
|Real-time graphs of clustered servers|
As an extension of the above discussion, the security models for cPanel, Plesk, and DirectAdmin are quite different in the way they handle permissions for the different accounts or sub-accounts.
|Avg. days to acknowledge an exploit|
|Avg. days to resolve an exploit|
|Site owners can create sub-users|
|Server admin & reseller-level sub-users|
|Permission settings for all sub-users|
Most popular versions of PHP used by your customers are unsupported by PHP.net. This means that as security vulnerabilities are discovered, they will not be fixed by PHP.net in versions PHP 5.5 or older. That affects 84 percent of all PHP sites!
Here is a quick summary on numbers:
PHP.net is the most popular server-side programming language with 82 percent market share and by far the fastest growing amongst it’s competitors with ASP.net taking only 15% of the market.
As described in the above image, PHP5 is used by 97.8 percent of all websites who use PHP, and version 5.5 is used by 20 percent of all the websites who use PHP version 5. Because of this wide application usage, PHP is constantly exploited by hackers, making sites vulnerable.
Here is how PHP.net support normally works:
for two years, bugs and security issues that have been reported are fixed and are released in regular point releases. After that two year period, each version of PHP is supported for an additional year for critical security issues only. After the version reaches the end of life, it is no longer supported by the community and any vulnerabilities, when discovered, are no longer being fixed.
Currently, versions 5.0 – 5.5 are not supported by the community. This makes up 86 percent of all PHP 5 sites and 84 percent of all PHP sites. So, basically, most of the PHP sites are currently not supported by the PHP community.
How to keep customers PHP 5.5 websites secure:
Typically, unsupported versions present a security problem, and it means it is time to move the sites from unsupported versions, in this latest case PHP 5.5, to later versions. But more often than not, when a version becomes obsolete, website owners are not able to update and change programs to accommodate newer versions quickly to ensure the security of their site.
But as always, as long as you are using HardenedPHP that comes with CloudLinux OS or ServerPilot – you and your customer sites are safe. You don’t need to force customer upgrades to newer PHP version making them re-write scripts written for an older PHP version. You also don’t need to upgrade PHP on your servers and risk breaking their sites. And we’ve made a promise to our customers – we will continue backporting security patches to old versions of PHP for the foreseeable future.
With HardenedPHP in CloudLinux OS, you can secure old PHP versions, and with PHP Selector you can also offer various packaged PHP versions on a single shared web server to ensure maximum security and profitability.
We are back with one more new feature in ServerAvatar!
Now you can check Logs of your Servers in 1 click! But before you start looking at your logs I would like te explain the importance of server logs.
Whenever something unexpected happens on your site and your site goes down; you can’t detect the problem directly by visiting the site. You’ll only get the blank page in case your site is based on WordPress or PHP.
It’s the common problem with the sites created with WordPress. WordPress is based on PHP and when there is some syntax error in PHP code, it will show you the blank page.
In this case, the last hope will be the log! Every Error, Every warning will be listed in the Error log of the site.
Not only the errors but Access log contains every information about the visitors like their browser, their IP, etc. Every information about errors and visits will be inserted into the log files!
You can find logs on your server at,
To check logs, you have to log into your server through SSH and you have to run commands to see the log.
Considering you have connected your Server with ServerAvatar, Just click on this link or Navigate through the following path:
Login -> Server panel -> View Logs
You’ll be able to see the screen just like this screenshot.
Select the Log you want to see from the drop-down menu and click on View Log. That’s all!
For example, I’m gonna select Walletszone.com – Access Log from the drop-down and click View Log. This is what I got on the screen!
Similarly, you can inspect any log from the dropdown! You’ll be able to see the logs of each of your site individually!
Let me know what do you think about this Feature in comments!
BackupPC is a backup solution that can be configured to back up remote Linux and Windows systems. It can use a variety of different protocols and has a flexible scheduler to coordinate full and incremental backups.
In this guide, we will install BackupPC on an Ubuntu 12.04 VPS and use it to back up a second Ubuntu 12.04 VPS.
BackupPC is available in Ubuntu’s default repositories. The software “pulls” the data from client machines, so the actual program needs to be installed on the machine that will function as the backup server.
Open a terminal and enter the following commands:
sudo apt-get update sudo apt-get install backuppc
During the installation, you will be asked what kind of mail server configuration is needed. We can select the “Local only” option, because we will not be configuring internet-aware mail:
???????? Postfix Configuration ????????? ? General type of mail configuration: ? ? ? ? No configuration ? ? Internet Site ? ? Internet with smarthost ? ? Satellite system ? ? Local only ? ? ? ? ? ? <Ok> <Cancel> ? ? ? ????????????????????????????????????????
On the next page, we can leave the Sytem mail name as “localhost”:
??????????????????????????? Postfix Configuration ??????????????????????????? ? The "mail name" is the domain name used to "qualify" _ALL_ mail ? ? addresses without a domain name. This includes mail to and from <root>: ? ? please do not make your machine send out mail from [email protected] ? ? unless [email protected] has told you to. ? ? ? ? This name will also be used by other programs. It should be the single, ? ? fully qualified domain name (FQDN). ? ? ? ? Thus, if a mail address on the local host is [email protected], the ? ? correct value for this option would be example.org. ? ? ? ? System mail name: ? ? ? ? localhost________________________________________________________________ ? ? ? ? <Ok> <Cancel> ?
Select “apache2” to configure Apache for use with BackupPC:
?????????????????????????? Configuring backuppc ??????????????????????????? ? BackupPC supports any web server with CGI enabled, but this automatic ? ? configuration process only supports Apache. ? ? ? ? Which web server would you like to reconfigure automatically: ? ? ? ? [*] apache2 ? ? ? ? ? ? <Ok> ? ? ? ???????????????????????????????????????????????????????????????????????????
On the next page, type “Enter” to continue with the installation.
Changing the Password
BackupPC uses a system user called “backuppc” to perform its tasks.
In addition, it configures an Apache user, also called “backuppc”, with a randomly generated password, which was given briefly during installation. We can change this password to something more meaningful by typing:
sudo htpasswd /etc/backuppc/htpasswd backuppc
You will be asked to give and confirm a new password.
Configure SSH Access to Client Computers
There are a few different ways that servers and clients can communicate to authenticate and transfer data. In this guide, we will be using the rsync protocol over SSH.
To make this work, we’ll need to create an SSH key pair for our system BackupPC user (called “backuppc”, as mentioned above), and then transfer the key to the client machines.
First, log into the BackupPC user with the following command:
sudo su - backuppc
You will probably be presented with only a minimal prompt, represented by the dollar sign ($).
Generate an SSH key pair by typing:
You will be asked a number of questions. Just type “Enter” through all of the prompts to accept the default values.
Transferring the SSH Public Key
You now have a private and public key on your backup server. You need to transfer the public key to the root user on each client machine you wish to access.
You can do that by typing:
ssh-copy-id [email protected]client_ip_address
Type “yes” to accept the new server’s identity, and then enter the root password of the remote machine. The key should then be transfered.
Check that your key was transfered correctly by typing:
ssh [email protected]client_ip_address
You should be able to log in without having to type a password.
Get back to the BackupPC server by typing:
Back out of the “backuppc” account by typing “exit” again:
Access the Web Interface
The rest of the guide will be configured through BackupPC’s web interface.
Open a browser and navigate to:
You will be prompted for a username and password. The username is “backuppc” and the password is what you set with the
htpasswd command earlier.
Set Up Client Configuration
On the left-hand side, click on the “Edit Hosts” link.
Click the “Delete” button next to “localhost”, since we are only backing up remote machines.
Next, click “Add”. Fill in the client machine’s IP address. For user, add “backuppc”, since we have given that user SSH access to the host.
Click “Save” at the top of the page.
Configure Transfer Settings
Click on the “Xfer” tab on the top of the page. Under “XferMethod”, select “rsync”. Under “RsyncShareName”, select the path you would like to back up.
You can leave it at “/” to back up the entire computer. You can also click “Add” to add additional areas to back up if you choose not to target the entire computer.
If you are backing up the entire computer, you’ll need to add an “excludes” rule.
In the “BackupFilesExclude” segment, type “*” to match all shares. Then insert the values “/proc” and “/sys” to exclude these directories from back up.
Note: Failure to set up the appropriate exclude rule for the “proc” and “sys” folders can result in a backup that does not finish.
Again, click “Save” at the top of the page to enable your configuration changes.
Configure Backup Schedule
The default backup schedule is:
- Full backup
- Every 7 days
- Keep only newest copy
- Incremental backup
- Every day
- Keep the six most recent backups
If you would like to change the interval, click on the “Schedule” tab on the top bar.
Note: You will notice that full backups have a value of “6.97” in “FullPeriod”, and likewise, incremental backups have a value of “0.97” in the “IncrPeriod” field. These are values corresponding to 7 and 1 day respectively, since it accounts for the time to complete the backup as well.
You can modify the number of backups that the system maintains. You can also specify times when no backup should be performed by setting up “blackouts” where no backup can begin.
In this guide, we will stick with the default values.
Remember to click “Save” if you make any changes.
Run a Manual Backup
To run your first full backup manually, select you client from the “Hosts” drop-down menu in the upper-left corner.
You will be taken to a client summary page. Click “Start Full Backup” under the “User Actions” section.
You will confirm the action on the next page.
Your backup should complete shortly, depending on the size of the droplets.
The files will be stored at:
This value will be printed in the “Backup Summary” portion of the Host summary.
If you click on the “Browse backups” button in the upper-left corner, you can get an overview of the filesystem, as backed up by BackupPC.
Using this tool, you can browse the filesystem and select the files you’d like to restore.
In Ubuntu 10.04 LTS the default install of BackupPC stores all the backups in the directory /var/lib/backuppc which is located on the main hard disk drive /dev/sda. However, I wanted to store all my backups on an external USB hard disk drive /dev/sdb. This post records what I had to do to get this to work.
Reformat the External Hard Disk
The external hard disk drive came with its disk preformatted as an NTFS file system. This file system does not support hard links which are critical for the efficient operation of BackupPC, so first we reformat the disk to EXT4 (a file system that does support hard links).
Display the partitions (I use parted rather than fdisk because its display is a bit clearer):
sudo parted -l
Create an new /dev/sdb1 partition (here I use with fdisk because parted could not create EXT4 file systems):
sudo fdisk /dev/sdb c (disable msdos mode) u (set units to sectors) d (delete partition 1) 1 n (create new primary partition 1) p 1 <Enter>Use default first and last sectors <Enter> w (Write out the new partition table)
Check the /dev/sdb1 partition exists (but the file system column is blank):
sudo parted -l
Now we make the EXT4 files system:
sudo mkfs -t EXT4 /dev/sdb1
Now check the partition is now EXT4:
sudo parted -l
Now we actuall install BackupPC:
sudo apt-get install backuppc
Set the password for account ‘backuppc’:
sudo htpasswd /etc/backuppc/htpasswd backuppc
Point your web browser at http:/backuppc and log in as ‘backuppc’ with the password you have just set up. The BackupPC Server Status page should be displayed (it doesn’t matter if there are some failed backups listed at the bottom of the page).
Copy the Data Directory Contents
Copy the BackupPC data directory contents to the external hard disk drive:
sudo cp -r /var/lib/backuppc /media/usb0
And set its owner to ‘backuppc’:
sudo chown -R backuppc:backuppc /media/usb0/backuppc
Check the new data directory is present and has the right permissions:
sudo ls -al /media/usb0
And check its contents:
sudo ls -al /media/usb0/backuppc
Set up a Symbolic Link from the Old Location to the New
Remove the old BackupPC data directory:
sudo rm -r /var/lib/backuppc
And replace it with a symbolic link to the new data directory (note the order of the parameters is target path before link path):
sudo ln -s /media/usb0/backuppc /var/lib/backuppc
Set the owner of the symbolic link to ‘backuppc’:
sudo chown -h backuppc:backuppc /var/lib/backuppc
Check the symbolic link is present and has the right permissions:
sudo ls -al /var/lib
And check that it links to the right contents:
sudo ls -al /var/lib/backuppc
Restart the server (just to make sure everything reinitializes):
sudo shutdown -r now
Point your web browser at http:/backuppc. The BackupPC Server Status page should be displayed. BackupPC is running with the data directory on the external hard disk drive.