Thursday, January 14, 2016

No GUI, kernel message flooding and installation of httpd

This input will be on:

  1. Remove GUI boot aka the graphical boot
  2. Remove excessive kernel messages from flooding the screen at login
  3. Installation of httpd essentials

For non-graphical boot

Terminal# systemctl set-default multi-user.target

OR

Terminal# systemctl set-default -f multi-user.target
// with --force

Double check the configured settings

Terminal# systemctl get-deafult

OR

Terminal# systemd.unit=multi-user.target

For stopping kernel message flooding

Terminal# sysctl -w kernel.printk="2 4 1 7"
//output
kernel.printk = 2 4 1 7
Terminal# sysctl kernel.printk
//output
kernel.printk = 2 4 1 7

Reference code:
                               CUR    DEF    MIN    BTDEF
0 - emergency
1 - alert
2 - critical
3 - error
4 - warning
5 - notice
6 - informational
7 - debug

For the installation of Apache 2 with PHP5 and MySQL support

//Installing MySQL/MariaDB5
Terminal# yum install mariadb mariadb-server

//Installing Apache 2
Terminal# yum install httpd

//Installing PHP5
Terminal# yum install php

//MySQL support in PHP5
Terminal# yum install php-mysqlnd php-mssql php-opcache

//Install phpMyAdmin

No comments:

Post a Comment