I happened to need mkpasswd command in CentOS 6.3 minimal:
While there is no package for the tool it can be found in expect command. So run as shown :
yum install expect
I happened to need mkpasswd command in CentOS 6.3 minimal:
While there is no package for the tool it can be found in expect command. So run as shown :
yum install expect
Exim is no longer available as a standard package, but as with most pieces of Linux software, it’s still only a few commands away. If you want to install Exim to use, or just to try, all you need do is:
Install the EPEL (Extra Packages for Enterprise Linux) repository:
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm rpm -i epel-release-6-5.noarch.rpm
Install the Exim package
yum install -y exim-mysql
Disable Postfix (the default MTA)
service postfix stop chkconfig postfix off
Set Exim as the default MTA
alternatives --config mta
And finally start Exim
chkconfig exim on service exim start
You should now be running Exim, and probably want to visit the official documentation site.
alias ipv6 off
by
options ipv6 disable=1
Alternative (which might be easier and works on any release with /etc/modprobe.d):
# touch /etc/modprobe.d/disable-ipv6.conf # echo "install ipv6 /bin/true" >> /etc/modprobe.d/disable-ipv6.conf
alias ipv6 off alias net-pf-10 off
With the 5.4 update symbol/ipv6 module dependency capabilities have been introduced; therefore, if IPv6 has been previously disabled as above an upgrade to the bonding driver in 5.4 will result in the bonding kernel module failing to load. For the module to load properly use instead:
# touch /etc/modprobe.d/disable-ipv6.conf # echo "options ipv6 disable=1" >> /etc/modprobe.d/disable-ipv6.conf
Upstream employee Daniel Walsh recommends not disabling the ipv6 module but adding the following to /etc/sysctl.conf:
net.ipv6.conf.all.disable_ipv6 = 1
In a short way this is what I do:
[root@toro.maranello.local ~]#echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
While there I would turn off the IPV6Tables service as well
[root@toro.maranello.local ~]# service ip6tables save [root@toro.maranello.local ~]# service ip6tables stop [root@toro.maranello.local ~]# chkconfig ip6tables off
nJoy 😉
Very simply create a batchfile name it watch.batwith notepad with the following contents:
@ECHO OFF :loop cls %* timeout /t 5 goto loop
Run as such :
watch dir *.mpg
Allowing the login of a user from any host in Mysql is simple:
mysql> select host, user from mysql.user;
+—————+——+
| host | user |
+—————+——+
| 127.0.0.1 | root |
| localhost | root |
| minimal01.lan | root |
+—————+——+
3 rows in set (0.00 sec)
mysql> update mysql.user set host=’%’ where host=’127.0.0.1′;
mysql> select host, user from mysql.user;
+—————+——+
| host | user |
+—————+——+
| % | root |
| localhost | root |
| minimal01.lan | root |
+—————+——+
3 rows in set (0.00 sec)
Voila`
So test drove CentOS 6 Minimum install ..
Only real hiccup till now is :
TUV ( the upstream vendor) aka RHEL decided to disable the network interfaces by default. WTF to that.
A glance at the FAQ will show the solution :
Here’s my version for multiple interfaces.
# cd /etc/sysconfig/network-scripts/
# sed -i -e ‘s@^ONBOOT=”no@ONBOOT=”yes@’ ifcfg-eth*
The more time passes the closer to Unix style Windows gets.
:\Users\Administrator>powercfg -h on
:\Users\Administrator>shutdown -h
That’s all !