-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from FherStk:open-project
- New 'open-project-v12' script. - Removed unnecessary 'sudo' because any script should run as sudo
- Loading branch information
Showing
3 changed files
with
66 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
SCRIPT_VERSION="1.0.0" | ||
SCRIPT_NAME="Ubuntu Server 22.04 LTS (Open-Project v12)" | ||
HOST_NAME="open-project" | ||
|
||
SCRIPT_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | ||
SCRIPT_FILE=$(basename $BASH_SOURCE) | ||
source $SCRIPT_PATH/../utils/main.sh | ||
|
||
startup | ||
script-setup | ||
|
||
echo "" | ||
title "Downloading OpenProject's public key:" | ||
wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add - | ||
|
||
|
||
echo "" | ||
title "Adding the repository:" | ||
wget -O /etc/apt/sources.list.d/openproject.list https://dl.packager.io/srv/opf/openproject/stable/12/installer/ubuntu/22.04.repo | ||
|
||
apt update | ||
apt-install "openproject" | ||
|
||
echo "" | ||
title "Copying the auto-setup configuration file:" | ||
cp $SCRIPT_PATH/../utils/open-project-v12/installer.dat /etc/openproject/installer.dat | ||
|
||
echo "" | ||
title "Setting up Open-Project:" | ||
openproject configure #non-interactive | ||
|
||
passwords-add "Open-Project (http://<ip>)" "admin" "admin" | ||
done-and-reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
openproject/edition default | ||
openproject/admin_email [email protected] | ||
|
||
postgres/db_host 127.0.0.1 | ||
postgres/db_port 45432 | ||
postgres/db_name openproject | ||
postgres/db_username openproject | ||
postgres/db_password kFITfFsW1u4yrow6D7apAxpleXBBqkoE | ||
postgres/addon_version v1 | ||
postgres/autoinstall install | ||
|
||
server/autoinstall install | ||
server/variant apache2 | ||
server/hostname open-project | ||
server/server_path_prefix | ||
server/ssl no | ||
|
||
repositories/api-key fNiBfEDWTqmT0HGRoWCyHrNa1amG81Vu | ||
repositories/svn-install install | ||
repositories/svn-path /var/db/openproject/svn | ||
repositories/apache-wrapper-token ZZKExtvjJwfH5I5aTMWmxmWGNgXFLArI | ||
repositories/git-install install | ||
repositories/git-path /var/db/openproject/git | ||
repositories/git-http-backend /usr/lib/git-core/git-http-backend/ | ||
|
||
memcached/autoinstall install |