HMSclient_CLI_install.md
... ...
@@ -0,0 +1,129 @@
1
+## BioGrids installation client CLI
2
+
3
+This page is for the BioGrids CLI (command line interface) software installation client for computers running Linux (CentOS/RHEL 6 or 7 recommended) or Apple OSX computers running MacOSX v10.9 - 10.12.
4
+
5
+Looking to get started with the BioGrids installation client? First, set up an account by registering here : [BioGrids registration](https://biogrids.org/registration/register)
6
+
7
+A GUI version is also available for MacOS / OSX - [installation instructions can be found here](client_install).
8
+[GUI usage info is here](client_usage).
9
+
10
+### Pre-installation requirements
11
+
12
+**Admin access required on your computer.**
13
+ The BioGrids installation client will install the software tree to /opt/hmsgrid and create a symlink from this directory to /programs. While admin privileges are not required to run the application, you will need admin privileges to create /opt/hmsgrid and /programs .
14
+
15
+**Existing BioGrids installations must be renamed or removed.**
16
+ If you have previously installed BioGrids software on your computer at /programs or at /opt/hmsgrid, these directories should be removed or renamed. The client will create these on first run.
17
+
18
+**Hard Drive Space**
19
+ Depending on what you install, ensure you have enough free hard drive space on your machine.
20
+
21
+**For large packages (Phenix, Rosetta, CCP4), a wired connection is recommended.**
22
+ Some packages are quite large and can be slow to download, especially over WiFi.
23
+
24
+**pip**
25
+ pip is a package management system used to install and manage software packages written in Python. The software installation client is installable by pip. This may not be on you machine by default, instructions for adding it are included here.
26
+
27
+### pip - Mac Installation
28
+
29
+ On mac, pip is available from [macports](https://www.macports.org/), [homebrew](http://brew.sh/), and [fink](http://finkproject.org/). It also can be added using **easy_install**. easy_install will install pip into your system python.
30
+
31
+ $ sudo easy_install pip
32
+
33
+###pip - Linux Installation
34
+
35
+ On CentOS6, you can install pip from the EPEL repository (yum -y install python-pip) or as [per these directions](https://pip.pypa.io/en/stable/installing/)
36
+
37
+## CLI client - Installation and activation
38
+**1. Download the latest BioGrids installation client from here.**
39
+
40
+[Latest build : 1.0.555, 2017-02-17](downloads/hmsgrid-1.0.555-py2-none-any.whl)
41
+
42
+**2. Install / Upgrade with pip**
43
+
44
+ $ sudo pip install HMS_Installer-1.0.555-py2-none-any.whl
45
+
46
+ Which should produce output similar to :
47
+
48
+```
49
+Unpacking ./BioGrids_Installer-1.0.555-py2-none-any.whl
50
+Requirement already satisfied (use --upgrade to upgrade): pyasn1 in /nfs/programs-dev/i386-mac/python/2.7.5/lib/python2.7/site-packages (from BioGrids-Installer==1.0.488)
51
+Downloading/unpacking requests (from BioGrids-Installer==1.0b2.dev412)
52
+ Downloading requests-2.11.1.tar.gz (485kB): 485kB downloaded
53
+ Running setup.py egg_info for package requests
54
+
55
+ warning: no files found matching 'test_requests.py'
56
+Installing collected packages: BioGrids-Installer, requests
57
+ Running setup.py install for requests
58
+
59
+ warning: no files found matching 'test_requests.py'
60
+Successfully installed BioGrids-Installer requests
61
+Cleaning up...
62
+```
63
+
64
+The *hmsgrid* command will produce this usage info :
65
+
66
+ $ hmsgrid
67
+
68
+```
69
+usage:
70
+hmsgrid <command> [<command_args>]
71
+
72
+Available commands are:
73
+ activate Activate new installation
74
+ list List available packages
75
+ info Print package metadata
76
+ install Install single package
77
+ install-all Install all packages from collection
78
+ installed List installed packages
79
+ remove Remove installed package
80
+ resume Resume interrupted installations
81
+ upgrades List available upgrades for installed packages
82
+ upgrade Upgrade package to latest version
83
+ upgrade-all Upgrade all packages to latest version
84
+ version Print package version string
85
+hmsgrid: error: too few arguments
86
+
87
+```
88
+
89
+**4. Activate the installation**
90
+Enter your site and key which you should have received these by email.
91
+
92
+ $ hmsgrid activate <site name> <user name> <activation key>
93
+
94
+You may be prompted for your sudo password to create /programs and /opt/hmsgrid.
95
+
96
+**5. On successful activation, list software titles.**
97
+
98
+ $ hmsgrid list
99
+
100
+ If activation continues to fail, you may have an old BioGrids installation at /programs or /opt/hmsgrid. These should be removed.
101
+
102
+You may also be blocked from accessing BioGrids servers on port 873 and port 8080 by your institution's firewall. You can check if you can access [port 873 here](http://portquiz.net:873) and [port 8080 here](http://portquiz.net:8080)
103
+
104
+For help, email *bugs@sbgrid.org.*
105
+
106
+### Installation on an external drive or USB key
107
+Currently the installer application installs the software tree in /opt/hmsgrid and uses a symlink at /programs. This link is required for the software to work, but in principle the software can be located anywhere and linked to /opt/hmsgrid. This functionality is not yet included in the BioGrids application, but can be set up manually with a symlink.
108
+
109
+An installation can be made on an external drive if you first do an install (into /opt/hmsgrid), then move it and symlink to the new location.
110
+
111
+**Example:** 128Gb USB 'key' drives are available on Amazon for 30$ or less and are a nice way to supplement the SSDs that come in Mac laptops. To install on an external drive like this, mount it on your computer. For this example, the mount is */Volumes/hmsgrid_client_install*. Then, using the BioGrids installer, do an initial installation on the hard drive. To make life easy, just do one application. Then close the installer application.
112
+
113
+Next move */opt/hmsgrid* to the USB key at */Volumes/hmsgrid_client_install*. You will likely need sudo for this.
114
+
115
+ $ sudo mv /opt/hmsgrid /Volumes/hmsgrid_client_install/.
116
+
117
+Now we have */Volumes/hmsgrid_client_install/sbgrid*. Create a symlink from */opt/hmsgrid* to */Volumes/hmsgrid_client_install/sbgrid*.
118
+
119
+ $ sudo ln -s /Volumes/hmsgrid_client_install/sbgrid /opt/hmsgrid
120
+
121
+The symlink at */programs* still points to */opt/hmsgrid*, and that is a link that points to the external location. Open the installer and add the desired applications. These will now install to the external drive.
122
+
123
+[BioGrids install client -- Usage info](client_usage)
124
+
125
+### Known issues
126
+
127
+* **rsync required on 873 or 8080**. The application will fail if outbound port 873 and port 8080 are blocked by your institution or are otherwise not available.
128
+
129
+* **Activation Failed**. In some cases the Authorization dialog for admin privileges does not appear during activation. This causes the client activation to fail. This is usually due to a previously existing /programs directory or symlink from a prior installation. This must be removed for activation to be successful. Other users have reported successful activation after a restart.
HMSclient_install.md
... ...
@@ -0,0 +1,67 @@
1
+## BioGrids installation client
2
+
3
+This page is for the BioGrids GUI installation client for Apple OSX computers running MacOSX v10.9 - 10.12 .
4
+
5
+![](images/HMSclient_all.png)
6
+
7
+Looking to get started with the BioGrids installation client? First, set up an account by registering here : [BioGrids registration](https://sbgrid.org/registration/register/hms)
8
+
9
+A command line version is also available for mac and linux - installation instuctions can be found here : [CLI installation](HMSclient_CLI_install).
10
+
11
+Usage info for the GUI and command line clients can be found here : [GUI Usage](client_usage) and here : [CLI usage](client_CLI_usage) respectively.
12
+
13
+### Pre-installation
14
+
15
+**1. Admin access required.**
16
+ The BioGrids installation client will install the software tree to */opt/hmsgrid* and create a symlink from this directory to */programs*. While admin privileges are not required to run the application, you will need admin privileges to create */opt/hmsgrid* and */programs* .
17
+
18
+**2. Existing installations must be renamed or removed.**
19
+ If you have previously installed BioGrids software on your computer at */programs* or at */opt/hmsgrid*, these directories should be removed or renamed. The client will create these on first run.
20
+
21
+**3. Hard Drive Space**
22
+ Depending on what you install, ensure that you have enough free hard drive space on your machine.
23
+
24
+**4. For large packages (Phenix, Rosetta, CCP4), a wired connection is recommended.**
25
+ Some packages are quite large and can be slow to download, especially over WiFi.
26
+
27
+### Installation and activation
28
+
29
+**1. Download the latest BioGrids installation client from here.**
30
+
31
+ [Latest build : 1.0.555, 2017-02-17](downloads/BioGrids_Installer-1.0.555.dmg)
32
+
33
+**2. Mount the .dmg disk image on your Mac.** Copy the 'BioGrids installer.app' to a convenient location - it does not need to be in /Applications. The .app bundle can be run directly from the mounted dmg image with no installation if desired.
34
+
35
+**3. Enter your site, user name, and key.** You should have received these by email.
36
+
37
+![activation](images/client_activation.png)
38
+
39
+On activation you will be prompted to provide admin credentials for your mac. This is to create the */opt/hmsgrid* directory and */programs* symlink.
40
+
41
+![activation](images/client_permissions.png)
42
+
43
+**4. On successful activation, you should see the client populate with software titles.** If not, please close the application and try again. If activation continues to fail, you may have an old BioGrids installation at */programs* or */opt/hmsgrid*. These should be removed. You may also be blocked from accessing BioGrids servers on port 873 and port 8080 by your institution's firewall. You can check if you can access [port 873 here](http://portquiz.net:873) and [port 8080 here](http://portquiz.net:8080)
44
+For help, email *bugs@sbgrid.org.*
45
+
46
+### Installation on an external drive or USB key
47
+Currently the installer application installs the software tree in */opt/hmsgrid* and uses a symlink at */programs*. The */programs* link is required for the software to work, but in principle the software can be anywhere by linking */opt/hmsgrid* to the desired installation point. This functionality is not yet included in the BioGrids application, but can be set up manually post-install with a symlink. First do an install (into */opt/hmsgrid*), then move it to the desired localtion. Then symlink to the new location from */opt/hmsgrid*.
48
+
49
+**Example:** 128Gb USB 'key' drives are available on Amazon for 30$ or less and are a nice way to supplement the small SSDs that come in Mac laptops. To install on an external drive in this way, first mount it on your computer. For this example, the mount is */Volumes/hmsgrid_client_install*. Then, using the BioGrids installer, do an initial installation on the hard drive. To make life easy, just do one application. Then close the installer application.
50
+
51
+Next move **/opt/hmsgrid** to the USB key at */Volumes/hmsgrid_client_install*. You will likely need sudo for this.
52
+
53
+ sudo mv */opt/hmsgrid* /Volumes/hmsgrid_client_install/.
54
+
55
+Now we have */Volumes/hmsgrid_client_install/sbgrid*. Create a symlink from **/opt/hmsgrid** to */Volumes/hmsgrid_client_install/sbgrid*.
56
+
57
+ sudo ln -s /Volumes/hmsgrid_client_install/sbgrid */opt/hmsgrid*
58
+
59
+The symlink at **/programs** still points to **/opt/hmsgrid**, and that is a link that points to the external location. Open the installer and add the desired applications. These will now install to the external drive.
60
+
61
+[BioGrids install client -- Usage info](client_usage)
62
+
63
+### Known issues
64
+
65
+* **rsync required on 873 or 8080**. The application will fail if outbound port 873 and port 8080 are blocked by your institution or are otherwise not available.
66
+
67
+* **Activation Failed**. In some cases the Authorization dialog for admin privileges does not appear during activation. This causes the client activation to fail. This is usually due to a previously existing */programs* directory or symlink from a prior installation. This must be removed for activation to be successful. Other users have reported successful activation after a restart.
client_CLI_install.md
... ...
@@ -2,7 +2,7 @@
2 2
3 3
This page is for the BioGrids CLI (command line interface) software installation client for computers running Linux (CentOS/RHEL 6 or 7 recommended) or Apple OSX computers running MacOSX v10.9 - 10.12.
4 4
5
-Looking to get started with the BioGrids installation client? First, set up an account by registering here : [BioGrids registration](https://sbgrid.org/registration/register/)
5
+Looking to get started with the BioGrids installation client? First, set up an account by registering here : [BioGrids registration](https://biogrids.org/registration/register/)
6 6
7 7
A GUI version is also available for MacOS / OSX - [installation instructions can be found here](client_install).
8 8
[GUI usage info is here](client_usage).
... ...
@@ -10,10 +10,10 @@ A GUI version is also available for MacOS / OSX - [installation instructions can
10 10
### Pre-installation requirements
11 11
12 12
**Admin access required on your computer.**
13
- The BioGrids installation client will install the software tree to /opt/sbgrid and create a symlink from this directory to /programs. While admin privileges are not required to run the application, you will need admin privileges to create /opt/sbgrid and /programs .
13
+ The BioGrids installation client will install the software tree to /opt/biogrids and create a symlink from this directory to /programs. While admin privileges are not required to run the application, you will need admin privileges to create /opt/biogrids and /programs .
14 14
15 15
**Existing BioGrids installations must be renamed or removed.**
16
- If you have previously installed BioGrids software on your computer at /programs or at /opt/sbgrid, these directories should be removed or renamed. The client will create these on first run.
16
+ If you have previously installed BioGrids software on your computer at /programs or at /opt/biogrids, these directories should be removed or renamed. The client will create these on first run.
17 17
18 18
**Hard Drive Space**
19 19
Depending on what you install, ensure you have enough free hard drive space on your machine.
... ...
@@ -37,7 +37,7 @@ A GUI version is also available for MacOS / OSX - [installation instructions can
37 37
## CLI client - Installation and activation
38 38
**1. Download the latest BioGrids installation client from here.**
39 39
40
-[Latest build : 1.0.471, 2017-02-17](downloads/BioGrids_Installer-1.0.471-py2-none-any.whl)
40
+[Latest build : 1.0.555, 2017-02-17](downloads/BioGrids_Installer-1.0.555-py2-none-any.whl)
41 41
42 42
**2. Install / Upgrade with pip**
43 43
... ...
@@ -61,13 +61,13 @@ Successfully installed BioGrids-Installer requests
61 61
Cleaning up...
62 62
```
63 63
64
-The *sbgrid* command will produce this usage info :
64
+The *biogrids* command will produce this usage info :
65 65
66
- $ sbgrid
66
+ $ biogrids
67 67
68 68
```
69 69
usage:
70
-sbgrid <command> [<command_args>]
70
+biogrids <command> [<command_args>]
71 71
72 72
Available commands are:
73 73
activate Activate new installation
... ...
@@ -91,34 +91,34 @@ Enter your site and key which you should have received these by email.
91 91
92 92
$ sbgrid activate <site name> <user name> <activation key>
93 93
94
-You may be prompted for your sudo password to create /programs and /opt/sbgrid.
94
+You may be prompted for your sudo password to create /programs and /opt/biogrids.
95 95
96 96
**5. On successful activation, list software titles.**
97 97
98
- $ sbgrid list
98
+ $ biogrids list
99 99
100
- If activation continues to fail, you may have an old BioGrids installation at /programs or /opt/sbgrid. These should be removed.
100
+ If activation continues to fail, you may have an old BioGrids installation at /programs or /opt/biogrids. These should be removed.
101 101
102 102
You may also be blocked from accessing BioGrids servers on port 873 and port 8080 by your institution's firewall. You can check if you can access [port 873 here](http://portquiz.net:873) and [port 8080 here](http://portquiz.net:8080)
103 103
104 104
For help, email *bugs@sbgrid.org.*
105 105
106 106
### Installation on an external drive or USB key
107
-Currently the installer application installs the software tree in /opt/sbgrid and uses a symlink at /programs. This link is required for the software to work, but in principle the software can be located anywhere and linked to /opt/sbgrid. This functionality is not yet included in the BioGrids application, but can be set up manually with a symlink.
107
+Currently the installer application installs the software tree in /opt/biogrids and uses a symlink at /programs. This link is required for the software to work, but in principle the software can be located anywhere and linked to /opt/biogrids. This functionality is not yet included in the BioGrids application, but can be set up manually with a symlink.
108 108
109
-An installation can be made on an external drive if you first do an install (into /opt/sbgrid), then move it and symlink to the new location.
109
+An installation can be made on an external drive if you first do an install (into /opt/biogrids), then move it and symlink to the new location.
110 110
111
-**Example:** 128Gb USB 'key' drives are available on Amazon for 30$ or less and are a nice way to supplement the SSDs that come in Mac laptops. To install on an external drive like this, mount it on your computer. For this example, the mount is */Volumes/sbgrid_client_install*. Then, using the BioGrids installer, do an initial installation on the hard drive. To make life easy, just do one application. Then close the installer application.
111
+**Example:** 128Gb USB 'key' drives are available on Amazon for 30$ or less and are a nice way to supplement the SSDs that come in Mac laptops. To install on an external drive like this, mount it on your computer. For this example, the mount is */Volumes/biogrids_client_install*. Then, using the BioGrids installer, do an initial installation on the hard drive. To make life easy, just do one application. Then close the installer application.
112 112
113
-Next move */opt/sbgrid* to the USB key at */Volumes/sbgrid_client_install*. You will likely need sudo for this.
113
+Next move */opt/biogrids* to the USB key at */Volumes/biogrids_client_install*. You will likely need sudo for this.
114 114
115
- $ sudo mv /opt/sbgrid /Volumes/sbgrid_client_install/.
115
+ $ sudo mv /opt/biogrids /Volumes/biogrids_client_install/.
116 116
117
-Now we have */Volumes/sbgrid_client_install/sbgrid*. Create a symlink from */opt/sbgrid* to */Volumes/sbgrid_client_install/sbgrid*.
117
+Now we have */Volumes/biogrids_client_install/sbgrid*. Create a symlink from */opt/biogrids* to */Volumes/biogrids_client_install/sbgrid*.
118 118
119
- $ sudo ln -s /Volumes/sbgrid_client_install/sbgrid /opt/sbgrid
119
+ $ sudo ln -s /Volumes/biogrids_client_install/sbgrid /opt/biogrids
120 120
121
-The symlink at */programs* still points to */opt/sbgrid*, and that is a link that points to the external location. Open the installer and add the desired applications. These will now install to the external drive.
121
+The symlink at */programs* still points to */opt/biogrids*, and that is a link that points to the external location. Open the installer and add the desired applications. These will now install to the external drive.
122 122
123 123
[BioGrids install client -- Usage info](client_usage)
124 124
downloads/Biogrids_Installer-1.0.555.dmg
... ...
Binary files /dev/null and b/downloads/Biogrids_Installer-1.0.555.dmg differ
downloads/HMS_Installer-1.0.555.dmg
... ...
Binary files /dev/null and b/downloads/HMS_Installer-1.0.555.dmg differ
downloads/biogrids-1.0.555-Darwin.tgz
... ...
Binary files /dev/null and b/downloads/biogrids-1.0.555-Darwin.tgz differ
downloads/biogrids-1.0.555-Linux.tgz
... ...
Binary files /dev/null and b/downloads/biogrids-1.0.555-Linux.tgz differ
downloads/biogrids-1.0.555-py2-none-any.whl
... ...
Binary files /dev/null and b/downloads/biogrids-1.0.555-py2-none-any.whl differ
downloads/hmsgrid-1.0.555-Darwin.tgz
... ...
Binary files /dev/null and b/downloads/hmsgrid-1.0.555-Darwin.tgz differ
downloads/hmsgrid-1.0.555-Linux.tgz
... ...
Binary files /dev/null and b/downloads/hmsgrid-1.0.555-Linux.tgz differ
downloads/hmsgrid-1.0.555-py2-none-any.whl
... ...
Binary files /dev/null and b/downloads/hmsgrid-1.0.555-py2-none-any.whl differ