Category Archives: Uncategorized
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.
Investor Howard Marks
“Do things you like to do,” Marks told the audience. “It’s OK to take a drudge job and work in an investment bank 20 hours a day for a couple of years if it will advance you up that career path, but don’t do it for 30 years. This is the only life you get.”
Importance
When the Buddha was eighty years old and about to pass away, a young man named Subhadda came to see him. Ananda, the Buddha’s attendant, thought it would be too exhausting for his master to see anyone, but the Buddha over heard Subhadda’s request and said, “Ananda, please invite him in.” Even as he was dying, the Buddha was willing to give an interview.
Subhadda asked, “World Honored One, are the other religious teachers in Magadha and Koshala fully enlightened?” The Buddha knew he had only a short time to live and that answering such a question would be a waste of precious moments. When you have the opportunity to ask a teacher about the Dharma, ask a question that can change your life. The Buddha replied, “Subhadda, it is not important whether they are fully enlightened. The question is whether you want to liberate yourself. If you do, practice the Noble Eightfold Path. Wherever the Noble Eightfold Path is practiced, joy, peace, and insight are there.” The Buddha offered the Eightfold Path in his first Dharma talk, he continued to teach the Eightfold Path for forty five years, and in his last Dharma talk, spoken to Subhadda, he offered the Noble Eightfold Path – Right View, Right thinking, Right Speech, Right Action, Right Livelihood, Right Diligence, Right Mindfulness, and Right Concentration.
Thich Nhat Hanh

