tested all web2py scripts setup apache (httpd) on docker, result only 
setup-web2py-ubuntu.sh worked

*centos*
docker pull centos
docker run -it centos /bin/bash

yum install -y unzip wget sudo iptables 
mkdir /srv
cd /srv
wget -c http://web2py.com/examples/static/web2py_src.zip
unzip -o web2py_src.zip
chmod +x web2py/scripts/setup-web2py-centos7.sh
web2py/scripts/setup-web2py-centos7.sh

*result*
Failed to get D-Bus connection: Operation not permitted

 - Setup web2py admin password

admin password: passme
error reading information on service iptables: No such file or directory
Note: Forwarding request to 'systemctl enable httpd.service'.
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service, 
pointing to /usr/lib/systemd/system/httpd.service.
 - Complete!

*result on browser*
502 (Bad Gateway)

*debian*
docker pull debian
docker run -it debian /bin/bash

apt update
apt install -y unzip wget sudo 
mkdir /srv
cd /srv
wget -c http://web2py.com/examples/static/web2py_src.zip
unzip -o web2py_src.zip
chmod +x web2py/scripts/setup-web2py-debian-sid.sh
web2py/scripts/setup-web2py-debian-sid.sh

*result*
[....] Restarting Apache httpd web server: apache2AH00558: apache2: Could 
not reliably determine the server's fully qualified domain name, using 
172.17.0.2. Set the 'ServerName' directive globally to suppress this message
. ok
admin password: done!

*result on browser*
*http://localhost*
Apache2 Debian Default Page

*http://localhost/web2py*
Not Found
The requested URL /web2py was not found on this server.

*http://localhost/applications*
Not Found
The requested URL /applications was not found on this server.

*http://localhost/welcome*
Not Found
The requested URL /web2py was not found on this server.

*fedora (setup-web2py-fedora-ami.sh)*
docker pull fedora
docker run -it fedora /bin/bash

yum install -y unzip wget sudo iptables initscripts 
mkdir /srv
cd /srv
wget -c http://web2py.com/examples/static/web2py_src.zip
unzip -o web2py_src.zip
chmod +x web2py/scripts/setup-web2py-fedora-ami.sh
web2py/scripts/setup-web2py-fedora-ami.sh

*result*
Redirecting to /bin/systemctl restart httpd.service
System has not been booted with systemd as init system (PID 1). Can't 
operate.
Failed to connect to bus: Host is down

 - Setup web2py admin password

admin password: error reading information on service iptables: No such file 
or directory
Note: Forwarding request to 'systemctl enable httpd.service'.
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → 
/usr/lib/systemd/system/httpd.service.
 - Complete!

*result on browser*
502 (Bad Gateway)

*fedora (setup-web2py-fedora.sh)*
docker pull fedora
docker run -it fedora /bin/bash

yum install -y unzip wget sudo iptables initscripts 
mkdir /srv
cd /srv
wget -c http://web2py.com/examples/static/web2py_src.zip
unzip -o web2py_src.zip
chmod +x web2py/scripts/setup-web2py-fedora.sh
web2py/scripts/setup-web2py-fedora.sh

*result*
Redirecting to /bin/systemctl restart httpd.service
System has not been booted with systemd as init system (PID 1). Can't 
operate.
Failed to connect to bus: Host is down

 - Setup web2py admin password

admin password: passme
error reading information on service iptables: No such file or directory
Note: Forwarding request to 'systemctl enable httpd.service'.
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → 
/usr/lib/systemd/system/httpd.service.
 - Complete!

*result on browser*
502 (Bad Gateway)

best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to