Puppy Linux Bionic32 or Bionic64. These steps will work in every Puppy from Lucid 5.2.8 upwards.
load devx for Bionic
load 32 bit compat lib if Bionic64
in a terminal :
Code: Select all
adduser www-data -D
apache2_2.4.29
apache2-bin_2.4.29
apache2-data_2.4.29
apache2-utils_2.4.29
libaprutil1-dbd-sqlite3_1.6.1-2
libaprutil1-ldap_1.6.1-2
mime-support_3.60ubuntu1
Configuration files for apache2 are here: /etc/apache2
The configuration files for the apache2 server need to be sym-linked or modified
to run correctly. As one becomes more familiar with the system there are many tweaks.
I find that it is easier to use ROX and open /etc/apache2 and symlink manually the .ini files from
/etc/apache2/mods-available to /etc/apache2/mods-enabled and then sym-link the .conf files
from /etc/apache2/conf-available to /etc/apache2/sites-available
open /etc/apache2/apache2.conf and find : ServerRoot "/etc/apache2"
below it add : ServerName localhost
or which ever specific domain name is appropriate.
These are some of the controls:
Code: Select all
apache2ctl start|stop|restart
There are more which can be referenced in the Apache documentation. Apache runs well in Puppy Linux but needs systemd for using the service commands as in Ubuntu. So without tracking down the differences to get those to work, using apache2ctl is the reliable way to go.
the web server root is /var/www/html
start the web server :
Code: Select all
apache2ctl start
Next step is installing the PHP.