http://nomoreharvarddebt.com/2014/01/29/teaching-a-debt-perspective-to-12-year-olds/
Monthly Archives: May 2014
Customising CentOS 6.5
Install CHROME following instruction from Ravi Saive
http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/
Enable Sudo by adding below to /etc/sudoers
username ALL=(ALL) ALL
Install EPEL Repo
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
Enable NTFS
yum install ntfsprogs
Speedup bootup by disabling kdump
[root@Host-001 username]# chkconfig | grep kdump kdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off [root@Host-001 username]# chkconfig kdump off
Influence yum repo by modifying timedhosts.txt file.
[root@Host-001 yum.repos.d]# cat /var/cache/yum/i386/6/timedhosts.txt
repo.apiknet.co.id 0.341011047363
centos.mirror.secureax.com 0.142287969589
mirror.smartmedia.net.id 0.205235958099
mirror.axarva.co.id 0.133571863174
mirror.nus.edu.sg 0.004839048386
ossm.utm.my 1.15346980095
mirror.oscc.org.my 0.141036987305
centos.biz.net.id 0.154747009277
mirrors.hostemo.com 0.48002910614
kartolo.sby.datautama.net.id 0.357422113419
buaya.klas.or.id 0.277396202087
mirror.upsi.edu.my 0.156529188156
centos.ipserverone.com 0.143703937531
singo.ub.ac.id 0.302852869034
[root@Host-001 yum.repos.d]#
Modify /etc/fstab for SSD. Enabling TRIM, reduce write.
/dev/mapper/VolGroup-lv_root / ext4 defaults,discard,noatime,nodiratime 1 1 UUID=33ab3417-0f2d-48e6-adf3-5795098b07bf /boot ext4 defaults 1 2 /dev/mapper/VolGroup-lv_home /home ext4 defaults,discard,noatime,nodiratime 1 2 /dev/mapper/VolGroup-lv_swap swap swap defaults,discard,noatime,nodiratime 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
Enable TRIM for LVM modifying /etc/lvm/lvm.conf
issue_discards = 1
Installing a USB HDD CentOS 6.5 from USB Thumbdrive
I’m very much a UNIX guy.
I’m given a notebook for work in office, running Windows 7. I’m running all sorts of *NIX thingy on this office laptop with CYGWIN and ports *NIX of tools.
Very often I’d like to have a pure UNIX environment and this is how a build my USB HDD CentOS 6.5 Desktop using a USB Thumbdrive.
Tools
Download required ISO from CentOS or one of the mirrors.
1. I’ve tried a number of methods in creating a Bootable CentOS install USB stick. The following methods resulted in a bootable install that failed when looking for /images/install.img
The one that work is Win32 Disk Imager.
2. Remove Laptop internal HDD and insert in the HDD you intend to use as USB boot.
3. Boot from the Installer USB. Perform normal install.
4. Once you’ve gotten the installation you want. Remove HDD and put on the USB case/cable. You now have a fully functional Bootable CentOS USB HDD
Windows Event to Syslog
Following products help collect and forward Windows Event to syslog servers.
