Comment on How to suspend Cpanel user through ssh / Cpanel shell command to suspend users by admin.
Another important thing on building new Linux servers is to always select the correct my.cnf as a basis according to the scale of mySQL server and the server hardware:
A good place to look on for choosing the correct type of initial configuration in accordance to the server hardware and expected load is:
hipo@noah:~/Desktop$ ls -al /usr/share/doc/mysql-server-5.1/examples/my-*
-rw-r–r– 1 root root 2061 Feb 8 14:16 /usr/share/doc/mysql-server-5.1/examples/my-huge.cnf.gz
-rw-r–r– 1 root root 7817 Feb 8 14:16 /usr/share/doc/mysql-server-5.1/examples/my-innodb-heavy-4G.cnf.gz
-rw-r–r– 1 root root 2044 Feb 8 14:16 /usr/share/doc/mysql-server-5.1/examples/my-large.cnf.gz
-rw-r–r– 1 root root 2063 Feb 8 14:16 /usr/share/doc/mysql-server-5.1/examples/my-medium.cnf.gz
-rw-r–r– 1 root root 2445 Feb 8 14:16 /usr/share/doc/mysql-server-5.1/examples/my-small.cnf
If for example the mysql server will be a very heavily loaded server the my-large.cnf has to be used the name of the file is self explanatory so just pick the file you need extract the .gz and ovewrite the default my.cnf from install.
Recent Comments by admin
Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
–rwo, –report-warnings-only
This option causes only warning messages to be displayed. This can be useful when rkhunter is run via cron. Other options may
be used to force other items of information to be displayed.
–sk, –skip-keypress
When the –check command option is used, after certain sections of tests, the user will be prompted to press the return key
in order to continue. This option disables that feature, and rkhunter will run until all the tests have completed.
Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
As rkhunter check, can be pretty annoying and ask you to press keypresses multiple times and spit you a lot of unnecessery data a very good useful option arguments are:
–rwo and –sk
# rkhunter -c –rwo –sk
Warning: The SSH and rkhunter configuration options should be the same:
SSH configuration option 'PermitRootLogin': yes
Rkhunter configuration option 'ALLOW_SSH_ROOT_USER': no
Sorry for really late reply.
perhaps you have to create it or rename the ifcfg-eno1 to ifcfg-eth1 or you have some old ifcfg-enp1s0f0 or ifcfg-eno still under /etc/sysconfig/network-scripts/ interfering
How to RPM update Hypervisors and Virtual Machines running Haproxy High Availability cluster on KVM, Virtuozzo without a downtime on RHEL / CentOS Linux
if you happen to be missing versionlock plugin and you need to get use of it
yum versionlock capabilities
You will have to install yum-utils package:
For example on CentOS 8 Linux, to enable the yum versionlock plugiun
yum install yum-utils.noarch
In case if by default log is not configured for snoopy,
these are default output locations on various Linux distributions:
Distribution | Snoopy output location | Notes |
---|---|---|
CentOS |
/var/log/secure
|
|
Debian |
/var/log/auth.log
|
|
Ubuntu |
/var/log/auth.log
|
|
(others) |
/var/log/messages
|
(potentially, could be elsewhere) |