Gene Leung's Blog
  • Home
  • About
  • Collection
  • Author
  • Portal
  • Sign in
  • Subscribe

Bookmarks

You haven't yet saved any bookmarks. To bookmark a post, just click .

Menu

Social

Uncategorized

A collection of 25 posts

/* Installing NX / FreeNX on the server */ yum install nx freenx /* Copy a minimal configuration file for nxserver */ cd /etc/nxserver ; cp node.conf.sample node.conf /* Edit /etc/nxserver/node.conf and change as follows: */ SSHD_PORT=2222   /* Adjust the SSH port if changed */ DISPLAY_BASE=1003 /*  Adjust the display

FreeNX for CentOS

22 June 2010
FreeNX
Enable SSH access Use the console terminal, remove file ”/etc/ssh/sshd_not_to_be_run” and edit sshd_config to your needs. Set ssh server port to something other than 22 for more security. Or, follow this wiki article for latest information: http://wiki.untangle.com/index.php/Enable_

Untangle - Enable SSH access with different port

22 June 2010
network
1. fdisk -l to list out the device for your usb drive 2. fdisk /dev/sdb to fdisk your device sdb and using the following steps to prepare your Fat 32 disk p – to view the existing partition d – to delete the existing partition n – to add

How to format external USB Drive to Fat 32 under Linux

20 October 2009
fat32
Here you need to install the following packages: 1. yum install dkms dkms-fuse 2. yum install sshfs sshfs syntax: sshfs source target for example: shfs root@dev.gl818.net:/workplace /mnt/sc440

sshfs for CentOS 5.3

14 October 2009
Uncategorized
Synergy — ”lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own monitor(s).” Here are

Synergy - KVM Switch without Video

13 July 2009
network
Assumption: /dev/sdb has problem and need to replace it with a new drive.  sdb has two partitions on raid-1 namely /dev/sdb1 = /boot and /dev/sdb3 = / . 1. cat /proc/mdstat to see the raid information. 2. Use mdadm to fail the drives partition(s) and remove it from the

Replacing failed raid 1 drive

30 June 2009
backup
Assumption: Assume to have only one drive with several raid one partitions. Steps: 1. Make sure to boot from some usb live OS (i.e. CentOS Live OS 5.2 under USB) 2. Use mdadm –remove to remove ALL raid one partitions (i.e., mdadm /dev/md0 –remove

Uninstall software raid one for linux drive with data intact

29 June 2009
mdadm
List the partitions of a device (sda): sfdisk -l /dev/sda Test and show consistent check status on device (sda): sfdisk -V /dev/sda Two ways to create new partitions from an old device (sda): (a) Copy the entire partition table from one disk (sda) to another (sdb) sfdisk -d

Manage partition tables with sfdisk

29 June 2009
Add new tag
Load more posts

Newer Posts
2 of 4
Older Posts

Copyright © 2026, Gene Leung's Blog. All Right Reserved.