GoTeamEpsilon / OpenEMR-Cloud

(MOVED: https://github.com/openemr/openemr-devops) A production grade solution for facilities and hospitals to run their OpenEMR v5 installation in the cloud.
5 stars 6 forks source link

Bash script out steps 18-20 of the Redis EC2 instance setup #30

Closed MatthewVita closed 7 years ago

MatthewVita commented 7 years ago

Bash script out step 18 - 20 of https://github.com/GoTeamEpsilon/OpenEMR-AWS-Guide/blob/master/Other/MRV_working_guide.MD#redis-sessions

It would be great if the user could just copy and execute a bash script. The tricky part in doing this is using Linux tooling (hint: grek, sed, sed) to find the bind statement and comment it out.

MatthewVita commented 7 years ago

@robertogagliotta this would be a great first task for you to work on! Hope you are comfortable with Bash!

robertogagliotta commented 7 years ago

Brainstorming Session Open

MatthewVita commented 7 years ago

Roberto,

Are you familiar with grep/sed/awk?

Thanks, Matthew

robertogagliotta commented 7 years ago

Yes, I was cobol programmer on Unix systems for 5 years back on 2001, In 2001 you probably were on High School. :)

robertogagliotta commented 7 years ago

I have using $ terminal on my ubuntu servers for the last 5 yrs

robertogagliotta commented 7 years ago

Matthew. Slacks said thath my email address robertogagliotta@gmail.com does not belong to any team. I need a invitation: Hello! You're receiving this email because your email address was entered into slack.com/get-started, under "Join an existing team." We searched for Slack teams you've already joined or are allowed to join using robertogagliotta@gmail.com, but we couldn’t find any teams for that address.

If you're looking for a specific team, you can try contacting your Team Administrator for an invitation

MatthewVita commented 7 years ago

In 2001 you probably were on High School. :)

Yup, ha.

Team Administrator for an invitation

I will try again.

robertogagliotta commented 7 years ago

I know you invited me before. I did create the account and test it ok. After that it did not work. I got a new slack account. thanks

robertogagliotta commented 7 years ago

I completed steps 1 - 20 ; Pseudocode for the redish_install.sh:

!/bin/bash

clear sudo apt-get update -y && sudo vi /etc/redis/redis.conf comment 127.0.0.1 sudo service redis-server restart

IF THE USER WAS ABLE TO DO STEPS 1 - 16, STEPS 17-19 WILL BE CAKE ....

What do you think ??

MatthewVita commented 7 years ago

Cool. Maybe try sed -i -- 's/bind 127.0.0.1/#bind 127.0.0.1/g' /etc/redis/redis.conf ?

(untested)

robertogagliotta commented 7 years ago

My point was that this script will not help to the purpose. sorry Matthew I will not spend more time on this.

Sent from my iPhone

On May 13, 2017, at 10:16 PM, Matthew Vita notifications@github.com wrote:

Cool. Maybe try sed -i -- 's/bind127.e0.0.1/#bind 127.0.0.1/g' /etc/redis/redis.conf ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

MatthewVita commented 7 years ago

I see what you mean. It's quite simple for the user.

Thanks

robertogagliotta commented 7 years ago

Hi Matthew Due to my tight schedule I can not continue being part of the Epsilon Team at this time. I wish you all the best with your group. Roberto

On Sun, May 14, 2017 at 2:54 AM, Matthew Vita notifications@github.com wrote:

Closed #30 https://github.com/GoTeamEpsilon/OpenEMR-AWS-Guide/issues/30.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GoTeamEpsilon/OpenEMR-AWS-Guide/issues/30#event-1081236704, or mute the thread https://github.com/notifications/unsubscribe-auth/AFBzEPuP4-_aklHrkEekm1jnvUBxXA0tks5r5s9kgaJpZM4NaGKZ .

MatthewVita commented 7 years ago

@robertogagliotta, I understand. Thanks anyways.