Alguns Comandos do RPM
Ver os pacotes instalados:
# rpm -qa
Desinstalar pacote:
# rpm -e <nome do pacote>
Obter informações do pacote:
# rpm -qi <nome do pacote>
Instalar pacote:
# rpm -ivh <nome do pacote>
Atualizar pacote:
# rpm -Uiv <nome do pacote>
Diretório Share Public - linux
[root@donizetti /root]# vi /etc/smb.conf
This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
#======================= Global Settings ===========================
[global]
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest
# Security mode. Most people will want user level security. See
# security_level.txt for details.
; security = user
security = share
#============================ Share Definitions ==============================
[homes]
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff
[soft]
comment = Public Stuff
path = /home/soft
public = yes
writable = yes
printable = no
write list = @500