Posted April 17th, 2013 by admin
Es un análisis generacional sobre el porque y como se desempeñaron nuestros abuelos, nuestros papás y nosotros en el ámbito laboral, llevándote por un millón de películas (las cuales suelen explicar mejor la vida que uno mismo) hasta el punto de la auto-realización como profesional que hoy por hoy somos.
En pocas palabras… quienes logran este estilo de vida pueden considerarse que tienen el mejor trabajo del mundo… aunque he de aclarar que he visto defilar gente en grandes corporaciones manteniendo este modo de vida….. y si…. si es posible!!!
Posted March 22nd, 2013 by admin
cfgadm -la
checas las que dicen fc_fabric
y les das una por una …. cfgadm -c configure c2
luego c3…luego c4
las que esten
depsues ya te vas a /dev/rdsk
le das un ls -ltr *s2
y vez qe se hayan creado nuevos files…. si es asi quiere decir que si vio los discos
Posted March 6th, 2013 by admin
Posted February 12th, 2013 by admin
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 libnet-tftp-perl snmp
2. Adding the Nagios user:
groupadd -g 9000 nagios && groupadd -g 9001 nagcmd && useradd -u 9000 -g nagios -G nagcmd -d /usr/local/nagios -c “Nagios User” nagios
3. Download Nagios and Nagios plugins:
wget -c http://downloads.sourceforge.net/project/nagios/nagios-3.x/nagios-3.4.4/nagios-3.4.4.tar.gz
wget -c http://downloads.sourceforge.net/project/nagiosplug/nagiosplug/1.4.16/nagios-plugins-1.4.16.tar.gz
4. Untar the archives:
tar xfvz nagios-3.4.4.tar.gz
tar xfvz nagios-plugins-1.4.16.tar.gz
5. Compile Nagios
cd nagios
./configure –enable-nanosleep –enable-embedded-perl –with-command-group=nagcmd –with-gd-lib=/usr/lib –with-gd-inc=/usr/include
make all
make install
make install-init
make install-config
make install-commandmode
make install-webconf
cd ..
6. Compile Nagios plugins:
cd nagios-plugins-1.4.16
./configure –with-nagios-user=nagios –with-nagios-group=nagios
make
make install
7. Add nagiosadmin user to the apache2
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
8. Restart apache2 webserver
/etc/init.d/apache2 restart
http://people.virginia.edu/~rtg2t/samba/nrpe.install.html
NRPE Installation
cd ../nrpe…. directory
./configure
make all
make install-plugin
make install-daemon
make install-daemon-config
make install-xinetd
edit /etc/xinetd.d/nrpe
add the name of the Nagios server to the line
only_from = 127.0.0.1
edit /etc/services
add the line
nrpe 5666/tcp
Restart xinetd daemon with
service xinetd restart
Test NRPE
Test nrpe with
netstat -at | grep nrpe
Edit TCP wrappers
vi /etc/hosts.allow
Add the line
nrpe: 17.0.0.1 server.name.domain.edu
where server.name.domain.edu is your Nagios server DNS name
http://josemanuelruizbaena.blogspot.com/2008/08/error-service-check-command-checknrpe.html
##########
# CHECK_NRPE #
##########
define command{
command_name check_nrpe
command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$
}
http://infodocs.net/articulo/nagios/chequear-la-configuraci%C3%B3n-de-nagios
# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Posted September 25th, 2012 by admin
Hoy no voy a explicar los pasos… weba mode on!
apt-get update
aptitude install postgresql-client python-dateutil python-feedparser python-gdata python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi
wget http://nightly.openerp.com/6.1/releases/openerp_6.1-1-1_all.deb
sudo dpkg -i openerp_6.1-1-1_all.deb
apt-get install openerp -f
reboot
apt-get install postgresql
su postgres (si tienen algún problema con este paso deben de modificar el archivo /etc/passwd y al usuario postgress cambiar el último parametro de /bin/false a /bin/bash)
createuser openerp
Shall the new role be a superuser? (y/n) y
psql template1
alter role openerp with password ‘postgres’;
http://ip:8069
Fuentes:
http://myexperimentswithcomputer.blogspot.com/2012/05/installing-openerp-on-ubuntu-1204.html
http://doc.openerp.com/v6.1/install/linux/postgres/index.html#example-on-ubuntu
http://doc.openerp.com/v6.1/install/linux/server/index.html
Posted September 9th, 2012 by admin
Un problema con el que tuve que batallar hoy fue que siempre que reiniciaba un equipo con linux se restaban X cantidad de horas (pueden ser minutos también).
Esto se debe al archivo /etc/adjtime que al parecer ajusta las horas entre el reloj del hardware y el sistema.
Basta con eliminarlo y luego sincronizar nuevamente nuestros relojes de sistema y hardware para que se solucione el problema
hwclock –systohc
Saludos.
Posted September 2nd, 2012 by admin

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 privileges;
Y a partir de ahí ya podemos seguir el instalador web sin ningún problema.
Saludos.