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
|
||||
#
|
||||
install: install-static-files install-runtime-dirs
|
||||
install: install-static-files install-runtime-dirs ensure-writable-folders
|
||||
|
||||
update: install-application
|
||||
#
|
||||
|
@ -34,7 +34,7 @@ clean:
|
|||
# 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) -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
|
||||
|
@ -76,6 +76,12 @@ copy-folder-%:
|
|||
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
|
||||
#
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
@use_internal_auth@[internal_authentication]
|
||||
@use_internal_auth@backend = db
|
||||
@use_internal_auth@target = "user"
|
||||
@use_internal_auth@resource = "authentication_db"
|
||||
@use_internal_auth@resource = "internal_db"
|
||||
|
|
|
@ -1,18 +1,15 @@
|
|||
[localdb]
|
||||
type = ido
|
||||
resource = "ido"
|
||||
@ido_enabled@
|
||||
|
||||
[locallive]
|
||||
type = livestatus
|
||||
socket = @livestatus_socket@
|
||||
@livestatus_enabled@
|
||||
|
||||
[localfile]
|
||||
type = statusdat
|
||||
status_file = @statusdat_file@
|
||||
objects_file = @objects_cache_file@
|
||||
@statusdat_enabled@
|
||||
|
||||
;[localfailsafe]
|
||||
;enabled=false
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
; The configuration file *resources.ini* contains data sources that
|
||||
; can be referenced in other configurations. This allows you to manage
|
||||
; 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.
|
||||
;
|
||||
; Each section represents a resource, with the section name being the
|
||||
|
@ -17,9 +17,9 @@
|
|||
type = db
|
||||
db = @internal_db_type@
|
||||
host = @internal_db_host@
|
||||
password = @internal_db_password@
|
||||
password = @internal_db_pass@
|
||||
username = @internal_db_user@
|
||||
dbname = @internal_db_database@
|
||||
dbname = @internal_db_name@
|
||||
|
||||
[ido]
|
||||
type = db
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
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.
|
||||
|
||||
./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
|
||||
an apache configuration entry is added to your apache server, so you should restart
|
||||
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
|
||||
configure call:
|
||||
`
|
||||
./configure --prefix=/my/target/directory
|
||||
`
|
||||
|
||||
./configure --prefix=/my/target/directory
|
||||
|
||||
|
||||
### Authentication
|
||||
|
||||
|
|
Loading…
Reference in New Issue