-
Notifications
You must be signed in to change notification settings - Fork 1
Install Software
Gary Cornell edited this page Feb 26, 2020
·
14 revisions
First lets update the server I am sure you see that there are over 150 packages that need updating as well as grabbing the latest Kernel. This step can be skipped if using my bash script which will take care of this as well
- You can sudu the newuser to do this but for system software using root is best sudo su to root
sudo su
apt update
apt upgrade
update-grub
- Once completed you need to reboot to make the new kernel take effect.
reboot
- Once the server comes back up
sudo su
again and run the following to remove the old kernel and free up space
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
update-grub
- Reboot again
reboot
-
Now you should install the software you need to develop your applications, this is totally up to you what is needed. For the purpose of this tutorial we are doing a PHP7 server with Nginx webserver and Percona MySQL Server 5.7. I am also including vsFTPd for FTP access to your application.
-
There are three options
- Use my bash script that does the entire setup automatically (Beginner-Everyone)
- Manually install the required software via apt (Experienced Users)
- Custom compile the software you need like Nginx (Advanced Users)