Created
February 7, 2012 23:11
-
-
Save l1x/1762876 to your computer and use it in GitHub Desktop.
CentOS 6.2 x64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum update -y | |
#services running after the default install | |
#btw who the fuck thinks that anybody need these?! | |
#[root@centos62 ~]# chkconfig | egrep ':on' | sed s-^-#- | |
#auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#fcoe 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#iscsi 0:off 1:off 2:off 3:on 4:on 5:on 6:off | |
#iscsid 0:off 1:off 2:off 3:on 4:on 5:on 6:off | |
#lldpad 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off | |
#netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off | |
#network 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off | |
#rpcbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off | |
#rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off | |
#rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off | |
#udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off | |
for i in fcoe ip6tables iptables iscsi iscsid lldpad netfs nfslock rpcbind rpcgssd rpcidmapd ; | |
do | |
chkconfig --levels 0123456 $i off ; | |
done | |
#wtf is this shit doing in my minimal install | |
yum erase fcoe-utils | |
#thanks NSA i don't need your backdoor | |
sed -i s-enforcing-disabled- /etc/selinux/config | |
#epenis repo install | |
rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm | |
# tmux and vim yay... | |
yum install vim tmux -y | |
#locate | |
yum install mlocate -y && updatedb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment