Line 112:
Line 112:
HAProxy in Action.
HAProxy in Action.
−
+
Image 9
[[File:Aspect_your_webpage.JPG|500px]]
[[File:Aspect_your_webpage.JPG|500px]]
Line 123:
Line 123:
For this part, will be referred to the administration of our application, there are two ways, the first is by CLI (command line based Ruby) and the second, more declarative form, console and SSH.
For this part, will be referred to the administration of our application, there are two ways, the first is by CLI (command line based Ruby) and the second, more declarative form, console and SSH.
+
+
I chose the easiest way I've intuitive, which is the second option for this tutorial.
+
+
Hands to work.
+
+
We need a SSH / FTP client like WinSCP and PuTTY.
+
+
We download and install.
+
+
Image 10
+
[[File:Folder_WinSCP_-_PUTTY.JPG|500px]]
+
+
Inside the folder where you installed WinSCP, find the folder PuTTY and inside this folder, the puttygen.exe program, this program is important because it is the one that will help us generate our SSH access, to connect to our Gear.
+
+
Click in puttygen.
+
+
image 11
+
[[File:Puttygen_initial.JPG]]
+
+
We leave the default values, SSH-2 RSA, and the number of bits in 2048.
+
+
With these values and will have a key, heavily encrypted.
+
+
Image 12
+
[[File:Puttygen_generating.JPG]]
+
+
To generate our key, we must move the mouse pointer constantly in the blank space of program.
+
+
[[File:Puttygen_generate_end.JPG]]
+
+
Once our key generation is complete, we will add a passphrase.
+
+
Click Save public key to save our public key, we give the name of rsa.pub, do the same with save private key, and give the name of rsa.ppk.
+
+
A public key is like a lock on a door and the private key is like a key that opens the lock.
+
+
We mark the generated code in the text area and copy it, then we go to our OpenShift console.
+
+
[[File:Settings_openshift_copy_public_key.JPG|500px]]
+