Eu sei que posso obter ajuda no comando executando man openssl
. É possível de alguma forma obter ajuda apenas no openssl req
comando?
vico's questions
Mosquitto
Eu gerei o certificado de chave do cliente no servidor seguro autoassinado . Copiei a CA e o certificado do cliente com a chave do cliente na máquina do cliente. A assinatura do cliente funciona bem:
mosquitto_sub -h 192.168.1.8 -t sensor --cafile ca.crt --cert client.crt --key client.key -p 8883 -d
Mas e se alguém hackear minha máquina cliente e obter credenciais. Como posso desabilitar este certificado na máquina do servidor?
Eu tenho IP estático no meu sistema Debian Lenny e o ping por IP para a Internet funciona bem. Infelizmente www.google.com não é resolvido pelo nome. Não consigo instalar nenhum software adicional no meu Linux, pois ele não resolve nomes.
/etc/network/interfaces:
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface uses static address
auto eth0
iface eth0 inet static
address 192.168.1.99
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8
Como rastrear a solicitação de DNS com ferramentas padrão para encontrar o problema?
Estou usando o cliente putty no Windows para conectar ao Debian 6 remoto via SSH. Se eu fizer login como root, tenho um prompt de comando normal como root@ion:~#
e o comando autocomplete funciona bem ao pressionar tab
. Caso eu registre como não usuário root, tenho apenas $
no prompt de comando e nenhum comando autocomplete.
Por que é assim e como expandir as possibilidades do usuário não root?
Tentando instalar o Oracle Java 6 SDK no Debian Lenny. Baixei o arquivo rpm. Após executar o comando
rpm -ivh jdk-6u45-linux-i586.rpm sun-javadb-core-10.6.2-1.1.i386.rpm sun-javadb-demo-10.6.2-1.1.i386.rpm sun-javadb-docs-10.6.2-1.1.i386.rpm sun-javadb-javadoc-10.6.2-1.1.i386.rpm sun-javadb-client-10.6.2-1.1.i386.rpm
obteve saída:
/bin/basename is needed by jdk-1.6.0_45-fcs.i586
/bin/cat is needed by jdk-1.6.0_45-fcs.i586
/bin/cp is needed by jdk-1.6.0_45-fcs.i586
/bin/gawk is needed by jdk-1.6.0_45-fcs.i586
/bin/grep is needed by jdk-1.6.0_45-fcs.i586
/bin/ln is needed by jdk-1.6.0_45-fcs.i586
/bin/ls is needed by jdk-1.6.0_45-fcs.i586
/bin/mkdir is needed by jdk-1.6.0_45-fcs.i586
/bin/mv is needed by jdk-1.6.0_45-fcs.i586
/bin/pwd is needed by jdk-1.6.0_45-fcs.i586
/bin/rm is needed by jdk-1.6.0_45-fcs.i586
/bin/sed is needed by jdk-1.6.0_45-fcs.i586
/bin/sort is needed by jdk-1.6.0_45-fcs.i586
/bin/touch is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/cut is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/dirname is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/expr is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/find is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/tail is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/tr is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/wc is needed by jdk-1.6.0_45-fcs.i586
/bin/sh is needed by jdk-1.6.0_45-fcs.i586
sun-javadb-common is needed by sun-javadb-core-10.6.2-1.1.i386
/bin/sh is needed by sun-javadb-core-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-demo-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-docs-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-javadoc-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-client-10.6.2-1.1.i386
Por que eu tenho essas dependências estranhas? Por exemplo
/bin/ls is needed by jdk-1.6.0_45-fcs.i586
Eu definitivamente tenho ls
comando no meu sistema por que a instalação do Java reclama disso?
Como o Java 6 não está disponível no Debian 5, decidi tirá-lo da Oracle. Eu baixei o Java 6 SDK no arquivo jdk-6u45-linux-i586-rpm.bin. Mas como instalá-lo?
Executei jdk-6u45-linux-i586-rpm.bin
e obtive vários arquivos:
jdk-6u45-linux-i586.rpm
sun-javadb-core-10.6.2-1.1.i386.rpm
sun-javadb-demo-10.6.2-1.1.i386.rpm
sun-javadb-docs-10.6.2-1.1.i386.rpm
sun-javadb-javadoc-10.6.2-1.1.i386.rpm
sun-javadb-client-10.6.2-1.1.i386.rpm
O que devo fazer a seguir?
UPD
Após executar:
rpm -ivh jdk-6u45-linux-i586.rpm sun-javadb-core-10.6.2-1.1.i386.rpm sun-javadb-demo-10.6.2-1.1.i386.rpm sun-javadb-docs-10.6.2-1.1.i386.rpm sun-javadb-javadoc-10.6.2-1.1.i386.rpm sun-javadb-client-10.6.2-1.1.i386.rpm
obteve saída:
/bin/basename is needed by jdk-1.6.0_45-fcs.i586
/bin/cat is needed by jdk-1.6.0_45-fcs.i586
/bin/cp is needed by jdk-1.6.0_45-fcs.i586
/bin/gawk is needed by jdk-1.6.0_45-fcs.i586
/bin/grep is needed by jdk-1.6.0_45-fcs.i586
/bin/ln is needed by jdk-1.6.0_45-fcs.i586
/bin/ls is needed by jdk-1.6.0_45-fcs.i586
/bin/mkdir is needed by jdk-1.6.0_45-fcs.i586
/bin/mv is needed by jdk-1.6.0_45-fcs.i586
/bin/pwd is needed by jdk-1.6.0_45-fcs.i586
/bin/rm is needed by jdk-1.6.0_45-fcs.i586
/bin/sed is needed by jdk-1.6.0_45-fcs.i586
/bin/sort is needed by jdk-1.6.0_45-fcs.i586
/bin/touch is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/cut is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/dirname is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/expr is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/find is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/tail is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/tr is needed by jdk-1.6.0_45-fcs.i586
/usr/bin/wc is needed by jdk-1.6.0_45-fcs.i586
/bin/sh is needed by jdk-1.6.0_45-fcs.i586
sun-javadb-common is needed by sun-javadb-core-10.6.2-1.1.i386
/bin/sh is needed by sun-javadb-core-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-demo-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-docs-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-javadoc-10.6.2-1.1.i386
sun-javadb-common is needed by sun-javadb-client-10.6.2-1.1.i386
Parece que não consigo instalar nenhum software desde que executo o Old Debian Lenny. É possível de alguma forma alterar as fontes de instalação do sistema?
UPD
Atualizei minhas fontes, mas ainda não consigo instalar o software:
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ lenny/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ lenny/updates main contribi
deb http://archive.debian.org/debian-archive/debian/ lenny main contrib non-fre
deb http://archive.debian.org/debian-security/ lenny/updates main contrib non-free
Tentando instalar o vim-gnome no Raspberry Pi3. Finalmente deu erro:
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/perl/libperl5.20_5.20.2-3+deb8u8_armhf.deb: 404 Not Found [IP: 93.93.128.193 80]
Como consertar isso?
Registro inteiro:
sudo aptitude install vim-gnome
The following NEW packages will be installed:
gnome-mime-data libart-2.0-2 libbonobo2-0 libbonobo2-common{a} libbonoboui2-0{a} libbonoboui2-common libgail18 libglade2-0 libgnome-2-0 libgnome2-common libgnomecanvas2-0
libgnomecanvas2-common libgnomeui-0{a} libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra liblua5.2-0{a} liborbit-2-0{a} libperl5.20{a} vim-gnome vim-gui-common{a}
0 packages upgraded, 22 newly installed, 0 to remove and 1 not upgraded.
Need to get 7,645 kB of archives. After unpacking 32.7 MB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libart-2.0-2 armhf 2.3.21-2 [63.8 kB]
Get: 2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libbonobo2-common all 2.32.1-3 [243 kB]
Get: 3 http://mirrordirector.raspbian.org/raspbian/ jessie/main liborbit-2-0 armhf 1:2.14.19-0.3 [196 kB]
Get: 4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libbonobo2-0 armhf 2.32.1-3 [236 kB]
Get: 5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libglade2-0 armhf 1:2.6.4-2 [76.2 kB]
Get: 6 http://mirrordirector.raspbian.org/raspbian/ jessie/main gnome-mime-data all 2.18.0-1 [725 kB]
Get: 7 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnomevfs2-common all 1:2.24.4-6 [763 kB]
Get: 8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnomevfs2-0 armhf 1:2.24.4-6 [450 kB]
Get: 9 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnome2-common all 2.32.1-5 [936 kB]
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main libperl5.20 armhf 5.20.2-3+deb8u8
404 Not Found [IP: 93.93.128.193 80]
Get: 10 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnome-2-0 armhf 2.32.1-5 [463 kB]
Get: 11 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgail18 armhf 2.24.25-3+deb8u2 [537 kB]
Get: 12 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnomecanvas2-common all 2.30.3-2 [132 kB]
Get: 13 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnomecanvas2-0 armhf 2.30.3-2 [94.7 kB]
Get: 14 http://mirrordirector.raspbian.org/raspbian/ jessie/main libbonoboui2-common all 2.24.5-2 [192 kB]
Get: 15 http://mirrordirector.raspbian.org/raspbian/ jessie/main libbonoboui2-0 armhf 2.24.5-2 [177 kB]
Get: 16 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnomeui-common all 2.24.5-3 [514 kB]
Get: 17 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnomeui-0 armhf 2.24.5-3 [285 kB]
Get: 18 http://mirrordirector.raspbian.org/raspbian/ jessie/main liblua5.2-0 armhf 5.2.3-1.1 [64.8 kB]
Get: 19 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgnomevfs2-extra armhf 1:2.24.4-6 [351 kB]
Get: 20 http://mirrordirector.raspbian.org/raspbian/ jessie/main vim-gui-common all 2:7.4.488-7+deb8u3 [150 kB]
Get: 21 http://mirrordirector.raspbian.org/raspbian/ jessie/main vim-gnome armhf 2:7.4.488-7+deb8u3 [993 kB]
Fetched 7,643 kB in 13s (566 kB/s)
Selecting previously unselected package libart-2.0-2:armhf.
(Reading database ... 124424 files and directories currently installed.)
Preparing to unpack .../libart-2.0-2_2.3.21-2_armhf.deb ...
Unpacking libart-2.0-2:armhf (2.3.21-2) ...
Selecting previously unselected package libbonobo2-common.
Preparing to unpack .../libbonobo2-common_2.32.1-3_all.deb ...
Unpacking libbonobo2-common (2.32.1-3) ...
Selecting previously unselected package liborbit-2-0:armhf.
Preparing to unpack .../liborbit-2-0_1%3a2.14.19-0.3_armhf.deb ...
Unpacking liborbit-2-0:armhf (1:2.14.19-0.3) ...
Selecting previously unselected package libbonobo2-0:armhf.
Preparing to unpack .../libbonobo2-0_2.32.1-3_armhf.deb ...
Unpacking libbonobo2-0:armhf (2.32.1-3) ...
Selecting previously unselected package libglade2-0:armhf.
Preparing to unpack .../libglade2-0_1%3a2.6.4-2_armhf.deb ...
Unpacking libglade2-0:armhf (1:2.6.4-2) ...
Selecting previously unselected package gnome-mime-data.
Preparing to unpack .../gnome-mime-data_2.18.0-1_all.deb ...
Unpacking gnome-mime-data (2.18.0-1) ...
Selecting previously unselected package libgnomevfs2-common.
Preparing to unpack .../libgnomevfs2-common_1%3a2.24.4-6_all.deb ...
Unpacking libgnomevfs2-common (1:2.24.4-6) ...
Selecting previously unselected package libgnomevfs2-0:armhf.
Preparing to unpack .../libgnomevfs2-0_1%3a2.24.4-6_armhf.deb ...
Unpacking libgnomevfs2-0:armhf (1:2.24.4-6) ...
Selecting previously unselected package libgnome2-common.
Preparing to unpack .../libgnome2-common_2.32.1-5_all.deb ...
Unpacking libgnome2-common (2.32.1-5) ...
Selecting previously unselected package libgnome-2-0:armhf.
Preparing to unpack .../libgnome-2-0_2.32.1-5_armhf.deb ...
Unpacking libgnome-2-0:armhf (2.32.1-5) ...
Selecting previously unselected package libgail18:armhf.
Preparing to unpack .../libgail18_2.24.25-3+deb8u2_armhf.deb ...
Unpacking libgail18:armhf (2.24.25-3+deb8u2) ...
Selecting previously unselected package libgnomecanvas2-common.
Preparing to unpack .../libgnomecanvas2-common_2.30.3-2_all.deb ...
Unpacking libgnomecanvas2-common (2.30.3-2) ...
Selecting previously unselected package libgnomecanvas2-0:armhf.
Preparing to unpack .../libgnomecanvas2-0_2.30.3-2_armhf.deb ...
Unpacking libgnomecanvas2-0:armhf (2.30.3-2) ...
Selecting previously unselected package libbonoboui2-common.
Preparing to unpack .../libbonoboui2-common_2.24.5-2_all.deb ...
Unpacking libbonoboui2-common (2.24.5-2) ...
Selecting previously unselected package libbonoboui2-0:armhf.
Preparing to unpack .../libbonoboui2-0_2.24.5-2_armhf.deb ...
Unpacking libbonoboui2-0:armhf (2.24.5-2) ...
Selecting previously unselected package libgnomeui-common.
Preparing to unpack .../libgnomeui-common_2.24.5-3_all.deb ...
Unpacking libgnomeui-common (2.24.5-3) ...
Selecting previously unselected package libgnomeui-0:armhf.
Preparing to unpack .../libgnomeui-0_2.24.5-3_armhf.deb ...
Unpacking libgnomeui-0:armhf (2.24.5-3) ...
Selecting previously unselected package liblua5.2-0:armhf.
Preparing to unpack .../liblua5.2-0_5.2.3-1.1_armhf.deb ...
Unpacking liblua5.2-0:armhf (5.2.3-1.1) ...
Selecting previously unselected package libgnomevfs2-extra:armhf.
Preparing to unpack .../libgnomevfs2-extra_1%3a2.24.4-6_armhf.deb ...
Unpacking libgnomevfs2-extra:armhf (1:2.24.4-6) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Processing triggers for gconf2 (3.2.6-3) ...
Setting up libart-2.0-2:armhf (2.3.21-2) ...
Setting up libbonobo2-common (2.32.1-3) ...
Setting up liborbit-2-0:armhf (1:2.14.19-0.3) ...
Setting up libbonobo2-0:armhf (2.32.1-3) ...
Setting up libglade2-0:armhf (1:2.6.4-2) ...
Setting up gnome-mime-data (2.18.0-1) ...
Setting up libgnomevfs2-common (1:2.24.4-6) ...
Setting up libgnomevfs2-0:armhf (1:2.24.4-6) ...
Setting up libgnome2-common (2.32.1-5) ...
Setting up libgnome-2-0:armhf (2.32.1-5) ...
Setting up libgail18:armhf (2.24.25-3+deb8u2) ...
Setting up libgnomecanvas2-common (2.30.3-2) ...
Setting up libgnomecanvas2-0:armhf (2.30.3-2) ...
Setting up libbonoboui2-common (2.24.5-2) ...
Setting up libbonoboui2-0:armhf (2.24.5-2) ...
Setting up libgnomeui-common (2.24.5-3) ...
Setting up libgnomeui-0:armhf (2.24.5-3) ...
Setting up liblua5.2-0:armhf (5.2.3-1.1) ...
Setting up libgnomevfs2-extra:armhf (1:2.24.4-6) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/perl/libperl5.20_5.20.2-3+deb8u8_armhf.deb: 404 Not Found [IP: 93.93.128.193
Tentando instalar o VMware Tools em 32 bits CentOS 6.9.
Eu faço:
yum install open-vm-tools
Saída obtida:
No package open-vm-tools available.
Como instalar o VMware Tools para CentOS 6.9?
UPD
Eu fiz :
yum --enablerepo=extras install epel-release
yum install open-vm-tools
Nenhum erro durante o procedimento de instalação.
Mas as ferramentas VMware ainda não estão funcionando. Nenhuma função de copiar/colar, nenhuma cópia de arquivo para/do host.
A reinicialização da máquina não ajudou.
Tentei reiniciar o serviço:
/etc/vmware-tools/services.sh restart
Mas descobri que não existe esse diretório /etc/vmware-tools/
. Onde estão vmware-tools
localizados?
Como fazer o vmware-tools
trabalho?