Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig Autoinstaller
Commits
e00d02ed
Commit
e00d02ed
authored
Feb 24, 2021
by
Marius Burkard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '27-missing-packages' into 'master'
Add missing packages (
#27
) Closes
#27
See merge request
!8
parents
93795863
e244b8c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
lib/os/class.ISPConfigDebianOS.inc.php
lib/os/class.ISPConfigDebianOS.inc.php
+21
-5
No files found.
lib/os/class.ISPConfigDebianOS.inc.php
View file @
e00d02ed
...
...
@@ -102,8 +102,13 @@ class ISPConfigDebianOS extends ISPConfigBaseOS {
'resolvconf'
,
'clamav'
,
'clamav-daemon'
,
'clamav-docs'
,
'zip'
,
'unzip'
,
'bzip2'
,
'xz-utils'
,
'lzip'
,
'rar'
,
'arj'
,
'nomarch'
,
'lzop'
,
...
...
@@ -111,15 +116,12 @@ class ISPConfigDebianOS extends ISPConfigBaseOS {
'apt-listchanges'
,
'libnet-ldap-perl'
,
'libauthen-sasl-perl'
,
'clamav-docs'
,
'daemon'
,
'libio-string-perl'
,
'libio-socket-ssl-perl'
,
'libnet-ident-perl'
,
'zip'
,
'libnet-dns-perl'
,
'libdbd-mysql-perl'
,
'dnsutils'
'libdbd-mysql-perl'
);
if
(
ISPConfig
::
shallInstall
(
'local-dns'
))
{
...
...
@@ -289,6 +291,15 @@ class ISPConfigDebianOS extends ISPConfigBaseOS {
}
}
protected
function
addGoAccessRepo
()
{
ISPConfigLog
::
info
(
'Activating GoAccess repository.'
,
true
);
$cmd
=
'echo "deb https://deb.goaccess.io/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/goaccess.list >/dev/null 2>&1 ; wget -O - https://deb.goaccess.io/gnugpg.key 2>&1 | sudo apt-key --keyring /etc/apt/trusted.gpg.d/goaccess.gpg add - 2>&1'
;
$result
=
$this
->
exec
(
$cmd
);
if
(
$result
===
false
)
{
throw
new
ISPConfigOSException
(
'Command '
.
$cmd
.
' failed.'
);
}
}
protected
function
shallCompileJailkit
()
{
return
true
;
}
...
...
@@ -473,6 +484,10 @@ mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"';
$this
->
addSuryRepo
();
}
if
(
ISPConfig
::
shallInstall
(
'web'
))
{
$this
->
addGoAccessRepo
();
}
$this
->
updatePackageList
();
ISPConfigLog
::
info
(
'Updating packages (after enabling 3rd party repos).'
,
true
);
...
...
@@ -1003,7 +1018,8 @@ mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"';
'pure-ftpd-common'
,
'pure-ftpd-mysql'
,
'webalizer'
,
'awstats'
'awstats'
,
'goaccess'
);
$this
->
installPackages
(
$packages
);
...
...
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