I have VPS and looking to get the ssh keypair to connect to it. video in LMS indicates ls .ssh will show the key files, but I get no file error when I do. the keygen command tells me that file already exists (I have a keypair for my github installed) and asks to overwrite it. How do I get a new keypair for my VPS without loosing the keypair for github?
I was able to copy the same public key I used for github onto my VPS. is that the proper procedure or should they be different keys?
The reason you didn’t get any results on the SSH folder is because you were on a different folder as root. If you’re on Linode, they store the SSH on a custom folder. If you used the
ssh-copy-id for your non-root user, then it sits inside the /home/username/.ssh/ folder (where username is your actual username on your VPS).
From the screenshot you sent, you already have an SSH key on your local system (the one with the green prompt). You can find that key at:
The moment you use you local system’s SSH key for your GitHub, then yes, you can also use it for your VPS. You can assign that via the following command:
From your local system, where:
username = your actual username, and
X.X.X.X = the IP address of your VPS
It has been a big learning day here, I figured out the ssh key and got it installed on the VPS. Then I deleted that VPS and created a new one, and installed the ssh key on that one.
I ran the wordops install and had a couple failures because the first VPS creation when I attached my domain name it created the DNS records to point it to the IP address of the now deleted VPS. I have initiated a transfer of my domain to Epik, but that is not expected to complete until next friday. Once that is complete I can edit the records for the new IP address.
My next opportunity to spend time on this I will delete this site and then create another with a different domain name.
It is a learning curve indeed. However, you’ll soon become a pro and things will come to you like second nature!
I personally haven’t used WordOps, so I can’t offer much advice there. The only thing I’m thinking on that regard is that WordPress runs on PHP, which handles the various memory limits and refresh wait times. For example, by default, WordPress allows only up to 2MB file uploads and has a rather low (I think 128MB) RAM limit. Perhaps you can set this up manually in the PHP settings, which is why I added the CyberPanel option course, because it offers a panel to make those changes on the fly.
I have zero previous experience with wordOps and even less with WordPress. I have been using web hosting services with cPanel and have been able to deploy static sites there.
I really want to learn more about the dev ops aspect of setting up web sites so I don’t need services like heroku and netlify.
Then I believe WordPress will be the best way for you. Once you set everything up via CyberPanel (a different version of cPanel), you can play around with WordPress and get to know it. It’s an easy way to create websites and it has become much more intuitive the past several years.
I want to know more about CyberPanel and what can be done with it. I would also like to know how to set up apache to run nodejs and a database, or a react site.
CyberPanel is a control panel that allows you to handle a variety of your server’s options. More specifically:
If you are looking to install Apache, then you probably won’t need it. It has been a while since I utilized Apache, so I’m not caught up with the latest changes and updates. Per the nodejs and databases, I wish I could test them, but then I’d have to apply to God for a 96-hour day!
96 Hour day…Just ask and it shall be granted because of your tireless efforts. 48 hrs for LMS, 40 hrs for here and 8 hrs for sleep. with the granting of a 96 hr day this is all you get - be careful what you wish for. Stay Thirsty, My Friend. Cheers!
I used to ask for 48-hour days a couple of decades back! And - in some cases - I got what I wished for. Though that didn’t stop the cycle of day and night. I only ended up with a 72 and a 70 hour “shift” respectively… and quite a few 30+ hour runs in-between.
I tend to love doing the hard things, but those are the ones that demand the most time. This resulted in me being the last to leave the studio - back in the day - long after the night shift began. Those were… the “days”! I would arrive at the office at 9am and would go to bed at 4am. I still do that at times, but I’m getting a bit old. Darn it!