Getting ready

This recipe needs Fabric to be installed first on your local machine. You can install Fabric using the Python packing tools, pip or easy_install, as shown in the following command:

$ pip install fabric  

Here, we will connect the remote host using the SSH protocol. So, it's necessary to install and run the SSH server on the remote host. It is also assumed that the Apache web server is installed and running on the remote server. On a Debian/Ubuntu machine, this can be done with the package manager, apt-get, as shown in the following command:

$ sudo apt-get install openssh-server apache2  
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.196.146