Archive for the ‘Open Source’ category

http://sysadmin.compxtreme.ro/how-to-install-nagios3-from-source-on-debian-squeeze/ How to install nagios3 from source on debian squeeze 14 December 2012 by Ionut Eana 1. First we will need to install the prereq’s by running: apt-get install apache2 build-essential libgd2-xpm-dev libperl-dev openssl gcc make autoconf automake mailutils libssl-dev libmysqld-dev libmysqlclient-dev libldap2-dev libradiusclient-ng-dev libapache2-mod-php5 libsnmp-perl nfs-common nfs-kernel-server libnet-dns-perl libnet-snmp-perl libdbi-perl libapache2-request-perl libdbd-mysql-perl libcrypt-ssleay-perl mysql-client [...]

  Descargamos magento 1.7.0.2 desde http://www.magentocommerce.com/download root@T-Rex:/var/www# tar xvfz magento-1.7.0.2.tar.gz root@T-Rex:/var/www# aptitude install mysql-server php5 php5-mysql apache2 php5-mcrypt php5-curl php5-gd root@T-Rex:/var/www# a2enmod rewrite && sudo invoke-rc.d apache2 restart root@T-Rex:/var/www# chown -R www-data:www-data magento/ root@T-Rex:/var/www# mysql -u root -p mysql> create database magento; mysql> grant all privileges on magento.* to ‘magento’@’localhost’ identified by ‘password_magento_mysql’; mysql> flush [...]

umount: /app: device is busy

August 21st, 2012

lsof -l /dev/XXX Facebook

mysql> load data local infile ‘/root/caterias1.csv’ into table categoria fields terminated by ‘,’ enclosed by ‘”‘ lines terminated by ‘\n’ (categoria, comentario) ;Query OK, 74 rows affected, 1 warning (0.02 sec)Records: 74  Deleted: 0  Skipped: 0  Warnings: 1   Facebook

aptitude install squid3 squidguard nano /etc/squid3/squid.conf En donde habilitamos el acl que representa la red que queremos que tenga acceso al proxy, en mi caso acl localnet src 192.168.0.0/24 y le indicamos que el acl ‘localnet’ puede navegar libremente http_access allow localnet Con los pasos anteriores debermiamos de poder conectar cualquier computador de la red [...]

MEGAUPLOAD

January 25th, 2012

LOS DUEÑOS DEL MUNDO (LOS GRINGOS!!!!) NO SE DAN CUENTA QUE LO QUE ESTAN PROBOCANDO ES PERDER EL CONTROL DE TODAS LAS COMPUTADORAS DEL MUNDO QUE USAN MICROSOFT WINDOWS . . . EL DÍA QUE LOS USUARIOS NO PUEDAN SEGUIR HACIENDO USO DE LA PIRATERIA VAN A CRUZAR LAS FRONTERAS INFORMÁTICAS Y EMPEZARAN A UTILIZAR [...]

funciones vi (vim)

October 17th, 2011

vi – vi filename.txt vi -R filename.txt (solo lectura) Recomendacion: editar .vimrc — contenido — set opcion