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

gene

gene

Read more posts by this author.

Add these two lines to the httpd.conf and it can hide away the server info for security sake. ServerTokens Prod ServerSignature Off

Secure Apache

14 July 2010
apache
/* 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
Step for cloning xen dumU disk image within the SAME xen host Summary : 1. Get the vm guest for the xm list 2. Shut down the vm guest 3. Use the virt-clone interactively by providing needed information 4. Change any information such as fixed IP address under new configuration file

Cloning xen guest by virt-clone for disk image

18 March 2010
30
Assumption: 1. Need to have the CentOS 5.4 DVD iso mounted at /mnt/cdrom mount -o loop -t iso9660 CentOS-5.4-i386-bin-DVD.iso /mnt/cdrom 2. Have httpd server runing and a symbolic link pointed to the /mnt/cdrom, this is served for the source location. mkdir /var/www/html/

Making a Xen domU interactiviely under CentOS 5.4

18 March 2010
30
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
Load more posts

Newer Posts
2 of 4
Older Posts

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