- Tutorial: DNI electrónico en Mac OS X Leopard: http://www.macuarium.com/cms/index.php?id=1762&Itemid=90&option=com_content&task=view
- DNI electrónico en MacOS X Snow Leopard: http://www.bisente.com/blog/2010/04/12/dni-electronico-en-macos-x-snow-leopard/
- DNI electrónico en Mac OS X: http://www.kriptopolis.org/dni-electronico-en-macosx
divendres, 20 de maig del 2011
DNIe & PK11 en MacOS X
3 tutorial i pagines d'ajuda per fer servir certificats PK11 i DNIe en MacOS X
dimecres, 27 d’abril del 2011
nginx + PHP + FreeBSD
Investigació bibliografica per internet...
Instal·lació:
[root@nginx ~]cd /usr/ports/www/nginx && make install clean
[...]
[root@nginx ~]# echo "nginx_enable="YES"" >> /etc/rc.conf
Configuració a /usr/local/etc/nginx/nginx.conf
Acceleració:
Fer servir un volum tmpfs per accelerar encara mes la cache del nginx:
Cal fer coincidir el punt de muntatge del tmpfs amb la conf del nginx on guarda la cache.
[root@nginx ~]#mount -t tmpfs tmpfs /data/nginx/cache
No s'ha d'oblidar l'advertencia:
Jan 4 11:05:07 nginx kernel: WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.
- FreeBSD: Nginx FastCGI PHP Configuration: http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/
- http://www.softwareprojects.com/resources/programming/t-installing-nginx-web-server-w-php-and-ssl-1474.html
- Molt ben explicat i pas per pas: http://www.netstorming.com.ar/2010/08/01/nginx-php-fastcgi-mysql-freebsd/
Instal·lació:
[root@nginx ~]cd /usr/ports/www/nginx && make install clean
[...]
[root@nginx ~]# echo "nginx_enable="YES"" >> /etc/rc.conf
Configuració a /usr/local/etc/nginx/nginx.conf
Acceleració:
Fer servir un volum tmpfs per accelerar encara mes la cache del nginx:
Cal fer coincidir el punt de muntatge del tmpfs amb la conf del nginx on guarda la cache.
- Versio a manija:
[root@nginx ~]#mount -t tmpfs tmpfs /data/nginx/cache
- Versio automatica pesistent a reinicis:
No s'ha d'oblidar l'advertencia:
Jan 4 11:05:07 nginx kernel: WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.
Accessoris:
- Sintaxis de colors amb el vim: http://www.vim.org/scripts/script.php?script_id=1886
Instal·lar VMware tools en una VM
Es interessant instal·lar desde el repositori de la propia VMware:
I instal·lar el paquet que vulguis. Si es per un server, es recomanable el -nox-
divendres, 15 d’abril del 2011
Ubuntu 10.10 en un Toshiba Dynabook UX/ NB200 / NB205
Cal retocar els parametres d'arrencada del nucli que venen en el GRUB:
sudo vim /etc/default/grub
Buscar la linia
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
i canviar-la per:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nolapci_timer clocksource=jiffies"
Actualitzar el GRUB:
sudo update-grub
reboot
Altres formes:
LiveCD:
Despres d'instal·lar:
sudo vim /etc/default/grub
Buscar la linia
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
i canviar-la per:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nolapci_timer clocksource=jiffies"
Actualitzar el GRUB:
sudo update-grub
reboot
Altres formes:
LiveCD:
- Despres del boot, despres de la BIOS premer [ESC] per entrar al prompt del syslinux
- escriure "live intel_idle.max_cstate=0" i [enter]
Despres d'instal·lar:
- Despres del boot, despres de la BIOS, premer [shift] esquerra per tenir el prompt del GRUB
- Premer [e] per editar els parametres de boot, afegir "intel_idle.max_cstate=0" despres de "splash"
- Premer [ctrl + x] per fer el boot.
dijous, 17 de març del 2011
VLAN Access Control Lists (VACLs)
When you want to filter traffic that is moving from one VLAN to another, things are real CCNA-like and friendly
We use an Access Control List. In fact, we should elaborate on that term a bit now in light of this discussion. We actually use a Router-based Access Control List or RACL.

But what if we want to filter traffic that is flowing within a VLAN? On no, a Router-based Access Control List cannot help us! This is when we turn to the VLAN Access Control List. To help us understand this feature, let us create a topology and a sample scenario.
NOTA: es un recordatori, cal traduir i adaptar l'article.
Suposant que volem filtrar la VLAN 55, quan s'enrouta. En el switch que fa el IVR, apliquem la llista d'acces següent:
Literatura:
- Cisco Configuring Port ACLs and VLAN ACLs
- Securing Networks with Private VLANs and VLAN Access Control List
dijous, 10 de març del 2011
Configurar el Syslogd del MacOS X
Editar l'arxiu /etc/syslog.conf :
Afegir
*.* @192.168.1.12
o
*.* @192.168.1.12:5140
si no fem servir el port estandad, i reniciar el syslogd:
Per saber si esta en marxa i enviant els logs, podem injectar algo en el syslog:
i el el servidor de syslog hem de veure:
Afegir
*.* @192.168.1.12
o
*.* @192.168.1.12:5140
si no fem servir el port estandad, i reniciar el syslogd:
Per saber si esta en marxa i enviant els logs, podem injectar algo en el syslog:
i el el servidor de syslog hem de veure:
dimarts, 1 de març del 2011
Enabling High Performance Data Transfers
System Specific Notes for System Administrators (and Privileged Users)
These notes are intended to help users and system administrators maximize TCP/IP performance on their computer systems. They summarize all of the end-system (computer system) network tuning issues including a tutorial on TCP tuning, easy configuration checks for non-experts, and a repository of operating system specific instructions for getting the best possible network performance on these platforms
These notes are intended to help users and system administrators maximize TCP/IP performance on their computer systems. They summarize all of the end-system (computer system) network tuning issues including a tutorial on TCP tuning, easy configuration checks for non-experts, and a repository of operating system specific instructions for getting the best possible network performance on these platforms
This material is currently under active revision. Please send any suggestions, additions or corrections to us at nettune@psc.edu so we can keep the information here as up-to-date as possible.
- Introduction
- Tutorial
- Bandwidth*Delay Products (BDP)
- Buffers
- Computing the BDP
- High Performance Networking Options
- Maximum Buffer Sizes on the host
- Socket Buffers sizes
- Negotiating TCP Large Windows options (RFC1323)
- TCP Selective Acknowledgments (SACK, RFC2018)
- Path MTU
- Using Web Based Network Diagnostic Servers
- Quick Link: NPAD Pathdiag end system and last mile diagnostics at PSC
- Quick Link: NPAD Documentation and additional servers.
- Quick Link: SYN Test Server
- Quick Link: ORNL Bandwidth Tester
- Quick Link: ANL Network Diagnostic Tool
- Quick Link: NPAD Pathdiag end system and last mile diagnostics at PSC
- Detailed Procedures for System tuning and Raising network limits for:
- Acknowledgments
Subscriure's a:
Missatges (Atom)