PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → More on installing a 64 bit Debian Jessie App Server
More on installing a 64 bit Debian Jessie App Server
Débuté par Donald Montaine, 21 sep. 2017 08:51 - Aucune réponse
Posté le 21 septembre 2017 - 08:51
# You need to be comfortable with Linux. This is not a tutorial but a brief script to save other people the hours of time I put in researching this.
# These suggestions come from the PCSoft documentation, some discoveries I made during my many, many install attempts and a prior post in this forum by Mr Black
# My previous post would get an App Server installed, but deployment did not work
# With these additional instructions, you will be able to deploy and run a web site
#Console commands are in Blue
# For this installation I used bunsenlabs linux (www.bunsenlabs.org)
# It allows installation of a pre-configured LAMP server during the post installation script. And was the one version of Debian Jessie that allowed a successful install
# you may need Winscp and Putty on your Windows computer

-----------------------------------
# Once Linux is installed -
Login using the username and password you selected during installation
#the post installation script will assure that all updates are applied

#download and install Webmin from www.webmin.com (you really need this) using the web browser in bunsenlabs linux
# open a terminal session
sudo su
apt install vsftpd libqtcore4 libqtgui4 libc6-dev libstdc++-4.9-dev zlib1g-dev ttf-mscorefonts-installer
nano /etc/vsftpd.conf
#uncomment "write_enabled=YES"
#uncomment "local_umask=022"
#cntl-O to save
#cntl-X to exit
------------------------------------------------
#Upload the following files to your Documents folder folder using WinScp
# WEBDEV_Install.zip
# webdev_install_test64
# mantainstall.zip
# manta_install64
-------------------------------------------------
cd /home/_your_login_account/Documents
chmod +x *64
./webdev_install_test64
# dialog 1 - scroll down and accept license agreement
# dialog 2 - all prerequisites should be installed so just select "Next >"
# dialog 3 - accept default setup directory
# dialog 4 - no changes necessary, select "Next >" unless you want to host sites
made with a version prior to 22, then change as appropriate
# dialog 5 - accept "webdevadmin" as the user and group for managing the sites, select "Next >"
# dialog 6 - select "Yes"
# dialog 7 - select "Yes"
# dialog 8 - select "Yes"

usermod -a -G webdevadmin www-data

#now run this command a second time and choose "Upgrade"
./webdev_install_test64
------------------------------------------------------------
cd /etc/apache2/mods-enabled
ln -s ../mods-available/actions.load ./actions.load
ln -s ../mods-available/actions.conf ./actions.conf
ln -s ../mods-available/cgi.load ./cgi.load
reboot

# after the system boots, login again
# using webmin in the browser enter http://localhost:10000 as the URL
# in the menus and tabs choose "Servers, Apache Webserver, General Configuration, Configure Apache Modules"
# make sure the Actions and CGI modules are checked ( and leave all existing checked modules checked) and then click the "Enable Selected Modules" button at the bottom of the page
# Log out of Webmin
# Enter http://localhost/WDAdminWeb220 and login as Admin
# Create a WebDev account using the same name and password as your Linux login

# now open a terminal

sudo su
cd /home/_your_login_/Documents
./manta_install64
# dialog 1 - scroll down and accept license agreement
# dialog 2 - accept default setup directory
# dialog 3 - accept or change server name but keep other settings
# dialog 4 - accept or decline

usermod -a -G _your_login_account www-data
mkdir /home/_your_login_account/data
mkdir /home/_your_login_account/site
mkdir /home/_your_login_account/ftp_webdev
mkdir /home/_your_login_account/webserviceREST
mkdir /home/_your_login_account/webserviceSOAP
mkdir /home/_your_login_account/data

#You will now be able to deploy a site using your login account as the ftp account and the same account name as your WebDev account.


--------------------------------------------------------------
# to Manage WebDev go to "http://[your server URL]/WDAdminWeb220 - Login: ADMIN Password: admin
# to Manage HFSQL go to "http://[your server URL]/WDAdminHF220 - Login: ADMIN Password:
# to Manage SAAS go to "http://[your server URL]/WDAdminSaaS220 - Login: ADMIN Password: admin
# Note: you can also use the Windows based HFSQL Control Center to manage the HFSQL server