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

Problem: 1. The mysqli error was: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2). 2. Click the “Open phpMyAdmin”, it yields the following error: For security reasons, the link to the phpMyAdmin interface from Zend Server is locked for remote

Zend Server CE on Mac OS X 10.6

20 September 2010
database
Syntax:  dd if=/dev/sda | gzip | ssh root@target ‘gzip -d | dd of=/dev/sda’ Example: dd if=/dev/xenvg/ss_mail_root bs=32M |gzip |ssh root@192.168.168.4 ‘gzip -d | dd of=/dev/xenvg/yfmail_root bs=32M’ The authenticity of host

Disk Cloning with dd and ssh tunnel

17 July 2010
backup
First, download the code: cd /tmp wget http://www.skype.com/go/getskype-linux-beta-static mkdir /usr/share/skype tar jxvf skype_static-2.1.0.81.tar.bz2 cd skype_static-2.1.0.81/ less README cp skype /usr/bin/skype cp -r avatars/* /usr/share/skype/ cp -r lang/* /usr/share/

Installation Skype on CentOS 5.5

16 July 2010
im
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
Load more posts

Newer Posts
2 of 4
Older Posts

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