Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPS Backend single server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS setup
VIPS Backend single server
Commits
6fe70ec5
Commit
6fe70ec5
authored
5 years ago
by
Tor-Einar Skog
Browse files
Options
Downloads
Patches
Plain Diff
Saving work for the weekend
parent
89bb249d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vips-backend-single-server.sh
+21
-2
21 additions, 2 deletions
vips-backend-single-server.sh
with
21 additions
and
2 deletions
vips-backend-single-server.sh
+
21
−
2
View file @
6fe70ec5
...
...
@@ -73,18 +73,37 @@ cd ../VIPSLogic
sudo
-H
-u
$CODE_USER
bash
-c
"mvn install -DskipTests"
# Download and unzip Wildfly 16
sudo
-H
-u
$CODE_USER
bash
-c
"https://download.jboss.org/wildfly/16.0.0.Final/wildfly-16.0.0.Final.tar.gz"
sudo
-H
-u
$CODE_USER
bash
-c
"tar xzf wildfly-16.0.0.Final.tar.gz"
WILDFLY_VERSION
=
16.0.0.Final
sudo
-H
-u
$CODE_USER
bash
-c
"https://download.jboss.org/wildfly/
$WILDFLY_VERSION
/
$WILDFLY_VERSION
.tar.gz"
sudo
-H
-u
$CODE_USER
bash
-c
"tar xzf
$WILDFLY_VERSION
.tar.gz"
# Edit standalone.xml, the Wildfly config file
printf
"
\n
WILDFLY CONFIGURATION
\n
"
while
[
"
$smtpserver
"
==
""
]
do
read
-p
"SMTP servername [*]: "
smtpserver
done
while
[
"
$md5salt
"
==
""
]
do
read
-p
"MD5 salt (to make the one-way encryption much harder to break. Type 10-20 random characters) [*]: "
md5salt
done
WILDFLY_HOME
=
/home/
$CODE_USER
/
$WILDFLY_VERSION
WILDFLY_CONFIG_PATH
=
$WILDFLY_HOME
/standalone/configuration
cd
wildfly_config
sudo
-H
-u
$CODE_USER
bash
-c
"python3 init_standalone_xml.py --smtpserver
$smtpserver
--md5salt
$md5salt
--dbpassword
$vipslogic_password
--path
$WILDFLY_CONFIG_PATH
"
# Add the required modules for VIPSLogic to Wildfly
# PostgreSQL
# etc
# All modules needed to run VIPSLogic AND VIPSCore are added
cp
-r
modules/
*
$WILDFLY_HOME
/modules
# Set up WildFly as a systemd service
# Install and configure Apache
# Run (test?) WildFly with VIPSLogic deployed
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment