MX on Linux: Difference between revisions

123 bytes added ,  16:03, 5 September 2020
m
Line 384: Line 384:
As before, we run <tt>sudo apt update && sudo apt upgrade -y</tt> to ensure all packages are up to date before we attempt to add another package. As before this does not update everything to latest versions, it just updates to a consistent state based on what is in the repository for your raspberian version.
As before, we run <tt>sudo apt update && sudo apt upgrade -y</tt> to ensure all packages are up to date before we attempt to add another package. As before this does not update everything to latest versions, it just updates to a consistent state based on what is in the repository for your raspberian version.


== Install Apache 2 ==
== Install Apache 2 (or another web server) ==


Apache is not the only web server software (so choose a different one if you like), but it is probably the most comprehensive, so if you have enough space on your Pi, install it using <tt>sudo apt install apache2 -y</tt>.
'''Apache''' is not the only web server software (so choose a different one if you like), but it is probably the most comprehensive, so if you have enough space on your Pi, install it using <tt>sudo apt install apache2 -y</tt>.


If you choose nginx, install that web server with <tt>sudo apt-get install nginx</tt>.
If you choose '''nginx''', install that web server with <tt>sudo apt-get install nginx</tt>.
 
If you choose '''lighttpd''', install it with <tt>sudo apt-get install lighttpd</tt>.


== Install PHP Hypertext Pre-processor ==
== Install PHP Hypertext Pre-processor ==
5,838

edits