mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
updated test, from centos 6x to 7x style, transformedservice commands into direct commands
This commit is contained in:
parent
8b8243c56a
commit
9f25508a44
@ -17,14 +17,14 @@ function check {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Start the required services.
|
# Start the required services.
|
||||||
service mysqld start && /usr/bin/mysqladmin -u root password 'pandora'
|
rm -rf /var/lib/mysql/* && sudo -u mysql mysqld --initialize-insecure && mysqld --user=mysql --sql-mode="" --daemonize=ON && /usr/bin/mysqladmin -u root password 'pandora'
|
||||||
check "Starting the MySQL Server" $?
|
check "Starting the MySQL Server" $?
|
||||||
|
|
||||||
mkdir -p /run/php-fpm/ 2>/dev/null
|
mkdir -p /run/php-fpm/ 2>/dev/null
|
||||||
/usr/sbin/php-fpm
|
/usr/sbin/php-fpm
|
||||||
check "Starting PHP-FPM" $?
|
check "Starting PHP-FPM" $?
|
||||||
|
|
||||||
service httpd start
|
httpd
|
||||||
check "Starting the Apache Web Server" $?
|
check "Starting the Apache Web Server" $?
|
||||||
|
|
||||||
# Install the Pandora FMS Console.
|
# Install the Pandora FMS Console.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user