To list all kernel parameters [root@instance-1 ~]# sysctl -a abi.vsyscall32 = 1 crypto.fips_enabled = 0 debug.exception-trace = 1 debug.kprobes-optimization = 1 dev.hpet.max-user-freq = 64 dev.mac_hid.mouse_button2_keycode = 97 dev.mac_hid.mouse_button3_keycode = 100 ex: [root@instance-1 ~]# cat /proc/sys/fs/file-max 373992 [root@instance-1 ~]# sysctl -a |grep fs.file-max fs.file-max = 373992 [root@instance-1 ~]# sysctl -w fs.file-max=380000 fs.file-max = 380000 [root@instance-1 ~]# … Continue reading Managing kernel parameters
Day: June 20, 2017
jenkins (CJE) Exercise Guide
####################################################################### Exercise: Install a Jenkins Master and Prerequisites NOTE: Be sure you are using the same server version and distribution from the course for these topics. Basic Instructions Download the appropriate java jdk version from the Oracle website. For this course we use jdk-8u121. Copy the package from your local environment to the target server. … Continue reading jenkins (CJE) Exercise Guide
Upgrading kernel version
[root@mypc ~]# egrep ^menuentry /etc/grub2.cfg | cut -f 2 -d \' CentOS Linux (3.10.0-514.6.1.el7.x86_64) 7 (Core) CentOS Linux (3.10.0-123.4.2.el7.x86_64) 7 (Core) CentOS Linux, with Linux 3.10.0-123.el7.x86_64 CentOS Linux, with Linux 0-rescue-11264912be38456483e63dfd21d402f4 [root@mypc ~]# yum update |grep kernel-tools ---> Package kernel-tools.x86_64 0:3.10.0-514.6.1.el7 will be updated ---> Package kernel-tools.x86_64 0:3.10.0-514.21.1.el7 will be an update ---> Package kernel-tools-libs.x86_64 0:3.10.0-514.6.1.el7 … Continue reading Upgrading kernel version
Terminal short cuts
ctrl+a to come to start of line in terminal ctrl+b to move backward one character ctrl+c to terminate process crtl+d to terminate session ctrl+e to come to end of line in terminal ctrl+f to move forward by one character ctrl+h to erase one character to your left of cursor ctrl+k to remove the character after … Continue reading Terminal short cuts
Nagios xi
https://assets.nagios.com/downloads/nagiosxi/docs/Installing-Nagios-XI-Manually-on-Linux.pdf [root@jenkinsslave ~]# curl https://assets.nagios.com/downloads/nagiosxi/install.sh | sh http://130.211.135.148/nagiosxi/install.php Nagios XI Installer Welcome to the Nagios XI installation. Just answer a few simple questions and you'll be ready to go. General Program Settings Program URL: http://130.211.135.148/nagiosxi/ Administrator Name: Nagios Administrator Administrator Email Address: root@localhost Administrator Username: nagiosadmin Administrator Password: ojFvdaq5rnXjkLqkSXNM Timezone Settings Timezone: Install [root@jenkinsslave ~]# … Continue reading Nagios xi
