Cloud with Redhat OpenShift Flex: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 108: Line 108:
Click on the link Web load Balancer.
Click on the link Web load Balancer.


Image 8<br />
[[File:HAProxy.JPG|500px]]
[[File:HAProxy.JPG|500px]]


HAProxy in Action.
HAProxy in Action.


Image 9
Image 9<br />
[[File:Aspect_your_webpage.JPG|500px]]
[[File:Aspect_your_webpage.JPG|500px]]


Line 132: Line 133:
We download and install.
We download and install.


Image 10
Image 10<br />
[[File:Folder_WinSCP_-_PUTTY.JPG|500px]]
[[File:Folder_WinSCP_-_PUTTY.JPG|500px]]


Line 139: Line 140:
Click in puttygen.
Click in puttygen.


image 11
image 11<br />
[[File:Puttygen_initial.JPG]]
[[File:Puttygen_initial.JPG|300px]]


We leave the default values, SSH-2 RSA, and the number of bits in 2048.
We leave the default values, SSH-2 RSA, and the number of bits in 2048.
Line 146: Line 147:
With these values and will have a key, heavily encrypted.
With these values and will have a key, heavily encrypted.


Image 12
Image 12<br />
[[File:Puttygen_generating.JPG]]
[[File:Puttygen_generating.JPG|300px]]


To generate our key, we must move the mouse pointer constantly in the blank space of program.
To generate our key, we must move the mouse pointer constantly in the blank space of program.


[[File:Puttygen_generate_end.JPG]]
Image 13<br />
[[File:Puttygen_generate_end.JPG|300px]]


Once our key generation is complete, we will add a passphrase.
Once our key generation is complete, we will add a passphrase.
Line 161: Line 163:
We mark the generated code in the text area and copy it, then we go to our OpenShift console.
We mark the generated code in the text area and copy it, then we go to our OpenShift console.


Image 14<br />
[[File:Settings_openshift_copy_public_key.JPG|500px]]
[[File:Settings_openshift_copy_public_key.JPG|500px]]
Paste the code into Paste the contents of your public key file (. Pub) and click Save.
Image 15<br />
[[File:Settings_openshift_public_key_saved.JPG|500px]]
Perfect OpenShift now has our lock and we have the key.
Now we go to the Applications tab in our console OpenShift.
Click on our application startdolibarr.
Click in Want to log in to your application?.
Image 16<br />
[[File:SourceCode_and_Remote_Access.JPG500px]]
Copy the code ssh 53641a41e0b8cdf5ec000b76@startdolibarr-sdme.rhcloud.com
We opened our WinSCP.
Image 17<br />
[[File:Login_WinSCP.JPG]]
We put the first part, 53641a41e0b8cdf5ec000b76 before the @ in the User name field, and the second part, startdolibarr-sdme.rhcloud.com after the @ in the Host name field.
It is advisable not to place the password / passphrasse, at this point, for security reasons. We'll use it later.
Click in Advanced.
Image 18<br />
[[File:Login_WinSCP_SSH_private_Key.JPG]]
In Private key file: select your private key rsa.ppk, click OK, click save, and click Login.
Image 19<br />
[[File:Warning_connect_to_WinSCP.JPG]]
When we leave this nice window click Yes.
Image 20<br />
[[File:WinSCP_login_passphrasse.JPG]]
Here we place our passphrase and click OK.




155

edits

Navigation menu