Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
compose.libre.sh
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
17
Issues
17
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
libre.sh
compose.libre.sh
Commits
48ed6c6d
Commit
48ed6c6d
authored
Feb 20, 2020
by
Michel Memeteau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install.linux.sh
parent
14e78c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
7 deletions
+19
-7
install.linux.sh
install.linux.sh
+19
-7
No files found.
install.linux.sh
View file @
48ed6c6d
#!/bin/bash
#Recommendation
- Systemd
(
debian
>
8 , Ubuntu 16.04 , CentOS 7 ...
)
# System env vars
## domain handling
### change to your domain vendor ( ovh , online, )
### TODO : Specify you template repo ROOT
TEMPLATES_ROOT
=
lab.libreho.st/libre.sh/compose/
### TODO : change to your domain vendor ( ovh , online, )
DOMAIN_SERVER
=
namecheap
### Namecheap specific
...
...
@@ -43,19 +45,29 @@ MAIL_PORT=587
echo
"Welcome to libre.sh installer"
echo
"WIP"
echo
" setting up system variables"
# STEP add kernel parameter
echo
" Define environnement
# STEP Define environnement
echo
" setting up system variables"
# STEP "install docker-compose"
# TODO : Fix a version for docker compose ?
mkdir
-p
/opt/bin
&&
\
dockerComposeVersion
=
$(
curl
-s
https://api.github.com/repos/docker/compose/releases/latest|grep tag_name|cut
-d
'"'
-f4
)
&&
\
curl
-L
https://github.com/docker/compose/releases/download/
$dockerComposeVersion
/docker-compose-
`
uname
-s
`
-
`
uname
-m
`
>
/opt/bin/docker-compose
&&
\
chmod
+x /opt/bin/docker-compose
# STEP "
installing libre.sh
"
# STEP install Libre.sh
echo
" installing libre.sh"
git clone https://lab.libreho.st/libre.sh/compose.libre.sh /libre.sh
mkdir
-p
/
{
data,system
}
mkdir
/data/trash
...
...
@@ -73,4 +85,4 @@ echo "3 - updating PATH"
cat
>
/etc/profile.d/libre.sh
<<
EOF
export PATH=
$PATH
:/opt/bin
EOF
chmod 644 /etc/profile.d/libre.sh
\ No newline at end of file
chmod
644 /etc/profile.d/libre.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment