Top 6 Partition Managers (CLI + GUI) for Linux

Are you looking to tweak or manage your disks partitions in Linux? In this article, we will review some of the best tools that help Linux users partition and manage their disks. We will see both command line utilities as well as GUI applications for managing disk partitions in Linux.

Read Also9 Tools to Monitor Linux Disk Partitions and Usage in Linux

I favor the command line over GUI (graphical user interface), I will start by describing the text based utilities and then GUI applications as follows.

1. Fdisk

fdisk is a powerful and popular command line tool used for creating and manipulating disk partition tables. It supports multiple partition tables formats, including MS-DOS and GPT. It provides a user-friendly, text based and menu driven interface to display, create, resize, delete, modify, copy and move partitions on disks.

Fdisk Partition Tool

Fdisk Partition Tool

2. GNU Parted

Parted is a popular command line tool for managing hard disk partitions. It supports multiple partition table formats, including MS-DOS, GPT, BSD and many more. With it, you can add, delete, shrink and extend disk partitions along with the file systems located on them.

Parted Partition Program

Parted Partition Program

It can help you create space for installing new operating systems, reorganizing disk usage, and move data to new hard disks.

3. Gparted

GParted is a free, cross platform and advanced graphical disk partition manager that works on Linux operating systems, Mac OS X and Windows.

GParted Partition Manager and Editor

GParted Partition Manager and Editor

It is used to resize, copy, move, label, check or delete partitions without data loss, enabling you to grow or shrink root partition, create space for new operating systems and attempt data rescue from lost partitions. It can be used to manipulate file systems including EXT2/3/4.

4. GNOME Disks a.k.a ( GNOME Disks Utility)

GNOME Disks is a core system utility used for disk partition management and S.M.A.R.T monitoring. It is used to format and create partition on drives, mount and unmount partitions. It ships in with the well known GNOME desktop environment.

Gnome Disks

Gnome Disks

Lately, it’s been gaining features for advanced usage. The latest version (at the time of this writing) has a new feature for adding, resizing partitions, checking filesystems for any damages and repairing them.

5. KDE Partition Manager

KDE partition manager is a useful graphical utility for managing disk devices, partitions and file systems on your computer. It comes with the KDE desktop environment.

KDE Partition Manager

KDE Partition Manager

Most of its underlying work is performed by programs. It can be used to easily create, copy, move, delete, resize without losing data, backup and restore partitions. It supports various including EXT2/3/4, BTRFS NTFS, FAT16/32, XFS, and more.

6. Qtparted

In addition, you can also use Qtparted, is a Partition Magic (proprietary software for Windows) clone and Qt front-end to GNU Parted. Note that it still in development and you may likely experience any kind of problem with latest release. In that case try to use the CVS version or a previous stable version.

QTParted Partition Magic

QTParted Partition Magic

It may not be one of the best options now but you can give it a try. More features are yet being added to it.

You might also like to read these following related articles.

  1. 4 Tools to Manage EXT2, EXT3 and EXT4 Health in Linux
  2. 3 Useful GUI and Terminal Based Linux Disk Scanning Tools
  3. Recover Deleted or Lost Files in Linux

These are the best partition managers and editors available for Linux operating systems. Which tool do you use?

Source

24 Outstanding Backup Utilities for Linux Systems in 2018

Backup on personal computers or servers is always important to prevent permanent data loss. Therefore getting to know different backup tools is very important especially for System Administrators who work with large amounts of enterprise level data and even on personal computers.

Linux Backup Tools

11 Linux Backup Tools

It is always a good practice to keep on backing up data on our computers, this can either be done manually or configured to work automatically. Many backup tools have different features that allow users to configure the the type of backup, time of backup, what to backup, logging backup activities and many more

In this article, we shall take a look at 24 outstanding backup tools that you can use on Linux servers or systems.

Honorable Mention – CloudBerry Backup

CloudBerry Backup for Linux is a cross-platform cloud backup solution with advanced backup configuration settings and providing total security of data.

CloudBerry Backup for Linux

CloudBerry Backup for Linux

With this tool you can backup files and folders to the cloud storage of your choice: it supports more than 20wide-known cloud storage services. CloudBerry Backup works with Ubuntu, Debian, Suse, Red Hat and other Linux distributions and is also compatible with Windows and Mac OSs.

The primary backup features are:

  • Compression
  • 256-bit AES Encryption
  • Scheduled backup
  • Incremental backup
  • Command line interface
  • Retention policy and more.

1. Rsync

It is a command line backup tool popular among Linux users especially System Administrators. It feature rich including incremental backups, update whole directory tree and file system, both local and remote backups, preserve file permissions, ownership, links and many more.

It also has a graphical user interface called Grsync but one advantage with the rsync is that backups can be automated using scripts and cron jobs when used by experienced System Administrators on the command line.

Rsync Backup Tool

Rsync Backup Tool

We’ve covered so many articles on rsync tool in the past, you can go through them below:

  1. 10 Useful Commands on Linux Rsync Tool
  2. Sync Two Servers Using Rsync on Non-Standard SSH Port
  3. Sync Two Apache Linux Web Servers Using Rsync Tool

2. Fwbackups

It is free and open source software which is cross platform and feature rich and users can contribute to it’s development or just participate in testing it. It has an intuitive interface that allows users to do backups easily.

It has features such as:

  1. Simple interface
  2. Flexibility in backup configuration
  3. Remote backups
  4. Backup entire file system
  5. Exclude files and directories plus many more

fwbackups for Linux

fwbackups for Linux

Visit Homepage: http://www.diffingo.com/oss/fwbackups

3. Bacula

It is open source data backup, recovery and verification software that is designed to be enterprise ready with certain complexities, though these complexities actually define it’s powerful features such as backup configurations, remote backups plus many more .

It is network based and is made up of the following programs:

  1. a director : program that supervises all operations of Bacula.
  2. a console : program that allows a user to communicate with the Bacula director above.
  3. a file: program that is installed on the machine to be backed up.
  4. storage: program that is used to read and write to your storage space.
  5. catalog: program responsible for the databases used.
  6. Monitor: program that keeps track of all events happening in different parts of Bacula.

Bacula Backup Tool for Linux

Bacula Backup Tool for Linux

Visit Homepage: http://www.bacula.org/

4. Backupninja

It is powerful backup tool that allows users to design backup activity configuration files that can be drooped in /etc/backup.d/ directory. It helps to perform secure, remote and also incremental backups over a network.

It has got the following features:

  1. Easy to read ini style configuration files.
  2. Use scripts to handle new types of backups on your system.
  3. Schedule backups
  4. Users can choose when status report emails are mailed to them.
  5. Easily create backup action configuration file with console-based wizard (ninjahelper).
  6. Works with Linux-Vservers.

BackupNinja Tool

BackupNinja Tool

Visit Homepage: https://labs.riseup.net/code/projects/backupninja

5. Simple Backup Suite (sbackup)

It is backup solution for Gnome desktop where users can access all configuration via Gnome interface. Users can use regex to specify file and directory paths during the backup process.

It has the following features:

  1. Creates compressed and uncompressed backups.
  2. Supports multiple backup profiles.
  3. Allows logging, email notifications.
  4. Scheduled backups and manual backups.
  5. Split uncompressed backups into several chunks.
  6. Supports local and remote backups.

Simple Backup sbackup Tool

Simple Backup sbackup Tool

Visit Homepage: https://sourceforge.net/projects/sbackup/

6. Kbackup

It is an an easy to use backup tool for Unix operating system and can be used on Linux. It can create archives and compress them using tar and gzip utilities respectively.

Kbackup has got the following features:

  1. User friendly and menu driven interface.
  2. Support for compression, encryption and double buffering.
  3. Automated unattended backups.
  4. High reliability.
  5. Support for full or incremental backups.
  6. Remote backup across networks.
  7. Portable and extensive documentation among others.

kBackup Tool for Linux

kBackup Tool for Linux

Visit Homepage: http://kbackup.sourceforge.net/

7. BackupPC

It is a cross platform backup software that can run on Unix/Linux, Windows and Mac OS X. It is designed to for enterprise level use with high performance measure. BackupPC can be used on servers, desktop and laptop computers.

It has some of the following features:

  1. File compression to reduce disk space usage.
  2. No need for client side software.
  3. Flexibility during backup restoration
  4. Flexibility in configuring through different parameters.
  5. User notifications about need for backups and so on.

BackupPC Server

BackupPC Server

Visit Homepage: https://backuppc.github.io/backuppc/

8. Amanda

Amanda is an open source software that works on Unix/GNU Linux and Windows. It supports native backup utilities and formats such as GNU tar for backups on Unix/Linux. And for backups on Windows machine, it uses native Windows client. Users can setup a single backup server to store backups from several machines on a network.

Visit Homepage: http://www.amanda.org/

9. Back In Time

It is simple and easy to use backup tool for Linux operating system and works by taking snapshots of specified directories and backing them up.

It has features such as configuring:

  1. Storage location to save snapshots.
  2. Manual or automatic backups.
  3. Directories to backup.

Back in Time Backup

Back in Time Backup

Visit Homepage: https://github.com/bit-team/backintime

10. Mondorescue

This is a free backup and rescue software which is reliable and all features-inclusive. It can perform backups from personal computers, work stations or servers to hard disk partitions, tapes, NFS, CD-[R|W], DVD-R[W], DVD+R[W] and many more.

It also has data rescue and recovery abilities during backup process in case of any destructive events.

Mondorescue Backup Tool for Linux

Mondorescue Backup Tool for Linux

Read More: How to Backup/Clone Linux Systems Using Mondo Rescue

11. Box Backup Tool

It is an open source backup tool and can be configured to work automatically. It has features such as:

  1. Online backups
  2. Backup daemon for automated backups
  3. Storage of backups in files
  4. Data compression and encryption
  5. Tape like behavior
  6. Choice of backup behavior plus many others

Visit Homepage: https://github.com/boxbackup/boxbackup

12. Luckybackup

It is a free powerful, quick, reliable and easy to use backup and sync tool that is powered by the rsync backup tool.

It is feature-rich with features such as:

  1. Preserve ownership and file permissions.
  2. Create multiple backup snapshots.
  3. Advanced options files and directories.
  4. Exclude options and use rsync options and many more.

LuckyBackup Tool

LuckyBackup Tool

Visit Homepage: http://luckybackup.sourceforge.net/

13. Areca

It is an open source backup tool that is intended for personal use and it allows a user to select a set of files or directories to backup and select the backup method and storage location.

It has features such as:

  1. Email notifications about backup process.
  2. Simplicity in use in terms of configurations.
  3. Browse archives and many more.

Visit Homepage: http://www.areca-backup.org/

14. Bareos Data Protection

It is an open source set of programs that allows users to backup, recover and protect data on Linux systems. It is an idea forked from the Bacula backup tool project and works on a network in a client/server architecture.

The basic functionalities are free but payment is required to use professional backup features. It has features of Bacula backup tool.

Visit Homepage: https://www.bareos.org/en/

15. BorgBackup

BorgBackup is a free open source, efficient as well as secure command-line based deduplicating archiver/backup tool with support for compression and authenticated encryption. It can be used to perform daily backups and only changes in files since last backup are archived, using the deduplicating approach.

The following are some its key features:

  • It is easy to install and use.
  • Supports encryption of all data.
  • Uses authenticated encryption technique to ensure secure backups.
  • It is also very fast.
  • Supports space efficient storage.
  • Also supports optional compression of data.
  • Supports remote backups over SSH.
  • Supports mounting backups in the same way as filesystems.

Borg Backup Tool For Linux

Borg Backup Tool For Linux

Visit Homepagehttps://borgbackup.readthedocs.io/en/stable/

16. Restic

Restic is a free open source, efficient, easy-to-use, fast and secure command-line based backup program. It is designed to secure backup data against attackers, in any kind of storage environment.

The following are its key features:

  • It is cross platform, works on Unix-like systems such as Linux, and also Windows.
  • It is easy to install, configure and use.
  • Uses encryption for securing data.
  • Only backs up changes in data.
  • Supports verifying of data in backup.

Restic Backup Tool for Linux

Restic Backup Tool for Linux

Visit Homepagehttps://restic.net/

17. rsnapshot

Rsnapshot is a free open source backup tool for Unix-like operating systems, based on rsync. It is designed to take a filesystem snapshot on local machines, as well as remote hosts over SSH. Rsnapshot supports periodic snapshots and users can automate backups via cron jobs. In addition, it is also efficient in managing disk space used for backups.

Read Morehttps://www.tecmint.com/rsnapshot-a-file-system-backup-utility-for-linux/

18. Burp

Burp is a free open source, efficient, feature-rich and secure backup and restore software. It is designed to work over a network in a client/server architecture (server mode works on Unix-based systems such as Linux, and clients run on Unix-based and Windows systems), and in that case aims to minimize network traffic for reliable results.

Below are the its key features:

  • Supports two independent backup protocols: protocol I and II; each with different features.
  • Supports network backups.
  • Supports resuming of interrupted backups.
  • Supports backing up and restoring files, directories, symlinks, hardlinks, fifos, nodes, permissions as well as timestamps.
  • Also supports scheduling of backups.
  • Supports email notifications about successful or failed backups.
  • Offers a live ncurses monitor on the server.
  • Supports storage data deduplication like many other backup tools.
  • Supports compression of data on a network and in storage.
  • Supports auto signing of SSL certificate authority and client certificate, and many others.

Visit Homepagehttps://burp.grke.org/

19. TimeShift

Timeshift is a backup and restore tool for Linux systems which takes incremental snapshots of filesystem at regular intervals. It works in a similar way as rsnapshot (since it uses rsync and hard-links to create snapshots), but offers certain unique features that are not present in its counterpart. Additionally, it is designed to only backup system files and settings.

The following are key features of Timeshift:

  • Only takes snapshot of system file and settings, user data such as pictures, music, etc are not archived.
  • Takes filesystem snapshots using rsync+hardlinks, or BTRFS snapshots.
  • Supports scheduled snapshots.
  • Supports multiple backup levels with excluding filters.
  • Allows for restoring of snapshots during system runtime or from live devices(such as USB).

Timeshift System Restore Tool for Linux

Timeshift System Restore Tool for Linux

Visit Github Repositoryhttps://github.com/teejee2008/timeshift

20. Duplicity

Duplicity is a free open source, secure and bandwidth-efficient backup tool based on rsync. It creates encrypted backups of directories in tar-format archives and backs them on the local or remote machine over SSH. When launched for the first time, performs a full backup, and in subsequent backups in the future, it only records parts of files that have changed.

Below are ducplicity’s key features:

  • It’s easy-to-use and employs a standard file format.
  • It only tracks and considers changes in files since the last backup.
  • It creates incremental archives that are space efficient.
  • Creates encrypted and/or signed archives for security purposes.
  • Supports signatures and deltas of directories and regular files in tar-format.

Read MoreCreate Encrypted and Bandwidth-efficient Backups Using Duplicity

21. Déjà Dup

Déjà Dup is a simple, secure and easy-to-use backup tool for Linux systems built for encrypted, off-site, and regular backups. It allows for local, remote, or cloud backup storage with services such as Google Drive and Nextcloud.

Deja Dup Backup

Deja Dup Backup

Below are Déjà Dup key features:

  1. Uses duplicity as the backend.
  2. Supports encryption and compression of data.
  3. Supports incremental backs up, allowing you to restore from any particular backup.
  4. Supports scheduling of regular backups.
  5. You can easily integrates it into GNOME desktop environment.

22. UrBackup

UrBackup is an open source easy to setup client/server backup system for Linux, Windows and Mac OS X, that through a mixture of image and file backups carry out both data security and a speedy restoration time.

UrBackup Tool for Linux

UrBackup Tool for Linux

Below are UrBackup key features:

  1. Secure and effieicnt complete and incremental image and file backups via network.
  2. A web interface that displays the status of the clients, current activities and statistics.
  3. Backups reports send to users or administrators.
  4. Easy to use file and image restore using CD/USB drive.
  5. Easy to configure and use file backup access.
  6. E-Mail notifications if a client machine is not backed up for a given amount of time.

23. rclone

Rclone is a powerful command line program written in Go language, used to sync files and directories from multiple cloud storage providers such as: Amazon Drive, Amazon S3, Backblaze B2, Box, Ceph, DigitalOcean Spaces, Dropbox, FTP, Google Cloud Storage, Google Drive, etc.

rclone Sync Data

rclone Sync Data

Summary

Always remember that backup is very important and helps prevent data loss and you can use various backup tools for Linux to carry out regular backup of your data.

You could be using a backup tool that we have not looked at, let us know of it by posting a comment and hope you find the article helpful.

Source

Pybackpack (Python Backpack) Manager tool for Ubuntu and Linux Mint

Pybackpack is an open source simple, powerful and user-friendly file backup utility was written for Gnomedesktop only and released under the GPL, but you can also use it for other desktops too. Like you do for other backup applications. The interface is pretty simple and provides a good design which makes the whole process user friendly and much easier.

The pybackpack tool uses back-end as rdiff-backup program for backups. The benefit of using rdiff-backup is, it do full backup at first time and later backups it takes only updated files. This is very crucial in terms of saving disk space and network bandwidth.

Installing Pybackpack Backup Manager

Open the terminal by hitting “Ctr + Alt + t” and run the following command to install Pybackpack backup manager tool under Ubuntu 12.10/12.04/11.10 and Linux Mint 14/13/12

$ sudo apt-get install pybackpack

Once you’ve installed it, launch it from the Desktop Dash or use the following command.

$ pybackpack

Backup /home directory to CD or DVD

Once you’ve start you will see Home tab with “Go” option, if you click on “Go” button, it will backup your entire /home directory including your personal settingsemailsdocuments and other important files and burn automatically them to a CD or DVD as a iso image file.

backup files to cd/dvd

Pybackpack Backup Files to CD/DVD

Backup /home directory on Local File System

Instead of taking full backup, you can customize your backup by choosing more advanced options by specifying what folders and files you want to include or exclude in your backup. To do this, click on “Backup” tab and then select “New Backup Set” from the drop-down list.

backup files to local

Pybackpack backup files to local

Click on “Edit” option. Now you will see a backup wizard that will guide you through the steps that required to create a set of files for backup, known as “backup set“.

Pybackpack New Backup Set

Create New Backup Set

Give name and description for the backup set and also select destination type as “Local File System” from the drop-down list. Enter the default destination directory where the actual backup will be stored. In my case it would be stored under /home/tecmint/Tecmint-Backup directory.

Plybackpack Backup Set Name

Give Backup Set Name

Now add the files and directories that needs to be included or excluded for the backup set. I have included the following files for backup. Nothing excluded, but you can exclude the files that you don’t want to backup.

  1. /home/tecmint/Desktop
  2. /home/tecmint/Documents
  3. /home/tecmint/Downloads
  4. /home/tecmint/Music
  5. /home/tecmint/Pictures

Pybackpack add files to backup

Include / Exclude Files for Backup

This gives the full summary of backup for review, if you want to make changes you can click on “Back” button. To proceed with the selection and save the backup click on “Forward“.

Pybackpack Backup Summary

Pybackpack Backup Summary

Click on “Apply” to Finish the backup wizard.

Pybackpack Apply Changes

Pybackpack Apply Changes

Finally, click on “Backup” button to create the backup, based on the settings that we have given during the backup set.

Pybackpack Backup

Create Backup

Once backup process over, you will get message as “Backup complete“.

Pybackpack Backup Completed

Pybackpack Backup Completed

To verify, whether backup is successfully completed, go to the backup directory and do “ls -l“. You will see following folders.

Verify Backup Directory

Verify Backup Directory

Are you worrying why there is “rdiff-backup-data” folder, because pybackpack uses rdiff-backup utility to keep the track of incremental backups. So, next time you run the same backup set, it will only take backup of latest and changed files. It is very effective in terms of saving system disk space and bandwidth.

Backup /home directory to Remote System

Instead of taking backups on CD/DVD or Local system, you can also take backup and keep them on remote server directly. Again create a “New Backup Set” and add the username, hostname and location of backup directory of remote host.

Pybackpack remote backup

Pybackpack remote backup

Restore /home directory from Local System

Go to “Restore” tab and select the “Local” and enter your backup destination directory. The restore option automatically detect the name and description of the backup set.

Once I entered the location of backup (i.e. /home/tecmint/Tecmint-Backup), it immediately detect the name and description of the backup set as “Tecmint Home Backup“.

Pybackpack Restore Local

Pybackpack Restore Local

Don’t worry the restore will not overwrite the files and folders, it will create a new folder called “restored_files” under /home directory and restore all files under this directory. For example In my case it would be “/home/tecmint/restored_files/Tecmint Home Backup“.

Restore /home directory from Remote System

Go to “Restore” tab and select the “Remote (SSH)” and enter remote host details like username and hostname/ip address. Give the location of backup directory and click on “Restore” button.

Pybackpack Remote Restore

Pybackpack Remote Restore

Thats it! If you have any questions or queries do reply me using comment section.

Source

CloudBerry Backup for Linux: Review and Installation

When it comes to backups, experience says it’s better to be safe than sorry. Better to have much than not enough – you get the point. In this article, we will present CloudBerry Backup for Linux, a cross-platform cloud backup and disaster recovery software.

As a leading solution in the industry, CloudBerry stands out for its flexibility, reliability, and its wide set of out-of-the-box features. You not only get to choose where to store your data (locally or using a cloud storage service), but also can encrypt it using AES-128 or AES-256.

With the recent release of version 2.5.1, which introduces support for block-level backups, this tool stands out among its crowd of competitors more than ever. This new feature is particularly important if you need to back up large files with relatively minor changes over time.

With both a GUI and a command-line interface, optional compression to save up on bandwidth and decrease storage costs, and no hidden fees for data restore, CloudBerry is hard to beat!

And this is just the top of the iceberg. Believe me – creating, managing, and restoring backups has never been easier, not even in the cloud computing era. Keep reading to find out more!

Installing CloudBerry Backup for Linux

Although CloudBerry is a commercial product, it provides a full-featured trial version that you can use to test-drive the solution. Additionally, a freeware version for personal use (which provides most of the functionality of the Pro edition, except for data encryption) is also available.

Regardless of the version, licenses are one-time off (pay once, get a perpetual license) with an optional yearly maintenance fee that includes support and free upgrades during that period of time.

First, go the download section of Linux cloud backup and click Download. In the next page, choose the link that corresponds to your distribution.

In this article, we will be installing the solution on a CentOS 7 machine. The installation on other distributions is almost identical, so you should not run into any issues if you stick to this tutorial.

To begin, let’s click on the link for CentOS 6/7 and wait for the download to complete:

Download CloudBerry Backup for Linux

Download CloudBerry Backup for Linux

Once done, follow these steps to proceed with the installation of CloudBerry Backup for Linux:

1. Browse to the folder where the binary file was downloaded and double click on it. The following window will pop up. Click Install to continue.

Cloudberry Installation

Cloudberry Installation

When the installation is complete, Install will change to Remove, as you can see in the below image:

CloudBerry Installation Complete

CloudBerry Installation Complete

2. Open a terminal and enter the following commands to request the trial version. Note the pair of single quotes surrounding CloudBerry Backup:

# cd /opt/local/'CloudBerry Backup'/bin

Next, do

./cbb activateLicense -e "YourEmailHere@YourDomain.com " -t "ultimate"

If the above command returns Success, the trial version is ready to use. To launch it, go to the Internet section in your Applications and click CloudBerry Backup. Next, click Continue Trial and Finish to proceed:

CloudBerry Backup Trial Version

CloudBerry Backup Trial Version

Create a Backup Plan and Choose a Storage Provider

Once we have installed the solution and activated the trial version, we will proceed to set up a backup plan.

3. Here you will be able to select where you will store your data. As you can see, CloudBerry is well integrated with all the major cloud storage service providers.

As a Bring-Your-Own-Storage (BYOS) solution, it allows you to leverage any existing cloud services you may already be using.

Select CloudBerry Backup Storage

Select CloudBerry Backup Storage

Regardless of the chosen backup plan, we are assuming that you have already setup the authentication mechanism. In our case we will go with Azure, and once we have entered a display name of our choosing, one of the access keys to our storage account, the account name, and specified a container name, let’s click OK and Continue:

CloudBerry Backup Storage Account Details

CloudBerry Backup Storage Account Details

Next, choose a name for the current backup plan:

Choose CloudBerry Backup Name

Choose CloudBerry Backup Name

Note that, by default, support for block-level backups are disabled. You can choose to enable this feature in this step by checking Use block level backup as you can see below:

CloudBerry Enable Block-Level Backup

CloudBerry Enable Block-Level Backup

When you click Continue, you will be asked to set up a periodic full backup so that the retention policy (more on this in a minute) can be applied on old versions as well.

Now choose the files and folders you want to backup:

Select CloudBerry Backup Files

Select CloudBerry Backup Files

You will then be prompted to indicate the kind of files that you want to include or exclude from your backup. You can also enable All files as well, choose whether to use compression, and the kind of encryption that you want to use:

CloudBerry Backup Compression and Encryption

CloudBerry Backup Compression and Encryption

4. Choose a Retention Policy and a backup schedule that suits your needs. This will tell CloudBerry when and how to delete old backup files. If in doubt, go with the defaults:

CloudBerry Backup Retention Policy

CloudBerry Backup Retention Policy

For the backup schedule, you can choose to run it manually, on a specific date and time, or recurrently on a given frequency. The image below shows a schedule backup that will take place every Friday at 1 pm:

Schedule Cloudberry Backup

Schedule Cloudberry Backup

If you wish, you can enable notifications at this point. Note that you can specify a list of recipients separated by semicolons, modify the subject line, and choose to be notified in all cases or only when a backup fails:

Cloudberry Backup Notifications

Cloudberry Backup Notifications

5. Run the plan now to check if it works as expected:

Cloudberry Backup Summary

Cloudberry Backup Summary

The backup plan will then be executed. Depending on the size of the chosen files and folders, it may take a few minutes (or more) to fully synchronize with the remote storage account.

And this is where the block level capability comes in handy: only the modified parts of your files will be uploaded during subsequent backups – allowing you to save up on bandwidth and time!

When the process is complete, a green checkmark will appear next to the backup plan in CloudBerry. Now let’s check our Azure container to ensure that our files are already there. And voilá! It’s not magic – it’s CloudBerry Backup for Linux:

Verify Cloudberry Backup Files

Verify Cloudberry Backup Files

Testing the CloudBerry Backup Restore Functionality

So far so good – on to testing we go!

6. Remove a file from the source (thinkcspy3_latest.zip). Click Restore in the CloudBerry Backup interface and choose the plan to restore from.

Since the steps to set up a restore plan are similar to setting up a backup plan, we will not go into detail – only summarize in the following image. Each step is self-explanatory. In #6, enter the password that you chose when you created the backup plan earlier:

Cloudberry Backup Restore

Cloudberry Backup Restore

After the restore plan is completed, you should see the file that you removed back in the source. Simple as that!

Summary

In this article, we have explained how to install CloudBerry Backup for Linux, and how to create a backup plan integrated with Microsoft Azure.

Additionally, we showed how easy it is to restore files from the remote storage account back to our machine. Additionally, if you prefer to use the command line to manage backup and restore plans, you can refer to the page of CloudBerry Backup command line interface for Linux.

Easy to install, and much easier to use – totally worth your time and a few bucks to buy a license, isn’t it?

As always, don’t hesitate to let us know if you have any questions or comments about this article. The feedback of our readers is always highly appreciated.

Source

OpenStack in RHEL/CentOS 7

How to Install Your Own Cloud Platform with OpenStack in RHEL/CentOS 7

OpenStack is a free and open-source software platform which provides IAAS (infrastructure-as-a-service) for public and private clouds.

OpenStack platform consists of several inter-related projects that control hardware, storage, networking resources of a datacenter, such as: Compute, Image Service, Block Storage, Identity Service, Networking, Object Storage, Telemetry, Orchestration and Database.

The administration of those components can be managed through the web-based interface or with the help of OpenStack command line.

Install OpenStack in CentOS 7

Install OpenStack in CentOS 7 and RHEL 7

This tutorial will guide you on how you can deploy your own private cloud infrastructure with OpenStackinstalled on a single node in CentOS 7 or RHEL 7 or Fedora distributions by using rdo repositories, although the deployment can be achieved on multiple nodes.

Requirements

  1. Minimal Installation of CentOS 7
  2. Minimal Installation of RHEL 7

Step 1: Initial System Configurations

1. Before you begin preparing the node in order to deploy your own virtual cloud infrastructure, first login with root account and assure that the system is up to date.

2. Next, issue the ss -tulpn command to list all running services.

# ss -tulpn

List All Running Linux Services

List All Running Linux Services

3. Next, identify, stop, disable and remove unneeded services, mainly postfix, NetworkManager and firewalld. At the end the only daemon that would be running on your machine should be sshd.

# systemctl stop postfix firewalld NetworkManager
# systemctl disable postfix firewalld NetworkManager
# systemctl mask NetworkManager
# yum remove postfix NetworkManager NetworkManager-libnm

4. Completely disable Selinux policy on the machine by issuing the below commands. Also edit /etc/selinux/config file and set SELINUX line from enforcing to disabled as illustrated on the below screenshot.

# setenforce 0
# getenforce
# vi /etc/selinux/config

Disable SELinux

Disable SELinux

5. On the next step using the hostnamectl command to set your Linux system hostname. Replace the FQDNvariable accordingly.

# hostnamectl set-hostname cloud.centos.lan

Set Linux System Hostname

Set Linux System Hostname

6. Finally, install ntpdate command in order to synchronize time with a NTP server on your premises near your physical proximity.

# yum install ntpdate 

Step 2: Install OpenStack in CentOS and RHEL

7. OpenStack will be deployed on your Node with the help of PackStack package provided by rdo repository (RPM Distribution of OpenStack).

In order to enable rdo repositories on RHEL 7 run the below command.

# yum install https://www.rdoproject.org/repos/rdo-release.rpm 

On CentOS 7, the Extras repository includes the RPM that actives the OpenStack repository. Extras is already enabled, so you can easily install the RPM to setup the OpenStack repository:

# yum install -y centos-release-openstack-mitaka
# yum update -y

8. Now it’s time to install PackStack package. Packstack represents a utility which facilitates the deployment on multiple nodes for different components of OpenStack via SSH connections and Puppet modules.

Install Packstat package in Linux with the following command:

# yum install  openstack-packstack

9. On the next step generate an answer file for Packstack with the default configurations which will be later edited with the required parameters in order to deploy a standalone installation of Openstack (single node).

The file will be named after the current day timestamp when generated (day, month and year).

# packstack --gen-answer-file='date +"%d.%m.%y"'.conf
# ls

Generate Packstack Answer Configuration File

Generate Packstack Answer Configuration File

10. Now edit the generated answer configuration file with a text editor.

# vi 13.04.16.conf

and replace the following parameters to match the below values. In order to be safe replace the passwords fields accordingly.

CONFIG_NTP_SERVERS=0.ro.pool.ntp.org

Please consult http://www.pool.ntp.org/en/ server list in order to use a public NTP server near your physical location.

Add NTP Server in Packstack

Add NTP Server in Packstack

CONFIG_PROVISION_DEMO=n

Add Provision in Packstack

Add Provision in Packstack

CONFIG_KEYSTONE_ADMIN_PW=your_password  for Admin user

Add Admin Account in Packstack

Add Admin Account in Packstack

Access OpenStack dashboard via HTTP with SSL enabled.

CONFIG_HORIZON_SSL=y

Enable HTTPS for OpenStack

Enable HTTPS for OpenStack

The root password for MySQL server.

CONFIG_MARIADB_PW=mypassword1234

Set MySQL Root Password in OpenStack

Set MySQL Root Password in OpenStack

Setup a password for nagiosadmin user in order to access Nagios web panel.

CONFIG_NAGIOS_PW=nagios1234

Set Nagios Admin Password

Set Nagios Admin Password

11. After you finished editing save and close the file. Also, open SSH server configuration file and uncomment PermitRootLogin line by removing the front hashtag as illustrated on the below screenshot.

# vi /etc/ssh/sshd_config

Enable SSH Root Login

Enable SSH Root Login

Then restart SSH service to reflect changes.

# systemctl restart sshd

Step 3: Start Openstack Installation Using Packstack Answer File

12. Finally start Openstack installation process via the answer file edited above by running the below command syntax:

# packstack --answer-file 13.04.16.conf

Openstack Installation in CentOS

Openstack Installation in Linux

13. Once the installation of OpenStack components is successfully completed, the installer will display a few lines with the local dashboard links for OpenStack and Nagios and the required credentials already configured above in order to login on both panels.

OpenStack Installation Completed

OpenStack Installation Completed

The credentials are also stored under your home directory in keystonerc_admin file.

14. If for some reasons the installation process ends with an error regarding httpd service, open /etc/httpd/conf.d/ssl.conf file and make sure you comment the following line as illustrated below.

#Listen 443 https

Disable HTTPS SSL Port

Disable HTTPS SSL Port

Then restart Apache daemon to apply changes.

# systemctl restart httpd.service

Note: In case you still can’t browse Openstack web panel on port 443 restart the installation process from beginning with the same command issued for the initial deployment.

# packstack --answer-file /root/13.04.16.conf

Step 4: Remotely Access OpenStack Dashboard

15. In order to access OpenStack web panel from a remote host in your LAN navigate to your machine IP Address or FQDN/dashboard via HTTPS protocol.

Due to the fact that you’re using a Self-Signed Certificate issued by an untrusted Certificate Authority an error should be displayed on your browser.

Accept the error and login to the dashboard with the user admin and the password set on CONFIG_KEYSTONE_ADMIN_PW parameter from answer file set above.

https://192.168.1.40/dashboard 

OpenStack Login Dashboard

OpenStack Login Dashboard

Openstack Projects

Openstack Projects

16. Alternatively, if you opted to install Nagios component for OpenStack, you can browse Nagios web panel at the following URI and login with the credentials setup in answer file.

https://192.168.1.40/nagios 

Nagios Login Dashboard

Nagios Login Dashboard

Nagios Linux Monitoring Interface

Nagios Linux Monitoring Interface

That’s all! Now you can start setup your own internal cloud environment. Now follow the next tutorial that will explain how to link the server physical NIC to openstack bridge interface and manage Openstack from web panel.

How to Configure OpenStack Network to Enable Access to OpenStack Instances

This tutorial will guide you on how you can configure OpenStack networking service in order to allow access from external networks to OpenStack instances.

Requirements

  1. Install OpenStack in RHEL and CentOS 7

Step 1: Modify Network Interface Configuration Files

1. Before starting to create OpenStack networks from dashboard, first we need to create an OVS bridge and modify our physical network interface to bind as a port to OVS bridge.

Thus, login to your server terminal, navigate to network interfaces directory scripts and use the physical interface as an excerpt to setup OVS bridge interface by issuing the following commands:

# cd /etc/sysconfig/network-scripts/
# ls  
# cp ifcfg-eno16777736 ifcfg-br-ex

Setup OVS Bridge Interface in OpenStack

Setup OVS Bridge Interface in OpenStack

2. Next, edit and modify the bridge interface (br-ex) using a text editor as illustrated below:

# vi ifcfg-br-ex

Interface br-ex excerpt:

TYPE="Ethernet"
BOOTPROTO="none"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="no"
IPV6_AUTOCONF="no"
IPV6_DEFROUTE="no"
IPV6_FAILURE_FATAL="no"
NAME="br-ex"
UUID="1d239840-7e15-43d5-a7d8-d1af2740f6ef"
DEVICE="br-ex"
ONBOOT="yes"
IPADDR="192.168.1.41"
PREFIX="24"
GATEWAY="192.168.1.1"
DNS1="127.0.0.1"
DNS2="192.168.1.1"
DNS3="8.8.8.8"
IPV6_PEERDNS="no"
IPV6_PEERROUTES="no"
IPV6_PRIVACY="no"

Configure Bridge Network Interface for OpenStack

Configure Bridge Network Interface for OpenStack

3. Do the same with the physical interface (eno16777736), but make sure it looks like this:

# vi ifcfg-eno16777736

Interface eno16777736 excerpt:

TYPE="Ethernet"
BOOTPROTO="none"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="no"
IPV6_AUTOCONF="no"
IPV6_DEFROUTE="no"
IPV6_FAILURE_FATAL="no"
NAME="eno16777736"
DEVICE="eno16777736"
ONBOOT="yes"
TYPE=”OVSPort”
DEVICETYPE=”ovs”
OVS_BRIDGE=”br-ex”

Configure Physical Network Interface for OpenStack

Configure Physical Network Interface for OpenStack

Important: While editing interfaces cards make sure you replace the physical interface name, IPs and DNS servers accordingly.

4. Finally, after you’ve modified edited both network interfaces, restart network daemon to reflect changes and verify the new configurations using ip command.

# systemctl restart network.service
# ip a

Verify Network Configuration

Verify Network Configuration

Step 2: Create a New OpenStack Project (Tenant)

5. On this step we need to use Openstack dashboard in order to further configure our cloud environment.

Login to Openstack web panel (dashboard) with admin credentials and go to Identity -> Projects -> Create Project and create a new project as illustrated below.

Create New OpenStack Project

Create New OpenStack Project

Add OpenStack New Project Details

Add OpenStack New Project Details

6. Next, navigate to Identity -> Users -> Create User and create a new user by filling all the fields with the required information.

Assure that this new user has the Role assigned as a _member_ of the newly created tenant (project).

Create New User in OpenStack Project

Create New User in OpenStack Project

Step 3: Configure OpenStack Network

7. After the user has been created, log out admin from dashboard and log in with the new user in order to create two networks (internal network and external).

Navigate to Project -> Networks -> Create Network and setup the internal network as follows:

Network Name: internal
Admin State: UP
Create Subnet: checked

Subnet Name: internal-tecmint
Network Address: 192.168.254.0/24
IP Version: IPv4
Gateway IP: 192.168.254.1

DHCP: Enable

Use the below screenshots as a guide. Also, replace the Network NameSubnet Name and IP addresses with your own custom settings.

Login as User to OpenStack Dashboard

Login as User to OpenStack Dashboard

Create Network for OpenStack

Create Network for OpenStack

Create Network Subnet for OpenStack

Create Network Subnet for OpenStack

Enable DHCP for OpenStack

Enable DHCP for OpenStack

8. Next, use the same steps as above to create the external network. Make sure the IP address space for external network is in the same network range as your uplink bridge interface IP address range in order to work properly without extra routes.

Therefore, if the br-ex interface has 192.168.1.1 as a default gateway for 192.168.1.0/24 network, the same network and gateway IPs should be configured for external network too.

Network Name: external
Admin State: UP
Create Subnet: checked

Subnet Name: external-tecmint
Network Address: 192.168.1.0/24
IP Version: IPv4
Gateway IP: 192.168.1.1

DHCP: Enable

Create External Network for OpenStack

Create External Network for OpenStack

Create Subnet for External Network

Create Subnet for External Network

Enable DHCP for External Network

Enable DHCP for External Network

Again, replace the Network NameSubnet Name and IP addresses according to your own custom configurations.

9. On the next step we need to log in OpenStack dashboard as admin and mark the external network as Externalin order to be able to communicate with the bridge interface.

Thus, login with admin credentials and move to Admin -> System-> Networks, click on the external network, check the External Network box and hit on Save Changes to apply the configuration.

Login as Admin in OpenStack Dashboard

Login as Admin in OpenStack Dashboard

Select External Network

Select External Network

Make Network as External Network

Make Network as External Network

External Network Settings Updated

External Network Settings Updated

When done, logout from admin user and log in with the custom user again to proceed to the next step.

10. Finally, we need to create a router for our two networks in order to move packets back and forth. Go to Project -> Network -> Routers and hit on Create Router button. Add the following settings for the router.

Router Name: a descriptive router name
Admin State: UP
External Network: external 

Create Network Router in OpenStack

Create Network Router in OpenStack

11. Once the Router has been created you should be able to see it in the dashboard. Click on the router name, go to Interfaces tab and hit on Add Interface button and a new prompt should appear.

Select the internal subnet, leave the IP Address field blank and hit on Submit button to apply changes and after a few seconds your interface should become Active.

Add New Network Interface in OpenStack

Add New Network Interface in OpenStack

Configure Network Interface

Configure Network Interface

12. In order to verify OpenStack network settings, go to Project -> Network -> Network Topology and a network map will be presented as illustrated on the below screenshot.

Verify OpenStack Network Topology

Verify OpenStack Network Topology

That’s all! Your OpenStack network is now functional and ready for virtual machines traffic. On the next topic we’ll discuss how to create and launch an OpenStack image instance.

How to Create, Deploy and Launch Virtual Machines in OpenStack

In this guide we will learn how to create images and launch an instance of an image (virtual machine) in OpenStack and how to gain control over an instance via SSH.

Requirements

  1. Install OpenStack in RHEL and CentOS 7
  2. Configure OpenStack Networking Service

Step 1: Allocate Floating IP to OpenStack

1. Before you deploy an OpenStack image, first you need to assure that all pieces are in place and we’ll start by allocating floating IP.

Floating IP allows external access from outside networks or internet to an Openstack virtual machine. In order to create floating IPs for your project, login with your user credentials and go to Project -> Compute -> Access & Security -> Floating IPs tab and click on Allocate IP to The Project.

Choose external Pool and hit on Allocate IP button and the IP address should appear in dashboard. It’s a good idea to allocate a Floating IP for each instance you run.

Allocate Floating IP to Project in OpenStack

Allocate Floating IP to Project in OpenStack

Allocate Floating IP to External Pool

Allocate Floating IP to External Pool

Confirmation of Adding Floating IP

Confirmation of Adding Floating IP

Step 2: Create an OpenStack Image

2. OpenStack images are just virtual machines already created by third-parties. You can create your own customized images on your machine by installing an Linux OS in a virtual machine using a virtualization tool, such as KVMVirtualBoxVMware or Hyper-V.

Once you have installed the OS, just convert the file to raw and upload it to your OpenStack cloud infrastructure.

To deploy official images provided by major Linux distributions use the following links to download the latest packaged images:

  1. CentOS 7 – http://cloud.centos.org/centos/7/images/
  2. CentOS 6 – http://cloud.centos.org/centos/6/images/
  3. Fedora 23 – https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/
  4. Ubuntu – http://cloud-images.ubuntu.com/
  5. Debian – http://cdimage.debian.org/cdimage/openstack/current/
  6. Windows Server 2012 R2 – https://cloudbase.it/windows-cloud-images/#download

Official images additionally contain the cloud-init package which is responsible with SSH key pair and user data injection.

On this guide we’ll deploy a test image, for demonstration purposes, based on a lightweight Cirros cloud image which can be obtained by visiting the following link http://download.cirros-cloud.net/0.3.4/.

The image file can be used directly from the HTTP link or downloaded locally on your machine and uploaded to OpenStack cloud.

To create an image, go OpenStack web panel and navigate to Project -> Compute -> Images and hit on Create Image button. On the image prompt use the following settings and hit on Create Image when done.

Name: tecmint-test
Description: Cirros test image
Image Source: Image Location  #Use Image File if you’ve downloaded the file locally on your hard disk
Image Location: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img 
Format: QCOWW2 – QEMU Emulator
Architecture: leave blank
Minimum Disk: leave blank
Minimum RAM: leave blank
Image Location: checked
Public: unchecked
Protected: unchecked

Create Images in OpenStack

Create Images in OpenStack

Add OpenStack Image Details

Add OpenStack Image Details

OpenStack Images

OpenStack Images

Step 3: Launch an Image Instance in OpenStack

3. Once you’ve created an image you’re good to go. Now you can run the virtual machine based on the image created earlier in your cloud environment.

Move to Project -> Instances and hit on Launch Instance button and a new window will appear.

Launch Image Instance in Openstack

Launch Image Instance in Openstack

4. On the first screen add a name for your instance, leave the Availability Zone to nova, use one instance count and hit on Next button to continue.

Choose a descriptive Instance Name for your instance because this name will be used to form the virtual machine hostname.

Add Hostname to OpenStack Instance

Add Hostname to OpenStack Instance

5. Next, select Image as a Boot Source, add the Cirros test image created earlier by hitting the + button and hit Next to proceed further.

Select-OpenStack Instance Boot Source

Select OpenStack Instance Boot Source

Add Cirros Text Image

Add Cirros Text Image

6. Allocate the virtual machine resources by adding a flavor best suited for your needs and click on Next to move on.

Add Resources to OpenStack Instance

Add Resources to OpenStack Instance

7. Finally, add one of the OpenStack available networks to your instance using the + button and hit on Launch Instance to start the virtual machine.

Add Network to OpenStack Instance

Add Network to OpenStack Instance

8. Once the instance has been started, hit on the right arrow from Create Snapshot menu button and choose Associate Floating IP.

Select one of the floating IP created earlier and hit on Associate button in order to make the instance reachable from your internal LAN.

Add Associate Floating IP to OpenStack Instance

Add Associate Floating IP to OpenStack Instance

Manage Floating IP Associations

Manage Floating IP Associations

9. To test the network connectivity for your active virtual machine issue a ping command against the instance floating IP address from a remote computer in your LAN.

Check Network of Virtual Machine in OpenStack

Check Network of Virtual Machine in OpenStack

10. In case there’s no issue with your instance and the ping command succeeds you can remotely login via SSH on your instance.

Use the instance View Log utility to obtain Cirros default credentials as illustrated on the below screenshots.

Instance View Log Utility

Instance View Log Utility

Instance Login Credentials

Instance Login Credentials

11. By default, no DNS name servers will be allocated from the internal network DHCP server for your virtual machine. This problem leads to domain connectivity issues from instance counterpart.

To solve this issue, first stop the instance and go to Project -> Network -> Networks and edit the proper subnet by hitting the Subnet Details button.

Add the required DNS name servers, save the configuration, start and connect to the instance console to test if the new configuration has been applied by pinging a domain name. Use the following screenshots as a guide.

Shutdown Instance

Shutdown Instance

Modify Instance Network Subnet

Modify Instance Network Subnet

Add DNS Servers to Instance

Add DNS Servers to Instance

Check Instance Network Connectivity

Check Instance Network Connectivity

In case you have limited physical resources in your infrastructure and some of your instances refuse to start, edit the following line from nova configuration file and restart the machine in order to apply changes.

# vi /etc/nova/nova.conf

Change the following line to look like this:

ram_allocation_ratio=3.0

Configure Physical Resources in Nova Configuration

Configure Physical Resources in Nova Configuration

That’s all! Although this series of guides just scratched the surface of OpenStack mammoth, now you have the basic knowledge to start create new tenants and use real Linux OS images in order to deploy virtual machines in your own OpenStack cloud infrastructure.

Source

Install Security Patches or Updates Automatically on CentOS and RHEL

One of the serious needs of a Linux system is to be kept up to date regularly with the latest security patches or updates available for the corresponding distribution.

In a previous article, we’ve explained how to configure automatic security update in Debian/Ubuntu, in this article we will explain how to set up your CentOS/RHEL 7/6 distribution to auto update essential security packages when needed.

Other Linux distributions in the same families (Fedora or Scientific Linux) can be configured similarly.

Configure Automatic Security Updates on CentOS/RHEL Systems

On CentOS/RHEL 7/6, you will need to install the following package:

# yum update -y && yum install yum-cron -y

Enable Automatic Security Updates on CentOS/RHEL 7

Once the installation is complete, open /etc/yum/yum-cron.conf and locate these lines – you will have to make sure that the values matches those listed here:

update_cmd = security
update_messages = yes
download_updates = yes
apply_updates = yes

The first line indicates that the unattended update command will be:

# yum --security upgrade

whereas the other lines enable notifications and automatic download and installation of security upgrades.

The following lines are also required to indicate that notifications will be sent via email from root@localhost to the same account (again, you may choose another one if you want).

emit_via = email
email_from = root@localhost
email_to = root

Enable Automatic Security Updates on CentOS/RHEL 6

By default, the cron is configured to download and install all updates immediately, but we can change this behavior in /etc/sysconfig/yum-cron configuration file by modifying these two parameters to yes.

# Don't install, just check (valid: yes|no)
CHECK_ONLY=yes

# Don't install, just check and download (valid: yes|no)
# Implies CHECK_ONLY=yes (gotta check first to see what to download)
DOWNLOAD_ONLY=yes

To enable email notification that about the security package updates, set the MAILTO parameter to a valid mail address.

# by default MAILTO is unset, so crond mails the output by itself
# example:  MAILTO=root
MAILTO=admin@tecmint.com

Finally, start and enable the yum-cron service:

------------- On CentOS/RHEL 7 ------------- 
systemctl start yum-cron
systemctl enable yum-cron

------------- On CentOS/RHEL 6 -------------  
# service yum-cron start
# chkconfig --level 35 yum-cron on

Congrats! You have successfully set up unattended upgrades on CentOS/RHEL 7/6.

Summary

In this article we have discussed how to keep your server updated regularly with the latest security patches or updates. Additionally, you learned how to configure email notifications in order to keep yourself updated when new patches are applied.

If you have any concerns about this article? Feel free to drop us a note using the comment form below. We look forward to hearing from you.

Source

Installation of “Red Hat Enterprise Linux (RHEL) 7.0” with Screenshots

Red HatInc. the largest company in Open Source world, released last month one of their major enterprise products – RHEL 7.0 – Red Hat Enterprise Linux, designed for modern datacenters, new cloud platforms and big data.

RHEL 7 Installation Guide

RHEL 7 Installation Guide

Among other important improvement like switching to systemd, who now manages daemons, processes and other important system resources even for init services that are now passed through systemd start-up, use of Linux Containers with Dockercross-realm trust for Microsoft Active Directory, one important aspect represents the XFS as the default filesystem, which can support filesystems up to 16 exabytes and files up to 8 exabytes.

Requirements:

You must have an active Red Hat subscription to download RHEL 7.0 ISO image from Red Hat Customer Portal.

  1. RHEL 7.0 Binary DVD ISO image

Although RHEL can be installed on a variety of platforms, such as AMD 64, Intel 64, IBM System Z, IBM Power, etc. This tutorial covers the RHEL 7.0 basic minimal installation with on an Intel x86-64 processor architecture using a binary DVD ISO image, an installation best suited for developing a high customizable server platform with no Graphical Interface.

Installation of Red Hat Enterprise Linux 7.0

1. After registering on Red Hat Customer Portal go to Download section and grab the last version of RHEL DVD Binary ISO image, then burn it to a DVD media or create a USB bootable media using Unetbootin LiveUSB Creator.

2. Then place the DVD/USB in your appropriate system drive, start your computer, select bootable unit and on the first RHEL prompt select Install Red Hat Enterprise Linux 7.0.

Install Red Hat Enterprise Linux 7.0

Install Red Hat Enterprise Linux 7.0

3. After the system loads, select the language for installation process and hit on Continue.

Booting RHEL 7

Booting RHEL 7

Select Language for Installation

Select Language for Installation

4. When the installer gets on Installation Summary it’s time to customize the installation process. First click on Date & Time, choose your system location from the provided map and hit on Done to apply configuration.

RHEL 7 Installation Summary

RHEL 7 Installation Summary

Select Date, Time and Location

Select Date, Time and Location

5. The next step is to change Language System Support and Keyboard language. Click on both if you want to change or add other languages to your system but for a server the recommendation is to stick with English language.

Language System Support

Language System Support

6. If you want to use other sources than the ones provided by the DVD media hit on Installation Source and add your Additional Repositories or specify a network location using HTTPHTTPSFTP or NFS protocols then hit on Done to use your new sources. If you can’t provide other sources stick to default one Auto-detected installation media.

Installation Source

Installation Source

Select Network Location

Select Network Location

7. The next important step is to select your system software. Click on Software Selection and choose your Base Installation Environment from the down-list. For a highly customizable platform where you can install only the packages that you need after the installation, choose Minimal Install with Compatibility Libraries Add-ons, then hit on Done to apply this changes to installation process.

Select Software Selection

Select Software Selection

Select RHEL 7 Minimal Installation

Select RHEL 7 Minimal Installation

8. The next important step is to configure your system partitions. Click on Installation Destination, select LVMas partition scheme for a
better management over system space, then hit on Click here to create them automatically.

Installation Destination

Installation Destination

Select LVM Partition Scheme

Select LVM Partition Scheme

9. After the installer presents you with default system partition scheme you can edit in any way that suits you (delete and recreate partitions and mount points, change partitions space capacity and file system type, etc.). As the base scheme for a server you should use dedicated partitions such as:

  1. /boot – 500 MB – non-LVM
  2. /root – min 20 GB – LVM
  3. /home – LVM
  4. /var – min 20 GB – LVM

With XFS filesystem, which is the most advanced filesystem in the world. After editing partitions hit on Update Setting button, then click on Done then Accept Changes on Summary of Changes prompt to apply new configurations.

As a note, if your Hard-Disk is larger than 2TB in size the installer automatically will convert partition table to GPT disks and if you want to use GPT table on disks smaller than 2TB, then you should pass the argument inst.gpt to the boot command line in order to change the default behaviour.

Create /boot Partition

Create /boot Partition

Select /boot Partition Type

Select /boot Partition Type

Create /root Partition

Create /root Partition

Summary of Partition Changes

Summary of Partition Changes

10. The last step before continuing with installation process is setting your Network Connection. Click on Network & Hostname and setup your system hostname. Here you can use your short system hostname or you can append the dot domain (FQDN).

Set System Hostname

Set System Hostname

11. After setting up hostname bring up your Network Interface by switching the top Ethernet button to ON. If your network provides automatic Interface configurations through a DHCP server your IPs should be visible on Ethernet Interface Card else go to Configure button and provide your static network settings for your appropriate network connection.

Enable Ethernet Interface

Enable Ethernet Interface

Enter Static Network Settings

Enter Static Network Settings

12. After finishing editing Ethernet Interface settings hit on Done which you bring you to default window installer and after you check on your installation settings hit on Begin Installation to proceed further with system installation.

Begin RHEL 7 Installation

Begin RHEL 7 Installation

13. As the installation begins writing the system components on your hard-disk, you need to supply your Root Password and create a new User. Click on Root Password and try choose a strong with one at least eight characters in length (alpha-numerical and special characters) and hit in Done when you finish.

RHEL 7 Installation Process

RHEL 7 Installation Process

Set root Password

Set root Password

14. Then move to User Creation and provide your credentials for this new user. A good idea is to use this user as a system administrator with root powers through sudo command by checking the box Make this user administrator, then click on Done and wait for the installation process to finish.

Select User Creation

Select User Creation

Enter User Details

Enter User Details

15. After the installation finishes the installer will announce that everything completed with success so you should be ready to use your system after reboot.

RHEL 7 Installation Complete

RHEL 7 Installation Complete

Congratulation! Remove you installation media and reboot your computer and you can now login to your new minimal Red Hat Linux 7.0 environment and perform other system tasks for beginning like register you system to a Red Hat Subscription, activate your system Repositoriesupdate you system and install other useful tools needed to run day to day tasks.

These all tasks can be discussed in my upcoming article. Till then stay tuned to Tecmint for more such howto’s and don’t forget to give your feedback about the installation.

Source

Installation of “CentOS 7.0″ with Screenshots

This tutorial will guide you on how to perform a minimal installation of latest version of CentOS 7.0, using the binary DVD ISO image, an installation that is best suitable for developing a future customizable server platform, with no Graphical User Interface, where you can install only the software that you need.

CentOS 7 Installation

Installation of CentOS 7

If you want to find out more about what’s new in this release of CentOS 7.0 holds and download links, I suggest reading the previous article on release announcements:

  1. CentOS 7.0 Features and Download ISO Images

Requirements

  1. CentOS 7.0 DVD ISO

CentOS 7.0 Installation Process

1. After downloading the last version of CentOS using above links or using official CentOS download page. Burn it to a DVD or create a bootable USB stick using LiveUSB Creator called Unetbootin.

2. After you have created the installer bootable media, place your DVD/USB into your system appropriate drive, start the computer, select your bootable unit and the first CentOS 7 prompt should appear. At the prompt choose Install CentOS 7 and press [Enter] key.

Install CentOS 7

CentOS 7 Boot Menu

3. The system will start loading media installer and a Welcome screen should appear. Select your Installation Process Language, that will assist you through the entire installation procedure and click on Continue.

CentOS 7 Booting

CentOS Installer Loading

Select Installation Process Language

Select Installation Process Language

4. The next step, present screen prompt is Installation Summary. It contains a lot of options to fully customize your system. First thing you may want to setup is your time settings. Click on Date & Time and select your server physical location from the provided map and hit on upper Done button to apply configuration.

Select Date & Time and Location

Select Date & Time and Location

5. The next step is to choose your Language Support and Keyboard settings. Choose your main and extra language for your system and when you’re finished hit on Done button.

Select Language and Keyboard

Select Language and Keyboard

Select English Language

Select English Language

6. The same way choose your Keyboard Layout by hitting the plus button and test your keyboard configuration using the right input filed. After you finish setting up your keyboard, again hit on upper Done button to apply changes and go back to main screen on Installation Summary.

Choose Keyboard Layout

Choose Keyboard Layout

Choose English Keyboard

Choose English Keyboard

7. On the next step you can customize your installation by using other Installation Sources than your local DVD/USB media, such as a network locations using HTTPHTTPSFTP or NFS protocols and even add some additional repositories, but use this methods only if you know what you’re doing. So leave the default Auto-detected installation media and hit on Done to continue.

Choose Installation Sources

Choose Installation Sources

Auto Detect Installation Type

Auto Detect Installation Type

8. On the next step you can choose your system installation software. On this step CentOS offers a lot of Server and Desktop platform environments that you choose from, but, if you want a high degree of customization, especially if you are going to use CentOS 7 to run as a server platform, then I suggest you select Minimal Installwith Compatibility Libraries as Add-ons, which will install a minimal basic system software and later you can add other packages as your needs require using yum groupinstall command.

Software Selection

Software Selection

Select CentOS 7 Minimal Install

Select CentOS 7 Minimal Install

9. Now it’s time to partition your hard-drive. Click on Installation Destination menu, select your disk and choose I will configure partitioning.

Choose Installation Destination

Choose Installation Destination

Installation Device Selection

Installation Device Selection

10. On the next screen, choose LVM (Logical Volume Manager) as partition layout and, then, click on Click here to create them automatically, option which will create three system partition using XFS filesystem, automatically redistributing your hard-disk space and gathering all LVS into one big Volume Group named centos.

  1. /boot – Non LVM
  2. /(root) – LVM
  3. Swap – LVM

Select LVM Partition Type

Select LVM Partition Type

Create Partitions

Create Partitions

11. If you are not pleased with the default partition layout done automatically by the installer you can completely add, modify or resize your partition scheme and when you finish hit on Done button and Accept Changes on the Summary of Changes prompt.

Summary of Partition Changes

Summary of Partition Changes

NOTE: For those users, who have hard-disks more than 2TB in size, the installer automatically will convert partition table to GPT, but if you wish to use GPT table on smaller disks than 2TB, then you should use the argument inst.gpt to the installer boot command line in order to change the default behaviour.

12. The next step is to set your system hostname and enable networking. Click on Network & Hostname label and type your system FQDN (Fully Qualified Domain Name) on Hostname filed, then enable your Network interface, switching the top Ethernet button to ON.

If you have a functional DHCP server on you network then it will automatically configure all your network setting for enabled NIC, which should appear under your active interface.

Set System Hostname

Set System Hostname

Enable Ethernet Interface

Enable Ethernet Interface

13. If your system will be destined as a server it’s better to set static network configuration on Ethernet NIC by clicking on Configure button and add all your static interface settings like in the screenshot below, and when you’re finished hit on Save button, disable and enable Ethernet card by switching the button to OFF and ON, and, then hit on Done to apply setting and go back to main menu.

Enter Network Settings

Enter Network Settings

14. Now it’s time to start installation process by pressing on Begin Installation button and set up a strong password for root account.

Click on Begin Installation

Click on Begin Installation

CentOS 7 Root Password

Select Root Password

Set Root Password in CentOS 7

Enter Root Password

15. After you finish setting up a strong password for root account move to User Creation and create your first system user. You can designate this user to become a System Admin with root privileges using sudo command by checking the box Make this user administrator, then click on Done to go back on main menu and wait for the installation process to finish.

CentOS 7 Installation Process

CentOS 7 Installation Process

User Creation and Set Password

User Creation and Set Password

16. After the installation process finishes, the installer will show a successfully message on screen, demanding to reboot your system in order to use it.

CentOS 7 Installation Complete

CentOS 7 Installation Complete

Congratulation! You have now installed last version of CentOS on your bare new machine. Remove any installation media and reboot your computer so you can login to your new minimal CentOS 7 environment and perform other system tasks, such as update you system and install other useful software needed to run day to day tasks.

Source

How to Backup Your Files to Amazon S3 Using CloudBerry Backup on Linux

Amazon Simple Storage Service (S3) allows modern businesses to store their data, collect it from a wide variety of sources, and easily analyze it from anywhere. With its robust security, compliance capabilities, management and native analytics tools, Amazon S3 stands out in the cloud storage industry.

On top of this, data is stored redundantly in multiple, physically-separate data centers with independent power substations. In other words, S3 gets you covered no matter what.

What can be more perfect than that? CloudBerry, the #1 cross-platform cloud backup software, can be seamlessly integrated with Amazon S3. This gives you the experience, support, and functionality of 2 heavy weights in one place. Let’s take a few minutes to discover how you can harness the power of these solutions to backup your files in the cloud.

Installing and Activating CloudBerry License

In this article we will install and configure CloudBerry on a CentOS 7 desktop system. The instructions provided in CloudBerry Backup for Linux: Review and Installation should apply with minimal (if any) modifications on other desktop distributions such as UbuntuFedora, or Debian.

The installation process can be summarized as follows:

    1. Download the free trial from the CloudBerry Linux Backup Solution page.
    2. Double click on the file, and choose Install.
    3. Remove the installation file.
    4. To activate the trial license, open a terminal and run the following commands (note the pair of single quotes around CloudBerry Backup in the first one):
# cd /opt/local/'CloudBerry Backup'/bin
# ./cbb activateLicense -e "YourEmailHere@YourDomain.com" -t "ultimate"
  1. Go to the Internet or Office section under your Applications menu.
  2. Choose CloudBerry Backup and Continue trial, then click Finish.

That’s all – now let’s configure CloudBerry to use Amazon S3 as our cloud storage solution.

Configuring CloudBerry + Amazon S3

Integrating CloudBerry and Amazon S3 is a walk in the park:

To begin, click the Settings menu and choose Amazon S3 & Glacier from the list. You will also need to choose a descriptive Display Name, and enter your Access and Secret keys.

These should be available from your Amazon S3 account, as is the Bucket where you will be storing your data. When you’re done, look under Backup Storage to find the newly created backup solution:

Amazon S3 Backup Storage

Amazon S3 Backup Storage

Hint: You can now go to the Backup tab to indicate how many versions of files you want to keep, and whether you want to follow soft links or not, among other settings.

Next, to create a backup plan, choose the Backup menu and the cloud storage we created earlier:

Select Amazon S3 Backup

Select Amazon S3 Backup

Now specify a plan name:

Add Amazon S3 Backup Plan Name

Add Amazon S3 Backup Plan Name

and indicate the location you want to backup:

Select Backup Location

Select Backup Location

Do you want to exclude certain types of files? That’s not a problem:

Exclude Files for Backup

Exclude Files for Backup

Encryption and compression to increase data transfer speeds and security? You bet:

Enable Compression and Encryption on Backup

Enable Compression and Encryption on Backup

You can either use the backup retention policy defined for the whole product, or create one specifically for the current plan. We will go with the first here. Finally, let’s specify the backup frequency or method that best suits our needs:

Specify Backup Frequency

Specify Backup Frequency

At the end of the plan creation, CloudBerry lets you run it. You can either do that or wait until the next scheduled backup to happen. If any errors happen, you will get a notification at the registered email address prompting you to correct what’s wrong.

In the following image we can see that S3 Transfer Acceleration is not enabled in the tecmint bucket. We can either enable it following the instructions provided in Amazon S3 Transfer Acceleration page or remove this feature from our plan’s current configuration.

Amazon S3 Transfer Acceleration Option

Amazon S3 Transfer Acceleration Option

After we have corrected the above issue, let’s run the backup again. This time it succeeds:

CloudBerry Backup Report

CloudBerry Backup Report

Note that you can store multiple versions of the same file(s) as indicated earlier. To distinguish one from another, a timestamp is added at the end of the path (20180317152702) as you can see in the above image.

Restoring Files from Amazon S3

Of course, backing up our files would be useless if we can’t restore them when we need them. To set up a restoration process, click the Restore menu and choose the plan you will be using. Since the steps involved are pretty straightforward, we will not go into detail here. However, let’s summarize the steps as a quick reference:

  • Indicate restore method: restore once (when you press Finish in the last wizard step) or create a Restoreplan to run at a specified time.
  • If you are storing multiple versions of your file(s), you will need to tell CloudBerry if you want to restore the latest version or the one at a specific point in time.
  • Specify the file(s) and directories you want to restore.
  • Enter the decryption password. This is the same that was used to encrypt the file(s) in the first place.

Once done, the restore will be performed automatically. As you can see in the following image, the file tecmintamazons3.txt was restored after being deleted manually from /home/gacanepa:

Restore Files from Amazon S3

Restore Files from Amazon S3

Congratulations! You have set up a complete backup and restore solution in less than 30 minutes.

Summary

In this post we have explained how to backup your file(s) to and from Amazon S3 using CloudBerry. With all the features offered by these 2 tools, you don’t need to look any further for your backup needs.

If you have any questions, feel free to reach us using the comment form.

Source

How to Generate a CSR (Certificate Signing Request) in Linux

SSL Certificates fall into two broad categories: 1) Self-Signed Certificate which is an identity certificate that is signed by the same entity whose identity it certifies-on signed with its own private key, and 2) Certificates that are signed by a CA (Certificate Authority) such as Let’s EncryptComodo and many other companies.

Self-Signed Certificates are commonly used in test environments for LAN services or applications. They can be generated for free using OpenSSL or any related tool. On the other hand, for sensitive, public-facing production services, applications or websites, it is highly recommended to use a certificate issued and verified by a trusted CA.

The first step towards acquiring an SSL certificate issued and verified by a CA is generating a CSR (short for Certificate Signing Request).

In this article, we will demonstrate how to create a CSR (Certificate Signing Request) on a Linux system.

Creating a CSR – Certificate Signing Request in Linux

To create a CSR, you need the OpenSSL command line utility installed on your system, otherwise, run the following command to install it.

$ sudo apt install openssl  [On Debian/Ubuntu]
$ sudo yum install openssl  [On CentOS/RHEL]
$ sudo dnf install openssl  [On Fedora]

Then issue the following command to generate a CSR and the key that will protect your certificate.

$ openssl req -new -newkey rsa:2048 -nodes -keyout example.com.key -out example.com.csr

where:

  • req enables the part of OpenSSL that handles certificate requests signing.
  • -newkey rsa:2048 creates a 2048-bit RSA key.
  • -nodes means “don’t encrypt the key”.
  • -keyout example.com.key specifies the filename to write on the created private key.
  • -out example.com.csr specifies the filename to write the CSR to.

Answer correctly, the questions you will be asked. Note that your answers should match information in legal documents regarding the registration of your company. This information is critically checked by the CA before issuing your certificate.

Generate CSR in Linux

Generate CSR in Linux

After creating your CSR, view the contents of the file using a cat utility, select it and copy it.

$ cat example.com.csr

Copy CSR Key

Copy CSR Key

Then go back to your CA’s website, log in, go to the page will contain the SSL certificate you purchased, and activate it. Then in a window such as the one below, paste your CSR in the correct input field.

In this example, we created a CSR for a multiple domain certificate purchased from Namecheap.

Active CSR from CA Website

Active CSR from CA Website

Then follow the rest of the instructions to initiate activation of your SSL certificate. For more information about OpenSSL command, see its man page:

$ man openssl

That’s all for now! Always remember that the first step to getting your own SSL certificate from a CA is to generate a CSR. Use the feedback form below to ask any questions or share your comments with us.

Source

WP2Social Auto Publish Powered By : XYZScripts.com