Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Cleaning up my ubuntu 16.04 server after migrating database to a dedicated server.
Hello there! (:
After fiddling around for a few hours, after getting inspired by DO’s newsletter about the types of server setups that exist, I’ve decided that it’d be better to migrate the database to begin with. Especially, after I’ve read that the percona branch of mysql is proven to be a lot better suited to the application I’m running.
Long story short, there were plenty of reasons to go for a dedicated DB server now, rather than later.
Thus, I’ve tried around for a few hours and got it working.
1) I however noticed that my /etc/php folder now offers 5.6,7.0 and 7.2 “mods-available” folders, additionally to the complete 7.1 folder, which is the php version in use.
I’d like to clean those folders up but am unsure whether or not deleting these folders will break anything.
2) I still have phpmyadmin and mysql installed on my webserver. I’ve already disabled the mysql service and thus verified that the website works without the old db.
But I’m pretty sure that there are certain parts of the mysql package that are needed for my webserver to access the Database on the db server. mysql-client (?)
Some reasurrance on what is safe to delete would be highly appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×