Entradas

Como averiguar version de base de datos Oracle

su - oracle SQL*Plus: Release 9.2.0.4.0 - Production on Thu Apr 28 12:54:34 2016 Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved. ======================  ps -ef |grep -i ora oracle    2121     1  0 Mar07 ?        00:10:05 ora_pmon_costa oracle    2123     1  0 Mar07 ?        00:06:52 ora_dbw0_costa oracle    2125     1  0 Mar07 ?        00:06:43 ora_dbw1_costa oracle    2127     1  0 Mar07 ?        00:06:35 ora_dbw2_costa oracle    2129     1  0 Mar07 ?        00:06:38 ora_dbw3_costa oracle    2131     1  0 Mar07 ?    ...

Comandos Fortinet

Imagen
Listado de comandos útiles para equipos Fortigate ============Configuracion de Interfaz de red========================= config-system interface edit port1 set ip x.x.x.x x.x.x.x.x set alowaccess http https ping ssh end ===================Sniffer a puerto en especifico==================== diag sniffer packet any "port 80" 4 diag sniffer packet any "port 80" diag sniffer packet any 'port 80 and dst host X.X.X.X' ==============Ver lease dhcp==================================== execute dhcp lease-list ===============Ver status y errores de interfaz======================== get hardware nic internal1 get system interface ===============Version FortiOS================================== get system status =============================== Reinicio IPS ==================== diagnose test application ipsmonitor 99 ===================== Monitoreo de uso de memoria y CPU============= diag sys top ===================== Informacion de Memo...

Averiguar fecha de instalacion Linux

 ls -alct /|tail -1|awk '{print $6, $7, $8}' ls -lah ~root/anaconda-ks.cfg

Monitoreo de trafico de red en tiempo real con NLOAD en Linux Centos/RHEL

Instalacion: Instalacion de repositorios EPEL ## RHEL/CentOS 7 64-Bit ## # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm # rpm -ivh epel-release-7-5.noarch.rpm ## RHEL/CentOS 6 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm ## RHEL/CentOS 5 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.noarch.rpm ## RHEL/CentOS 5 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.noarch.rpm yum install nload nload [options] device1 ejemplo: nload eth0

Instalacion de Wordpress en Linux Centos

Instalacion LAMP 1.Instalar Apache yum install httpd 2. Instalar My SQL yum install mysql mysql-server 3. instalar php yum install php php-mysql 4.-Descargar wordpress cd tmp   tar -xvzf latest.tar.gz -C /var/www/html   5.-Configurar MySQL                  (por seguridad configurar otros usuario, contraseña y nombre de base de datos)    1 mysql -u root -p      2 CREATE USER nameuser@localhost IDENTIFIED BY "password";                3  create database nombrebd;                                              4 GRANT ALL ON nombrebd.* TO nameuser...

Iniciar, parar y reiniciar servicio ssh en ubuntu

-Para iniciar :~# /etc/init.d/ssh start -Para detener :~# /etc/init.d/ssh stop -Para reiniciar :~# /etc/init.d/ssh restart

Convertidor de unidades Informaticas

En el siguiente Link pueden encontrar un convertido de unidades informaticas muy util cuando se esta calculando con valores y se necesita transformarlos a gigabites o megabites etc etc. Los invito a que le den un vistazo y hagan sus propios calculos http://www.convertworld.com/es/almacenamiento-de-datos/