Installing the Swiftly Clients to the Cloud Files

Swiftly can be called as a client tool which is being used for uploading the objects to and then downloading the objects from the Cloud Files account. Here the swiftly manages the storage of larger objects in the Cloud files. If you are having a very large object, here the Swiftly splits the file into some smaller segments then creating the large objects which is manifested for you.


Installation Process of Swiftly on Ubuntu

Here the instructions that have been provided were verified on the server. You can use the following instructions from the bash shell on the server.

Updating the apt-get database.

sudo apt-get update


Installation of Python installer, pip, using the apt-get.

sudo apt-get install python-pip

Installation of Swiftly using pip.

sudo pip install swiftly



 

Installation of Swiftly on CentOS

Here the instructions were verified on the server which is built on the CentOS 6.5 public image. Here invoking the following instructions from the bash shell on the server.


Installation of Python installer, pip and usage of yum.

sudo yum install python-pip

If you are getting the error which says that the package cant be found, then the EPEL repository needs to be enabled. For information on setting up of the repository on the system you will be required to install the EPEL and additional repositories on CentOS as well as the Red Hat. Here when the EPEL is enabled, here for running the installation command for the pip again.


You need to install swiftly using the pip.

Installation of swiftly using pip
sudo pip install swiftly

 

Installation of GNU Screen Optionally

Here the GNU Screen is a program which can be used to start a screen session. Here the screen session would be looking just like an ordinary shell except for the fact that you will be able to “detach” the terminal from the screen session, and whatever commands are running in the session. Here this type of functionality is useful when when a long running process is started from the command line. In this case if the laptop battery dies or the wireless connection is being lost or if it is disconnected the process will continue to run in the screen session.

Installation of screen in the Ubuntu

Invoking the following command from the bash shell.


sudo apt-get install screen


Installation screen in the CentOS

Invoking the following command from the bash shell.


sudo yum install screen

Getting Started with the screen program


For starting the screen program, you need to run the following command. Here the -s option will be telling the program of what shell is to be used. Here the -S option also provides the names for the sessions which is very helpful if you are having several number of screens which is running at the same time.


screen -s /bin/bash -S display-Name-For-Screen

Once the screen program has been started you will be regularly able to enter the bash commands. Here the screen commands as those which is requesting to do something and are escaped with Control-a. Here some of the screen commands are single character for detaching it from the screen you will be required to type the following command:

C-a d


Here the other screen commands are longer. You will be required to use the C-a and then you will be required to type the rest of the command that is on the status line of the screen window. You can log into the screens output to a file so that you will be able to go back and review it later by typing the command as shown below:


C-a :

C-a : logfile name-of-log-file
C-a : log

 

Here the first command will be setting up the name of the file in which the log has been recorded. In the second command it will toggling logging in on and off. If this is the first time you have typed in it will be turned to logging on.

Here we encourage on creating the log on screen output so that you will be having the record of everything that has happened while you were being detached from the screen.

For exiting the full screen mode you just need to type Control-d.