Feb
09
2015
0

TZData Actualizar cambio de Hora Chile Continental 2015 Centos Red Hat

yum -y install tzdata

#Validar revisando los archivos /etc/localtime y el zdump actualizado debe coincidir ambos

[root@]# ll /etc/localtime
lrwxrwxrwx 1 root root 37 Nov 17 2011 /etc/localtime -> /usr/share/zoneinfo/Chile/Continental

[root@]# zdump -v /etc/localtime|grep 2015
/etc/localtime Sun Apr 26 02:59:59 2015 UTC = Sat Apr 25 23:59:59 2015 CLST isdst=1 gmtoff=-10800
/etc/localtime Sun Apr 26 03:00:00 2015 UTC = Sun Apr 26 00:00:00 2015 CLT isdst=0 gmtoff=-10800

[root@]# zdump -v Chile/Continental|grep 2015
Chile/Continental Sun Apr 26 02:59:59 2015 UTC = Sat Apr 25 23:59:59 2015 CLST isdst=1 gmtoff=-10800
Chile/Continental Sun Apr 26 03:00:00 2015 UTC = Sun Apr 26 00:00:00 2015 CLT isdst=0 gmtoff=-10800

Written by doutdex in: Centos,Linux,Red Hat |
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 |
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 |
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