Linux Centos Redhat maintenance change write partition for /etc/fstab
Just after login into maintenance mode
type:
mount -w -o remount /
Just after login into maintenance mode
type:
mount -w -o remount /
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
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
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 /
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
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…)
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:
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
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
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:
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…)
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 restartTriying 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
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.
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.
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,