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
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: , , ,
Apr
14
2010
0

Modules Linux

– List available modules in your linux distribution

find /lib/modules/$(uname -r)

– Load a module

modprobe MODULENAME

Written by doutdex in: Uncategorized | Tags: , ,
Apr
11
2010
0

Cómo saber la distribuciíon y versión de linux en tu PC

Simplemente abre una consola y ejecuta:

cat /etc/issue
Written by doutdex in: Linux | Tags:
Apr
04
2009
4

Problem a para instalar – configurar – camara web cam in ubuntu with kernel 2.6.27.11

Hello guys, i was 3 hours trying to rebuid the sources of my webcam drivers chip z star in Ubuntu 8.10 kernel 2.6.27-11-generic was complicated, but after reading many post of comments in some blogs i understood what happen because before compiled same sources in Ubuntu 7.04, 7.08, 8.04 but for 8.10 something is wrong, well the problem is about the kernel version that changed when i upgrade my Ubuntu from 8.04.

Finally i made a zip file with patch (from ubuntuforum) apply on the last source drivers gspca (gspcav1-20071224.tar.gz) called (more…)

Written by doutdex in: Ubuntu | Tags: , , ,
Aug
19
2008
1

Crear usuarios con shell y sin shell para servidor virtual apache, grupos en ubuntu

¿Como se crea un nuevo usuario en ubuntu usando la consola?

useradd nombreusuario

(more…)

Written by doutdex in: Linux,Ubuntu | Tags: ,
Jul
16
2008
0

Como eliminar imagen de kernel en ubuntu listado menu grub

linux-headers-2.6.24-16-generic

Listamos para saber todas las imágenes del kermel y módulos de los mismo:

aptitude search linux-|grep ^i

Eliminamos la imagen, el módulo para esa versión:

aptitude purge linux-image-2.6.22-14-generic linux-restricted-modules-2.6.22 linux-image-2.6.22-14-generic
 
linux-headers-2.6.24-16
linux-restricted-modules-2.6.24
linux-ubuntu-modules-2.6.24-19-

Así eliminamos las imágenes liberando espacio en disco y los sacamos del menú grub también.

Referencia:
http://it.dennyhalim.com/2008/06/remove-old-ubuntu-kernel.html

Written by doutdex in: Linux,Ubuntu | Tags: , ,
Apr
28
2008
0

[lang_en]Comprimir y descomprimir rar gzip zip tar tar.gz bz2 lha zoo en linux (ubuntu) comando consola y otros Unix[/lang_en]

[lang_en]

.tar (tar)
Empaquetar (comprimir) tar cvf (Nombre nueva carpeta comprimida) (Nombre carpeta archivos a compimir)

tar cvf archivo.tar  /archivo/mayo/*
Desempaquetar (descomprimir)
tar xvf archivo.tar
Ver el contenido (sin extraer)
tar tvf archivo.tar

[/lang_en] (more…)

Written by doutdex in: Ubuntu,Unix | Tags: , , ,
May
29
2007
0

ejemplo de reinstalacion de grub si particion ext3 de linux es hda2

[lang_en]Abrir consola, y convertirse en usuario root o usar sudo:

grub> root (hd0,1)
 
grub>; setup (hd0)
 
Checking if "/boot/grub/stage1" exists... yes
 
Checking if "/boot/grub/stage2" exists... yes
 
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  17 sectors are embedded.
 
succeeded
 
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,1)/boot/grub/stage2
 
/boot/grub/menu.lst"... succeeded
 
Done.
 
grub>

ver Artículo Reinstalar GRUB[/lang_en]

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