May
03
2012
0

Linux Centos Redhat maintenance change write partition for /etc/fstab

Just after login into maintenance mode

type:

mount -w -o remount /
Written by doutdex in: Centos,Fedora,Linux,Red Hat |
Apr
18
2012
0

How to install Zabbix monitoring tool in Red Hat or Centos 6 for Mysql database

Just add the repository EPEL 64 bits

 

Add the repository EPEL to get last zabbix available

#Red Hat 6 or centos 6 (32 bits)

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
And for 64bit us:-

# rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
yum update

yum –enablerepo=epel install zabbix zabbix-agent zabbix-web-mysql zabbix-server-mysql zabbix-docs
yum install mysql-server

/sbin/chkconfig –levels 235 httpd on

/sbin/chkconfig –levels 235 mysqld on

/etc/init.d/mysqld start

 

#Database config
mysql_secure_installation

mysql -u root -p

#mysql> create database zabbix;

#mysql> grant all privileges on zabbix.* to zabbix@localhost identified by ‘password’;

#mysql> exit

 

cd /usr/share/doc/zabbix-server-mysql-*/create/schema

cat mysql.sql | mysql -u root -p zabbix

cd ../data

cat data.sql | mysql -u root -p zabbix

cat images_mysql.sql | mysql -u root -p zabbix

vi /etc/zabbix/zabbix_server.conf

# line 110: uncomment and add DB password for Zabbix
DBPassword=password

vi /etc/zabbix/zabbix_agentd.conf

# line 91: change to your hostname
Hostname=zabbix.server.com

vi /etc/php.ini

# line 440: change to Zabbix recomended
max_execution_time = 600

# line 449: change to Zabbix recomended
max_input_time = 600

# line 457: change to Zabbix recomended
memory_limit = 256M

# line 729: change to Zabbix recomended
post_max_size = 32M

# line 878: change to Zabbix recomended
upload_max_filesize = 16M

# line 946: uncomment and add your timezone
date.timezone = Europe/London

/etc/rc.d/init.d/zabbix-server start

/etc/rc.d/init.d/zabbix-agent start

/etc/rc.d/init.d/httpd restart

chkconfig zabbix-server on

chkconfig zabbix-agent on

 

#firewall ports of zabbix: 80, 10050, 10051

If you dont have firewall rules, just stop iptables service
service iptables stop

Use a web browser to open http://serveraddress/zabbix

Default user: Admin
Default pass: zabbix

 

 

Written by doutdex in: Uncategorized |
Apr
11
2012
0

how to set a new date time in linux Centos Ubuntu Freebsd

Just type to change local time

# date +%Y%m%d%T -s “20120412 02:35:00″
2012041202:35:00

#date
Thu Apr 12 02:35:03 CLT 2012

 

To set UTC time  as GMT-0 without taking care the zone time

# date -u +%Y%m%d%T -s “20120412 02:35:00″
2012041202:35:00
# date;date -u
Wed Apr 11 22:35:03 CLT 2012

#Utc time

Thu Apr 12 02:35:03 UTC 2012

Written by doutdex in: Uncategorized |
Feb
15
2012
0

Linux Centos Red Hat how to mount to write /etc/fstab about Repair filesystem read only prompt

Sometimes installing after reboot the server could present issues to mount some partition, so the way to modify the mount f that is editing the file in Repair filesystem mode.

In my case using Centos the issue is solved typing:

mount -w -o remount /

Written by doutdex in: Centos,Linux,Red Hat |
Sep
08
2011
0

Problem vsftp in red hat 5, 421 Service not available remote server has closed

Trying to install VSFTP on Red HAT 5. I got the following trying to connection via FTP:

230 Login successful.
421 Service not available, remote server has closed connection

The workaound without upgrade the package is adding into /etc/vsftd.conf the line
connect_from_port_20=YES

to then restart the service:
service vsftpd restart

Issue related on http://bugs.centos.org/view.php?id=3929

Written by doutdex in: Linux | Tags: ,
Dec
10
2010
0

SSH Long time delay login to connect using ssh in linux

I had more of 10 seconds waiting for a connection to a remote SSH linux, well the issue that I got was due to the remote server CENTOS 5.5 because into sshd_config  exist a GSS option enabled.

Just comment the following line /etc/ssh/sshd_config
(more…)

Written by doutdex in: Centos,Linux | Tags: , ,
Nov
01
2010
1

Status problem instalando o installing in android market with xperia x10

Hace una semana se me presento un problema al seleccionar “actualizar todo” en el market de android segun revise “carango” se quedo en estado “instalando”.

Trate desinstalando el programa que se quedo en ese estado que se llamaba . , pero no funciono, la solucion fue eliminar los archivos temporales de la aplicacion market y desinstalar el update de Market:

(more…)

Written by doutdex in: Android |
Aug
02
2010
0

MPEG Headers

MPEG Headers Quick Reference

This is a quick reference to the various headers and streams found in MPEG/DVD. For a complete description you should get a copy of ISO/IEC 13818.
This is an incomplete work-in-progress

The header

Every stream or table begins with a 32-bit start code, codes 00 through B8 are video stream start codes (fully defined in 13818-2), and codes B9-FF are stream-id’s

(more…)

Written by doutdex in: Uncategorized |
Aug
01
2010
0

Scada application Open source

What is SCADA? It stands for Supervisory Control and Data Acquisition. SCADA functions by collecting data from remote locations and sending the data back to a central location for the data to be processed and controlled. It is extremely useful for SCADA systems to be implemented on areas which are dangerous and far away from the core area.

A SCADA system usually includes a combination of the following components:

  • Remote Terminal Units (RTU)
  • Human Machine Interface (HMI)
  • Programmable Logic Controllers (PLC)

(more…)

Written by doutdex in: Uncategorized | Tags:
Jul
14
2010
0

How to add multiple port listen SSH on FreeBSD

The way to do is:

1) Edit sshd config “/etc/ssh/sshd_config”

vi /etc/ssh/sshd_config

2) Uncomment the line “# Port 22″ and add new lines according to how many listener ports you wants to be available for the SSH service on your machine.
(more…)

Written by doutdex in: FreeBSD,Unix | Tags: , , ,
Jul
14
2010
0

How to set static IP on Freebsd

1) Edit config file

vi /etc/rc.conf

2) Depends how many interfaces exist is possible to set each one for (em0, em1em2, em…)

#Interface 1 with default gateway for 192.168.0.1
ifconfig_em0="inet 192.168.0.10 netmask 255.255.255.0"
defaultrouter="192.168.0.1"

#Interface 2

ifconfig_em1="inet 192.168.2.10 netmask 255.255.255.0"

3) Save that file “rc.conf” and restart network init

# /etc/rc.d/netif restart && /etc/rc.d/routing restart
Written by doutdex in: FreeBSD | Tags: , , ,
Jul
11
2010
0

How to install Samba server on red hat or fedora linux server

Triying to share files to windows server by network, one way is using a samba server.

sudo yum install samba samba-client

Edit config file, edir the [glocal] config setting the WORKGROUP, and the networks interfaces allow to the samba service and on the end of the config file  check the access for the share files mappping. Remenber that the shared files has to be permission for the group.

sudo gedit /etc/samba/smb.conf

Create a samba user with an already user from the OS linux

sudo smbpasswd -a OLD_USER

Start samba service

sudo /etc/init.d/smb start

Check startup Samba service

/sbin/chkconfig --list smb

Enable samba service in startup server (just in case)

Enable samba service on FIrewall

system-config-firewall

Enable samba service on SELinux, go to Boolean Menu and enable samba

 system-config-selinux

Test Samba access from localhost with OLDUSER

smbclient -L localhost -U OLDUSER

Written by doutdex in: Centos,Fedora,Linux,Red Hat | Tags: , , , ,
Apr
19
2010
1
Apr
16
2010
3

Share Internet using Fedora – NAT like a gateway to outside access

Muchos, creo yo, querrán compartir la salida a Internet con alguna pequeña subred que posean en su casa (1 o más equipos), y eso es lo que hace un router, aquí detallaré los pasos seguidos con Fedora para dejarlo como router.

Para efectos que se entienda este ejemplo, tengan en cuenta que el PC tiene dos tarjetas de red, eth0 que esta conectada a Internet y que esta configurada como dhcp-client , ip fija, red de marcado, etc… y eth1 que tiene IP fija 192.168.0.1 por la que convidaremos Internet a la subred.

(more…)

Written by doutdex in: Fedora,Linux | Tags: ,
Apr
15
2010
2

Fedora Boot process

Fedora – The Boot Process

Fedora 2 boots is the usual Red Hat way. Its initscripts are more or less similar in the various RedHat versions, as it often happens when a process is tested and mature enought to not need particular changes.

Boot Loader
Fedora’s default boot loader is Grub, the directory /boot/grub/ contains all the configuration files and the binaries.

(more…)

Written by doutdex in: Fedora,Linux | Tags: , , ,

TheBuckmaker.com Wordpress Themes | Geld von Privat, Streaming Audio
футбол онлайн, live football, canlı izle, football streaming, football forum, football forums, canlı maç, football highlights, maç özeti, live football streaming, stream live football, free football streaming,