When I run "yum update php*" operation, in CentOs i am getting the following error:
"323 packages excluded due to repository priority protections"
Solution to fix the issue:
This is because of the plugin "priorities" helps to solve this issue. Open the file /etc/yum/pluginconf.d/priorities.conf and change the value of enabled =1 to 0.
jq - JSON processor. We can use this to parse a JSON file in bash scripts. Its an opensource and available in github. We can use this like our sed, awk and grep. How we can install jq on Centos machine? jq has no runtime dependencies as its written in C. We need to download and extract to use it. You can play around with jq from here.
How can I change the from address in mutt? Mutt is a mail client in Linux. By default the from address of the mail which is sent by muttrc will be the machine hostname. You can change that using the following steps. 1. Login to the server as root. 2. vi /etc/Muttrc Update the file using the following. set realname="Dennis Young" set from="dennis.young@young.com" set use_from=yes 3.Save the file
I am getting the following error in mysql operation. ERROR 1558 (HY000): Column count of mysql.user is wrong. Expected 42, found 39. Created with MySQL 50173, now running 50556. Please use mysql_upgrade to fix this error. Solution: Login to the server [root@blackmagic ~]# mysql_upgrade -u root -p Enter password: (Enter your password)