Separate names with a comma.
Recommended. Know people from your network.
Don't have an account?Sign up Now
To reset your password, enter the email address you registered with and we"ll send your instructions on their way.
Discussion in 'Cloud Computing' started by Kartikeya Sinha_1, Jun 8, 2019.
Please use this thread for any conversation
first day session was great
Thanks for the community
Good Session today
How to generate a SSH key for Digital ocean and upload to digital ocean.
1. Created a ssh key in simplilearn lab.
2.trying to add in ssh key section for droplet
Please guide me how to create and upload to droplet
Good to see that you liked first day's discussion. I have created a github repository and uploaded class notes.
PFB the link:
Added SCRUM references and State of DevOps report for last 3 years. Will have a discussion today evening on the same.
you have to use the entire key, get the contents of the key by:
Copy the whole thing and paste it in digital ocean
though i attended two classes, in simplilearn it is showing i attended 0 classes
DevOps Practitioner Training
0 Classes completed | 12% Self-Learning Videos Watched | 0/2 Projects Done//
simplilearn lab is not working
///Looks like something went wrong, please try again at another time//
I have created folder in my github account : kingshuksikdar/ks-sl-june19
I have commited some files from ubuntu machine. i cant see those files in git hub directory. I tried for Git push & get the below error.Can anyone help me ?
Probably you are in wrong location
1. Run # PWD
2. check the file location is it same as the repo name
3. Run # ls -lrt
4. Check if you see another directory with the same name as repo
5. Go within the repo directory
6. copy the file to this directory
7. add, commit and then try to push.
I got the similar error:
Hello DevOps Champions
How is your practice going?
Here is the links to setup your Ubuntu labs and access via SSH on DigitalOcean and/or AWS (On Windows Laptop):
I am able to install putty and create SSH in putty.
Could you please tell us how to authenticate through termius in windows. Thanks
THANKS SHARIQUE. I CREATED EC2 INSTANCE AND ABLE TO SSH TO MY MACHINE. IT HELPED.
I have created account in digital ocean, created droplet and generated key via putty. connected to ubuntu server and did some basic cat commands.. It worked for me. I hope this is fine as well..
Kindly share us how to install termius and how to add key from initial stage.
I have done git pull for the "https://github.com/sk12k/sl-docs-june-2019" but i din't get the demo.txt to local .Add snapshot for reference
Hi Manjula ,
https://github.com/sk12k/sl-docs-june-2019 - There is no file called "demo.txt" in that repository So we won`t get that to local repository.
I set up an machine in ubuntu digital ocean. How to connect to that from any terminal other than simplilearn lab.
can i use termius for that? Is termius is free? Please guide to the setup from termius.
My Simplilearn Lab is not working.
Steps to Install Jenkins
1. wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
2. sudo sh -c 'echo "deb https://pkg.jenkins.io/debian-stable binary/" > /etc/apt/sources.list.d/jenkins.list'
3. sudo apt-get update
4. sudo apt-get install jenkins
5. sudo systemctl status jenkins
Here is the link for https://termius.com/ ,download the file according to your OS. windows OS just follow the installation wizard.
if it is linux ,download the termius.deb file sudo dpkg -i Termius.deb or sudo apt install Termius.deb (those are worked for me).
Couldn't find the notes in Github to install jenkins, Can you please share the procedures to install java and jenkins?
Jenkins Class notes added and Git Notes updated as per the last weekend classes.
Termius has a paid version but the free version is good enough for all practical purposes. Regarding the usage, please refer to class recording where I have discussed in details about the usage of Termius/DigitalOcean/AWS/Other Labs.
GitHub Repo Updated!
How to restart jenkins in the newly opened ssh session through aws ec2 instance?
gave command as sudo systemctl status jenkins in ubunutu machine, its showing below error
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
I tried to create a master- slave set up in jenkins.
My master is simplilearn lab machine and slave is digital ocean ubuntu machine which i am connecting using Puttygen.I am getting the below error when i see log for the slave machine. I followed the same steps u have told & also set password authentication as yes in /etc/ssh/sshd_config file. Can you please assist.
I hope you all are practicing hard whatever we have covered in last few weekends. As discussed in last class please check on how to setup "Passwordless authentication between 2 linux machines". We would need that for Ansible. Below link should be helpful:
Pushed all notes on GitHub for this weekend discussions. I have also updated some old notes with references.
use "git pull" to get all recent changes and newly added files.
I am expecting this has been resolved already.
while installing nagios, getting below error:
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './1-prereqs'
Guide me how to resolve this error?
Hello DevOps Champs
Updated GitHub repo and added following files:
1. Kubernetes Class Notes
2. Nagios Class Notes
3. Nagios Core Installation Script
4. DevOps on Cloud Class Notes
It was great interacting with each one of you over the last couple of weeks. I hope you enjoyed the sessions as much as I did.
Here are a couple of references I would like to share with you.
1. Make it a point to read about DevOps as much as you can. Some of the following websites should be a good starting point:
2. If you are on twitter, then following these people is a must:
Gene Kim @RealGeneKim
Martin Fowler @martinfowler
Adam Jacob @adamhjk
John Allspaw @allspaw
Joshua Timberman @jtimberman
3. Some more references for various DevOps tools:
# Jenkins and CI
https://chocolatey.org/ (for Windows users)
# Linux Refresher
# Understand How and Why REST APIs Work
4. Vendor/Tool Specific Certifications
Best of Luck and Happy learning!
Please uninstall Nagios Xi by using the following commands below (Remove /etc/nagios3 directory)
rm -rf /etc/nagios3
if you will remove package including it's config files, you have to use a --purge option for apt:
apt-get --purge remove nagios3-common
I am trying to copy the repository from one git location to other git location. For this I have first copied the file from git to my local machine. thereafter I am transferring to the git repository. Is there any alternate method through which I can directly copy the files from one git repository to other git repository?
I have created one new file called xyz.txt and added some text to it. Now when I am trying to push it to my repository, after providing the username and password for my gitaccount, its giving me the below error
remote: Permission to sk12k/sl-docs-june-2019.git denied to paragb2.
fatal: unable to access 'https://github.com/sk12k/sl-docs-june-2019.git/': The requested URL returned error: 403
I am not getting why is it accessing your account to push the text file. However when I pass the command git push https://github.com/paragb2/Devopsbackup.git, the contents gets pushed into my github repository.
Kindly let me know the reason for the same and how can i push the single file or list of files into my github repository?
When doing the git pull, its giving me message "Please make sure you have the correct access rights and the repository exists". Fatal: Could not read from remote repository.
However when I am doing git pull https://github.com/paragb2/Devopsbackup.git, its working up fine and showing the changes that I had done in the text file.
Kindly let me know why this error of acccess rights coming?
To further investigate on the above issue, I created another directory and subdirectory and then did the git clone the new directory for the repository from my github account. Thereafter I did git remote -v. I am still getting the below error:
root@Devops:/gitrepos_parag# cd slo-docs-june19
root@Devops:/gitrepos_parag/slo-docs-june19# git remote -v
fatal: not a git repository (or any of the parent directories): .git
Kindly guide how to resolve this issue.
Can you please share answers of interview questions which you have provided? It would be very helpful for us.
Some of the ppt files that you referenced you will be sharing it regarding git and some pdf files also related to git are not available in the link related to the git repository that you have shared.
Request you to kindly share those files in the repo.
Please use the below command to configure your git repository:
git remote add origin <url_of_remote repository>
If it gives some error, please run the below command:
git remote set-url origin <url_of_remote repository>
Also, please check the below steps for git push:
git clone <git_repository_link>
git add .
git remote set-url origin <git_repository_link>
git commit -m "first commit"
git config --global user.email "Email Id"
git config --global user.name "Username"
Try that and let me know the results!
git push -u origin master
Yes it's working correctly now.
I have created two branches fa and fb apart from default master branch. When I do git checkout master and thereafter ll, its still showing me the fa branch. Whereas as we remember when we are doing git checkout master, it should not show the fa branch. Pls find below screenshot:
Kindly let me know why is fa branch getting displayed?