By Heyday
Probably dumb question as I’m new to DO…but if I use a One Click Wordpress Install droplet… it gives me Ubantu 16.04
Am I correct that I’m responsible to run all OS updates / patches and such on that droplet? It’s been forever since I did things from a command line. Plesk and Cpanel have spoiled me…
And if I have to do this is there an easy way to apply these updates and patches as needed?
Thanks for any feedback…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello friend!
That is actually not a dumb question at all, and I’m glad that you asked it. You are correct in that you will need to handle all updates. Basically we gave you a furnished apartment, changed the locks, and handed you the only key. The good news is that it isn’t terribly difficult to manage this, so I’ll tell you what it involves.
First, use our backups or make snapshots that you can revert to. OS updates are coming from someone who has no knowledge of what your specific server does, and while the chances of that creating a problem are very slim, they will always exist.
Second, log in via SSH or our web console (SSH preferred, best experience) and run this one liner to update the OS: apt-get update && apt-get upgrade -y
That runs and finishes, and your OS is successfully updated. A reboot doesn’t hurt, some things won’t actually update until you reboot. A kernel upgrade, for example.
Third, keep Wordpress, it’s plugins, and it’s theme up to date. Objectively, this is more important than OS updates. One exploitable plugin and the next thing you know your system is compromised and being used to send out a DOS attack against someone else. Update these like your life depends on it, it will save you time in the long run.
Hope that helps!
Kind Regards, Jarland
I think yes. You can use terminal for this purpose. Recently I made a website with ready-made template, and I had some problems until I made the update.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.