Wednesday, May 18, 2011

vi intro -- the cheat sheet method by Daniel Robbins

vi,  useful  cheat sheet
http://www.ibm.com/developerworks/linux/tutorials/l-vi/

Tuesday, April 05, 2011

How to add rpmforge repo to CentOS 5.5

x86_64 version
 wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm



You can disable the rpmforge repo in /etc/yum.repos.d/rpmforge.repo
and changed enabled = 1 to enabled = 0

Source
http://blog.bloke.com/2010/05/enable-rpmforge-for-centos-5-5-for-subversion-1-6/

Sunday, March 13, 2011

Updating time on Linux

First install NTP
yum install ntp
 then update by a remote NTP server
ntpdate my.server.xx

or set manually
date mmddHHMM[YYyy]

Thursday, December 02, 2010

CentOS 5 poptop how to

I like short answers

rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
yum install kernel_ppp_mppe dkms ppp pptpd


Here is the source

http://pptpclient.sourceforge.net/yum/

LVM support on Ubuntu

short answer :)

Install lvm2:
$ sudo apt-get install lvm2

Load the necessary module(s):
$ sudo modprobe dm-mod

Scan your system for LVM volumes and identify in the output the volume group name that has your Fedora volume (mine proved to be VolGroup00):
$ sudo vgscan

Activate the volume:
$ sudo vgchange -ay VolGroup00

Create a mount point for that volume:
$ sudo mkdir /mnt/fcroot

Mount it:
$ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o ro,user



long answer :)

http://www.linuxquestions.org/questions/fedora-35/how-can-i-mount-lvm-partition-in-ubuntu-569507/

Friday, August 27, 2010

Linux, how to delete files based on specific date.

# rm -vif `ls -lh | grep 'Aug 26' | awk '{print $9}'`

Saturday, August 21, 2010

Wednesday, August 11, 2010

My Twitter acount

Hi, this is my Twitter acount
Genaraly speaking about tech news and computer stuffs

http://twitter.com/jfloreslizana

Wednesday, May 12, 2004

How to clean Squid cache from console and other stuffs

As a Linux fan I will post some interestings links like this

http://www.squid-cache.org/Doc/FAQ/FAQ-7.html