Check services on CentOS 7

Check services that are enabled on CentOS 7 Or for a specific service Disabling a service on boot in CentOS 7 To disable, it’s simply a matter of running systemctl disable on the desired service. Check which services failed to start on boot on CentOS 7 As a bonus, systemctl allows you to list all … Read more

Install Zabbix agent on CentOS

Link to install zabbix server on centOS 6- http://www.unixmen.com/install-zabbix-monitoring-tool-centos-6-5/ Zabbix Documentation – https://www.zabbix.com/documentation/3.4/manual/installation/install_from_packages/rhel_centos Install on CentOS 7 – http://www.unixmen.com/how-to-install-zabbix-server-on-centos-7/ Install Epel Configure the ZabbixZone package repository and GPG key using command: Install the agent Modify Zabbix Agent Configuration Open zabbix_agentd.conf and make below necessary changes (Add your Zabbix Server IP and add Zabbix Agent hostname) and … Read more

Neighbor table overflow Error in Linux

The ‘neighbor table overflow’ is a VERY common linux issue on large networks. Some network trigger this with default linux settings (because the previous network regime put so many IP address subnets on a single vlan , it creates large ARP tables – which is not normal / default settings). It is not an indication … Read more

How To Install MySQL – MariaDB on CentOS 7

Install MySQL / MariaDB Installing MariaDB is as simple as running just one command: # yum -y install mariadb-server mariadb And then start MySQL, now MariaDB: # systemctl start mariadb Be sure that MySQL/MariaDB starts at boot: # systemctl enable mariadb To check the status of MySQL/MariaDB: # systemctl status mariadb To top MySQL/MariaDB: # … Read more

Reset CentOS Root Password

To reset the root password for CentOS 6: Boot Computer and Interrupt while booting at GRUB stage hitting ‘arrow‘ keys or “space bar“. Type ‘a‘ to modify kernel argument. Anytime you can cancel typing ‘ESC‘ key. Append 1 at the end of “rhgb quiet” and press “Enter” key to boot into single user mode. Type … Read more

Rsync to another server without password

Run on the local server (192.168.1.101) – THE SERVER YOU ARE RSYNCING FROM. # ssh-keygen Enter passphrase (empty for no passphrase): Enter same passphrase again: Use ssh-copy-id, to copy the public key to the remote host. # ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.1.102 Now, ssh to the remote server you want to remote to. # ssh 192.168.1.101 … Read more