From ff5d039871fdbe2a11647806a41cf44bc31e7a1e Mon Sep 17 00:00:00 2001 From: Rick Sherman Date: Wed, 26 Mar 2014 15:29:53 -0500 Subject: [PATCH] Update Installation Notes Updated installation notes for Ubuntu/Debian, Fedora, and FreeBSD. --- INSTALL-FEDORA.md | 38 ++++++++++++++++++++++++++++++++ INSTALL-FREEBSD.md | 37 +++++++++++++++++++++++++++++++ INSTALL-UBUNTU-12.04LTS.md | 23 ------------------- INSTALL-UBUNTU-DEBIAN.md | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 120 insertions(+), 23 deletions(-) create mode 100644 INSTALL-FEDORA.md create mode 100644 INSTALL-FREEBSD.md delete mode 100644 INSTALL-UBUNTU-12.04LTS.md create mode 100644 INSTALL-UBUNTU-DEBIAN.md diff --git a/INSTALL-FEDORA.md b/INSTALL-FEDORA.md new file mode 100644 index 000000000..a5885bf2c --- /dev/null +++ b/INSTALL-FEDORA.md @@ -0,0 +1,38 @@ +### Installation on stock Fedora + +The following are instructions for setting up a system starting from a stock system images. + +These instructions were tested on a 64-bit systems from https://github.com/opscode/bento, and using the _Junos PyEZ_ library version 0.0.5. + +Operating Systems +--------------- +- Fedora 19 +- Fedora 20 + +#### Step 1: Install packages for Junos PyEZ + + sudo yum install -y python-pip python-devel libxml2-devel libxslt-devel gcc openssl + +#### Step 2: Install Junos PyEZ + + sudo pip install junos-eznc + +#### Step 3: Verify + +Once you've completed the above step, you should be able to create a `Device` instance, connect to a Junos system, and display the "facts", as illustrated in the README.md file. + +Enjoy! + + +#### Installing from GitHub + +Development code can be installed directly from GitHub based on any branch, commit, or tag. + +** Packages from Step 1 are required. ** + + sudo yum install -y git + sudo pip install git+https://github.com/Juniper/py-junos-eznc.git + + or + + sudo pip install git+https://github.com/Juniper/py-junos-eznc.git@ diff --git a/INSTALL-FREEBSD.md b/INSTALL-FREEBSD.md new file mode 100644 index 000000000..2c7f0ec7c --- /dev/null +++ b/INSTALL-FREEBSD.md @@ -0,0 +1,37 @@ +### Installation on stock FreeBSD + +The following are instructions for setting up a system starting from a stock system images. + +These instructions were tested on a 64-bit systems from https://github.com/opscode/bento, and using the _Junos PyEZ_ library version 0.0.5. + +Operating Systems +--------------- +- FreeBSD 9.2 + +#### Step 1: Install packages for Junos PyEZ + + sudo pkg_add -r py27-pip libxml2 libxslt + +#### Step 2: Install Junos PyEZ + + sudo pip install junos-eznc + +#### Step 3: Verify + +Once you've completed the above step, you should be able to create a `Device` instance, connect to a Junos system, and display the "facts", as illustrated in the README.md file. + +Enjoy! + + +#### Installing from GitHub + +Development code can be installed directly from GitHub based on any branch, commit, or tag. + +** Packages from Step 1 are required. ** + + sudo pkg_add -r git + sudo pip install git+https://github.com/Juniper/py-junos-eznc.git + + or + + sudo pip install git+https://github.com/Juniper/py-junos-eznc.git@ diff --git a/INSTALL-UBUNTU-12.04LTS.md b/INSTALL-UBUNTU-12.04LTS.md deleted file mode 100644 index 9e20a8247..000000000 --- a/INSTALL-UBUNTU-12.04LTS.md +++ /dev/null @@ -1,23 +0,0 @@ -### Installation on stock Ubuntu 12.04 LTS - -The following are instructions for setting up a system starting from a stock Ubuntu 12.04 LTS system ISO image, downloaded from [here](http://www.ubuntu.com/download/desktop). These instructions were tested on a 32-bit system, and using the _Junos PyEZ_ library version 0.0.5. - -#### Step 1: Update system packages - -Once you've installed the base OS, you should then perform the package update process. This will update the existing packages on the system. This will ensure that you have at least Python 2.7.3, as it is of the time of this writing. You will then need to reboot your system to take effect. - -#### Step 2: Install packages for Junos PyEZ - - sudo apt-get install -y curl git - sudo apt-get install -y libxml2-dev libxslt-dev libyaml-dev python-dev - sudo apt-get install -y python-setuptools - curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python - sudo pip install junos-eznc - -#### Step 3: Verify - -Once you've completed the above step, you should be able to create a `Device` instance, connect to a Junos system, and display the "facts", as illustrated in the README.md file. - -Enjoy! - - diff --git a/INSTALL-UBUNTU-DEBIAN.md b/INSTALL-UBUNTU-DEBIAN.md new file mode 100644 index 000000000..4f3a3736e --- /dev/null +++ b/INSTALL-UBUNTU-DEBIAN.md @@ -0,0 +1,45 @@ +### Installation on stock Ubuntu and Debian + +The following are instructions for setting up a system starting from a stock system images. + +These instructions were tested on a 64-bit systems from https://github.com/opscode/bento, and using the _Junos PyEZ_ library version 0.0.5. + +Operating Systems +--------------- +- Ubuntu 12.04 +- Ubuntu 12.10 +- Ubuntu 13.10 +- Debian 7.4 + + +#### Step 1: Update package list + + sudo apt-get update + +#### Step 2: Install packages for Junos PyEZ + + sudo apt-get install -y python-pip python-dev libxml2-dev libxslt-dev + +#### Step 3: Install Junos PyEZ + + sudo pip install junos-eznc + +#### Step 4: Verify + +Once you've completed the above step, you should be able to create a `Device` instance, connect to a Junos system, and display the "facts", as illustrated in the README.md file. + +Enjoy! + + +#### Installing from GitHub + +Development code can be installed directly from GitHub based on any branch, commit, or tag. + +** Packages from Step 2 are required. ** + + sudo apt-get install -y git + sudo pip install git+https://github.com/Juniper/py-junos-eznc.git + + or + + sudo pip install git+https://github.com/Juniper/py-junos-eznc.git@