Entries Tagged as ''

SCP: The Other Way to Transfer File

I admit that SCP (Secure Copy) is not a new tool coming in recently. However, I would like to share this tool for those who have never tried this before. I will introduce for two different platform.

For UNIX/Mac OS/Linux users, Most distributions have already had SCP package. You can transfer file or directory from one box to the other box. The nice thing, which is different with FTP, is that you can transfer files or directories between two boxes, neither of them is your local machine. The following is the example.

scp -r userA@domainA:./DirectoryA userB@domainB:./DirectoryB

For Windows users, you have to download the third party software. Here, I recommend WinSCP. You can download from here. Although it is not as flexible as SCP CLI, it still facilitate file transfer between your Windows local machine to other computer box.

Install Fedora 7 by NFS

If you don’t wanna burn ISO file to DVD, NFS installation is one choice. I assumed that you will start from scratch, so you need:

  • One USB key
  • One Linux server
  • Network connect between your server and your installation computer box

1. Mount ISO File

mount -t iso9660 -o loop /tmp/F-7-i386-DVD.iso /mnt/FC7

2. Setup NFS Service

2.1 Start NFS Service

service nfs start OR

/etc/init.d/nfsd start

2.2 Revise exports File

vi /etc/exports
/mnt/FC7 <Allowed Domain or IP>(ro,sync,all_squash)

2.3 Revise iptable

Normally, NFS client cannot access NFS server if firewall was enabled. All you need to do, is to add TCP port to iptable. The TCP ports for NFS and related daemon are as following. We need to add 2049:tcp 111:tcp 829:tcp and 816:tcp.

[root@localhost ~]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 933 status
100024 1 tcp 936 status
100021 1 tcp 53905 nlockmgr
100021 3 tcp 53905 nlockmgr
100021 4 tcp 53905 nlockmgr
100021 1 udp 32811 nlockmgr
100021 3 udp 32811 nlockmgr
100021 4 udp 32811 nlockmgr
100011 1 udp 813 rquotad
100011 2 udp 813 rquotad
100011 1 tcp 816 rquotad
100011 2 tcp 816 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 826 mountd
100005 1 tcp 829 mountd
100005 2 udp 826 mountd
100005 2 tcp 829 mountd
100005 3 udp 826 mountd
100005 3 tcp 829 mountd

2.4 Restart NFS Service

/etc/init.d/nsfd restart

3. Make a Boot USB

3.1 Find Bootable Image

/images/diskboot.img

3.2 Burn the Image

You need a tool “dd”, which was pre-installed on most linux distribution . So, put you USB-Flash on you linux PC, wait a while , when you see the LED blink, then use :

dd if=diskboot.img of=/dev/sda

4. Enjoy Installation

Now, you can enjoy installation. First, changing computer BIOS configuration to boot from USB disk. Then, plug in USB disk and reboot the computer. Following the instruction prompted in the screen and press several times “OK” button, you will see option of installation method. Select NFS installation and input NFS server domain name or IP address as well as mounted ISO file directory. After almost one hour, (it depends on your computer performance and network band witch), you can enjoy brand new Fedora 7.

3D Desktop on Fedora 7

I always think Java cannot do something about desktop better than others, until I saw the project named Looking Glass 3D desktop environment on Linux. Although I can enable desktop effect on Fedora 7 and make it looks fancy, it is still not as innovated as this project does. Okay, let’s take a look.

Step 1: Download the binary file

lg3d–1-0-0-linux-i686-0612190943.bin

Step 2: Extract the binary file and post install

mv lg3d–1-0-0-linux-i686-0612190943.bin /usr/share/
bash lg3d–1-0-0-linux-i686-0612190943.bin
cd /usr/share/lg3d/bin/
bash ./postinstall

Step 3: Enjoy Looking Glass 3D

/usr/share/lg3d/bin/lg3d-app OR
/usr/share/lg3d/bin/lg3d-app-full

Screen Shots 1: Desktop and Menu
Desktop and Menu

Screen Shots 2: Choose Desktop Background

Choose Desktop Background

Screen Shots 3: Transparent Terminal

Transparent Terminal

GENI and FIND: Revolution or Evolution?

GENI (Global Environment for Network Innovations) and FIND (Future Internet Network Design) are two projects aiming to the next generation Internet. Before we discuss, I would like to introduce two people in here. One is Jonathan Turner, who proposed the GENI backbone architecture. The other is Nick McKeown, who led Tiny Tera project and contributed most design to Cisco 12000 serials.

According to Jonathan Turner, the objective of GENI is to co-exist the current communication media and to get rid of some shortcomings of the current Internet. There will be some devices called “metarouters”, which have many Process Engines (PEs) to handle not only TCP/IP but many other type of media, especially for TDM. Also, GENI will be based on high performance routing and switching, according to Nick McKeown. So, we can have a picture now. The next generation Internet will not only associate with computers. It will be the platform of PSTN and TV networks. That would be owesome!

However, the truth is, we have national wide TDM fiber transfer network, we have legacy ATM backbone transfer network, we have CATV network, and we also have 3G and 4G wireless network. Each of them was in charged by different organizations. To unify all network to one platform seems very hard. Additionally, it’s unrealistic to merge all network over one night.

Do we have chance? The answer is positive since we have already experienced this four decades evolution, especially from early 1990. The evolution will be driven by the Internet users. Some technologies like P2P file transfer, Internet phone and IPTV are popular because of the users. The Internet architecture and core equipments will be improved and some old technology will be obsoleted. The vendors such as Cisco will come up with more devices aiming to the next generation Internet.

K-lite Codec Pack 3.4.5

I have experienced installing four codec packages only for viewing a movie before. I also have had to install third party software to listen MP3 music. Now, there is a K-lite package, which is good for Windows multimedia users since it provides many codec format just in one package.

Free Download

http://www.free-codecs.com/K_Lite_Codec_Pack_download.htm

Start to install

klite_start_install.jpg

Choose options

klite_choose_option.jpg

Enjoy

klite_classic_view.jpg

Pros and Cons

Pros Cons
Support Audio: AC3Filter, MP3/MP4, Ogg, Wav, rm  
Support Vedio: MPEG4/DVD, DivX, Xvid, rm Quick time is not default option
Support DirectVobSub for subtitle Only provides .exe installation file, which means, the package can only install to the Windows.

Startup

It must be coincident that I read two articles today about startup. One is from CNET. The article lists 9 fun ways that Web 2.0 startup may commit legal suicide. The other is from Matt Cutts. It seems a lot of people are willing try to startup in Web 2.0. Why? The answer is quite simple: it’s easy to startup. :)

However, those who try to follow the winners, such as FaceBook, Digg and… oh, I almost forgot, Google, have to pay more attention to legal issues. Otherwise…

Startup = = Suicide