jueves, 29 de mayo de 2008

miércoles, 28 de mayo de 2008

The Perfect Desktop - Ubuntu 8.04 LTS (Hardy Heron)

En este link esta en el Perfect Setup de Ubuntu Hardy Desktop

http://www.howtoforge.com/the-perfect-desktop-ubuntu-8.04-lts-hardy-heron

Outlook 2002 and 2003 cannot query some OpenLDAP Servers

Please visit this page before http://support.microsoft.com/kb/256986 continuing.

For Outlook 2003, you must manually modify the Microsoft Windows registry directly:
1. Quit all Office programs.
2. Click Start, and then click Run.
3. In the Open box, type regedit, and then click OK.
4. Click the following key for Outlook XP:
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\LDAP
For Outlook 2003, the key is:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\LDAP
5. With the LDAP key selected, point to New on the Edit menu, and then click DWORD Value.
6. Type DisableVLVBrowsing, and then press ENTER.
7. With the DisableVLVBrowsing DWORD Value selected, click Modify on the Edit menu.
8. In the Value data box, type 1 and then click OK.
9. On the File menu, click Exit
10. Restart the computer

Mirror Data on Linux con Rsync

On first Server:

ssh-keygen -t dsa

(press enter twice to give a blank password)

cd
vi .ssh/.config

Press "i" to enter insert mode and copy this into the file:

Host remotehost
User remoteuser
Compression yes
Protocol 2
RSAAuthentication yes
StrictHostKeyChecking no
ForwardAgent yes
ForwardX11 yes
IdentityFile /home/localuser/.ssh/id_remotehost_dsa


Do NOT change the last line - it is supposed to say remotehost (not an actual host name). Now,

(save and exit vi)

chmod 700 .ssh
vi .ssh/id_dsa.pub

It should look like this:

ssh-dss AAAA..............v root@HOSTNAMEOFSRV01

On Second Server:

cd
vi .ssh/authorized_keys

Enter insert mode (press i) and paste the key, again ensuring that there are no spare newlines or spaces. Save the file and exit vi (press :wq then return, as above). Now you just need to set some permissions otherwise SSH will ignore the files you just created:

chmod 700 .ssh
chmod 644 .ssh/authorized_keys

Testing passwordless SSH

Rsync Replication:

rsync -e ssh -avz --delete /home/folder1/ srv02hostname:/home/folder2

Clonar Linux PC

En la pc de referencia:
dpkg --get-selections>miseleccion.txt


En la pc nueva:

dpkg --set-selectionsapt-get dselect-upgrade

Despues restaurar el home directory del usuario con las carpetas ocultas