mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
Fix configure/make substitutions and wrong doc hint
- Documentation stated that apache installation is performed wie make install-apache2-config, this is install-apache-config. - Removed superfluos substitution parameters - Fixed folder permissions and var/log creation on installation refs #4640
This commit is contained in:
parent
2c97ab26a4
commit
cc4b74250f
10
Makefile.in
10
Makefile.in
@ -15,7 +15,7 @@ default:
|
|||||||
#
|
#
|
||||||
# Installs the whole application w\o httpd configurations
|
# Installs the whole application w\o httpd configurations
|
||||||
#
|
#
|
||||||
install: install-static-files install-runtime-dirs
|
install: install-static-files install-runtime-dirs ensure-writable-folders
|
||||||
|
|
||||||
update: install-application
|
update: install-application
|
||||||
#
|
#
|
||||||
@ -34,7 +34,7 @@ clean:
|
|||||||
# Installs/copies all static files (executables, scripts, html, etc)
|
# Installs/copies all static files (executables, scripts, html, etc)
|
||||||
#
|
#
|
||||||
install-static-files: install-application copy-web-files-public copy-web-files-config copy-web-files-modules
|
install-static-files: install-application copy-web-files-public copy-web-files-config copy-web-files-modules
|
||||||
# $(INSTALL) -m 644 $(INSTALL_OPTS) "./public/.htaccess" $(DESTDIR)$(prefix)/public/.htaccess;
|
$(INSTALL) -m 644 $(INSTALL_OPTS) "./public/.htaccess" $(DESTDIR)$(prefix)/public/.htaccess;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Installs runtime directories like the application cache
|
# Installs runtime directories like the application cache
|
||||||
@ -76,6 +76,12 @@ copy-folder-%:
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
ensure-writable-folders:
|
||||||
|
$(INSTALL) -m 775 $(INSTALL_OPTS_WEB) -d $(DESTDIR)$(prefix)/var/
|
||||||
|
$(INSTALL) -m 775 $(INSTALL_OPTS_WEB) -d $(DESTDIR)$(prefix)/var/log
|
||||||
|
chmod 775 -R $(DESTDIR)$(prefix)/config
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Rule for copying only php, *html, js and ini files. Hidden files are ignored
|
# Rule for copying only php, *html, js and ini files. Hidden files are ignored
|
||||||
#
|
#
|
||||||
|
2
config/authentication.ini.in
Normal file → Executable file
2
config/authentication.ini.in
Normal file → Executable file
@ -30,4 +30,4 @@
|
|||||||
@use_internal_auth@[internal_authentication]
|
@use_internal_auth@[internal_authentication]
|
||||||
@use_internal_auth@backend = db
|
@use_internal_auth@backend = db
|
||||||
@use_internal_auth@target = "user"
|
@use_internal_auth@target = "user"
|
||||||
@use_internal_auth@resource = "authentication_db"
|
@use_internal_auth@resource = "internal_db"
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
[localdb]
|
[localdb]
|
||||||
type = ido
|
type = ido
|
||||||
resource = "ido"
|
resource = "ido"
|
||||||
@ido_enabled@
|
|
||||||
|
|
||||||
[locallive]
|
[locallive]
|
||||||
type = livestatus
|
type = livestatus
|
||||||
socket = @livestatus_socket@
|
socket = @livestatus_socket@
|
||||||
@livestatus_enabled@
|
|
||||||
|
|
||||||
[localfile]
|
[localfile]
|
||||||
type = statusdat
|
type = statusdat
|
||||||
status_file = @statusdat_file@
|
status_file = @statusdat_file@
|
||||||
objects_file = @objects_cache_file@
|
objects_file = @objects_cache_file@
|
||||||
@statusdat_enabled@
|
|
||||||
|
|
||||||
;[localfailsafe]
|
;[localfailsafe]
|
||||||
;enabled=false
|
;enabled=false
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
; The configuration file *resources.ini* contains data sources that
|
; The configuration file *resources.ini* contains data sources that
|
||||||
; can be referenced in other configurations. This allows you to manage
|
; can be referenced in other configurations. This allows you to manage
|
||||||
; all connections to SQL databases in one single place, avoiding the need
|
; all connections to SQL databases in one single place, avoiding the need
|
||||||
: to edit several different configuration files, when the connection
|
; to edit several different configuration files, when the connection
|
||||||
; information of a resource change.
|
; information of a resource change.
|
||||||
;
|
;
|
||||||
; Each section represents a resource, with the section name being the
|
; Each section represents a resource, with the section name being the
|
||||||
@ -17,9 +17,9 @@
|
|||||||
type = db
|
type = db
|
||||||
db = @internal_db_type@
|
db = @internal_db_type@
|
||||||
host = @internal_db_host@
|
host = @internal_db_host@
|
||||||
password = @internal_db_password@
|
password = @internal_db_pass@
|
||||||
username = @internal_db_user@
|
username = @internal_db_user@
|
||||||
dbname = @internal_db_database@
|
dbname = @internal_db_name@
|
||||||
|
|
||||||
[ido]
|
[ido]
|
||||||
type = db
|
type = db
|
||||||
|
@ -8,10 +8,8 @@
|
|||||||
If you like to configurea and install icinga2-web from the command line or
|
If you like to configurea and install icinga2-web from the command line or
|
||||||
if you want to create packages, configure and make is the best choice for installation.
|
if you want to create packages, configure and make is the best choice for installation.
|
||||||
|
|
||||||
|
|
||||||
`
|
|
||||||
./configure && make install && make install-apache2-config
|
./configure && make install && make install-apache2-config
|
||||||
`
|
|
||||||
will install the application to the default target (/usr/local/icinga2-web). Also
|
will install the application to the default target (/usr/local/icinga2-web). Also
|
||||||
an apache configuration entry is added to your apache server, so you should restart
|
an apache configuration entry is added to your apache server, so you should restart
|
||||||
your web server according to your systems configuration.
|
your web server according to your systems configuration.
|
||||||
@ -20,9 +18,9 @@ your web server according to your systems configuration.
|
|||||||
|
|
||||||
If you want to install the application to a different directory, use the --prefix flag in your
|
If you want to install the application to a different directory, use the --prefix flag in your
|
||||||
configure call:
|
configure call:
|
||||||
`
|
|
||||||
./configure --prefix=/my/target/directory
|
./configure --prefix=/my/target/directory
|
||||||
`
|
|
||||||
|
|
||||||
### Authentication
|
### Authentication
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user