List All Pages
Seleccionar la petición que queremos actualizar. Pinchar en "Actualizar" en la parte superior central de la pantalla. Se nos abrirá una pantalla en la que debemos proceder siguiendo exactamente...
The steps I took to add a volumen to the pool were the following: - Plug the disk. - Format the disk. - Edit the file /etc/bacula/bacula-dir.conf and add: Storage { Name = File2 # Do not use...
Para insertar o eliminar host en la monitorización de Nagios es necesario editar 3 archivos: - hosts.cfg - hostgroups.cfg - extinfo.cfg Estos se encuentrasn en /etc/nagios/conf.d/ su - cd...
Antes de nada, recordar hacer una copia de los archivos que vamos a modificar. cd /etc/nagios3/conf.d root@monitor:/etc/nagios3/conf.d# cp services.cfg /root/etc/nagios3/conf.d/services.cfg.`date...
#!/bin/bash SVNHOME=/var/svn if [ "$1" == "" ]; then echo "Usage: $0 nombreRepositorio " exit 1 fi if [ -d "$SVNHOME/$1" ]; then echo "Error: The repository $SVNHOME/$1...
- Set up an email account - Set up a Samba account - Set up Egrouware - Set up subversion - Set up gpg4win - Set up gpg in linux - Create a RSA key pair
- Delete samba account - Redirect email account to group responsible? If necessary, if not - delete - Move all emails to group responsible? - Set up an alert on the calendar to delete/disable the...
Original source: Scaling Apache Scaling Apache 2.x beyond 20,000 concurrent downloads ftp.heanet.ie is HEAnet's National Mirror Server for Ireland. Currently mirroring over 50,000 projects, it is a...
Install mod_perl and libgtop yum install mod_perl.x86_64 mod_perl-devel.x86_64 yum install libgtop2.x86_64 libgtop2-devel.x86_64 Create a directory to store your scripts: mkdir...
You can have really serious problems if you enable mod_deflate and then cache this content too as far as I can...
Controlando recursos de Apache con mod_slotlimit mod-evasive para evadir ataques ddos-dos y fuerza bruta
<VirtualHost *:81> ServerName www.hummy.org ServerAlias hummy.org origin-www.hummy.org staging.hummy.org DocumentRoot /var/www ProxyRequests Off ProxyVia On ProxyPass /shield ! ProxyPass...
Bacula installation Adding a volume to the pool
root@rita:~# apt-get install postgresql-8.3-ip4r postgresql-8.3-postgis libpgtypes3 postgresql-8.3 postgresql-client-8.3 postgresql-contrib-8.3 postgresql-plperl-8.3 postgresql-doc-8.3...
Trouble shooting errors with bind: Troubleshooting bind Compile/configure BIND Compile - install bind
touch -r /root/fileWithCorrectTime fileToBeChanged
- Login to the nagios server - Become root user - Navigate to the nagios directory cd /etc/nagios2 Take a backup of the contacts file. cp conf.d/contacts.cfg contacts.cfg.`date +%d%b%g` -...
Change the hostname, domainname and gateway of a Unix machine. This example is for Red Hat, but is very similar for any other *NIX distribution. We will start by modifying the host file...
http://www.subvs.co.uk/ubuntu_change_hostname_computer_name Changing the hostname or computer name in ubuntu This is a really simple one, but can cause a lot of weeping and gnashing of teeth. You...
Changing hostname in ubuntu Changing hostname in Red Hat - Centos
This is a sample PHP-MySQL script that will check connectivity: <?php if (!mysql_connect('IPAddress', 'MySQLUser', 'Password')) die('Could not connect: ' . mysql_error()); echo 'Connected...
Para cerrar o borrar un proyecto, hacemos lo siguiente: Ir a administración > Proyectos (en la parte izquierda un poco más arriba del medio, no en la parte superior) Localizar el proyecto que...
Revisar las peticiones que se encuentra en estado "Resuelta", "Rechazada", "Duplicada", que se encuentren o no asignadas a nosotros mismos. Es obligación para la gente que resuelve una petición,...
Installation Configuration
Clock and timezone set up Change timezone permanently cat /etc/sysconfig/clock dateconfig mv /etc/localtime /etc/localtime`date +%d%m%g` ln -s /usr/share/zoneinfo/Europe/Madrid /etc/localtime ntp...
Creación de proyectos Creación de peticiones Actualización de peticiones Cierre de peticiones Cierre/Borrado de proyectos Notificaciones por correo
Compile Apache with mod_deflate cd /usr/local/src rm -Rf httpd-2.0.63 tar -xvjf httpd-2.0.63.tar.bz2 ./configure --prefix=/usr/local/apache.2.0.63-deflate --enable-rewrite --enable-ssl...
Changes applied to Apache in this document: * Replacing apache with a new version * Adding mod_status and a virtual host for monitoring purposes PRE compilation: cd /usr/local/src wget...
Prepare the directory structure: cd /usr/local/ mkdir bind-9.6.0-P1 ln -s bind-9.6.0-P1/ bind mkdir -p /usr/local/bind/var/named mkdir -p /usr/local/bind/var/cache mkdir -p...
Step to safely compile a jrun connector for Coldfusion minimizing downtime and risk PRE Locate your coldfusion installation, in my case it is /opt/coldfusionmx7. mkdir /tmp/jrun cp...
Google tricks Proxy servers Free upload space Security compilation Set up a custom domain at wikidot.com Password management policy How to select a password management system XSS Software...
Comment out the line starting with 'Example' on freshclam.conf and clamd.conf. freshclam.conf: Example -> #Example DatabaseDirectory /usr/local/share/clamav UpdateLogFile...
Crear el directorio donde ubicaremos los diferentes document root: mkdir -p /home/ulysse/datos/www chown ulysse:www-data /home/ulysse/datos/www chmod 2750 /home/ulysse/datos/www Configurar...
Instructions for doing this are very well explained in [Tomcat documentation http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html], nevertheles is always useful to have an example of...
If you feel like, you can drop me a line at gro.ymmuh|oiram#gro.ymmuh|oiram ;)
perl -le 'print scalar localtime 1227061431'
Para crear peticiones, hacemos click en Nueva Peticion. Elegimos el tipo de petición acorde en el menú desplegable, tareas, errores, soporte… Elegir un tema adecuado y una descripción de la...
Para crear un proyecto, hacer click en proyectos en la parte superior izquierda de la pantalla. En la siguiente pantalla hacer click en "Nuevo proyecto" en la parte de la derecha. Rellenar el campo...
Sefl-signed certificates creation One-liner command to generate a certificate: openssl req -x509 -nodes -days 3650 -subj...
Trac users are kept in: /var/bigfish/devel/trac_bf/users.htdigest In order to create a user issue the following command: [root@newfish trac_bf]# cp /var/bigfish/devel/trac_bf/users.htdigest...
*http://bulma.net/body.phtml?nIdNoticia=1859** Este artículo está hecho para aquellas personas que estén hartas de tener que formatear y reparticionar cada vez que se quedan sin espacio en una...
For a system user: adduser --system --gid 100 --disabled-password --disabled-login --no-create-home --shell /bin/false UserName For a normal non-system user that needs ssh access, it has to be...
Mirar pagina de yorespondo.com Leer emails Aplicar medidas correctivas en caso necesario Monitorizar servidores Continuar con tareas pendientes.
Dcc
http://flakshack.com/anti-spam/wiki/index.php?page=Installing+DCC wget http://www.rhyolite.com/dcc/source/dcc.tar.Z ./configure --with-uid=mail --bindir=/usr/bin --with-db-memory=48...
Login to the samba server and do a: root@rita:~# find /samba/ -type d -name 'PersonLeaving' mv /samba/comercial/PersonLeaving /samba/comercial/GroupResponsible cp smbpasswd smbpasswd.`date...
instrucciones de ejemplo para configurar la aplicación del XXXX Despliegue aplicación XXXX Índice de contenido 1. SOFTWARE UTILIZADO 2. CONFIGURACIÓN JAVA 3. CONFIGURACIÓN TOMCAT 3.1...
Libro muy completo sobre administracion de servidores linux (In Spanish) X-server for windows The Perfect Server - CentOS 5.2 Building a DNS IPv6 Linux Server linux y el manejo del...
DRBD installation Sendmail + DRBD + Heartbeat ubuntu 804 - xen-33 - drbd8 - ocfs2 - heartbeat2 Resources configuration linux-ha - DRBD
Antes de empezar, asegurate que ambos nodos tienen instalado ntpd y que la hora de ambos es la misma. Hacer la instalación del sistema operativo elegido (CentOS en nuestro caso). Descargar DRBD y...
Virtual Domains with Exim + Courier-IMAP + MySQL
I have been researching a little bit about a free space on a server where I could put files and link them from wikidot.com as the space they provide for storage (50MB) is ridiculous :) This is...
Geoserver uses a servlets server called jetty. Here you can find a document on how to optimise Jetty. I have also found a couple of documents explainig how to do rewrite rules with jetty This one,...
Geoserver es un software de servidor de código abierto escrito en Java que permite a los usuarios compartir y editar los datos geoespaciales. Aplicación que utilizamos junto con [[Postgres]] y...
I hack stuff Google advanced operators 7 Clever google tricks
When you finish configuring mdadm, make sure you write the mbr of every disk, so all your drives are bootable. grub-install /dev/sda grub device (hd0) /dev/sda root (hd0,0) setup...
www.debianhelp.co.uk
Modify kernel logging Modify files open / kernel threads max Increase number of file descriptors Changing the hostname Install deb-src Uninstall packages with errors (apt-get) Wheel...
You can find in different ways in Ubuntu: Solution 1 cat /etc/issue The file /etc/issue holds the version of Ubuntu installed on your system Solution 2 lsb_release -a or cat...
Increase the number of file descriptors for user nobody Reference:...
Create the clamav group: addgroup --system clamav Create the clamav user and add it to the group: adduser --system --gid XXX --disabled-password --shell /bin/bash clamav Add clamav user to...
Get the source: cd ~ mkdir slapd_woody-source cd slapd_woody-source apt-get source slapd apt-get build-dep slapd apt-get install libssl-dev cd ~ mkdir libnss-ldap_woody-source cd...
Download Tomcat's zip package from Apache's website. http://tomcat.apache.org/download-55.cgi And choose the version that best suits your needs. It is a very good practice to check the keys of the...
Wikipedia's database schema
Explaining java.lang.OutOfMemoryError: PermGen space Most probably, a lot of Java developers have seen OutOfMemory error one time or other. However these errors come in different forms and shapes....
Please change this page according to your policy (configure first using Site Manager) and remove this note. Who can join? You can write here who can become a member of this site. Join! So you...
...
Linux related docs I hope you find these documents useful, I had to use them at some point in my life, so I'm putting them together here to make your life easier (I hope). As always, no warranty is...
Root filesystem over LVM2 & DM-Crypt & RAID Truecrypt
Good mdadm article http://www.debian-administration.org/articles/238 Original source: mdadm-config Personal note: If you install a new kernel you will have to recreate the initrd image with raid...
Propiedades de la canela y la miel
http://www.postfix.org/faq.html http://www.ubuntugeek.com/performance-tuning-with-system-control-sysctl-in-ubuntu.html You can find the value of all these parameters in your system by catting the...
By default Centos 4.5 doesnt log kernel messages to the console. In order to enable kernel logging in Centos 4.5 (In oder distros the process is very similar, though) to log to the console and to a...
If you use an old Knoppix version you may need to install LVM tools first. Version 5.0.1 and later (at least) already have the packages and dm-mod module loaded, and the following first steps are...
MysqlTuner Mysql tuning-primer.sh MySQLTuner Optimizing MySQL: Hardware and the Mysqld Variables Slow queries optimization MySQL tuning Mysql optimization Tools, tips and links on optimizing...
http://www.debuntu.org/2006/07/21/75-how-to-optimize-mysql-response-time How To: Optimize MySQL response time High loaded website can get slow to respond when a lot of different visitors visit...
http://www.databasejournal.com/features/mysql/article.php/3110171/MySQLs-Query-Cache.htm You can read about optimizing queries and indexes, optimizing by improving the hardware, and tweaking the...
Nagios3 installation Nagios3 configuration Add/remove nagios3 hosts Add/remove nagios3 services
cd /etc/nagios3 Lines preceded by "<" are taken out of the file, lines preceded by ">", are included on the file: apache2.conf < #ScriptAlias /cgi-bin/nagios...
h1. Instalación Nagios3 vi /etc/apt/sources.list Add: #Nagios 3 for ubuntu hardy: #https://launchpad.net/~rogerw/+archive/ppa deb http://ppa.launchpad.net/rogerw/ppa/ubuntu hardy main deb-src...
This wiki describes the steps to set up a netdump server minimizing any risks and downtime. Netdump is the dump utility used by default in Centos 4.5. It has some restrictions, basically not all...
Rancid + tacacs + cisco WEP Attacks Ping Tunnel IP over DNS IP over ICMP
Con la configuración por defecto se reciben solo emails de actualizaciones si es una tarea actualizada está asignada a nosotros mismos o si la hemos creado nosotros. Una forma de recibir alertas...
I have 2 DELL 1950 servers. I needed to monitor the raid controller on them and see if the array is failing. I've found 2 ways to accomplish this task: - Using the MegaCLI utility (MegaRAID SAS...
Drip PHP V5.2 - Memory manager php tips xdebug Engine-leve profiler/debugger Gubed php DBG PHP debugger
Módulo que instalamos para [[Postgres]]. Añade soporte de objetos geográficos, convirtiéndola en una base de datos espacial para su utilización en Sistema de Información Geográfica. su -...
http://gmod.org/wiki/PostgreSQL_Performance_Tips PostgreSQL Performance Tips Background This page is for collecting tips on tuning PostgreSQL, especially when using it with Chado. Feel free to...
Ppp
Como instalar un servidor de PPP con devolución de llamada en Linux.
An employee joins the firm An employee leaves the firm Change Nagios contact for the NOC Daily tasks
Propiedades de la Miel y la Canela Cinnamomum zeylanicumAlgunas de las tantas aplicaciones que tienen para la salud la combinación de la miel de abeja y la canela. La mezcla de Miel y Canela cura...
http://www.nuip.net/ http://www.proxy4free.com/page1.html http://www.freshproxylist.net http://www.whatmyipaddress.net http://www.webdico.com/red/ Hotspot Shield In order to view Hulu shows outside...
http://wiki.apache.org/spamassassin/UsingPyzor Patching pyzor 0.40: http://am3n.profusehost.net/post/index/60/warn-pyzor-check-failed-internal-error warn: pyzor: check failed: internal...
Radius SSL centralized logins Radius SSL WPA RADIUS
PASOS A SEGUIR: 1.- Configurar RANCID: ****** Servidor IP:210.190.0.227 A._ Creamos grupo. En nuestro caso dos: core y customer. Editamos archivo /etc/rancid/rancid.conf. La línea es:...
Los pasos para configurar una conexión ppp a nuestro servidor RAS son los siguientes: - Abrir conexiones de red. - Crear una nueva conexión -> Siguiente - Seleccionar conectar a una red de mi...
Install mgetty and ppp. On /etc/inittab add the following line: ppp:2345:respawn:/sbin/mgetty ttyS0 Go to the mgetty directory. cd /etc/mgetty My mgetty.config looks like this: # # mgetty...
Lo primero que hay que tener claro es que no se recupera ningún fichero como tal, sino que mediante el estudio del log correspondiente se puede ver el contenido que tenía y así copiarlo y...
find ${dir} -type f -exec grep -l "${search}" {} \; | while read file do sed "s/${pattern}/${replace}/ig" "$file" > tmp mv tmp "$file" done
Init script: #!/bin/bash case $1 in start) echo -e "Starting Redmine... \n" if [ ! -h /tmp/mysql.sock ] ; then ln -s /var/run/mysqld/mysqld.sock...
Ruby regular expression editor php js regex editor http://regexpal.com/ Java script regex tester]
Posibilidad de alojar varios dominios. Antivirus. Antispam. Chequeos antispam distribuidos. DNSBL. Listas negras. Listas blancas. Listas grises. Correo web. Filtrado en el servidor (sieve). Auto...
Sequoia is a very powerful clustering system for Application servers that can be used with any database backend that supports jdbc In my case it was the chosen one for clustering Postgres 8.2 due...
I wanted to point my domain hummy.org to my wikidot site. I remember there was an option to do this in the past within wikidot…, not anymore, I think now is a paid feature. I will show you what...
First step: Create RSA keys - Para crear la clave, entra con TU USUARIO en el servidor samba, el login debe decir… UserName@rita:~$ - Escribe el siguiente comando: UserName@rita:~$...
Login to the samba server. adduser —system —gid 100 —disabled-password —disabled-login —no-create-home —shell /bin/false UserName mkdir /samba/GroupName/UserName chown...
MYSQL POSTGRES Show databases --> \l Use DB1 --> \c db1 Show tables --> \d Describe table1 --> \d table1 Show users...
Home Computing Linux Windows Networking Procedures Medicine How to join this site? Site members Recent changes List all pages Page Tags Site Manager Page tags Add a new page edit this...
Members: Moderators Admins
The purpose of this document is minimizing downtime and possible errors. It is understood that before following this process in a production server, you have done it successfully on a test...
http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/ http://www.xsteve.at/prg/vc_svn/svn.txt addrepo.sh
Syslog database logging Centralized Syslog-ng to Mysql syslog (-ng) to postgreSQL database Syslog-ng mikrotik
Tar
If you get the following message when creating tar files: /bin/tar: Removing leading `/' from member names You can change your tar command like this, and the warning will go away: tar -cjf...
tcpdump -i eth0 -n 'host 209.3.240.67 and port ! 22'
Java memory explained Installing Tomcat's zip package as windows service Configure independent webapps for virtual hosts with tomcat manager Non-standard options recognized by the Java HotSpot...
In order to list your current certificates run: C:\server\jdk1.5.0_15\bin>keytool -list -keystore .keystore Escriba la contrase±a del almacÚn de claves: changeit Tipo de almacÚn de...
Either add define your virtual hosts in C:\server\tomcat 5.5\conf\Catalina\virtualhost1\virtualhost1.xml C:\server\tomcat 5.5\conf\Catalina\virtualhost2\virtualhost2.xml or define them...
Denyhosts Fail2ban Nagios2 memcached Last Lastb sar atsar w who vmstat iostat ionice Linux explorer - Linuxexplo Sysadmin tools including DISH - flexible tool for managing large number of any type...
http://drupal.org/node/85768 Here are some basic, but high impact ways to optimize MySQL for Drupal (there are much more sophisticated and expensive ways to speed up your database of course): Note...
example menu Forum Forum categories Forum threads Forum new threats Forum recent posts contact
Trac installation apt-get install libdbd-pg-perl libxml2 ssl-cert libossp-uuid15 libxml2 libxslt1.1 uuid xml-core apt-get install sgml-base-doc debhelper dh-make debian-keyring cvs gcc...
I have had some trouble on my machine Ubuntu 8.10 with some packages: To be specific: zlibc libnettle-dev If you install them, they don't complete the installation process succesfully, leaving them...
Download clamav antivirus cd /usr/local/src wget http://downloads.sourceforge.net/clamav/clamav-0.93.1.tar.gz Untar, compile and install tar -xzf clamav-0.93.1.tar.gz cd...
Upgrade Spamassassin In Qmail Go to the Spamassassin website and read the upgrade notes: http://wiki.apache.org/spamassassin/UpgradeNotes Download the software cd /usr/local/src wget...
Rename multiple files: for f in `find . -name '*replaceme.jpg'` ; do mv $f ${f/replaceme/withme}; done Concatenate multiple compressed files: It happens that I have many compressed log files for...
I had some problems while I was trying to extract a certificate out of a PKCS7 certificate supplied by Verisign. root@hummy:~/certs# openssl pkcs7 -in www.hummy.org.verisign.pkcs7 -print_certs...
Vmware converter Another VMware Converter document P2V for VMware: six ways to convert physical to virtual
Welcome This is my personal page in which I will post documents and howto's that I find interesting, mainly related to linux, networks and security. I hope you like it. If you have a suggestion,...
WGET upgrade Problem: After changing Apache from using Basic authentication to Digest on a Centos 4.5, I realized that for every request wget was making, it was generating errors on Apache's log...
You can deny users the right to become root by using the wheel group addgroup wheel adduser User1 wheel adduser User2 wheel chgrp wheel /usr/bin/sudo /bin/su chmod 4750 /usr/bin/sudo /bin/su ls...
Tomcat installation Wait - pause in batch scripts windows Freesshd howto
I remember I use to have an application for exporting the X windows from linux to windows… One of these days I'll find it (I think it's on my old computer) and put it somewhere…
Xss
Cross-site scripting Cross Site scripting cheat sheet Detection of SQL Injection and Cross-site Scripting Attacks SQL_injection XSS movies Web application vulnerability scanner / security auditor
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License