« Older Home
Loading Newer »

Linux tips

http://searchenterpriselinux.techtarget.com/tips/index/0,289482,sid39_tax283956_idx30,00.html

Hosting iSCSI Targets on Ubuntu Linux

http://searchenterpriselinux.techtarget.com/tip/0,289483,sid39_gci1280953,00.html#

Dreamweaver keeps crashing

Dreamweaver CS3 crashes after Daylight Savings Time ends
http://www.adobe.com/go/kb402776
If Dreamweaver is open, quit the application.
Delete the WinFileCache-AD76BB20.dat file from the Dreamweaver user
configuration folder. Note that on Windows, the Application Data and AppData
folders are hidden by default, so verify that your Windows Explorer folder
options are set to View Hidden Folders. The location of this file is as follows:
Dreamweaver CS3 on Windows Vista:
C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver 9\Configuration
Dreamweaver CS3 on Windows XP:
C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver
9\Configuration
Restart Dreamweaver.

VMware server 2

http://ubuntuforums.org/showthread.php?t=973729

https://help.ubuntu.com/community/VMware/Server

Getting VMware ESXi to install on IDE

http://www.vm-help.com/esx/esx3i/ESXi_install_to_IDE_drive/ESXi_install_to_IDE_drive.php

1) If you have encountered the error shown above, you can press ALT-F1 to access the console of the ESXi install. You’ll be prompted for a login and you can use ‘root’. The password for root with be blank. As mentioned above, this process assumes you have an IDE drive that ESXi can recognize. You can use the command lspci to show the list of devices that ESXi can recognize and then compare that with this list of devices. Also if you run fdisk -l, you should see your IDE drive listed.
2) After you have console access you will enter the command vi /usr/lib/vmware/installer/Core/TargetFilter.py (note that the path and filename are case-sensitive).
3) Scroll down in the document until you find the section “def IDEFilter(lun)”. You will be changing the text:

return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_IDE
to
return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_ISCSI

If you have not used vi before, move the cursor to the end of “TYPE_IDE” and the press the Insert key. The press backspace to delete IDE and type in ISCSI. Then press the ESC key, type in the command :wq and press Enter to save the file and exit.

4) You will now be back at the console. If you had stopped the installer at the screen show below, you can press ALT-F2 to return to the screen and press Enter to start the install, but it will still generate the error shown in the image above. You will need to press ALT-F1 and then type in install and press enter.
5) When you run the install command, it is important to note that the installer will switch you back to the ALT-F2 (DCUI) screen. Press ALT-F1 to return to the console again. You will see the below screen again with the prompt to press Enter to install. Do so and the install will proceed.

金庸武俠小說

http://a1001.a7-11.com/index.htm

Line break remover: http://www.textfixer.com/tools/remove-line-breaks.php

Sync to backup server & DNS failover

Backing up an Ensim server to a Cpanel server:

  1. Take down cpanel DNS
  2. Set up account on Cpanel
  3. Make DNS changes
  4. rysnc -ave ssh host:/home/virtual/xyz.com/var/www/html/* /home/newuser/www/
  5. find . -name “*.php” -type f -exec sed -i ’s/\/home\/virtual\/xyz.com\/var\/www\/html/\/home\/newuser\/www/’ {} \;
  6. mysqldump -h host -u root -ppassword dbname table_name | mysql -u newuser -ppassword newdb

DNS Failover: In case ensim (primary) server is dead, update cpanel (mirror) server to point all the sites to itself:

find . -maxdepth 1 -name “*.db” -type f -exec sed -i ’s/64\.195\..*\..*/75.126.144.40/’ {} \;

New Premium feature

No more top banner advertisement!

Sign up here

New Premium / Member Sign up page

I have put up a simple page that takes Google Checkout directly. Less info needed (just username, password, and email!)

http://www.outie.net/forums/premium.php

Thanks.

digg.com button

I added a “digg this story” button to threads that can be viewed publicly. I wonder if I will get banned…

91x17-digg-button.gif