<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 Mar 2018 23:20:00 Z</lastBuildDate><pubDate>12 Mar 2018 21:53:00 Z</pubDate><description>This is the bash script I wrote to install HFSQL and the WAS on Debian 8.&#13;
I would appreciate any suggestions to make it better or to remove any unnecessary parts.&#13;
&#13;
#!/bin/bash&#13;
# Donald Montaine 2018 - Released to Public Domain&#13;
&#13;
# Tested on Debian 8 - 64 bit&#13;
# upload this script and these four files to the same directory&#13;
# manta_install64, mantainstall.zip&#13;
# webdev_install_test64, WEBDEV_Install.zip&#13;
# login and cd to the directory then&#13;
# become an administrator using su or sudo&#13;
# chmod 777 *64&#13;
# chmod 777 ./WASInstall.sh&#13;
# to run this script ./WASInstall.sh&#13;
&#13;
# get all updated packages and then install packages required by WAS&#13;
apt update&#13;
apt-get -y dist-upgrade&#13;
apt-get -y install vsftpd libqtcore4 libqtgui4 apache2 zlib1g-dev sudo&#13;
&#13;
# install webmin&#13;
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.870_all.deb&#13;
dpkg -i webmin_1.870_all.deb&#13;
apt-get -y -f install&#13;
&#13;
# set up vsftpd&#13;
cp /etc/vsftpd.conf /etc/vsftpd.conf.bak&#13;
sed 's/#write_enable/write_enable/' /etc/vsftpd.conf &gt; /etc/vsftpd.tmp&#13;
mv /etc/vsftpd.tmp /etc/vsftpd.conf&#13;
sed 's/#local_umask=022/local_umask=002/' /etc/vsftpd.conf &gt; /etc/vsftpd.tmp&#13;
mv /etc/vsftpd.tmp /etc/vsftpd.conf&#13;
rm /etc/vsftpd.tmp&#13;
&#13;
# run the WAS installer twice&#13;
# Must be in same directory as this script&#13;
./webdev_install_test64&#13;
./webdev_install_test64&#13;
&#13;
# create wbuser account&#13;
echo "Enter password for wbuser"&#13;
adduser wbuser&#13;
usermod -a -G webdevadmin wbuser&#13;
usermod -a -G wbuser www-data&#13;
usermod -a -G webdevadmin www-data&#13;
usermod -a -G root www-data&#13;
&#13;
# create directories and set permissions for wbuser&#13;
mkdir /home/wbuser/data&#13;
mkdir /home/wbuser/site&#13;
mkdir /home/wbuser/webserviceREST&#13;
mkdir /home/wbuser/webserviceSOAP&#13;
mkdir /home/wbuser/ftp_webdev&#13;
chgrp webdevadmin /home/wbuser/data&#13;
chgrp webdevadmin /home/wbuser/site&#13;
chgrp webdevadmin /home/wbuser/webserviceREST&#13;
chgrp webdevadmin /home/wbuser/webserviceSOAP&#13;
chgrp webdevadmin /home/wbuser/ftp_webdev&#13;
chmod ug+rwx /home/wbuser/data&#13;
chmod ug+rwx /home/wbuser/site&#13;
chmod ug+rwx /home/wbuser/webserviceREST&#13;
chmod ug+rwx /home/wbuser/webserviceSOAP&#13;
chmod ug+rwx /home/wbuser/ftp_webdev&#13;
&#13;
# Active apache modules * set WEBDEV22 to autostart&#13;
ln -s /etc/apache2/mods-available/actions.load /etc/apache2/mods-enabled/actions.load&#13;
ln -s /etc/apache2/mods-available/actions.conf /etc/apache2/mods-enabled/actions.conf&#13;
ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled/cgi.load&#13;
update-rc.d WEBDEV22 defaults 91s&#13;
&#13;
# Install the database server&#13;
# Must be in same directory as this script&#13;
./manta_install64&#13;
&#13;
# Done&#13;
echo "Completed"&#13;
echo</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64919-was-bash-installation-script/read.awp</link><title>WAS Bash Installation Script</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64919-was-bash-installation-script-64926/read.awp</comments><pubDate>12 Mar 2018 23:20:00 Z</pubDate><description>:spos: Donald&#13;
&#13;
:hot:&#13;
&#13;
Cheers&#13;
King</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64919-was-bash-installation-script-64926/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64919-was-bash-installation-script-64926/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64919-was-bash-installation-script/read.awp">WAS Bash Installation Script</source><title>Re: WAS Bash Installation Script</title></item></channel></rss>
