Can't access parallel Linux setup/environment
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I installed a new EC2 instance (Ubuntu 18), followed these instructions for connecting via Putty, updated NodeJS and installed pm2 (these instructions).
Everything worked well. I even set up a pm2 process to run my React app. Then I closed Putty.
Here's the problem: when I SSH back in (same way as before), it looks like my environment rolled back. NodeJS is the old version again and the pm2 command isn't recognized.
Running htop, I see my pm2 process is still running and can confirm that my React app still works. It seems like that all exists in some separate instance or session.
I'm new to Linux so I'm sure I'm missing something basic. Any ideas or tips on how I can get back to my "other" instance?
linux permissions amazon-ec2
New contributor
add a comment |Â
up vote
0
down vote
favorite
I installed a new EC2 instance (Ubuntu 18), followed these instructions for connecting via Putty, updated NodeJS and installed pm2 (these instructions).
Everything worked well. I even set up a pm2 process to run my React app. Then I closed Putty.
Here's the problem: when I SSH back in (same way as before), it looks like my environment rolled back. NodeJS is the old version again and the pm2 command isn't recognized.
Running htop, I see my pm2 process is still running and can confirm that my React app still works. It seems like that all exists in some separate instance or session.
I'm new to Linux so I'm sure I'm missing something basic. Any ideas or tips on how I can get back to my "other" instance?
linux permissions amazon-ec2
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed a new EC2 instance (Ubuntu 18), followed these instructions for connecting via Putty, updated NodeJS and installed pm2 (these instructions).
Everything worked well. I even set up a pm2 process to run my React app. Then I closed Putty.
Here's the problem: when I SSH back in (same way as before), it looks like my environment rolled back. NodeJS is the old version again and the pm2 command isn't recognized.
Running htop, I see my pm2 process is still running and can confirm that my React app still works. It seems like that all exists in some separate instance or session.
I'm new to Linux so I'm sure I'm missing something basic. Any ideas or tips on how I can get back to my "other" instance?
linux permissions amazon-ec2
New contributor
I installed a new EC2 instance (Ubuntu 18), followed these instructions for connecting via Putty, updated NodeJS and installed pm2 (these instructions).
Everything worked well. I even set up a pm2 process to run my React app. Then I closed Putty.
Here's the problem: when I SSH back in (same way as before), it looks like my environment rolled back. NodeJS is the old version again and the pm2 command isn't recognized.
Running htop, I see my pm2 process is still running and can confirm that my React app still works. It seems like that all exists in some separate instance or session.
I'm new to Linux so I'm sure I'm missing something basic. Any ideas or tips on how I can get back to my "other" instance?
linux permissions amazon-ec2
linux permissions amazon-ec2
New contributor
New contributor
New contributor
asked 8 mins ago
dcmalk
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
dcmalk is a new contributor. Be nice, and check out our Code of Conduct.
dcmalk is a new contributor. Be nice, and check out our Code of Conduct.
dcmalk is a new contributor. Be nice, and check out our Code of Conduct.
dcmalk is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476441%2fcant-access-parallel-linux-setup-environment%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password