1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Updated Manual installation (markdown)

Bill Zimmerman 2020-03-31 21:44:58 +02:00
parent 4c0a959f64
commit 36cee17375

@ -71,27 +71,27 @@ sudo chown -R www-data:www-data /var/www/html
sudo chown -R www-data:www-data /etc/raspap sudo chown -R www-data:www-data /etc/raspap
``` ```
Move the HostAPD logging and service control shell scripts to the correct location. Move the hostapd logging and service control shell scripts to the correct location.
``` ```
sudo mv installers/*log.sh /etc/raspap/hostapd sudo mv installers/*log.sh /etc/raspap/hostapd
sudo mv installers/service*.sh /etc/raspap/hostapd sudo mv installers/service*.sh /etc/raspap/hostapd
``` ```
Set ownership and permissions for logging and service control scripts. Set ownership and permissions for the logging and service control scripts.
``` ```
sudo chown -c root:www-data /etc/raspap/hostapd/*.sh sudo chown -c root:www-data /etc/raspap/hostapd/*.sh
sudo chmod 750 /etc/raspap/hostapd/*.sh sudo chmod 750 /etc/raspap/hostapd/*.sh
``` ```
Copy and set ownership of the lighttpd control scripts Copy and set ownership of the lighttpd control scripts.
``` ```
sudo cp installers/configport.sh /etc/raspap/lighttpd sudo cp installers/configport.sh /etc/raspap/lighttpd
sudo chown -c root:www-data /etc/raspap/lighttpd/*.sh sudo chown -c root:www-data /etc/raspap/lighttpd/*.sh
``` ```
Move the raspap service to the correct location and enable it. Move the raspapd daemon to the correct location and enable it.
``` ```
sudo mv installers/raspapd.service /lib/systemd/system sudo mv installers/raspapd.service /lib/systemd/system
@ -144,14 +144,14 @@ sudo iptables -t nat -A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j M
sudo iptables-save | sudo tee /etc/iptables/rules.v4 sudo iptables-save | sudo tee /etc/iptables/rules.v4
``` ```
Unmask and enable hostapd.service Unmask and enable hostapd.service.
``` ```
sudo systemctl unmask hostapd.service sudo systemctl unmask hostapd.service
sudo systemctl enable hostapd.service sudo systemctl enable hostapd.service
``` ```
(Optional) Install OpenVPN, enable option in RaspAP config and enable openvpn-client service. (Optional) Install OpenVPN, enabling the option in RaspAP's config and enable the openvpn-client service.
``` ```
sudo apt-get install openvpn sudo apt-get install openvpn
@ -176,9 +176,3 @@ sudo reboot
The default username is 'admin' and the default password is 'secret'. The default username is 'admin' and the default password is 'secret'.