Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Tópicos - Hélio Barbosa

Páginas: [1] 2 3
1
pq tenho permissão negada, sendo que está rw tanto para other e group


Citar
heliob@ubuntu-vbox:/opt$ ls -la
total 12
drwxr-xr-x  3 root root 4096 Jul 25 18:47 .
drwxr-xr-x 22 root root 4096 Jul 23 11:03 ..
drwxrw-rw-  3 root root 4096 Jul 28 11:06 git
heliob@ubuntu-vbox:/opt$ cd git/
-bash: cd: git/: Permission denied
heliob@ubuntu-vbox:/opt$

2
Iniciantes / unity search no gnome classic
« Online: 04 de Junho de 2012, 12:50 »
há como?

3
Gnome / [RESOLVIDO]Quadrado (Retângulo) Cinza no meio da tela
« Online: 09 de Novembro de 2011, 10:57 »
Algum programa meu travou e deixou um retângulo cinza na tela, alguém sabe como resolver esse problema sem ter que reiniciar o computador?
Isso já aconteceu outras vezes e reiniciando volta!



Grato

4
Parece que meus aplicativos wine não estão conseguindo conectar na internet depois de eu ter atualizado para o Ubuntu 11.10...

O meu mysql query brownser está dando a seguinte mensagem:

Could not connect to the specified instance.


Grato,
Hélio Barbosa

5
É o seguinte...
Estou usando um fone de ouvido na saída verde que fica atrás do computador!
Acontece que eu fico ouvindo um chiado quando abro um programa, ou mando executar alguma tarefa...
Alguém tem idéia do que pode ser?

6
Aplicativos / Netbeans consumo mais que 100% CPU...
« Online: 29 de Julho de 2010, 11:37 »
Estou usando netbeans, mas ele do nada começa a ficar lento. Dai quando vou acessar o System Monitor o processo dele tá passando 100%...
http://img135.imageshack.us/img135/1624/cpunetbeans.png
Alguém tem idéia do que posso fazer?

7
Aplicativos / Babytrans
« Online: 21 de Julho de 2010, 18:19 »
Alguém poderia me ajudar a instalar esse sofware?

Baixei desse site: http://fjolliton.free.fr/babytrans/#p6

Estou executando o ./configure, porém recebo abaixo como retorno:

Código: [Selecionar]
helio@helio-desktop:~/Downloads/babytrans-0.9.1$ sudo ./configure
[sudo] password for helio:
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking if compiler use ISO headers... yes
checking if compiler know namespace keyword... yes
checking how compiler handle std namespace... as expected by a good C++ compiler :)
checking if C++ library include stringstream... yes
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.0 not installed - please install first ***
helio@helio-desktop:~/Downloads/babytrans-0.9.1$

Tentei instalar a tal glib, mas ela já está instalada...

Código: [Selecionar]
helio@helio-desktop:~/Downloads/babytrans-0.9.1$ sudo apt-get install libglib2.0-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libglib2.0-0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
helio@helio-desktop:~/Downloads/babytrans-0.9.1$

8
Olá a todos,

Procurando no fórum sobre alguma forma de eu poder rodar esse periférico no meu computador, achei um post onde o Tota estava participando e indicando o seguinte tutorial:

http://dougsland.livejournal.com/103169.html

Porém não deu muito certo, apareceram uns erros q vou colar mais a seguir.

Mas antes, mandei uma mp para o Tota e ele me sugeriu postar aqui minha dúvida já adiantando algumas informações:

Código: [Selecionar]
helio@helio-desktop:~$ sudo uname -a
Linux helio-desktop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux

Código: [Selecionar]
helio@helio-desktop:~$ sudo lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 1554:5010 Prolink Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



Código: [Selecionar]
helio@helio-desktop:~$ sudo dmesg
[11840.188442] DVB: registering adapter 0 frontend 0 (DiBcom 8000 ISDB-T)...
[11840.410729] DiB0070: successfully identified
[11840.410823] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-6/input/input12
[11840.410890] dvb-usb: schedule remote query interval to 50 msecs.
[11840.410894] dvb-usb: Prolink Pixelview SBTVD successfully initialized and connected.
[11873.942925] dvb-usb: Prolink Pixelview SBTVD successfully deinitialized and disconnected.
[11904.910029] usb 1-6: reset high speed USB device using ehci_hcd and address 4
[11907.056379] dvb-usb: found a 'Prolink Pixelview SBTVD' in warm state.
[11907.056426] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[11907.056839] DVB: registering new adapter (Prolink Pixelview SBTVD)
[11907.297169] DVB: registering adapter 0 frontend 0 (DiBcom 8000 ISDB-T)...
[11907.509327] DiB0070: successfully identified
[11907.509416] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-6/input/input13
[11907.509482] dvb-usb: schedule remote query interval to 50 msecs.
[11907.509486] dvb-usb: Prolink Pixelview SBTVD successfully initialized and connected.
[11907.594464] dvb-usb: Prolink Pixelview SBTVD successfully deinitialized and disconnected.
*Este acima eu copiei apenas as ultimas linhas, como sugerido pelo Tota


Agora abaixo a mensagem de erros:

Código: [Selecionar]
helio@helio-desktop:~/v4l-dvb$ make
make -C /home/helio/v4l-dvb/v4l
make[1]: Entering directory `/home/helio/v4l-dvb/v4l'
No version yet, using 2.6.32-22-generic
make[1]: Leaving directory `/home/helio/v4l-dvb/v4l'
make[1]: Entering directory `/home/helio/v4l-dvb/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.32

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

V4L2_MEM2MEM_DEV: Requires at least kernel 2.6.33
VIDEO_TVP7002: Requires at least kernel 2.6.34
VIDEO_AK881X: Requires at least kernel 2.6.33
SOC_CAMERA: Requires at least kernel 2.6.33
SOC_CAMERA_MT9M001: Requires at least kernel 2.6.33
SOC_CAMERA_MT9M111: Requires at least kernel 2.6.33
SOC_CAMERA_MT9T031: Requires at least kernel 2.6.33
SOC_CAMERA_MT9V022: Requires at least kernel 2.6.33
SOC_CAMERA_TW9910: Requires at least kernel 2.6.33
SOC_CAMERA_PLATFORM: Requires at least kernel 2.6.33
SOC_CAMERA_OV772X: Requires at least kernel 2.6.33
RADIO_SAA7706H: Requires at least kernel 2.6.34
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/helio/v4l-dvb/v4l'
make[1]: Entering directory `/home/helio/v4l-dvb/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.32-22-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/home/helio/v4l-dvb/v4l/firmware'
make[2]: Leaving directory `/home/helio/v4l-dvb/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/helio/v4l-dvb/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/home/helio/v4l-dvb/v4l/firmware'
Kernel build directory is /lib/modules/2.6.32-22-generic/build
make -C /lib/modules/2.6.32-22-generic/build SUBDIRS=/home/helio/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-22-generic'
  CC [M]  /home/helio/v4l-dvb/v4l/tuner-xc2028.o
  CC [M]  /home/helio/v4l-dvb/v4l/tuner-simple.o
  CC [M]  /home/helio/v4l-dvb/v4l/tuner-types.o
 [i]* Aqui vários como a linha abaixo e acima *[/i]
  CC [M]  /home/helio/v4l-dvb/v4l/firedtv-ci.o
  CC [M]  /home/helio/v4l-dvb/v4l/firedtv-dvb.o
  CC [M]  /home/helio/v4l-dvb/v4l/firedtv-fe.o
  CC [M]  /home/helio/v4l-dvb/v4l/firedtv-1394.o
/home/helio/v4l-dvb/v4l/firedtv-1394.c:22:17: error: dma.h: No such file or directory
/home/helio/v4l-dvb/v4l/firedtv-1394.c:23:21: error: csr1212.h: No such file or directory
/home/helio/v4l-dvb/v4l/firedtv-1394.c:24:23: error: highlevel.h: No such file or directory
/home/helio/v4l-dvb/v4l/firedtv-1394.c:25:19: error: hosts.h: No such file or directory
/home/helio/v4l-dvb/v4l/firedtv-1394.c:26:22: error: ieee1394.h: No such file or directory
/home/helio/v4l-dvb/v4l/firedtv-1394.c:27:17: error: iso.h: No such file or directory
/home/helio/v4l-dvb/v4l/firedtv-1394.c:28:21: error: nodemgr.h: No such file or directory
/home/helio/v4l-dvb/v4l/firedtv-1394.c:41: warning: 'struct hpsb_iso' declared inside parameter list
/home/helio/v4l-dvb/v4l/firedtv-1394.c:41: warning: its scope is only this definition or declaration, which is probably not what you want
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'rawiso_activity_cb':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:57: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:58: error: implicit declaration of function 'hpsb_iso_n_ready'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:65: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:66: error: implicit declaration of function 'dma_region_i'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:66: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:66: error: expected expression before 'unsigned'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:68: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:72: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:86: error: implicit declaration of function 'hpsb_iso_recv_release_packets'
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'node_of':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:91: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:91: warning: type defaults to 'int' in declaration of '__mptr'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:91: warning: initialization from incompatible pointer type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:91: error: invalid use of undefined type 'struct unit_directory'
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'node_lock':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:96: error: 'quadlet_t' undeclared (first use in this function)
/home/helio/v4l-dvb/v4l/firedtv-1394.c:96: error: (Each undeclared identifier is reported only once
/home/helio/v4l-dvb/v4l/firedtv-1394.c:96: error: for each function it appears in.)
/home/helio/v4l-dvb/v4l/firedtv-1394.c:96: error: 'd' undeclared (first use in this function)
/home/helio/v4l-dvb/v4l/firedtv-1394.c:97: warning: ISO C90 forbids mixed declarations and code
/home/helio/v4l-dvb/v4l/firedtv-1394.c:99: error: implicit declaration of function 'hpsb_node_lock'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:100: error: 'EXTCODE_COMPARE_SWAP' undeclared (first use in this function)
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'node_read':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:108: error: implicit declaration of function 'hpsb_node_read'
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'node_write':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:113: error: implicit declaration of function 'hpsb_node_write'
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'start_iso':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:124: error: implicit declaration of function 'hpsb_iso_recv_init'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:124: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:126: error: 'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function)
/home/helio/v4l-dvb/v4l/firedtv-1394.c:135: error: implicit declaration of function 'hpsb_iso_recv_start'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:138: error: implicit declaration of function 'hpsb_iso_shutdown'
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'stop_iso':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:149: error: implicit declaration of function 'hpsb_iso_stop'
/home/helio/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/helio/v4l-dvb/v4l/firedtv-1394.c:164: warning: 'struct hpsb_host' declared inside parameter list
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'fcp_request':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:177: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:178: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'node_probe':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:192: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:192: warning: type defaults to 'int' in declaration of '__mptr'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:192: warning: initialization from incompatible pointer type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:192: error: invalid use of undefined type 'struct unit_directory'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:197: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:198: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:199: error: implicit declaration of function 'CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:199: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/helio/v4l-dvb/v4l/firedtv-1394.c:258: warning: 'struct unit_directory' declared inside parameter list
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'node_update':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:260: error: dereferencing pointer to incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c: At top level:
/home/helio/v4l-dvb/v4l/firedtv-1394.c:268: error: variable 'fdtv_driver' has initializer but incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:269: error: unknown field 'name' specified in initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:269: warning: excess elements in struct initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:269: warning: (near initialization for 'fdtv_driver')
/home/helio/v4l-dvb/v4l/firedtv-1394.c:270: error: unknown field 'id_table' specified in initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:270: warning: excess elements in struct initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:270: warning: (near initialization for 'fdtv_driver')
/home/helio/v4l-dvb/v4l/firedtv-1394.c:271: error: unknown field 'update' specified in initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:271: warning: excess elements in struct initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:271: warning: (near initialization for 'fdtv_driver')
/home/helio/v4l-dvb/v4l/firedtv-1394.c:272: error: unknown field 'driver' specified in initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:272: error: extra brace group at end of initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:272: error: (near initialization for 'fdtv_driver')
/home/helio/v4l-dvb/v4l/firedtv-1394.c:275: warning: excess elements in struct initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:275: warning: (near initialization for 'fdtv_driver')
/home/helio/v4l-dvb/v4l/firedtv-1394.c:278: error: variable 'fdtv_highlevel' has initializer but incomplete type
/home/helio/v4l-dvb/v4l/firedtv-1394.c:279: error: unknown field 'name' specified in initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:279: warning: excess elements in struct initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:279: warning: (near initialization for 'fdtv_highlevel')
/home/helio/v4l-dvb/v4l/firedtv-1394.c:280: error: unknown field 'fcp_request' specified in initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:280: warning: excess elements in struct initializer
/home/helio/v4l-dvb/v4l/firedtv-1394.c:280: warning: (near initialization for 'fdtv_highlevel')
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:287: error: implicit declaration of function 'hpsb_register_highlevel'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:288: error: implicit declaration of function 'hpsb_register_protocol'
/home/helio/v4l-dvb/v4l/firedtv-1394.c:291: error: implicit declaration of function 'hpsb_unregister_highlevel'
/home/helio/v4l-dvb/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
/home/helio/v4l-dvb/v4l/firedtv-1394.c:298: error: implicit declaration of function 'hpsb_unregister_protocol'
make[3]: *** [/home/helio/v4l-dvb/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/home/helio/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-22-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/helio/v4l-dvb/v4l'
make: *** [all] Error 2
helio@helio-desktop:~/v4l-dvb$

Se alguém puder ajudar agradeço!!!

9
Aplicativos / Clique Duplo NetBeans TouchPad
« Online: 16 de Maio de 2010, 10:20 »
Tenho o hábito de dar clique duplo pra selecionar uma palavra, ou três cliques pra selecionar uma linha e tals...
Só não está funcionando com o NetBeans, usando o touchpad do notebook...
Aparentemente, no resto do sistema funciona...
Alguém sabe o que pode estar acontecendo?

Abraços,
Hélio

10
Iniciantes / (Resolvido) copiar e colar ao fechar programas
« Online: 11 de Maio de 2010, 10:50 »
Olá,

Porque quando copio ( ctrl+c ) fecho o programa, maximizo outro e vou tentar colar e o que eu havia copiado já não existe mais na memória ?

 ??? ??? ??? ??? ???

Acabei de fazer o teste.... ele só copia se o programa de origem estiver aberto... totaly crazy... :-\

Abraços,
Hélio


11
Aplicativos / mysql-query-browser para linux
« Online: 10 de Dezembro de 2009, 15:42 »
Eu sou um desenvolvedor PHP / MySQL, mas uso Windows como uma plataforma para desenvolvimento. Eu estou migrando para o Linux, mas o mysql-query-browser versão Linux é totalmente diferente da versão do Windows.
Eu me pergunto por que isso acontece??? ??? ??? ???
Sendo que a versão Windows é 1.2 ao qual também é o mesmo do Ubuntu.
Na versão do M$ pode fazer várias consultas, em apenas uma aba!
Na versão do M$ tem botões auxiliares como WHERE, SELECT, etc, .... que não tem na versão linux
O que acontece com o pessoal do MySQL para criar tal versões diferentes?

Sei que não é culpa do linux, mas que coisa....  :o

12
Olá,

Após a atualização ficou muito lento o uso do Ubuntu. Na versão 9.04 estava supimpa, super rápido e os efeitos das janelas estavam funcionando lindamente...
Eu executei o comando TOP e aparemente é o xorg q tá matando meu processador.



Meu notebook:
  • Core 2 Duo 2,0 Ghz
  • 3Gb de Ram
  • Placa de vídeo Mobile Intel Ghaphics Media Accelerator 4500MHD

Outro problema que deu também foi o touchpad, ele não foi reconhecido :(

13
Internet, Redes e Segurança / terminal apt-get update por socks
« Online: 12 de Novembro de 2009, 18:18 »
Olá,

Eu navego na internet por um servidor proxy ao qual configuro no firefox nas opções de socks, como na imagem abaixo:



Podem reparar que o campo http, como outros, ficam vazio, só preencho a parte de socks!
Como faço para configurar a mesma coisa, mas pro terminal acessar a internet através desse proxy?
Gostaria de fazer update através do apt-get


Abraços,
Hélio

14
Servidores / servidor smtp simples [RESOLVIDO]
« Online: 25 de Fevereiro de 2008, 15:32 »
Algum pra ubuntu, só para testar envio de emails por php?

Abraços,
Hélio

15
Programação e Scripts / crontab X script.sh [RESOLVIDO]
« Online: 08 de Fevereiro de 2008, 12:30 »
Olá Jovens,

Se coloco no meu "crontab -e" o seguinte código por exemplo, funciona belezinha:

Código: [Selecionar]
15 12 * * * touch /home/helio/Desktop/joselitoCarneiro.txt

Perfect!

Porém, quando coloco para chamar um script que montei ele não executa:

Código: [Selecionar]
15 12 * * * /home/helio/executa.bkp.sh

O conteúdo do meu executa.bkp.sh é:

Código: [Selecionar]
#! /bin/sh
cd /var/www/siteJoselito
zip -r /tmp/siteJoselito.backup.zip /var/www/siteJoselito
cp /tmp/siteJoselito.backup.zip '/home/helio/Desktop/web/siteJoselito/siteJoselito.backup.'`date +%Y-%m-%d`'.zip'
rm /tmp/siteJoselito.backup.zip

Sendo que /home/helio/Desktop/web/ é um diretório montado de um compartilhamento windows.
E quando executo:
Código: [Selecionar]
$ ./executa.bkp.sh

O script roda bunitinho ;)

Ah... esse script está com 777.

Abraços,
Hélio

Páginas: [1] 2 3