terça-feira, 11 de outubro de 2011

Configuração do Samba

[global]
workgroup = ESTUDO
netbios aliases = SRVDB
server string = %h
;wins server = 10.0.0.2
wins support = yes
dns proxy = no
name resolve order = lmhosts host wins bcast
# interfaces = 127.0.0.0/8 eth0
bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 100
syslog = 0

####### Tratando conexoes #######
; 300 segundos
keepalive = 300
; 10 minutos
deadtime = 10
panic action = /usr/share/samba/panic-action %d

####### Authentication #######
security = share
encrypt passwords = true
passdb backend = smbpasswd
obey pam restrictions = yes
unix password sync = yes
pam password change = yes

########## Domains ###########
os level = 30
domain logons = no
domain master = no
preferred master = no
local master = no

########## Printing ##########
load printers = no

############ Misc ############
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hosts allow = ALL
case sensitive = No
;preserve case = no
;default case = lower
unix charset = ISO8859-1
display charset = cp850
getwd cache = yes


[GERAL]
comment = Pasta contabilidade
path = /home/REDE/GERAL
locking = no
writeable = yes
available = yes
browseable = yes
public = yes
force create mode = 0777
force directory mode = 0777
force user = firebird
force group = firebird
guest ok = Yes
# veto files = /*.mp3/*.mpg/*.mpeg/*.avi/*.mov/*.wmv/*.wma/*.wav/*.inf/*.vinf
# /*.scr/*.src/*.bat/*.vmx/*.com/*.lnk/*.cmd/*.pif/*.vbs/*.js/*.aa/
hide dot files = yes

segunda-feira, 3 de outubro de 2011

Instalando o Firebird 2.1 Super no Ubuntu.

Edite o arquivo sources.list:
vim /etc/apt/sources.list

Adicione os 2 repositorios abaixo no final do arquivo:
deb http://ppa.launchpad.net/mapopa/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/mapopa/ppa/ubuntu karmic main

Importe a chave:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com ea316a2f8d6bd55554c23f680be6d09eef648708

Atualize o repositorio:
apt-get update

Localize o pacote que deseja instalar:
apt-cache search firebird2.1-*

Utilize o comando abaixo para colocar o firebird na inicialização automatica do sistema e alterar a senha do SYSDBA:
dpkg-reconfigure firebird2.1-super


O texto foi tirado do site abaixo:
https://help.ubuntu.com/community/Firebird2.1