Erro no banco de dados do WordPress: [Disk got full writing 'information_schema.(temporary)' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `mb_options`


Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress.matbra.com/wp-includes/class-wpdb.php:1851) in /var/www/wordpress.matbra.com/wp-includes/feed-rss2.php on line 8
Linux – Matheus Bratfisch https://wordpress.matbra.com "Cogito ergo sum" Fri, 08 Mar 2013 02:16:02 +0000 pt-BR hourly 1 https://wordpress.org/?v=6.8.3 6748864 Ubuntu 12.04 – Configurando Samba (3.6.3) https://wordpress.matbra.com/2013/03/07/ubuntu-12-04-configurando-samba-3-6-3/ https://wordpress.matbra.com/2013/03/07/ubuntu-12-04-configurando-samba-3-6-3/#comments Fri, 08 Mar 2013 02:11:07 +0000 http://wordpress.matbra.com/?p=1520 Olá,

Hoje decidi formar meu servidor de casa e quando “terminei” de configurar o samba eu tive alguns problemas.

Quando eu estava tentando conectar ao meu Ubuntu 12.04 server, eu recebia a seguinte mensagem: “Failed to Retrieve Share List from Server”

Para resolver eu adicionei dentro do arquivo de configuração /etc/samba/smb.conf na seção [globals] o seguinte:

name resolve order = bcast host

Eu fiz isso no meu computador também. (Mas não tenho certeza se isso é necessário, eu acredito que não). Reiniciei o servidor e esta funcionando.

Dentro do meus arquivos de logs /var/log/samba/log.XXXX eu estava recebendo diversas mensagens de smb_panic:

[2013/03/07 22:13:43.607536, 0] lib/util.c:1122(smb_panic) smb_panic(): calling panic action [/usr/share/samba/panic-action 1928]

(Novamente, eu não tenho certeza que essa mensagem esta exclusivamente relacionada com esse problema e acredito que não, mas não custa nada deixar claro que eu também tinha ela.)

Outra mensagem que eu estava vendo quando utilizava smbclient -L SERVER era:

NT_STATUS_PIPE_BROKEN

Se você deseja ver todo o meu smb.conf continue lendo!

O meu arquivo de configurações é uma pasta Compartilhados que é somente leitura mas que qualquer um pode acessar (guest) e a outra é Writable, onde todos podem escrever. (guest) Ou seja, minha configuração não utiliza de autenticação para os meus compartilhamentos.

Se eu lembrar de mais algum detalhe eu aviso vocês.

Thanks,
Matheus

PS: Eu acredito que este não seja um problema exclusivo do Ubuntu 12.04 ou 12.10 mas sim alguma modificação do Samba

Just some small changes from default file, but to solve this problem took me sometime.

#======================= Global Settings =======================

[global]

guest account = nobody
## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support – Tells the NMBD component of Samba to enable its WINS Server
# wins support = no

# WINS Server – Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
name resolve order = bcast host

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# ‘interfaces’ option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = yes

#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to ‘yes’.
# syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d

####### Authentication #######

# “security = user” is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = user

# You may wish to use password encryption. See the section on
# ‘encrypt passwords’ in the smb.conf(5) manpage before enabling.
encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam

obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan < for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# ‘passwd program’. The default is ‘no’.
pam password change = yes

# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user

########## Domains ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the ‘domain master’ setting to no
#
; domain logons = yes
#
# The following setting only takes effect if ‘domain logons’ is set
# It specifies the location of the user’s profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user’s home directory
# (this is Samba’s default)
# logon path = \\%N\%U\profile

# The following setting only takes effect if ‘domain logons’ is set
# It specifies the location of a user’s home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U

# The following setting only takes effect if ‘domain logons’ is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in ‘DOS’ file format convention
; logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser –quiet –disabled-password –gecos “” %u

# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe.
# The following assumes a “machines” group exists on the system
; add machine script = /usr/sbin/useradd -g machines -c “%u machine account” -d /var/lib/samba -s /bin/false %u

# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.
; add group script = /usr/sbin/addgroup –force-badname %g

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you’ll need this
# load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
; printing = bsd
; printcap name = /etc/printcap

# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
; printing = cups
; printcap name = cups

############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
# socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
; message command = /bin/sh -c ‘/usr/bin/linpopup “%f” “%m” %s; rm %s’ &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to ‘no’; otherwise, the default behavior is recommended.
# domain master = auto

# Some defaults for winbind (make sure you’re not using the ranges
# for something else.)
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash

# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
; winbind enum groups = yes
; winbind enum users = yes

# Setup usershare options to enable non-root users to share folders
# with the net usershare command.

# Maximum number of usershare. 0 (default) means that usershare is disabled.
; usershare max shares = 100

# Allow users who’ve been granted usershare privileges to create
# public shares, not just authenticated ones
usershare allow guests = yes

#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user’s home director as \\server\username
;[homes]
; comment = Home Directories
; browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to ‘no’ if you want to be able to write to them.
; read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server. Un-comment the following parameter
# to make sure that only “username” can connect to \\server\username
# The following parameter makes sure that only “username” can connect
#
# This might need tweaking when using external authentication schemes
; valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes

# Un-comment the following and create the profiles directory to store
# users profiles (see the “logon path” option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

#[printers]
# comment = All Printers
# browseable = no
# path = /var/spool/samba
# printable = yes
# guest ok = no
# read only = yes
# create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
#[print$]
# comment = Printer Drivers
# path = /var/lib/samba/printers
# browseable = yes
# read only = yes
# guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace ‘lpadmin’ with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
; write list = root, @lpadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server’s CD-ROM
; read only = yes
; locking = no
; path = /cdrom
; guest ok = yes

# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don’t want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom

[Compartilhados]
comment = “Shared Files”
browsable = yes
read only = yes
path = “/mnt/1tb/Compartilhados”
guest ok = yes
public = yes

[Writable]
comment = “Writable Folder”
browsable = yes
read only = no
path = “/mnt/1tb/Writable”
guest ok = yes
public = yes

]]>
https://wordpress.matbra.com/2013/03/07/ubuntu-12-04-configurando-samba-3-6-3/feed/ 12132 1520
GEdit Alternar Abas e Fechar – Plugin https://wordpress.matbra.com/2012/08/09/plugin-para-o-gedit/ https://wordpress.matbra.com/2012/08/09/plugin-para-o-gedit/#comments Thu, 09 Aug 2012 23:13:37 +0000 http://wordpress.matbra.com/?p=1412 Estava cansado de utilizar comandos diferentes do que sou acustumado no meu GEdit resolvi fazer um plugin para os atalhos que sou acustumado funcionarem

Os atalhos que inclui foram:
CTRL + TAB = Mudar de aba para direita
CTRL + SHIFT + TAB = Mudar de aba para a esquerda
CTRL + T = Nova aba
CTRL + F4 = Fecha aba

Então para ter as opções de CTRL + TAB no seu GEdit 2 e essas outras você deve incluir o Plugin no seguinte diretorio caso você deseje que o mesmo funcione para todos os usuários:

/usr/lib/gedit-2/plugins/

Caso você deseje que o mesmo afete somente o seu usuário inclua em:

~/.gnome2/gedit/plugins/.

Caso você utilize o GEdit 3 o caminho para adicionar o Plugin para todos os usuários é:

/usr/lib/gedit/plugins/

Caso você deseje somente para o seu usuário inclua em:

~/.local/share/gedit/plugins/

Para habilitar o mesmo selecione a caixa de seleção em:

Editar – Preferencias – Plugins – GEdit Tab Switcher and Closer

Download GEdit2 – Tab Switcher and Closer
Download GEdit3 – Tab Switcher and Closer

GEdit Tab Switcher and Closer – Plugin

Matheus

Referencias:
https://live.gnome.org/Gedit/PythonPluginHowTo
https://live.gnome.org/Gedit/PythonPluginHowToOld

]]>
https://wordpress.matbra.com/2012/08/09/plugin-para-o-gedit/feed/ 535 1412
Adicionar foto a chave PGP/GPG using GnuPG https://wordpress.matbra.com/2012/04/12/adicionar-foto-a-chave-pgpgpg-using-gnupg/ https://wordpress.matbra.com/2012/04/12/adicionar-foto-a-chave-pgpgpg-using-gnupg/#comments Thu, 12 Apr 2012 09:31:39 +0000 http://wordpress.matbra.com/?p=1287 Boa noite,

Para adicionar uma foto a sua chave PGP utilizando o GnuPG no Linux faça o seguinte:

Liste os certificados existentes

gpg –list-keys

Encontre o seu e o seu certificado possuirá uma linha:

pub 1024D/XXXXXXXX YYYY-MM-DD

Utilize o comando para editar sua chave:

gpg –edit-key XXXXXXXX

Adicione sua foto com:

addphoto

Recomenda-se imagens com tamanho próximo a 240×288, se você utilizar imagens muito grande, seu certificado ficara grande também. O formato deve ser JPG.

Em seguida adicione o caminho para sua foto.

/home/user/dir/dir/foto.jpg

Ele confirmará se esta é a foto correta. Pressione Y, se for.
Coloque sua senha.

Em seguida saia do modo de edição utilizando

save

Envie sua chave atualizada para um servidor de chaves

gpg –keyserver keyserver.cais.rnp.br –send-keys XXXXXXXX

Pronto, sua chave com sua foto foi enviada.

Abraços,
Matheus

]]>
https://wordpress.matbra.com/2012/04/12/adicionar-foto-a-chave-pgpgpg-using-gnupg/feed/ 520 1287
Ver fotos de certificados PGP/GPG utilizando GnuPG no Ubuntu https://wordpress.matbra.com/2012/04/11/ver-fotos-de-certificados-pgpgpg-utilizando-gnupg-no-ubuntu/ https://wordpress.matbra.com/2012/04/11/ver-fotos-de-certificados-pgpgpg-utilizando-gnupg-no-ubuntu/#comments Thu, 12 Apr 2012 00:37:23 +0000 http://wordpress.matbra.com/?p=1288 Boa noite,

Para visualizar as fotos automaticamente utilizando o GnuPG no Ubuntu você deve editar o seu arquivo de configurações.

Edite:

gedit .gnupg/gpg.conf

Se você deseja habilitar a exibição de fotos automáticas na listagem de chaves, procure por e remova o comentário

# Display photo user IDs in key listings
# list-options show-photos

Se você deseja habilitar a exibição de fotos em verificações procure por e remova o comentário

#verify-options show-photos

Adicione a seguinte linha com o visualizador de fotos que você deseja. Neste exemplo eog

photo-viewer “eog %i”

Salve o arquivo e aproveite.
Matheus

]]>
https://wordpress.matbra.com/2012/04/11/ver-fotos-de-certificados-pgpgpg-utilizando-gnupg-no-ubuntu/feed/ 509 1288
Ubuntu 12.04 Beta 2 https://wordpress.matbra.com/2012/04/03/ubuntu-12-04-beta-2/ https://wordpress.matbra.com/2012/04/03/ubuntu-12-04-beta-2/#comments Tue, 03 Apr 2012 13:33:28 +0000 http://wordpress.matbra.com/?p=1268 Olá,

Seguindo a sequencia de testes das versões do Ubuntu 12.04. Hoje instalei a última versão antes do lançamento oficial do Ubuntu 12.04 LTS. A data de lançamento do mesmo está marcada para dia 26 de Abril (classicamente a última quinta feira do mês.)

Para fazer o download do Ubuntu 12.04 beta 2 acesse:
Ubuntu 12.04 Beta 2 – Download

Para verificar a agenda de lançamentos do Ubuntu 12.04 acesse:
Ubuntu 12.04 Release Schedule

Testei os métodos para voltar a utilizar o Gnome, remover a overlay scrollbar, mudar a posição dos botões e instalar o gconf editor. O método de remover a remover a overlay scrollbar não funcionou perfeitamente, o design ficou um pouco estranho. Já os demais em primeira vista, funcionaram.

Os métodos podem ser encontrados em:

Remover ou Desabilitar barra de rolagem overlay no Ubuntu 12.04

Mudar os botoões do Ubuntu 12.04 de posição

Voltando ao Gnome Classic no Ubuntu 12.04

Lembrando que todos os métodos foram executados com sucesso no Ubuntu 12.04 beta 2.

Atenciosamente,
Matheus

]]>
https://wordpress.matbra.com/2012/04/03/ubuntu-12-04-beta-2/feed/ 6 1268
Adicionando método ao servidor VFS no Minix https://wordpress.matbra.com/2010/08/11/adicionando-metodo-ao-servidor-vfs-no-minix/ https://wordpress.matbra.com/2010/08/11/adicionando-metodo-ao-servidor-vfs-no-minix/#comments Wed, 11 Aug 2010 04:28:27 +0000 http://wordpress.matbra.com/?p=810 Boa Noite,

Primeiramente, o que é VFS? VFS é Virtual File System. É uma camada que existe em muitos sistemas operacionais e também no Minix, que cuida da parte comunicação com o File System. O mesmo foi desenvolvido pelo Balázs Gerófi como tese de Mestrado na universidade de Amsterdam com nome de “Design and implementation of the MINIX Virtual File system“.

Mas por que se comunicar com o servidor VFS? Por que adicionar algo nele? Bom, se você está trabalhando em baixo nível e quer por exemplo acessar diretamente os INODES por algum motivo, você deve inicialmente se comunicar com o servidor VFS. Para realizar a comunicação é simples, mas vamos supor que você queira um método especifico que o mesmo não possue, então você deve cria-lo.

Como fazer isso?

Inicialmente você deve editar o “/usr/src/include/minix/callnr.h”. Adicione logo abaixo a linha “#define GETPGRP 63″ o seguinte:
[code lang=”c”]
#define TESTCALL 64
[/code]

Em seguida você deve modificar o servidor VFS e adicionar o que você quer que faça quando a mesma for chamada. Edite inicialmente o “/usr/src/servers/vfs/table.c”. Você deve pegar a linha que possui no_sys, /* 64 = unused */
E alterar para:
[code lang=”c”]
do_TESTCALL, /* 64 = unused */
[/code]

Este será o método chamado quando a syscall de número 64 for executada.

Após isso você deve alterar o “/usr/src/servers/vfs/proto.h” que é onde estão definidos os métodos. Adicione o seguinte:
[code lang=”c”]
/* do_TESTCALL EXAMPLE */
_PROTOTYPE( int do_TESTCALL, (void) );
[/code]

Então você deve criar o método propriamente dito dentro do “/usr/src/servers/vfs/read.c” (ao menos eu fiz nesse arquivo). Adicione o seguinte código:

[code lang=”c”]
/*===========================================================================*
*Trabalho: do_ver_contig *
*===========================================================================*/
PUBLIC int do_TESTCALL() {
message m;
printf(“Número recebido %d”, m_in.fd);
}
[/code]

Mas como executar? E ver isso tudo funcionando? Como compilar?
Inicialmente acesse “/usr/src/tools/” e execute:

$ make libraries

(Este pode ser um processo demorado)

Continue em “/usr/src/tools” e execute:

$ make hdboot

Reinicie.

Como testar e ver se está funcionando? Crie um arquivo no seu “/root” com o seguinte conteúdo:
[code lang=”c”]
#include
#include
#include #include

int main(int argc, char *argv[]) {
int fd = 2;
message m;
m.m1_i1 = fd;
printf(“Number: %d”, fd);
_syscall(FS, 64, &m);
}
[/code]

O que isso é pra fazer? Fazer uma syscall no método 64, passar por mensagem o número 2, então o do_TESTCALL recebe o parametro e imprime o mesmo. Bem inutil, mas isto é pra demonstrar como criar métodos dentro do servidor VFS.

Exemplo dos códigos adicionados no servidor VFS

Criando uma biblioteca do sistema no Minix.

Atenciosamente,
Matheus

PS: É um exemplo bobo, mas é para demonstrar como adicionar métodos ao servidor VFS. Provavelmente nos próximos dias publicarei um exemplo, mais real.

]]>
https://wordpress.matbra.com/2010/08/11/adicionando-metodo-ao-servidor-vfs-no-minix/feed/ 1044 810
Cliente torrent em Servidor linux com acesso via WEB https://wordpress.matbra.com/2010/08/04/cliente-torrent-em-servidor-linux-com-acesso-via-web/ https://wordpress.matbra.com/2010/08/04/cliente-torrent-em-servidor-linux-com-acesso-via-web/#comments Wed, 04 Aug 2010 21:34:09 +0000 http://wordpress.matbra.com/?p=807 Olá,

Por que criar um servidor com um cliente torrent com acess web? Como eu moro com outras pessoas, que também utilizam torrent e tinha um computador rodando direto com outros serviços, decidi adicionar um cliente torrent (transmission) com acesso via web, assim não precisando deixar os computadores ligados baixando. Cada um possui acesso e pode deixar o seu.

Mas qual cliente utilizar? Verifiquei a existência desse tipo de clientes e verifiquei que existem dois bastante famosos, o w3btorrent e o torrentflux, li que ambos exercem muito bem sua função, porém o que eu não gostei é que eles precisam de servidor WEB como o Apache, o segundo se não estou enganado também precisa de PHP e por ai vai. Mas, será que não tem um que não precise disso? Claro que existe o próprio transmission, cliente nativo do Ubuntu.

Bom, chega de dar outras opções pra você e vamos a instalação do Transmission. Inicialmente acesse seu servidor via ssh e instale o transmission-daemon com o seguinte comando:

$ sudo apt-get install transmission-daemon

Agora você deve configurar o mesmo, para configurar o mesmo, acessei /home/usuario/.config/transmission-daemon/settings.json

O arquivo é extenso e possui diversas configurações mas todas praticamente intuitivas.

“download-dir”: – É o diretório onde os downloads terminados irão ficar
“incomplete-dir”: – É o diretório onde os downloads incompletos irão ficar
“incomplete-dir-enabled”: – Se irá usar o diretório incompleto ou não
“rpc-enabled”: – Se o acesso via web estará ligado ou não
“rpc-port”: – Porta do serviço
“rpc-whitelist-enabled”: – Se permitirá o acesso somente a certos IPs
“rpc-whitelist”: – Lista dos ips permitidos

Existem diversas outras configurações que podem ser feitas, mas essas são as básicas que utilizei para fazer ele funcionar, tive alguns problemas com a White-list então desabilitei a mesma, habilitei o rpc e pronto.

Este é o meu
Arquivo de configuração do transmission-daemon no mesmo a senha é “teste” e o usuário é “admin”

Para iniciar o transmission-daemon com um arquivo de configuração diferente, utilize –config-dir DIR/PARA/O/ARQUIVO

(Lembrando que não é necessário colocar o caminho até o settings.json e sim somente o caminho onde está o mesmo)

Adicionei no /etc/rc.local

transmission-daemon –config-dir /home/usuario/.config/transmission-daemon/

Removi o transmission-daemon do /etc/init.d/ reinicie e pronto.

Qualquer dúvida ou problema entre em contato, ficarei feliz em ajudar,
Matheus

]]>
https://wordpress.matbra.com/2010/08/04/cliente-torrent-em-servidor-linux-com-acesso-via-web/feed/ 2788 807
Como quebrar arquivo grande em varios pedacos no Linux https://wordpress.matbra.com/2010/08/04/como-quebrar-arquivo-grande-em-varios-pedacos-no-linux/ https://wordpress.matbra.com/2010/08/04/como-quebrar-arquivo-grande-em-varios-pedacos-no-linux/#comments Wed, 04 Aug 2010 07:38:32 +0000 http://wordpress.matbra.com/?p=800 Olá,

Para você quebrar um arquivo grande em pedaços pequenos você pode usar o comando Split do Linux. Como o mesmo funciona?

split –bytes=1m /caminho/arquivo/grande /caminho/arquivo/de/saida/prefixo

Você pode alterar o sufixo do –bytes por diversos valores, como:
kB = 1000
K = 1024
MB = 1000 * 1000
M = 1024 * 1024
G = 1000 * 1000 * 1000
GB = 1024 * 1024 * 1024

Atenciosamente,
Matheus

Referencia:
http://www.techiecorner.com/107/how-to-split-large-file-into-several-smaller-files-linux/

]]>
https://wordpress.matbra.com/2010/08/04/como-quebrar-arquivo-grande-em-varios-pedacos-no-linux/feed/ 45 800
Utilizar Firefox 4.0 Beta no Ubuntu https://wordpress.matbra.com/2010/07/06/utilizar-firefox-4-0-beta-no-ubuntu/ https://wordpress.matbra.com/2010/07/06/utilizar-firefox-4-0-beta-no-ubuntu/#comments Tue, 06 Jul 2010 14:44:45 +0000 http://wordpress.matbra.com/?p=677 Ola,

Estava dando uma olhada nos meus feeds e vi que o Firefox 4.0 Beta estava disponivel para download. Fui verificar, esta mesmo, porem na verdade o que aconteceu foi que a Mozilla Foundation transformou a versao 3.7pre6a em 4.0b1.

Utilizei o mesmo e nao reparei nenhuma grande melhoria, novidade fechando com as informacoes disponiveis no Imasters.Um screenshot do mesmo pra nao passar em branco a baixo.

firefox-4-beta

Bom, mas como utilizar a nova versao do Firefox? Simples, baixe a versao que voce deseja utilizar

Firefox 4.0 beta – Linux 32 Bits
Firefox 4.0 beta – Linux 64 Bits
Firefox 4.0 beta – outros

Apos o download completo, feche o seu firefox. Extraia. Execute o arquivo firefox. Se voce quizer ficar utilizando ele, mesmo com as falhas que ele deve possuir e maior instabilidade voce pode criar atalho para o mesmo.

Abracos,
Matheus

Feed que me informou:
http://imasters.uol.com.br/noticia/17373/des_de_software/firefox_4_beta_esta_disponivel_para_download/

]]>
https://wordpress.matbra.com/2010/07/06/utilizar-firefox-4-0-beta-no-ubuntu/feed/ 58 677
Lancamento Ubuntu 10.04 Lucid Lynx. https://wordpress.matbra.com/2010/05/04/lancamento-ubuntu-10-04-lucid-lynx/ https://wordpress.matbra.com/2010/05/04/lancamento-ubuntu-10-04-lucid-lynx/#comments Tue, 04 May 2010 11:14:03 +0000 http://wordpress.matbra.com/?p=657 Boa noite voce,

Como voce deve saber, hoje foi o lancamento do novo Ubuntu LTS 10.04. Como voce deve recordar eu trabalho em um laboratorio na UFSC que eh mirror. Entao peguei minha imagem pela rede hoje, quando estava no talo o servidor.

Cheguei em casa e fui instalar, cade? Nao ia! Pesquisei o MD5SUM pra garantir, e adivinha? Corrompido, maldicao de ter esquecido de verificar no laboratorio. Demorei um certo tempo pra achar os MD5SUMs, entao vou posta-los para ficar mais facil encontra-los.

a54366aa72d6b576ee8fc0215f8a13b9 *ubuntu-10.04-alternate-amd64.iso
5b2dadacfd692b4f2d5c7cf034539262 *ubuntu-10.04-alternate-i386.iso
3e0f72becd63cad79bf784ac2b34b448 *ubuntu-10.04-desktop-amd64.iso
d044a2a0c8103fc3e5b7e18b0f7de1c8 *ubuntu-10.04-desktop-i386.iso
0b0e0d36050d9980ec995262eb9f2e6b *ubuntu-10.04-netbook-armel+dove.img
9e0d6ac7b69bb7912d49369a6807e39d *ubuntu-10.04-netbook-armel+imx51.img
712277c7868ab374c4d3c73cff1d95cb *ubuntu-10.04-netbook-i386.iso
8ee25c78f4c66610b6872a05ee9ad81b *ubuntu-10.04-server-amd64.iso
15342636441181f7a19c65984b44e24c *ubuntu-10.04-server-i386.iso
e81f931b1de017520f6d4aa4f78c5c8b *wubi.exe

Segunda eu devo instalar o Ubuntu e posto novidades sobre o mesmo pra todos.

Abracos,
Matheus

]]>
https://wordpress.matbra.com/2010/05/04/lancamento-ubuntu-10-04-lucid-lynx/feed/ 64 657