Friday, August 15, 2008

Mysql 5 Cluster & FreeBSD

Add this to /usr/local/etc/pkgtools.conf in your MAKE_ARGS statement. It's
the WITH_NDB=1 switch that will enable building with cluster support, the
rest is up to you. Then use the portinstall command to build the port.
>From there on it is like any other OS to build the MySQL cluster.


MAKE_ARGS = {
'databases/mysql*' => 'WITH_NDB=1 WITH_ARCHIVE=1 BUILD_OPTIMIZED=1
WITH_OPENSSL=1',
}

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg130462.html

Friday, August 8, 2008

Manual steps to re-create the Show Desktop icon

Manual steps to re-create the Show Desktop icon on the Quick Launch toolbar
The Show Desktop icon is not an ordinary program shortcut. If the icon
is deleted, the procedure for re-creating the icon is not obvious. To
manually re-create the Show Desktop icon, follow these steps:
1. Click Start , click Run, type notepad, and then click OK.
2. In Notepad, type the following text on individual lines:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop
3. On the File menu, click Save As, and then save the file to your
desktop as Show Desktop.scf.

Note Notepad might automatically append a .txt extension to the file
name. Remove this extension if present. The file name should be Show
Desktop.scf.
The file must now be moved to the correct folder in the user profile
to appear in the Quick Launch toolbar. To manually do this, use one of
the following methods.
Method 1
1. Use the mouse to drag the Show Desktop.scf icon to the Quick Launch
toolbar or another location where you want the shortcut to appear.
2. Click Move Here.
Method 2
1. Use Windows Explorer to locate the following folders:

Microsoft Windows 95 and Microsoft Windows 98
Windows\Application Data\Microsoft\Internet Explorer\Quick Launch

Microsoft Windows NT, Microsoft Windows 2000, and Microsoft Windows XP
C:\Documents and Settings\Username\Application Data\Microsoft\Internet
Explorer\Quick Launch

Note Username refers to the account name where you want to put the icon.
2. Use the mouse to drag the Show Desktop.scf file to the Quick Launch folder.
3. Click Move Here.

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...