Here are the (very minor) differences:
diff --git a/setup-web2py-fedora_ami.sh b/setup-web2py-fedora.sh
index 7ce520c..8f2878e 100755
--- a/setup-web2py-fedora_ami.sh
+++ b/setup-web2py-fedora.sh
@@ -179,6 +179,8 @@ if [ ! ${RETV} -eq 0 ]; then
# Create the SELinux policy
cat > httpd.te <<EOF
+ EOF
+
module httpd 1.0;
require {
@@ -223,6 +225,7 @@ cd /tmp/setup-web2py
# Create rules file - based upon
# http://articles.slicehost.com/assets/2007/9/4/iptables.txt
cat > iptables.rules <<EOF
+ EOF
*filter
# Allows all loopback (lo0) traffic
@@ -294,6 +297,8 @@ if [ -e /etc/httpd/conf.d/welcome.conf ]; then
fi
cat > /etc/httpd/conf.d/default.conf <<EOF
+ EOF
+
NameVirtualHost *:80
NameVirtualHost *:443
@@ -399,3 +404,6 @@ cd ${current_directory}
echo " - Complete!"
echo
+EOF
+EOF
+EOF
On Jul 27, 1:50 am, Massimo Di Pierro <[email protected]>
wrote:
> I have not used it myself. I would like to see the fixes.
>
> On Jul 26, 10:08 pm, Charles Law <[email protected]> wrote:
>
>
>
>
>
>
>
> > I was recently deploying web2py on an amazon microinstance with an
> > amazon linux installation. I relied mostly on the fedora script, but
> > I had to make some minor tweaks to the script (which consisted almost
> > entirely of removing uneeded EOF's). Does the latest setup-web2py-
> > fedora.sh script work in Fedora? If not, I have some fixes which I
> > think will make it w*ork. If it does, I have a script that will let
> > uses deploy to an Amazon Linux installation.