By ramdak5000
I am planning to sign up for one or more D.O droplets, but, coming from a cPanel/WHM background, where all aspects of the LAMP stack and other software packages are automatically updated, secured and maintained by cPanel, needing to maintain everything by myself seems rather daunting.
I know there are one-click scripts for installing the OS, Apache, MySQL and PHP, but what about updating them to apply patches etc.? How exactly does one go about ensuring that the different LAMP stack components and other software packages such as, say, phpmyadmin are kept updated?
I am planning to run Ubuntu LTS on the droplets.
How much time would I need to spend on a weekly/monthly basis, updating all this stuff on the server?
Thanks in advance, Ramdak
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!
Hey Ramdak,
As long as everything was installed via the package manager (apt-get), you can update the entire system with 2 commands:
- sudo apt-get update
and
- sudo apt-get upgrade
You can do this weekly or monthly, but it should be done at least every once in awhile. Especially if a vulnerability is announced and patched. You can automate this with a cronjob, but that would be up to your discretion.
NOTE: The 14.04LTS distro will require you to update the kernel in the control panel if the software update/upgrade installs a new kernel.
Happy coding,
Jon Schwenn Platform Support Specialist DigitalOcean
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.