Friday, October 29, 2010

Windows 2003 synchronize with a NTP Server

This info is based on  http://etherealmind.com/ios-configure-windows-2003-xp-use-ntp-server-sync-time-clock-router/

Stop the Windows Time Service using the CLI.
net stop w32time

You must configure your NTP Servers:
w32tm /config /manualpeerlist:"hora.rediris.es,europe.pool.ntp.org",0x8 /syncfromflags:MANUAL
The peer list must be enclosed
Use the 0×8 flag to force W32time to send normal client requests instead of symmetric active mode packets.

Restart the Windows Time Service and then force a sync.
net start w32time
w32tm /resync

Wednesday, October 27, 2010

Save Netscreen config file from CLI

I've found this deimark's post in experts-exchange that explains how to save the Netscreen's firewall configuration from CLI.

From the webui you can save a copy of the config hen you view it. I would suggest using tftp to do this.

ie set up a tftp server and enter the following commands:

get config > tftp <ip address of tftp server> config-file.txt

Similar to what you would do for backing up and upgrading the screenos image.

Namely to back up:
save config from flash to tftp <ip address of tftp server> <filename>

To upgrade your system:
save config from tftp to flash <ip address of tftp server> <filename> to flash
reset

Junos Router Emulator

I've found this blog: http://blog.okellynet.com/?p=67

There you can find tips for download a Junos Router Emulator for Juniper routers in a VMware virtual machine.

Tuesday, October 19, 2010

Installing VMwareTools on Ubuntu

Here you can find how to install VMware tools in Ubuntu: https://help.ubuntu.com/community/VMware/Tools


# install kernel modules
sudo apt-get install --no-install-recommends open-vm-dkms
# EITHER: install tools for an xorg install
#apt-get install open-vm-tools
# OR: a headless install
sudo apt-get install --no-install-recommends open-vm-tools

Installing LAMP on Ubuntu 10.04 & MySQL Backup

Hay un artículo muy bueno aquí: http://tuxtweaks.com/2010/04/installing-lamp-on-ubuntu-10-04-lucid-lynx/ que explica como instalar LAMP (linux, Apache, MySQL, PHP) en un Ubuntu 10.04

Aquí hay un artículo que explica cómo hacer un backup de MySQL
http://www.webcheatsheet.com/SQL/mysql_backup_restore.php

Y aquí otro:
http://www.desarrolloweb.com/articulos/1202.php

Y en este blog de Gabriel Soltz hay un script para automatizar el backup de MySQL: http://knox-it.blogspot.com/2010/05/bash-backup-mysql-con-compresion-para.html

Monday, October 18, 2010

Modifying the All Users profile in Vista or Windows Server 2008

Después de volverme loco buscando la carpeta Menú de inicio para todos los usuarios en un w2008 he encontrado la solución aquí: http://blogs.technet.com/b/peterfi/archive/2008/02/24/modifying-the-all-users-profile-in-vista-or-windows-server-2008.aspx

En resumen, ahora la carpeta está aquí: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

Para acceder a la carpeta que contiene el menú de inicio para el usuario administrador tienes que ir a C:\Users\Administrador\AppData\Roaming\Microsoft\Windows\Start Menu

Para acceder a la barra Quick Lunch hay que ir a: C:\Users\Administrador\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

Friday, October 15, 2010

Convert your Windows Server 2008 to a Workstation!

I've found this web: http://www.win2008workstation.com/
On it there is a lot of usefull information to tweak a Windows Server 2008 and use it as a workstation.

There's no ftp client in VMware esx 4.1

VMware has removed ftp client tool in esx 4.1, so if you have shell scripts using ftp commands they will fail.
This applies to upgrades too, so if you have esx 4.0