Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
9148df40
Commit
9148df40
authored
Apr 02, 2017
by
Igor Pecovnik
Browse files
Disabling OMV on Ubuntu. Too complex.
parent
09409dcd
Changes
1
Show whitespace changes
Inline
Side-by-side
functions.sh
View file @
9148df40
...
@@ -226,6 +226,11 @@ install_omv (){
...
@@ -226,6 +226,11 @@ install_omv (){
#--------------------------------------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------------------------------------
# Install high-performance HTTP accelerator
# Install high-performance HTTP accelerator
#--------------------------------------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------------------------------------
if [[
$family
== "
Ubuntu
" ]]; then
dialog --backtitle "
$backtitle
" --title "
Dependencies
not met
" --infobox "
\nOpenmediavault can be installed only on Debian.
" 5 52
sleep 5
exit
fi
wget -qO - packages.openmediavault.org/public/archive.key | apt-key add -
wget -qO - packages.openmediavault.org/public/archive.key | apt-key add -
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7AA630A1EDEE7D73
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7AA630A1EDEE7D73
...
@@ -243,10 +248,10 @@ deb http://packages.openmediavault.org/public erasmus main
...
@@ -243,10 +248,10 @@ deb http://packages.openmediavault.org/public erasmus main
EOF
EOF
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get update
install_packet "
openmediavault
postfix
" "
Install
network attached storage (NAS) solution
"
apt-get -y install
openmediavault postfix
URL='http://omv-extras.org/openmediavault-omvextrasorg_latest_all3.deb'; FILE=
`
mktemp
`
; wget "
$URL
" -qO
$FILE
&& dpkg -i
$FILE
; rm
$FILE
URL='http://omv-extras.org/openmediavault-omvextrasorg_latest_all3.deb'; FILE=
`
mktemp
`
; wget "
$URL
" -qO
$FILE
&& dpkg -i
$FILE
; rm
$FILE
/usr/sbin/omv-update
/usr/sbin/omv-update
install_packet "
openmediavault
-flashmemory
" "
I
nstall
openmediavault-flashmemory
"
apt-get -y i
nstall openmediavault-flashmemory
sed -i '/<flashmemory>/,/<
\/
flashmemory>/ s/<enable>0/<enable>1/' /etc/openmediavault/config.xml
sed -i '/<flashmemory>/,/<
\/
flashmemory>/ s/<enable>0/<enable>1/' /etc/openmediavault/config.xml
/usr/sbin/omv-mkconf flashmemory
/usr/sbin/omv-mkconf flashmemory
check_port 80
check_port 80
...
...
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