How to add timestamp in bash history in linux

The time stamp can be added to the bash history using the a system variable "HISTTIMEFORMAT". Steps: Log into your server, then run: [crayon-5bf24b06037bc133877760/] The above command will work temporary and after you logged out, it will be flushed. To make these changes permanent, use below commands: [crayon-5bf24b06037c5665964628/] Once you…

How to fix RTNETLINK answers: Operation not supported error

This error is displayed while restarting the network service in linux [crayon-5bf24b0603b83669350708/] This error occurs when the iproute package gets upgraded to iproute-2.6.32-31.el6. To fix the issue, the iproute package should be downgraded to iproute-2.6.32-23.el6 package. Commands for 32-bit systems: [crayon-5bf24b0603b8a812845504/] Commands for 64-bit systems: [crayon-5bf24b0603b8e526613785/] That's it. Need help?…

How to fix ModSecurity: Multipart parsing error: Multipart: Failed to create file error

This error is logged in apache errorlog file. [crayon-5bf24b0603ecd513225066/] Here's the main part of the error: [crayon-5bf24b0603ef1356639852/] Than means, Modsecurity is trying to access /root/tmp to process the temporary data which is not allowed for non root users. This error can be fixed by adding the below entries in modsecurity…

Setup public key authentication between two servers

To setup the public key authentication or key based authentication, lets assume first server as server1.example.com and the second server as server2.example.com. Automated login from server1 to server2. On server1, generate the key pair: [crayon-5bf24b0604255981227611/] By entering the command, below output will be generated: [crayon-5bf24b060425c805692519/] The private key and public…

Contact US

Server Management Admins

  • 'Gajanan', Ujwal Colony, Chehedi Pumping Station Road,Nasik Road.Nasik, Maharashtra 422101,
    India

  • +91 9822804835

  • sales@servermanagementadmins.com