By kavisha
Hello,
Everytime i log in to my digital ocean droplet i get the below message: “209 packages can be updated. 104 updates are security updates.”
I had two questions wrt this: a. Is it required to keep updating the droplet? What are the security updates? Will doing these updates override the settings that i might have changed in the files?(For ex: i have made a few changes in nginx and tomcat files in the server).
b. Now i need to install Postfix for sending emails. I intend to follow the steps mentioned in this link and this. These links required the use of command : “sudo apt-get update”. Are these commands going to update all the existing packages that i have? And will these also override the settings that i might have changed in the files?(For ex: i have made a few changes in nginx and tomcat files in the server).
Thanks in advance, Kavisha.
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!
Updating packages normally does not overwrite config files and even if it did, they are usually coded to update your config file with your settings. But it is a good idea to take a snapshot of your droplet before doing any updates. And to update, you can run the following commands,
sudo apt-get update
sudo apt-get upgrade
There is a good introduction to apt-get that you can find here: https://syscoding.com/tutorials/2/basic-introduction-to-apt-get-ubuntu-debian/
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.