Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Last login: Tue Oct 16 16:41:09 on ttys002
- reidtic009242:~ 2221364$ ssh [email protected]
- [email protected]'s password:
- Linux paracambi 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Wed Oct 24 14:39:16 2018 from 10.4.1.4
- debian@paracambi:~$ ls
- apache-maven-3.5.4 jdk-8u191-linux-x64.tar.gz
- debian@paracambi:~$ sudo apt-get update -y
- [sudo] senha para debian:
- Sinto muito, tente novamente.
- [sudo] senha para debian:
- Obter:1 http://security.debian.org stretch/updates InRelease [94,3 kB]
- Ign:2 http://deb.debian.org/debian stretch InRelease
- Obter:3 http://deb.debian.org/debian stretch-updates InRelease [91,0 kB]
- Atingido:4 http://deb.debian.org/debian stretch Release
- Baixados 185 kB em 0s (231 kB/s)
- Lendo listas de pacotes... Pronto
- debian@paracambi:~$ sudo apt-get upgrade -y
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Calculando atualização... Pronto
- 0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- debian@paracambi:~$ sudo systemctl start apache2
- debian@paracambi:~$ sudo systemctl enable apache2
- Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install.
- Executing: /lib/systemd/systemd-sysv-install enable apache2
- debian@paracambi:~$ sudo apt-get install php7.0 php7.0-cli php7.0-mcrypt php7.0-intl php7.0-mysql php7.0-curl php7.0-gd php7.0-soap php7.0-xml php7.0-zip php7.0-readline php7.0-opcache php7.0-json php7.0-gd -y
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- The following additional packages will be installed:
- libapache2-mod-php7.0 libcurl3 libgd3 libltdl7 libmcrypt4
- libzip4 php-common php7.0-common
- Pacotes sugeridos:
- php-pear libgd-tools libmcrypt-dev mcrypt
- Os NOVOS pacotes a seguir serão instalados:
- libapache2-mod-php7.0 libcurl3 libgd3 libltdl7 libmcrypt4
- libzip4 php-common php7.0 php7.0-cli php7.0-common php7.0-curl
- php7.0-gd php7.0-intl php7.0-json php7.0-mcrypt php7.0-mysql
- php7.0-opcache php7.0-readline php7.0-soap php7.0-xml
- php7.0-zip
- 0 pacotes atualizados, 21 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- É preciso baixar 5.046 kB de arquivos.
- Depois desta operação, 18,1 MB adicionais de espaço em disco serão usados.
- Obter:1 http://deb.debian.org/debian stretch/main amd64 php-common all 1:49 [14,1 kB]
- Obter:2 http://security.debian.org stretch/updates/main amd64 libcurl3 amd64 7.52.1-5+deb9u7 [292 kB]
- Obter:3 http://deb.debian.org/debian stretch/main amd64 php7.0-common amd64 7.0.30-0+deb9u1 [877 kB]
- Obter:4 http://deb.debian.org/debian stretch/main amd64 php7.0-json amd64 7.0.30-0+deb9u1 [17,0 kB]
- Obter:5 http://deb.debian.org/debian stretch/main amd64 php7.0-opcache amd64 7.0.30-0+deb9u1 [77,5 kB]
- Obter:6 http://deb.debian.org/debian stretch/main amd64 php7.0-readline amd64 7.0.30-0+deb9u1 [12,2 kB]
- Obter:7 http://deb.debian.org/debian stretch/main amd64 php7.0-cli amd64 7.0.30-0+deb9u1 [1.284 kB]
- Obter:8 http://deb.debian.org/debian stretch/main amd64 libapache2-mod-php7.0 amd64 7.0.30-0+deb9u1 [1.225 kB]
- Obter:9 http://deb.debian.org/debian stretch/main amd64 libgd3 amd64 2.2.4-2+deb9u2 [132 kB]
- Obter:10 http://deb.debian.org/debian stretch/main amd64 libltdl7 amd64 2.4.6-2 [389 kB]
- Obter:11 http://deb.debian.org/debian stretch/main amd64 libmcrypt4 amd64 2.5.8-3.3 [71,2 kB]
- Obter:12 http://deb.debian.org/debian stretch/main amd64 libzip4 amd64 1.1.2-1.1+b1 [40,6 kB]
- Obter:13 http://deb.debian.org/debian stretch/main amd64 php7.0 all 7.0.30-0+deb9u1 [53,4 kB]
- Obter:14 http://deb.debian.org/debian stretch/main amd64 php7.0-curl amd64 7.0.30-0+deb9u1 [27,3 kB]
- Obter:15 http://deb.debian.org/debian stretch/main amd64 php7.0-gd amd64 7.0.30-0+deb9u1 [27,0 kB]
- Obter:16 http://deb.debian.org/debian stretch/main amd64 php7.0-intl amd64 7.0.30-0+deb9u1 [124 kB]
- Obter:17 http://deb.debian.org/debian stretch/main amd64 php7.0-mcrypt amd64 7.0.30-0+deb9u1 [14,3 kB]
- Obter:18 http://deb.debian.org/debian stretch/main amd64 php7.0-mysql amd64 7.0.30-0+deb9u1 [124 kB]
- Obter:19 http://deb.debian.org/debian stretch/main amd64 php7.0-soap amd64 7.0.30-0+deb9u1 [113 kB]
- Obter:20 http://deb.debian.org/debian stretch/main amd64 php7.0-xml amd64 7.0.30-0+deb9u1 [112 kB]
- Obter:21 http://deb.debian.org/debian stretch/main amd64 php7.0-zip amd64 7.0.30-0+deb9u1 [19,9 kB]
- Baixados 5.046 kB em 0s (8.224 kB/s)
- A seleccionar pacote anteriormente não seleccionado php-common.
- (Lendo banco de dados ... 64269 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../00-php-common_1%3a49_all.deb ...
- A descompactar php-common (1:49) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-common.
- A preparar para desempacotar .../01-php7.0-common_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-common (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-json.
- A preparar para desempacotar .../02-php7.0-json_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-json (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-opcache.
- A preparar para desempacotar .../03-php7.0-opcache_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-opcache (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-readline.
- A preparar para desempacotar .../04-php7.0-readline_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-readline (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-cli.
- A preparar para desempacotar .../05-php7.0-cli_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-cli (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libapache2-mod-php7.0.
- A preparar para desempacotar .../06-libapache2-mod-php7.0_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar libapache2-mod-php7.0 (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libcurl3:amd64.
- A preparar para desempacotar .../07-libcurl3_7.52.1-5+deb9u7_amd64.deb ...
- A descompactar libcurl3:amd64 (7.52.1-5+deb9u7) ...
- A seleccionar pacote anteriormente não seleccionado libgd3:amd64.
- A preparar para desempacotar .../08-libgd3_2.2.4-2+deb9u2_amd64.deb ...
- A descompactar libgd3:amd64 (2.2.4-2+deb9u2) ...
- A seleccionar pacote anteriormente não seleccionado libltdl7:amd64.
- A preparar para desempacotar .../09-libltdl7_2.4.6-2_amd64.deb ...
- A descompactar libltdl7:amd64 (2.4.6-2) ...
- A seleccionar pacote anteriormente não seleccionado libmcrypt4.
- A preparar para desempacotar .../10-libmcrypt4_2.5.8-3.3_amd64.deb ...
- A descompactar libmcrypt4 (2.5.8-3.3) ...
- A seleccionar pacote anteriormente não seleccionado libzip4:amd64.
- A preparar para desempacotar .../11-libzip4_1.1.2-1.1+b1_amd64.deb ...
- A descompactar libzip4:amd64 (1.1.2-1.1+b1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0.
- A preparar para desempacotar .../12-php7.0_7.0.30-0+deb9u1_all.deb ...
- A descompactar php7.0 (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-curl.
- A preparar para desempacotar .../13-php7.0-curl_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-curl (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-gd.
- A preparar para desempacotar .../14-php7.0-gd_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-gd (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-intl.
- A preparar para desempacotar .../15-php7.0-intl_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-intl (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-mcrypt.
- A preparar para desempacotar .../16-php7.0-mcrypt_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-mcrypt (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-mysql.
- A preparar para desempacotar .../17-php7.0-mysql_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-mysql (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-soap.
- A preparar para desempacotar .../18-php7.0-soap_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-soap (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-xml.
- A preparar para desempacotar .../19-php7.0-xml_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-xml (7.0.30-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado php7.0-zip.
- A preparar para desempacotar .../20-php7.0-zip_7.0.30-0+deb9u1_amd64.deb ...
- A descompactar php7.0-zip (7.0.30-0+deb9u1) ...
- Configurando libcurl3:amd64 (7.52.1-5+deb9u7) ...
- Configurando libgd3:amd64 (2.2.4-2+deb9u2) ...
- Configurando libzip4:amd64 (1.1.2-1.1+b1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- Configurando php-common (1:49) ...
- Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
- Configurando libltdl7:amd64 (2.4.6-2) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- Configurando php7.0-common (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/calendar.ini with new version
- Creating config file /etc/php/7.0/mods-available/ctype.ini with new version
- Creating config file /etc/php/7.0/mods-available/exif.ini with new version
- Creating config file /etc/php/7.0/mods-available/fileinfo.ini with new version
- Creating config file /etc/php/7.0/mods-available/ftp.ini with new version
- Creating config file /etc/php/7.0/mods-available/gettext.ini with new version
- Creating config file /etc/php/7.0/mods-available/iconv.ini with new version
- Creating config file /etc/php/7.0/mods-available/pdo.ini with new version
- Creating config file /etc/php/7.0/mods-available/phar.ini with new version
- Creating config file /etc/php/7.0/mods-available/posix.ini with new version
- Creating config file /etc/php/7.0/mods-available/shmop.ini with new version
- Creating config file /etc/php/7.0/mods-available/sockets.ini with new version
- Creating config file /etc/php/7.0/mods-available/sysvmsg.ini with new version
- Creating config file /etc/php/7.0/mods-available/sysvsem.ini with new version
- Creating config file /etc/php/7.0/mods-available/sysvshm.ini with new version
- Creating config file /etc/php/7.0/mods-available/tokenizer.ini with new version
- Configurando php7.0-xml (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/dom.ini with new version
- Creating config file /etc/php/7.0/mods-available/simplexml.ini with new version
- Creating config file /etc/php/7.0/mods-available/wddx.ini with new version
- Creating config file /etc/php/7.0/mods-available/xml.ini with new version
- Creating config file /etc/php/7.0/mods-available/xmlreader.ini with new version
- Creating config file /etc/php/7.0/mods-available/xmlwriter.ini with new version
- Creating config file /etc/php/7.0/mods-available/xsl.ini with new version
- Configurando php7.0-intl (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/intl.ini with new version
- Configurando libmcrypt4 (2.5.8-3.3) ...
- Configurando php7.0-soap (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/soap.ini with new version
- Configurando php7.0-mysql (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/mysqlnd.ini with new version
- Creating config file /etc/php/7.0/mods-available/mysqli.ini with new version
- Creating config file /etc/php/7.0/mods-available/pdo_mysql.ini with new version
- Configurando php7.0-readline (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/readline.ini with new version
- Configurando php7.0-opcache (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/opcache.ini with new version
- Configurando php7.0-gd (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/gd.ini with new version
- Configurando php7.0-mcrypt (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/mcrypt.ini with new version
- Configurando php7.0-curl (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/curl.ini with new version
- Configurando php7.0-zip (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/zip.ini with new version
- Configurando php7.0-json (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/mods-available/json.ini with new version
- Configurando php7.0-cli (7.0.30-0+deb9u1) ...
- update-alternatives: a usar /usr/bin/php7.0 para disponibilizar /usr/bin/php (php) em modo auto
- update-alternatives: a usar /usr/bin/phar7.0 para disponibilizar /usr/bin/phar (phar) em modo auto
- update-alternatives: a usar /usr/bin/phar.phar7.0 para disponibilizar /usr/bin/phar.phar (phar.phar) em modo auto
- Creating config file /etc/php/7.0/cli/php.ini with new version
- Configurando libapache2-mod-php7.0 (7.0.30-0+deb9u1) ...
- Creating config file /etc/php/7.0/apache2/php.ini with new version
- Module mpm_event disabled.
- Enabling module mpm_prefork.
- apache2_switch_mpm Switch to prefork
- apache2_invoke: Enable module php7.0
- Configurando php7.0 (7.0.30-0+deb9u1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- debian@paracambi:~$ sudo nano /etc/php/7.0/apache2/php.ini
- debian@paracambi:~$ sudo apt-get install mariadb-server -y
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- The following additional packages will be installed:
- galera-3 gawk libaio1 libdbd-mysql-perl libdbi-perl
- libhtml-template-perl libjemalloc1 libmariadbclient18
- libterm-readkey-perl mariadb-client-10.1
- mariadb-client-core-10.1 mariadb-common mariadb-server-10.1
- mariadb-server-core-10.1 socat
- Pacotes sugeridos:
- gawk-doc libclone-perl libmldbm-perl libnet-daemon-perl
- libsql-statement-perl libipc-sharedcache-perl mariadb-test
- netcat-openbsd tinyca
- Os NOVOS pacotes a seguir serão instalados:
- galera-3 gawk libaio1 libdbd-mysql-perl libdbi-perl
- libhtml-template-perl libjemalloc1 libmariadbclient18
- libterm-readkey-perl mariadb-client-10.1
- mariadb-client-core-10.1 mariadb-common mariadb-server
- mariadb-server-10.1 mariadb-server-core-10.1 socat
- 0 pacotes atualizados, 16 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- É preciso baixar 25,2 MB de arquivos.
- Depois desta operação, 190 MB adicionais de espaço em disco serão usados.
- Obter:1 http://deb.debian.org/debian stretch/main amd64 gawk amd64 1:4.1.4+dfsg-1 [571 kB]
- Obter:2 http://deb.debian.org/debian stretch/main amd64 mariadb-common all 10.1.26-0+deb9u1 [27,3 kB]
- Obter:3 http://deb.debian.org/debian stretch/main amd64 galera-3 amd64 25.3.19-2 [955 kB]
- Obter:4 http://deb.debian.org/debian stretch/main amd64 libdbi-perl amd64 1.636-1+b1 [766 kB]
- Obter:5 http://deb.debian.org/debian stretch/main amd64 libaio1 amd64 0.3.110-3 [9.412 B]
- Obter:6 http://deb.debian.org/debian stretch/main amd64 mariadb-client-core-10.1 amd64 10.1.26-0+deb9u1 [5.042 kB]
- Obter:7 http://deb.debian.org/debian stretch/main amd64 libjemalloc1 amd64 3.6.0-9.1 [89,8 kB]
- Obter:8 http://deb.debian.org/debian stretch/main amd64 mariadb-client-10.1 amd64 10.1.26-0+deb9u1 [5.841 kB]
- Obter:9 http://deb.debian.org/debian stretch/main amd64 mariadb-server-core-10.1 amd64 10.1.26-0+deb9u1 [5.177 kB]
- Obter:10 http://deb.debian.org/debian stretch/main amd64 socat amd64 1.7.3.1-2+deb9u1 [353 kB]
- Obter:11 http://deb.debian.org/debian stretch/main amd64 mariadb-server-10.1 amd64 10.1.26-0+deb9u1 [5.333 kB]
- Obter:12 http://deb.debian.org/debian stretch/main amd64 libmariadbclient18 amd64 10.1.26-0+deb9u1 [779 kB]
- Obter:13 http://deb.debian.org/debian stretch/main amd64 libdbd-mysql-perl amd64 4.041-2 [114 kB]
- Obter:14 http://deb.debian.org/debian stretch/main amd64 libhtml-template-perl all 2.95-2 [67,1 kB]
- Obter:15 http://deb.debian.org/debian stretch/main amd64 libterm-readkey-perl amd64 2.37-1 [27,2 kB]
- Obter:16 http://deb.debian.org/debian stretch/main amd64 mariadb-server all 10.1.26-0+deb9u1 [26,2 kB]
- Baixados 25,2 MB em 1s (14,8 MB/s)
- Pré-configurando pacotes ...
- Can't exec "/tmp/mariadb-server-10.1.config.HVbqKf": Permissão negada at /usr/share/perl/5.24/IPC/Open3.pm line 178.
- open2: exec of /tmp/mariadb-server-10.1.config.HVbqKf configure failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
- A seleccionar pacote anteriormente não seleccionado gawk.
- (Lendo banco de dados ... 64531 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../0-gawk_1%3a4.1.4+dfsg-1_amd64.deb ...
- A descompactar gawk (1:4.1.4+dfsg-1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-common.
- A preparar para desempacotar .../1-mariadb-common_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-common (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado galera-3.
- A preparar para desempacotar .../2-galera-3_25.3.19-2_amd64.deb ...
- A descompactar galera-3 (25.3.19-2) ...
- A seleccionar pacote anteriormente não seleccionado libdbi-perl.
- A preparar para desempacotar .../3-libdbi-perl_1.636-1+b1_amd64.deb ...
- A descompactar libdbi-perl (1.636-1+b1) ...
- A seleccionar pacote anteriormente não seleccionado libaio1:amd64.
- A preparar para desempacotar .../4-libaio1_0.3.110-3_amd64.deb ...
- A descompactar libaio1:amd64 (0.3.110-3) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-client-core-10.1.
- A preparar para desempacotar .../5-mariadb-client-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libjemalloc1.
- A preparar para desempacotar .../6-libjemalloc1_3.6.0-9.1_amd64.deb ...
- A descompactar libjemalloc1 (3.6.0-9.1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-client-10.1.
- A preparar para desempacotar .../7-mariadb-client-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-server-core-10.1.
- A preparar para desempacotar .../8-mariadb-server-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado socat.
- A preparar para desempacotar .../9-socat_1.7.3.1-2+deb9u1_amd64.deb ...
- A descompactar socat (1.7.3.1-2+deb9u1) ...
- Configurando mariadb-common (10.1.26-0+deb9u1) ...
- update-alternatives: a usar /etc/mysql/mariadb.cnf para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- A seleccionar pacote anteriormente não seleccionado mariadb-server-10.1.
- (Lendo banco de dados ... 65055 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../0-mariadb-server-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libmariadbclient18:amd64.
- A preparar para desempacotar .../1-libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libdbd-mysql-perl.
- A preparar para desempacotar .../2-libdbd-mysql-perl_4.041-2_amd64.deb ...
- A descompactar libdbd-mysql-perl (4.041-2) ...
- A seleccionar pacote anteriormente não seleccionado libhtml-template-perl.
- A preparar para desempacotar .../3-libhtml-template-perl_2.95-2_all.deb ...
- A descompactar libhtml-template-perl (2.95-2) ...
- A seleccionar pacote anteriormente não seleccionado libterm-readkey-perl.
- A preparar para desempacotar .../4-libterm-readkey-perl_2.37-1_amd64.deb ...
- A descompactar libterm-readkey-perl (2.37-1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-server.
- A preparar para desempacotar .../5-mariadb-server_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-server (10.1.26-0+deb9u1) ...
- Configurando libhtml-template-perl (2.95-2) ...
- Configurando libjemalloc1 (3.6.0-9.1) ...
- Configurando socat (1.7.3.1-2+deb9u1) ...
- Configurando libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- Configurando gawk (1:4.1.4+dfsg-1) ...
- Configurando libterm-readkey-perl (2.37-1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- Configurando libaio1:amd64 (0.3.110-3) ...
- Configurando galera-3 (25.3.19-2) ...
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- Configurando libdbi-perl (1.636-1+b1) ...
- Configurando mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando libdbd-mysql-perl (4.041-2) ...
- Configurando mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- Configurando mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
- Configurando mariadb-server (10.1.26-0+deb9u1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- debian@paracambi:~$ sudo systemctl start mysql
- debian@paracambi:~$ sudo systemctl enable mysql
- Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
- Executing: /lib/systemd/systemd-sysv-install enable mysql
- Failed to enable unit: Refusing to operate on linked unit file mysql.service
- debian@paracambi:~$ sudo mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ sudo systemctl start mysql
- debian@paracambi:~$ sudo systemctl stop mysql
- debian@paracambi:~$ sudo systemctl start mysql
- debian@paracambi:~$ sudo systemctl enable mysql
- Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
- Executing: /lib/systemd/systemd-sysv-install enable mysql
- Failed to enable unit: Refusing to operate on linked unit file mysql.service
- debian@paracambi:~$ /lib/systemd/systemd
- systemd systemd-quotacheck
- systemd-ac-power systemd-random-seed
- systemd-backlight systemd-remount-fs
- systemd-binfmt systemd-reply-password
- systemd-cgroups-agent systemd-resolved
- systemd-cryptsetup systemd-rfkill
- systemd-fsck systemd-shutdown
- systemd-fsckd systemd-sleep
- systemd-hibernate-resume systemd-socket-proxyd
- systemd-hostnamed systemd-sysctl
- systemd-initctl systemd-sysv-install
- systemd-journald systemd-timedated
- systemd-localed systemd-timesyncd
- systemd-logind systemd-udevd
- systemd-modules-load systemd-update-utmp
- systemd-networkd systemd-user-sessions
- systemd-networkd-wait-online
- debian@paracambi:~$ /lib/systemd/systemd-sysv-install enable mysql
- insserv: fopen(K01ossec): Permission denied
- update-rc.d: error: insserv rejected the script header
- debian@paracambi:~$ sudo /lib/systemd/systemd-sysv-install enable mysql
- debian@paracambi:~$ sudo mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- OK, successfully used password, moving on...
- Setting the root password ensures that nobody can log into the MariaDB
- root user without the proper authorisation.
- Set root password? [Y/n] n
- ... skipping.
- By default, a MariaDB installation has an anonymous user, allowing anyone
- to log into MariaDB without having to have a user account created for
- them. This is intended only for testing, and to make the installation
- go a bit smoother. You should remove them before moving into a
- production environment.
- Remove anonymous users? [Y/n] Y
- ... Success!
- Normally, root should only be allowed to connect from 'localhost'. This
- ensures that someone cannot guess at the root password from the network.
- Disallow root login remotely? [Y/n] n
- ... skipping.
- By default, MariaDB comes with a database named 'test' that anyone can
- access. This is also intended only for testing, and should be removed
- before moving into a production environment.
- Remove test database and access to it? [Y/n] n
- ... skipping.
- Reloading the privilege tables will ensure that all changes made so far
- will take effect immediately.
- Reload privilege tables now? [Y/n] Y
- ... Success!
- Cleaning up...
- All done! If you've completed all of the above steps, your MariaDB
- installation should now be secure.
- Thanks for using MariaDB!
- debian@paracambi:~$ mysql -u root -p
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ sudo mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- OK, successfully used password, moving on...
- Setting the root password ensures that nobody can log into the MariaDB
- root user without the proper authorisation.
- You already have a root password set, so you can safely answer 'n'.
- Change the root password? [Y/n] n
- ... skipping.
- By default, a MariaDB installation has an anonymous user, allowing anyone
- to log into MariaDB without having to have a user account created for
- them. This is intended only for testing, and to make the installation
- go a bit smoother. You should remove them before moving into a
- production environment.
- Remove anonymous users? [Y/n] Y
- ... Success!
- Normally, root should only be allowed to connect from 'localhost'. This
- ensures that someone cannot guess at the root password from the network.
- Disallow root login remotely? [Y/n] Y
- ... Success!
- By default, MariaDB comes with a database named 'test' that anyone can
- access. This is also intended only for testing, and should be removed
- before moving into a production environment.
- Remove test database and access to it? [Y/n] Y
- - Dropping test database...
- ... Success!
- - Removing privileges on test database...
- ... Success!
- Reloading the privilege tables will ensure that all changes made so far
- will take effect immediately.
- Reload privilege tables now? [Y/n] Y
- ... Success!
- Cleaning up...
- All done! If you've completed all of the above steps, your MariaDB
- installation should now be secure.
- Thanks for using MariaDB!
- debian@paracambi:~$ mysql -u root -p
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ mysql -u root -p
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ sudo nano /etc/my.cnf
- debian@paracambi:~$ cd /etc
- debian@paracambi:/etc$ ls
- acpi modprobe.d
- adduser.conf modules
- adjtime modules-load.d
- aliases motd
- alternatives mtab
- apache2 Muttrc
- apparmor Muttrc.d
- apparmor.d mysql
- apt nanorc
- apticron netconfig
- at.deny network
- bash.bashrc NetworkManager
- bash_completion networks
- bash_completion.d newt
- bindresvport.blacklist nsswitch.conf
- binfmt.d ntp.conf
- ca-certificates ntp.conf.dpkg-dist
- ca-certificates.conf opt
- ca-certificates.conf.dpkg-old os-release
- calendar ossec-init.conf
- chkrootkit.conf pam.conf
- console-setup pam.d
- cron.d papersize
- cron.daily passwd
- cron.hourly passwd-
- cron.monthly perl
- crontab php
- cron.weekly pm
- dbus-1 postgresql
- debconf.conf postgresql-common
- debian_version ppp
- default profile
- deluser.conf profile.d
- dhcp protocols
- dictionaries-common python
- discover.conf.d python2.7
- discover-modprobe.conf python3
- dpkg python3.5
- drirc rc0.d
- emacs rc1.d
- email-addresses rc2.d
- environment rc3.d
- exim4 rc4.d
- fonts rc5.d
- fstab rc6.d
- gai.conf rc.local
- ghostscript rcS.d
- groff reportbug.conf
- group request-key.conf
- group- request-key.d
- grub.d resolv.conf
- gshadow rkhunter.conf
- gshadow- rmt
- gss rpc
- gtk-2.0 rsyslog.conf
- host.conf rsyslog.d
- hostname securetty
- hosts security
- hosts.allow selinux
- hosts.deny sensors3.conf
- idmapd.conf sensors.d
- init services
- init.d sgml
- initramfs-tools shadow
- inputrc shadow-
- insserv shells
- insserv.conf skel
- insserv.conf.d ssh
- iproute2 ssl
- iscsi staff-group-for-usr-local
- issue subgid
- issue.net subgid-
- kernel subuid
- kernel-img.conf subuid-
- ldap sudoers
- ld.so.cache sudoers.d
- ld.so.conf sysctl.conf
- ld.so.conf.d sysctl.d
- libaudit.conf sysstat
- locale.alias systemd
- locale.gen terminfo
- localtime texmf
- logcheck timezone
- login.defs tmpfiles.d
- login.defs.dpkg-dist ucf.conf
- logrotate.conf udev
- logrotate.d ufw
- lvm updatedb.conf
- machine-id update-motd.d
- magic vim
- magic.mime vmware-caf
- mailcap vmware-tools
- mailcap.order w3m
- mailname wgetrc
- mail.rc X11
- manpath.config xdg
- mime.types xml
- mke2fs.conf zabbix
- debian@paracambi:/etc$ cd mysql/
- debian@paracambi:/etc/mysql$ ls
- conf.d debian-start mariadb.conf.d my.cnf.fallback
- debian.cnf mariadb.cnf my.cnf
- debian@paracambi:/etc/mysql$ sudo nano my.cnf
- debian@paracambi:/etc/mysql$ mysql -u root -p
- mysql: unknown option '--skip-grant-tables'
- debian@paracambi:/etc/mysql$ sudo nano my.cnf
- [sudo] senha para debian:
- debian@paracambi:/etc/mysql$ mysql -u root -p
- mysql: unknown option '--mysqld'
- debian@paracambi:/etc/mysql$ sudo nano my.cnf
- debian@paracambi:/etc/mysql$ mysql -u localhost -u root -p mysql
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:/etc/mysql$ tempo limite de espera excedido aguardando entrada: fim automático da sessão
- Connection to 10.6.1.34 closed.
- reidtic009242:~ 2221364$ sudo mysql -u root -p
- Password:
- Sorry, try again.
- Password:
- Sorry, try again.
- Password:
- sudo: 3 incorrect password attempts
- reidtic009242:~ 2221364$ sudo mysql -u root -p
- Password:
- Sorry, try again.
- Password:
- sudo: 1 incorrect password attempt
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$ mysql -u root -p
- Enter password:
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$ mysql -u root
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- reidtic009242:~ 2221364$ sudo systemctl mysqld
- Password:
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$ sudo systemctl mysqld start
- Password:
- reidtic009242:~ 2221364$ sudo systemctl mysql start
- Password:
- Sorry, try again.
- Password:
- sudo: 1 incorrect password attempt
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$
- reidtic009242:~ 2221364$ ssh [email protected]
- [email protected]'s password:
- Linux paracambi 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Wed Oct 24 16:11:43 2018 from 10.4.1.4
- debian@paracambi:~$ mysql -u root -p
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$
- debian@paracambi:~$ mysql -u root
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ sudo systemctl start mysql
- [sudo] senha para debian:
- debian@paracambi:~$ mysql -u root
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ sudo /etc/init.d/mysql stop
- [ ok ] Stopping mysql (via systemctl): mysql.service.
- debian@paracambi:~$ sudo mysqld_safe --skip-grant-tables &
- [1] 26087
- debian@paracambi:~$ 181024 16:58:57 mysqld_safe Logging to syslog.
- 181024 16:58:57 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
- debian@paracambi:~$
- debian@paracambi:~$ mysql -uroot
- Welcome to the MariaDB monitor. Commands end with ; or \g.
- Your MariaDB connection id is 2
- Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
- Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- MariaDB [(none)]> use mysql;
- Reading table information for completion of table and column names
- You can turn off this feature to get a quicker startup with -A
- Database changed
- MariaDB [mysql]> update user set password=PASSWORD("root") where User='root';
- Query OK, 1 row affected (0.00 sec)
- Rows matched: 1 Changed: 1 Warnings: 0
- MariaDB [mysql]> flush privileges;
- Query OK, 0 rows affected (0.00 sec)
- MariaDB [mysql]> quit
- Bye
- debian@paracambi:~$ mysql -u root -p
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ mysql -u root
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ mysql -u root -p
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ /etc/init.d/mysql stop
- [....] Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
- See system logs and 'systemctl status mysql.service' for details.
- failed!
- debian@paracambi:~$ sudo systemctl stop mysql
- debian@paracambi:~$ /etc/init.d/mysql start
- [....] Starting mysql (via systemctl): mysql.serviceFailed to start mysql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
- See system logs and 'systemctl status mysql.service' for details.
- failed!
- debian@paracambi:~$ mysql -u root -p
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$ /etc/init.d/mysql stop
- [....] Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
- See system logs and 'systemctl status mysql.service' for details.
- failed!
- debian@paracambi:~$ mysql -u root -p
- Enter password:
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ sudo systemctl stop mariadb.service
- debian@paracambi:~$
- debian@paracambi:~$ sudo service mysql stop
- debian@paracambi:~$ sudo mysqld_safe --skip-grant-tables --skip-networking &
- [2] 26546
- debian@paracambi:~$ 181024 17:02:45 mysqld_safe Logging to syslog.
- 181024 17:02:46 mysqld_safe A mysqld process already exists
- [2]+ Fim da execução com status 1 sudo mysqld_safe --skip-grant-tables --skip-networking
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- top - 17:03:55 up 20 days, 1:45, 1 user, load average: 0,00, 0,00, 0,00
- Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie
- %Cpu(s): 0,7 us, 0,7 sy, 0,0 ni, 98,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
- KiB Mem : 1020384 total, 112412 free, 266244 used, 641728 buff/cache
- KiB Swap: 1949692 total, 1937588 free, 12104 used. 542712 avail Mem
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 26706 debian 20 0 44920 3716 3080 R 0,7 0,4 0:00.24 top
- 1 root 20 0 204896 5928 4272 S 0,0 0,6 0:17.31 systemd
- 2 root 20 0 0 0 0 S 0,0 0,0 0:00.24 kthreadd
- 3 root 20 0 0 0 0 S 0,0 0,0 0:18.04 ksoftirqd/0
- 5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
- 7 root 20 0 0 0 0 S 0,0 0,0 2:42.66 rcu_sched
- 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
- 9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
- 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
- 11 root rt 0 0 0 0 S 0,0 0,0 0:03.97 watchdog/0
- 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
- 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
- 14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
- 15 root 20 0 0 0 0 S 0,0 0,0 0:01.28 khungtaskd
- 16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
- 17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
- 18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcompactd0
- 19 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
- 21 root 39 19 0 0 0 S 0,0 0,0 0:00.05 khugepaged
- 22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
- 23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
- 24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
- 25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
- 26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
- 27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 watchdogd
- 28 root 20 0 0 0 0 S 0,0 0,0 0:03.72 kswapd0
- 29 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
- 41 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
- 42 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ipv6_addrconf
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ps
- PID TTY TIME CMD
- 25976 pts/0 00:00:00 bash
- 26735 pts/0 00:00:00 ps
- debian@paracambi:~$ top
- top - 17:04:28 up 20 days, 1:46, 1 user, load average: 0,00, 0,00, 0,00
- Tasks: 145 total, 2 running, 143 sleeping, 0 stopped, 0 zombie
- %Cpu(s): 0,3 us, 0,7 sy, 0,0 ni, 99,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
- KiB Mem : 1020384 total, 112404 free, 266244 used, 641736 buff/cache
- KiB Swap: 1949692 total, 1937588 free, 12104 used. 542712 avail Mem
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 9034 root 20 0 0 0 0 S 0,3 0,0 0:00.15 kworker/u2:0
- 25975 debian 20 0 95204 3836 2864 S 0,3 0,4 0:00.17 sshd
- 26737 debian 20 0 44920 3616 2968 R 0,3 0,4 0:00.11 top
- 1 root 20 0 204896 5928 4272 S 0,0 0,6 0:17.31 systemd
- 2 root 20 0 0 0 0 S 0,0 0,0 0:00.24 kthreadd
- 3 root 20 0 0 0 0 S 0,0 0,0 0:18.04 ksoftirqd/0
- 5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
- 7 root 20 0 0 0 0 R 0,0 0,0 2:42.66 rcu_sched
- 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
- 9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
- 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
- 11 root rt 0 0 0 0 S 0,0 0,0 0:03.97 watchdog/0
- 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
- 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
- 14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
- 15 root 20 0 0 0 0 S 0,0 0,0 0:01.28 khungtaskd
- 16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
- 17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
- 18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcompactd0
- 19 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
- 21 root 39 19 0 0 0 S 0,0 0,0 0:00.05 khugepaged
- 22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
- 23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
- 24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
- 25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
- 26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
- 27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 watchdogd
- 28 root 20 0 0 0 0 S 0,0 0,0 0:03.72 kswapd0
- 29 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ renice
- Uso:
- renice [-n] <prioridade> [-p|--pid] <pid>...
- renice [-n] <prioridade> -g|--pgrp <pgid>...
- renice [-n] <prioridade> -u|--user <usuário>...
- Altera a prioridade de processos em execução.
- Opções:
- -n, --priority <núm> especifica o valor de aumento do "nice"
- -p, --pid <id> interpreta um argumento como ID de processo (padrão)
- -g, --pgrp <id> interpreta um argumento como ID de grupo de processo
- -u, --user <nome>|<id> interpreta argumento como nome ou ID de usuário
- -h, --help exibe esta ajuda e sai
- -V, --version mostra informação da versão e sai
- Para mais detalhes, veja renice(1).
- debian@paracambi:~$ pstree
- systemd─┬─acpid
- ├─agetty
- ├─apache2───6*[apache2]
- ├─atd
- ├─cron
- ├─dbus-daemon
- ├─exim4
- ├─java───41*[{java}]
- ├─lvmetad
- ├─ntpd───{ntpd}
- ├─ossec-analysisd
- ├─ossec-csyslogd
- ├─ossec-logcollec
- ├─ossec-monitord
- ├─ossec-syscheckd
- ├─postgres───5*[postgres]
- ├─rpcbind
- ├─rsyslogd─┬─{in:imklog}
- │ ├─{in:imuxsock}
- │ └─{rs:main Q:Reg}
- ├─sshd───sshd───sshd───bash─┬─pstree
- │ └─sudo───mysqld_safe─┬─logger
- │ └─mysqld───26*[{mysqld}]
- ├─2*[systemd───(sd-pam)]
- ├─systemd-journal
- ├─systemd-logind
- ├─systemd-udevd
- └─zabbix_agentd───5*[zabbix_agentd]
- debian@paracambi:~$ ps
- PID TTY TIME CMD
- 25976 pts/0 00:00:00 bash
- 26775 pts/0 00:00:00 ps
- debian@paracambi:~$ PPID
- -bash: PPID: comando não encontrado
- debian@paracambi:~$ top
- top - 17:06:46 up 20 days, 1:48, 1 user, load average: 0,00, 0,00, 0,00
- Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie
- %Cpu(s): 6,7 us, 13,3 sy, 0,0 ni, 80,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
- KiB Mem : 1020384 total, 110676 free, 266252 used, 643456 buff/cache
- KiB Swap: 1949692 total, 1937588 free, 12104 used. 542704 avail Mem
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 26809 debian 20 0 44920 3692 3048 R 14,3 0,4 0:00.44 top
- 25975 debian 20 0 95204 3836 2864 S 7,1 0,4 0:00.30 sshd
- 1 root 20 0 204896 5928 4272 S 0,0 0,6 0:17.32 systemd
- 2 root 20 0 0 0 0 S 0,0 0,0 0:00.24 kthreadd
- 3 root 20 0 0 0 0 S 0,0 0,0 0:18.05 ksoftirqd/0
- 5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
- 7 root 20 0 0 0 0 S 0,0 0,0 2:42.68 rcu_sched
- 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
- 9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
- 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
- 11 root rt 0 0 0 0 S 0,0 0,0 0:03.97 watchdog/0
- 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
- 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
- 14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
- 15 root 20 0 0 0 0 S 0,0 0,0 0:01.28 khungtaskd
- 16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
- 17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
- 18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcompactd0
- 19 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
- 21 root 39 19 0 0 0 S 0,0 0,0 0:00.05 khugepaged
- 22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
- 23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
- 24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
- 25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
- 26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
- 27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 watchdogd
- 28 root 20 0 0 0 0 S 0,0 0,0 0:03.72 kswapd0
- 29 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
- 41 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ps aux | grep mysql
- root 26087 0.0 0.3 49328 3692 pts/0 S 16:58 0:00 sudo mysqld_safe --skip-grant-tables
- root 26088 0.0 0.3 11456 3108 pts/0 S 16:58 0:00 /bin/bash /usr/bin/mysqld_safe --skip-grant-tables
- mysql 26235 0.1 7.3 649424 75104 pts/0 Sl 16:58 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --user=mysql --skip-grant-tables --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
- root 26236 0.0 0.1 27032 1436 pts/0 S 16:58 0:00 logger -t mysqld -p daemon error
- debian 26836 0.0 0.0 12784 988 pts/0 S+ 17:06 0:00 grep mysql
- debian@paracambi:~$ sudo kill -9 23236
- kill: (23236): Processo inexistente
- debian@paracambi:~$ sudo kill -9 26236
- debian@paracambi:~$ ps aux | grep mysql
- root 26087 0.0 0.3 49328 3692 pts/0 S 16:58 0:00 sudo mysqld_safe --skip-grant-tables
- root 26088 0.0 0.3 11456 3108 pts/0 S 16:58 0:00 /bin/bash /usr/bin/mysqld_safe --skip-grant-tables
- mysql 26235 0.1 7.3 649424 75104 pts/0 Sl 16:58 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --user=mysql --skip-grant-tables --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
- debian 26875 0.0 0.0 12784 972 pts/0 S+ 17:07 0:00 grep mysql
- debian@paracambi:~$ c^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$ sudo mysqld_safe --skip-grant-tables --skip-networking &
- [2] 26883
- debian@paracambi:~$ 181024 17:08:11 mysqld_safe Logging to syslog.
- 181024 17:08:11 mysqld_safe A mysqld process already exists
- ^C
- [2]+ Fim da execução com status 1 sudo mysqld_safe --skip-grant-tables --skip-networking
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ sudo kill -9 26883
- kill: (26883): Processo inexistente
- debian@paracambi:~$ sudo kill -9 181024
- kill: (181024): Processo inexistente
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$
- debian@paracambi:~$ mysql -u root
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:~$ cd /etc/m
- modprobe.d/ modules-load.d/ mysql/
- debian@paracambi:~$ cd /etc/m
- modprobe.d/ modules-load.d/ mysql/
- debian@paracambi:~$ cd /etc/mysql/
- conf.d/ mariadb.conf.d/
- debian@paracambi:~$ sudo systemctl start mysql
- ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ service mysql status
- -bash: service: comando não encontrado
- debian@paracambi:~$ sudo service mysql status
- ● mariadb.service - MariaDB database server
- Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
- Active: activating (start) since Wed 2018-10-24 17:09:40 -03; 51s ago
- Process: 27151 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -
- Process: 27145 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 27144 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
- Main PID: 27242 (mysqld)
- Status: "InnoDB: Error: Unable to lock ./ibdata1, error: 11"
- Tasks: 12 (limit: 4915)
- CGroup: /system.slice/mariadb.service
- └─27242 /usr/sbin/mysqld
- out 24 17:09:40 paracambi systemd[1]: Starting MariaDB database server...
- out 24 17:09:40 paracambi mysqld[27242]: 2018-10-24 17:09:40 140384893633088 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-0
- /var/lib/mysql
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ ^C
- debian@paracambi:~$ cd /var/lib/mysql
- debian@paracambi:/var/lib/mysql$ sudo su
- root@paracambi:/var/lib/mysql# mkdir bak
- root@paracambi:/var/lib/mysql# mv ib
- ibdata1 ib_logfile0 ib_logfile1
- root@paracambi:/var/lib/mysql# mv ib
- ibdata1 ib_logfile0 ib_logfile1
- root@paracambi:/var/lib/mysql# mv ib
- ibdata1 ib_logfile0 ib_logfile1
- root@paracambi:/var/lib/mysql# mv ib
- ibdata1 ib_logfile0 ib_logfile1
- root@paracambi:/var/lib/mysql# mv ibdata1 bak
- root@paracambi:/var/lib/mysql# mv ib_logfile* bak/
- root@paracambi:/var/lib/mysql# cp -a bak/ibdata1 ibdata1
- root@paracambi:/var/lib/mysql# cp -a bak/ib_logfile* .
- root@paracambi:/var/lib/mysql# rm -rf bak
- root@paracambi:/var/lib/mysql# service mysqld restart
- ^C
- root@paracambi:/var/lib/mysql# ^C
- root@paracambi:/var/lib/mysql# ^C
- root@paracambi:/var/lib/mysql# ^C
- root@paracambi:/var/lib/mysql# exit
- exit
- debian@paracambi:/var/lib/mysql$ sudo service mysql status
- ● mariadb.service - MariaDB database server
- Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
- Active: activating (start) since Wed 2018-10-24 17:12:38 -03; 29s ago
- Process: 27377 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -
- Process: 27371 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 27370 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
- Main PID: 27466 (mysqld)
- Tasks: 2 (limit: 4915)
- CGroup: /system.slice/mariadb.service
- └─27466 /usr/sbin/mysqld
- out 24 17:12:38 paracambi systemd[1]: Starting MariaDB database server...
- out 24 17:12:39 paracambi mysqld[27466]: 2018-10-24 17:12:39 140016453308992 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-0
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ mysql -u root
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:/var/lib/mysql$ sudo nano /etc/
- Display all 197 possibilities? (y or n)
- debian@paracambi:/var/lib/mysql$ sudo nano /etc/mysql/
- conf.d/ debian.cnf debian-start mariadb.cnf mariadb.conf.d/ my.cnf my.cnf.fallback
- debian@paracambi:/var/lib/mysql$ sudo nano /etc/mysql/
- conf.d/ debian.cnf debian-start mariadb.cnf mariadb.conf.d/ my.cnf my.cnf.fallback
- debian@paracambi:/var/lib/mysql$ sudo nano /etc/mysql/my.cnf
- debian@paracambi:/var/lib/mysql$ sudo mysql
- Welcome to the MariaDB monitor. Commands end with ; or \g.
- Your MariaDB connection id is 10
- Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
- Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- MariaDB [(none)]> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'' at line 1
- MariaDB [(none)]> Bye
- debian@paracambi:/var/lib/mysql$ sudo mysql -e
- mysql: option '-e' requires an argument
- debian@paracambi:/var/lib/mysql$ sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'"ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'' at line 1
- debian@paracambi:/var/lib/mysql$ sudo systemctl stop mysql
- ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ mysql -u root
- ERROR 1698 (28000): Access denied for user 'root'@'localhost'
- debian@paracambi:/var/lib/mysql$ sudo mysqld_safe --skip-grant-tables --skip-networking &
- [2] 28471
- debian@paracambi:/var/lib/mysql$ 181024 17:17:30 mysqld_safe Logging to syslog.
- 181024 17:17:30 mysqld_safe A mysqld process already exists
- ^C
- [2]+ Fim da execução com status 1 sudo mysqld_safe --skip-grant-tables --skip-networking
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ ^C
- debian@paracambi:/var/lib/mysql$ cd /
- debian@paracambi:/$ sudo service mysql stop
- debian@paracambi:/$ sudo apt-get --purge remove "mysql*"
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Note, selecting 'mysqltcl' for glob 'mysql*'
- Note, selecting 'mysql-workbench' for glob 'mysql*'
- Note, selecting 'mysql-client-5.5' for glob 'mysql*'
- Note, selecting 'mysql-client-5.6' for glob 'mysql*'
- Note, selecting 'mysql-client-5.7' for glob 'mysql*'
- Note, selecting 'mysql-common-5.6' for glob 'mysql*'
- Note, selecting 'mysql-server-5.5' for glob 'mysql*'
- Note, selecting 'mysql-server-5.6' for glob 'mysql*'
- Note, selecting 'mysql-server-5.7' for glob 'mysql*'
- Note, selecting 'mysql-utilities' for glob 'mysql*'
- Note, selecting 'mysql-testsuite' for glob 'mysql*'
- Note, selecting 'mysql-server' for glob 'mysql*'
- Note, selecting 'mysql-client' for glob 'mysql*'
- Note, selecting 'mysql-sandbox' for glob 'mysql*'
- Note, selecting 'mysql-client-core-5.5' for glob 'mysql*'
- Note, selecting 'mysql-client-core-5.6' for glob 'mysql*'
- Note, selecting 'mysql-client-core-5.7' for glob 'mysql*'
- Note, selecting 'mysql-testsuite-5.5' for glob 'mysql*'
- Note, selecting 'mysql-testsuite-5.6' for glob 'mysql*'
- Note, selecting 'mysql-testsuite-5.7' for glob 'mysql*'
- Note, selecting 'mysql-common' for glob 'mysql*'
- Note, selecting 'mysqltuner' for glob 'mysql*'
- Note, selecting 'mysql-workbench-data' for glob 'mysql*'
- Note, selecting 'mysql-server-core-5.5' for glob 'mysql*'
- Note, selecting 'mysql-server-core-5.6' for glob 'mysql*'
- Note, selecting 'mysql-server-core-5.7' for glob 'mysql*'
- O pacote 'mysql-client-core-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-client-core-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-client-core-5.7' não está instalado, por isso não será removido
- O pacote 'mysql-client-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-client-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-client-5.7' não está instalado, por isso não será removido
- O pacote 'mysql-server-core-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-server-core-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-server-core-5.7' não está instalado, por isso não será removido
- O pacote 'mysql-server-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-server-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-server-5.7' não está instalado, por isso não será removido
- O pacote 'mysql-testsuite' não está instalado, por isso não será removido
- O pacote 'mysql-testsuite-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-testsuite-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-testsuite-5.7' não está instalado, por isso não será removido
- Note, a seleccionar 'mysql-common' em vez de 'mysql-common-5.6'
- O pacote 'mysql-sandbox' não está instalado, por isso não será removido
- O pacote 'mysql-client' não está instalado, por isso não será removido
- O pacote 'mysql-server' não está instalado, por isso não será removido
- O pacote 'mysql-utilities' não está instalado, por isso não será removido
- O pacote 'mysql-workbench' não está instalado, por isso não será removido
- O pacote 'mysql-workbench-data' não está instalado, por isso não será removido
- O pacote 'mysqltcl' não está instalado, por isso não será removido
- O pacote 'mysqltuner' não está instalado, por isso não será removido
- Os seguintes pacotes foram instalados automaticamente e já não são necessários:
- expect galera-3 libaio1 libdbi-perl libjemalloc1 libtcl8.6 libterm-readkey-perl libtk8.6 libxss1 socat tcl-expect tcl8.6
- tk8.6
- Utilize 'sudo apt autoremove' para os remover.
- Os pacotes a seguir serão REMOVIDOS:
- libdbd-mysql-perl* libmariadbclient18* libmysqlclient18* mariadb-client-10.1* mariadb-client-core-10.1* mariadb-common*
- mariadb-server* mariadb-server-10.1* mariadb-server-core-10.1* mysql-common* ossec-hids*
- 0 pacotes atualizados, 0 pacotes novos instalados, 11 a serem removidos e 0 não atualizados.
- Depois desta operação, 191 MB de espaço em disco serão liberados.
- Você quer continuar? [S/n] S
- (Lendo banco de dados ... 65237 ficheiros e directórios actualmente instalados.)
- A remover libdbd-mysql-perl (4.041-2) ...
- A remover libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- A remover ossec-hids (2.8.3-4wheezy) ...
- A remover libmysqlclient18:amd64 (5.5.57-0+deb8u1) ...
- A remover mariadb-server (10.1.26-0+deb9u1) ...
- A remover mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-common (10.1.26-0+deb9u1) ...
- update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- A remover mysql-common (5.8+1.0.2) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- (Lendo banco de dados ... 64726 ficheiros e directórios actualmente instalados.)
- A purgar os ficheiros de configuração para mariadb-common (10.1.26-0+deb9u1) ...
- A purgar os ficheiros de configuração para mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A purgar os ficheiros de configuração para mysql-common (5.8+1.0.2) ...
- A purgar os ficheiros de configuração para libmysqlclient18:amd64 (5.5.57-0+deb8u1) ...
- A purgar os ficheiros de configuração para mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- userdel: user mysql is currently used by process 26235
- A purgar os ficheiros de configuração para ossec-hids (2.8.3-4wheezy) ...
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/fts' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/ossec' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/alerts' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/syscheck' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/diff' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/rootcheck' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/stats' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/rules' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/logs/archives' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/logs/alerts' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/logs/firewall' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/etc/shared' não estava vazio, por isso não foi removido
- dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/bin' não estava vazio, por isso não foi removido
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- debian@paracambi:/$ sudo rm -rf /etc/mysql/
- debian@paracambi:/$ locate mysql
- /etc/mysql
- /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
- /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
- /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18
- /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18.0.0
- /usr/share/mysql-common
- /usr/share/bash-completion/completions/mysql
- /usr/share/bash-completion/completions/mysqladmin
- /usr/share/doc/libmysqlclient18
- /usr/share/doc/mysql-common
- /usr/share/doc/zabbix-agent/examples/userparameter_mysql.conf
- /usr/share/lintian/overrides/mysql-common
- /usr/share/vim/vim80/syntax/mysql.vim
- /var/cache/apt/archives/libmysqlclient18_5.5.50-0+deb8u1_amd64.deb
- /var/cache/apt/archives/libmysqlclient18_5.5.57-0+deb8u1_amd64.deb
- /var/cache/apt/archives/mysql-common_5.5.50-0+deb8u1_all.deb
- /var/cache/apt/archives/mysql-common_5.5.57-0+deb8u1_all.deb
- /var/cache/apt/archives/mysql-common_5.8+1.0.2_all.deb
- /var/lib/dpkg/info/libmysqlclient18:amd64.list
- /var/lib/dpkg/info/libmysqlclient18:amd64.md5sums
- /var/lib/dpkg/info/libmysqlclient18:amd64.postinst
- /var/lib/dpkg/info/libmysqlclient18:amd64.postrm
- /var/lib/dpkg/info/libmysqlclient18:amd64.shlibs
- /var/lib/dpkg/info/mysql-common.conffiles
- /var/lib/dpkg/info/mysql-common.list
- /var/lib/dpkg/info/mysql-common.md5sums
- /var/lib/dpkg/info/mysql-common.postinst
- /var/lib/dpkg/info/mysql-common.postrm
- /var/lib/dpkg/info/mysql-common.preinst
- /var/lib/dpkg/info/mysql-common.prerm
- debian@paracambi:/$ sudo updatedb
- debian@paracambi:/$ locate mysql
- /etc/php/7.0/apache2/conf.d/10-mysqlnd.ini
- /etc/php/7.0/apache2/conf.d/20-mysqli.ini
- /etc/php/7.0/apache2/conf.d/20-pdo_mysql.ini
- /etc/php/7.0/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.0/cli/conf.d/20-mysqli.ini
- /etc/php/7.0/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.0/mods-available/mysqli.ini
- /etc/php/7.0/mods-available/mysqlnd.ini
- /etc/php/7.0/mods-available/pdo_mysql.ini
- /etc/systemd/system/multi-user.target.wants/mysql.service
- /home/debian/.mysql_history
- /usr/lib/php/20151012/mysqli.so
- /usr/lib/php/20151012/mysqlnd.so
- /usr/lib/php/20151012/pdo_mysql.so
- /usr/share/php7.0-mysql
- /usr/share/bash-completion/completions/mysql
- /usr/share/bash-completion/completions/mysqladmin
- /usr/share/bug/php7.0-mysql
- /usr/share/bug/php7.0-mysql/control
- /usr/share/bug/php7.0-mysql/script
- /usr/share/doc/php7.0-mysql
- /usr/share/doc/zabbix-agent/examples/userparameter_mysql.conf
- /usr/share/lintian/overrides/php7.0-mysql
- /usr/share/php7.0-mysql/mysql
- /usr/share/php7.0-mysql/mysql/mysqli.ini
- /usr/share/php7.0-mysql/mysql/mysqlnd.ini
- /usr/share/php7.0-mysql/mysql/pdo_mysql.ini
- /usr/share/vim/vim80/syntax/mysql.vim
- /var/cache/apt/archives/libdbd-mysql-perl_4.041-2_amd64.deb
- /var/cache/apt/archives/libmysqlclient18_5.5.50-0+deb8u1_amd64.deb
- /var/cache/apt/archives/libmysqlclient18_5.5.57-0+deb8u1_amd64.deb
- /var/cache/apt/archives/mysql-common_5.5.50-0+deb8u1_all.deb
- /var/cache/apt/archives/mysql-common_5.5.57-0+deb8u1_all.deb
- /var/cache/apt/archives/mysql-common_5.8+1.0.2_all.deb
- /var/cache/apt/archives/php7.0-mysql_7.0.30-0+deb9u1_amd64.deb
- /var/lib/dpkg/info/php7.0-mysql.list
- /var/lib/dpkg/info/php7.0-mysql.md5sums
- /var/lib/dpkg/info/php7.0-mysql.postinst
- /var/lib/dpkg/info/php7.0-mysql.postrm
- /var/lib/dpkg/info/php7.0-mysql.preinst
- /var/lib/dpkg/info/php7.0-mysql.prerm
- /var/lib/dpkg/info/php7.0-mysql.triggers
- /var/lib/php/modules/7.0/apache2/enabled_by_maint/mysqli
- /var/lib/php/modules/7.0/apache2/enabled_by_maint/mysqlnd
- /var/lib/php/modules/7.0/apache2/enabled_by_maint/pdo_mysql
- /var/lib/php/modules/7.0/cli/enabled_by_maint/mysqli
- /var/lib/php/modules/7.0/cli/enabled_by_maint/mysqlnd
- /var/lib/php/modules/7.0/cli/enabled_by_maint/pdo_mysql
- /var/lib/php/modules/7.0/registry/mysqli
- /var/lib/php/modules/7.0/registry/mysqlnd
- /var/lib/php/modules/7.0/registry/pdo_mysql
- /var/lib/ucf/cache/:etc:php:7.0:mods-available:mysqli.ini
- /var/lib/ucf/cache/:etc:php:7.0:mods-available:mysqlnd.ini
- /var/lib/ucf/cache/:etc:php:7.0:mods-available:pdo_mysql.ini
- debian@paracambi:/$ sudo apt-get install mariadb-server -y
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Os seguintes pacotes foram instalados automaticamente e já não são necessários:
- expect libtcl8.6 libtk8.6 libxss1 tcl-expect tcl8.6 tk8.6
- Utilize 'sudo apt autoremove' para os remover.
- The following additional packages will be installed:
- libdbd-mysql-perl libmariadbclient18 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1
- mariadb-server-core-10.1 mysql-common
- Pacotes sugeridos:
- mariadb-test netcat-openbsd tinyca
- Os NOVOS pacotes a seguir serão instalados:
- libdbd-mysql-perl libmariadbclient18 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server
- mariadb-server-10.1 mariadb-server-core-10.1 mysql-common
- 0 pacotes atualizados, 9 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- É preciso baixar 0 B/22,3 MB de arquivos.
- Depois desta operação, 181 MB adicionais de espaço em disco serão usados.
- Pré-configurando pacotes ...
- Can't exec "/tmp/mariadb-server-10.1.config.FrdLrT": Permissão negada at /usr/share/perl/5.24/IPC/Open3.pm line 178.
- open2: exec of /tmp/mariadb-server-10.1.config.FrdLrT configure failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
- A seleccionar pacote anteriormente não seleccionado mysql-common.
- (Lendo banco de dados ... 64686 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../mysql-common_5.8+1.0.2_all.deb ...
- A descompactar mysql-common (5.8+1.0.2) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-common.
- A preparar para desempacotar .../mariadb-common_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-common (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-client-core-10.1.
- A preparar para desempacotar .../mariadb-client-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-client-10.1.
- A preparar para desempacotar .../mariadb-client-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-server-core-10.1.
- A preparar para desempacotar .../mariadb-server-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando mysql-common (5.8+1.0.2) ...
- update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- Configurando mariadb-common (10.1.26-0+deb9u1) ...
- update-alternatives: a usar /etc/mysql/mariadb.cnf para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- A seleccionar pacote anteriormente não seleccionado mariadb-server-10.1.
- (Lendo banco de dados ... 64841 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../mariadb-server-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libmariadbclient18:amd64.
- A preparar para desempacotar .../libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libdbd-mysql-perl.
- A preparar para desempacotar .../libdbd-mysql-perl_4.041-2_amd64.deb ...
- A descompactar libdbd-mysql-perl (4.041-2) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-server.
- A preparar para desempacotar .../mariadb-server_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-server (10.1.26-0+deb9u1) ...
- Configurando mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- Configurando libdbd-mysql-perl (4.041-2) ...
- Configurando mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- Configurando mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
- Job for mariadb.service failed because the control process exited with error code.
- See "systemctl status mariadb.service" and "journalctl -xe" for details.
- mariadb.service couldn't start.
- Configurando mariadb-server (10.1.26-0+deb9u1) ...
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- debian@paracambi:/$ sudo systemctl enable mysql
- Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
- Executing: /lib/systemd/systemd-sysv-install enable mysql
- Failed to enable unit: Refusing to operate on linked unit file mysql.service
- debian@paracambi:/$ /etc/systemd/system/mysqld.service
- -bash: /etc/systemd/system/mysqld.service: Permissão negada
- debian@paracambi:/$ ßudo /etc/systemd/system/mysqld.service
- -bash: ßudo: comando não encontrado
- debian@paracambi:/$ sudo /etc/systemd/system/mysqld.service
- sudo: /etc/systemd/system/mysqld.service: comando não encontrado
- debian@paracambi:/$ sudo /etc/systemd/
- network/ system/ user/
- debian@paracambi:/$ sudo /etc/systemd/
- network/ system/ user/
- debian@paracambi:/$ sudo /etc/systemd/
- network/ system/ user/
- debian@paracambi:/$ sudo /etc/systemd/system/
- getty.target.wants/ network-online.target.wants/ remote-fs.target.wants/ sysinit.target.wants/
- multi-user.target.wants/ paths.target.wants/ sockets.target.wants/ timers.target.wants/
- debian@paracambi:/$ sudo /etc/systemd/system/
- getty.target.wants/ network-online.target.wants/ remote-fs.target.wants/ sysinit.target.wants/
- multi-user.target.wants/ paths.target.wants/ sockets.target.wants/ timers.target.wants/
- debian@paracambi:/$ sudo /etc/
- Display all 101 possibilities? (y or n)
- debian@paracambi:/$ sudo /etc/mysql/
- conf.d/ debian-start mariadb.conf.d/
- debian@paracambi:/$ sudo /etc/mysql/conf.d/
- sudo: /etc/mysql/conf.d/: comando não encontrado
- debian@paracambi:/$ ls
- bin dev home initrd.img.old lib64 media opt root sbin sys usr vmlinuz
- boot etc initrd.img lib lost+found mnt proc run srv tmp var vmlinuz.old
- debian@paracambi:/$ cd /etc/mysql/conf.d/
- debian@paracambi:/etc/mysql/conf.d$ ls
- mysql.cnf mysqldump.cnf
- debian@paracambi:/etc/mysql/conf.d$ sudo nano mysql
- debian@paracambi:/etc/mysql/conf.d$ sudo nano mysql.cnf
- debian@paracambi:/etc/mysql/conf.d$ sudo mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ sudo nano /etc/mysql/my.cnf
- debian@paracambi:/etc/mysql/conf.d$ sudo nano /etc/mysql/my.cnf
- debian@paracambi:/etc/mysql/conf.d$ sudo mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ sudo apt-get update
- Atingido:1 http://security.debian.org stretch/updates InRelease
- Ign:2 http://deb.debian.org/debian stretch InRelease
- Atingido:3 http://deb.debian.org/debian stretch-updates InRelease
- Atingido:4 http://deb.debian.org/debian stretch Release
- Lendo listas de pacotes... Pronto
- debian@paracambi:/etc/mysql/conf.d$ sudo apt-get -y install mariadb-server mariadb-client
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- mariadb-server is already the newest version (10.1.26-0+deb9u1).
- Os seguintes pacotes foram instalados automaticamente e já não são necessários:
- expect libtcl8.6 libtk8.6 libxss1 tcl-expect tcl8.6 tk8.6
- Utilize 'sudo apt autoremove' para os remover.
- Os NOVOS pacotes a seguir serão instalados:
- mariadb-client
- 0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- É preciso baixar 26,1 kB de arquivos.
- Depois desta operação, 63,5 kB adicionais de espaço em disco serão usados.
- Obter:1 http://deb.debian.org/debian stretch/main amd64 mariadb-client all 10.1.26-0+deb9u1 [26,1 kB]
- Baixados 26,1 kB em 0s (419 kB/s)
- A seleccionar pacote anteriormente não seleccionado mariadb-client.
- (Lendo banco de dados ... 64999 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../mariadb-client_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-client (10.1.26-0+deb9u1) ...
- Configurando mariadb-client (10.1.26-0+deb9u1) ...
- debian@paracambi:/etc/mysql/conf.d$ sudo mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ sudo service mysql stop
- debian@paracambi:/etc/mysql/conf.d$ sudo apt-get --purge remove "mysql*
- > ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ sudo apt-get --purge remove "mysql*
- > ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ ^C
- debian@paracambi:/etc/mysql/conf.d$ sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Note, selecting 'mysql-server-core-5.5' for glob 'mysql-server-core-*'
- Note, selecting 'mysql-server-core-5.6' for glob 'mysql-server-core-*'
- Note, selecting 'mysql-server-core-5.7' for glob 'mysql-server-core-*'
- O pacote 'mysql-server-core-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-server-core-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-server-core-5.7' não está instalado, por isso não será removido
- Note, selecting 'mysql-client-core-5.5' for glob 'mysql-client-core-*'
- Note, selecting 'mysql-client-core-5.6' for glob 'mysql-client-core-*'
- Note, selecting 'mysql-client-core-5.7' for glob 'mysql-client-core-*'
- O pacote 'mysql-client-core-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-client-core-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-client-core-5.7' não está instalado, por isso não será removido
- O pacote 'mysql-client' não está instalado, por isso não será removido
- O pacote 'mysql-server' não está instalado, por isso não será removido
- Os seguintes pacotes foram instalados automaticamente e já não são necessários:
- expect galera-3 libaio1 libdbi-perl libjemalloc1 libtcl8.6 libterm-readkey-perl libtk8.6 libxss1 socat tcl-expect tcl8.6
- tk8.6
- Utilize 'sudo apt autoremove' para os remover.
- Os pacotes a seguir serão REMOVIDOS:
- libdbd-mysql-perl* libmariadbclient18* mariadb-client* mariadb-client-10.1* mariadb-client-core-10.1* mariadb-common*
- mariadb-server* mariadb-server-10.1* mariadb-server-core-10.1* mysql-common*
- 0 pacotes atualizados, 0 pacotes novos instalados, 10 a serem removidos e 0 não atualizados.
- Depois desta operação, 181 MB de espaço em disco serão liberados.
- Você quer continuar? [S/n] S
- (Lendo banco de dados ... 65002 ficheiros e directórios actualmente instalados.)
- A remover libdbd-mysql-perl (4.041-2) ...
- A remover libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- A remover mariadb-client (10.1.26-0+deb9u1) ...
- A remover mariadb-server (10.1.26-0+deb9u1) ...
- A remover mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-common (10.1.26-0+deb9u1) ...
- update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- A remover mysql-common (5.8+1.0.2) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- (Lendo banco de dados ... 64708 ficheiros e directórios actualmente instalados.)
- A purgar os ficheiros de configuração para mariadb-common (10.1.26-0+deb9u1) ...
- A purgar os ficheiros de configuração para mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A purgar os ficheiros de configuração para mysql-common (5.8+1.0.2) ...
- A purgar os ficheiros de configuração para mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- userdel: user mysql is currently used by process 26235
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- debian@paracambi:/etc/mysql/conf.d$ sudo rm -rf /etc/mysql /var/lib/mysql
- debian@paracambi:/etc/mysql/conf.d$ sudo apt-get autoremove
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Os pacotes a seguir serão REMOVIDOS:
- expect galera-3 libaio1 libdbi-perl libjemalloc1 libtcl8.6 libterm-readkey-perl libtk8.6 libxss1 socat tcl-expect tcl8.6
- tk8.6
- 0 pacotes atualizados, 0 pacotes novos instalados, 13 a serem removidos e 0 não atualizados.
- Depois desta operação, 13,9 MB de espaço em disco serão liberados.
- Você quer continuar? [S/n] S
- sh: 0: getcwd() failed: No such file or directory
- sh: 0: getcwd() failed: No such file or directory
- (Lendo banco de dados ... 64686 ficheiros e directórios actualmente instalados.)
- A remover expect (5.45-7+deb9u1) ...
- A remover galera-3 (25.3.19-2) ...
- A remover libaio1:amd64 (0.3.110-3) ...
- A remover libdbi-perl (1.636-1+b1) ...
- A remover libjemalloc1 (3.6.0-9.1) ...
- A remover tk8.6 (8.6.6-1+b1) ...
- A remover libtk8.6:amd64 (8.6.6-1+b1) ...
- A remover libterm-readkey-perl (2.37-1) ...
- A remover libxss1:amd64 (1:1.2.2-1) ...
- A remover socat (1.7.3.1-2+deb9u1) ...
- A remover tcl-expect:amd64 (5.45-7+deb9u1) ...
- A remover tcl8.6 (8.6.6+dfsg-1+b1) ...
- A remover libtcl8.6:amd64 (8.6.6+dfsg-1+b1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- debian@paracambi:/etc/mysql/conf.d$ sudo apt-get autoclean
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Del libtxc-dxtn-s2tc0 0~git20131104-1.1 [51,6 kB]
- Del libncurses5 6.0+20161126-1 [93,4 kB]
- Del libdrm-nouveau2 2.4.58-2 [21,6 kB]
- Del python2.7-minimal 2.7.9-2+deb8u1 [1.401 kB]
- Del libgnutls-deb0-28 3.3.8-6+deb8u7 [696 kB]
- Del iproute2 4.9.0-1 [634 kB]
- Del sudo 1.8.10p3-1+deb8u4 [854 kB]
- Del liblcms2-2 2.6-3+deb8u1 [141 kB]
- Del perl-modules-5.24 5.24.1-3+deb9u1 [2.723 kB]
- Del exim4-config 4.84.2-2+deb8u4 [502 kB]
- Del bind9-host 1:9.9.5.dfsg-9+deb8u13 [68,1 kB]
- Del dbus 1.10.18-1 [208 kB]
- Del libfreetype6 2.5.2-3+deb8u2 [466 kB]
- Del libfcgi-perl 0.77-1+deb8u1 [39,0 kB]
- Del libnettle4 2.7.1-5+deb8u2 [176 kB]
- Del systemd-sysv 215-17+deb8u7 [36,7 kB]
- Del libisc-export95 1:9.9.5.dfsg-9+deb8u13 [141 kB]
- Del libisccfg-export90 1:9.9.5.dfsg-9+deb8u13 [41,5 kB]
- Del libncursesw5 6.0+20161126-1 [115 kB]
- Del host 1:9.9.5.dfsg-9+deb8u13 [24,1 kB]
- Del libcups2 2.2.1-8 [306 kB]
- Del libisccfg140 1:9.10.3.dfsg.P4-12.3+deb9u2 [222 kB]
- Del base-files 8+deb8u9 [78,2 kB]
- Del tcl8.6 8.6.2+dfsg-2 [122 kB]
- Del base-files 9.9+deb9u1 [67,2 kB]
- Del apt-utils 1.4.7 [410 kB]
- Del tzdata 2017b-1 [260 kB]
- Del apt-utils 1.0.9.8.4 [368 kB]
- Del gnupg2 2.1.18-6 [299 kB]
- Del initramfs-tools 0.120+deb8u3 [96,7 kB]
- Del libmysqlclient18 5.5.57-0+deb8u1 [680 kB]
- Del libnettle6 3.3-1+b1 [191 kB]
- Del libx11-xcb1 2:1.6.2-3 [163 kB]
- Del python2.7 2.7.13-2 [285 kB]
- Del gnupg-agent 2.1.18-6 [554 kB]
- Del libxft2 2.3.2-1 [55,4 kB]
- Del perl-base 5.24.1-3+deb9u1 [1.343 kB]
- Del ncurses-term 6.0+20161126-1 [469 kB]
- Del libssl1.0.0 1.0.1t-1+deb8u6 [1.047 kB]
- Del ca-certificates 20141019+deb8u3 [207 kB]
- Del libdns162 1:9.10.3.dfsg.P4-12.3+deb9u2 [1.077 kB]
- Del exim4-base 4.84.2-2+deb8u4 [1.049 kB]
- Del dnsutils 1:9.10.3.dfsg.P4-12.3+deb9u2 [283 kB]
- Del libice6 2:1.0.9-1+b1 [58,8 kB]
- Del file 1:5.22+15-2+deb8u3 [60,4 kB]
- Del libhogweed2 2.7.1-5+deb8u2 [125 kB]
- Del libkrb5-3 1.15-1 [311 kB]
- Del gnupg-agent 2.0.26-6+deb8u1 [272 kB]
- Del openssl 1.0.1t-1+deb8u6 [665 kB]
- Del publicsuffix 20170424.0717-1 [98,2 kB]
- Del python3-reportbug 7.1.7 [129 kB]
- Del libisc-export160 1:9.10.3.dfsg.P4-12.3+deb9u2 [334 kB]
- Del libgnutls30 3.5.8-5+deb9u2 [895 kB]
- Del apt 1.0.9.8.4 [1.109 kB]
- Del iproute 1:4.9.0-1 [16,3 kB]
- Del libapt-inst1.5 1.0.9.8.4 [169 kB]
- Del libsqlite3-0 3.16.2-5 [572 kB]
- Del libevent-2.0-5 2.0.21-stable-2+deb8u1 [152 kB]
- Del libpam-google-authenticator 20130529-2 [32,1 kB]
- Del libxshmfence1 1.1-4 [6.736 B]
- Del libldap-2.4-2 2.4.44+dfsg-5 [218 kB]
- Del libmount1 2.29.2-1 [178 kB]
- Del patch 2.7.5-1+b2 [112 kB]
- Del libnet-ssleay-perl 1.65-1+deb8u1 [277 kB]
- Del libtasn1-6 4.10-1.1 [50,4 kB]
- Del procmail 3.22-25+b1 [142 kB]
- Del vim-common 2:7.4.488-7+deb8u3 [185 kB]
- Del debian-archive-keyring 2017.5~deb8u1 [56,7 kB]
- Del libblkid1 2.29.2-1 [168 kB]
- Del expect 5.45-7+b1 [165 kB]
- Del python2.7-minimal 2.7.13-2 [1.383 kB]
- Del exim4 4.89-2+deb9u1 [7.868 B]
- Del util-linux-locales 2.29.2-1 [1.000 kB]
- Del libgtk2.0-0 2.24.25-3+deb8u2 [2.302 kB]
- Del vim-common 2:8.0.0197-4 [159 kB]
- Del libtiff5 4.0.3-12.3+deb8u4 [221 kB]
- Del libxpm4 1:3.5.12-0+deb8u1 [49,2 kB]
- Del libtk8.6 8.6.2-1 [771 kB]
- Del libdrm-radeon1 2.4.58-2 [31,1 kB]
- Del libgcrypt20 1.7.6-2+deb9u1 [522 kB]
- Del libsystemd0 215-17+deb8u7 [89,4 kB]
- Del gnupg-l10n 2.1.18-6 [892 kB]
- Del linux-image-4.9.0-8-amd64 4.9.110-3+deb9u5 [39,0 MB]
- Del libcairo2 1.14.0-2.1+deb8u2 [742 kB]
- Del libisccc140 1:9.10.3.dfsg.P4-12.3+deb9u2 [198 kB]
- Del libbind9-90 1:9.9.5.dfsg-9+deb8u13 [43,9 kB]
- Del libldap-2.4-2 2.4.40+dfsg-1+deb8u3 [218 kB]
- Del xterm 312-2 [605 kB]
- Del libudev1 232-25+deb9u1 [124 kB]
- Del x11-utils 7.7+2 [191 kB]
- Del libsmartcols1 2.29.2-1 [125 kB]
- Del libgl1-mesa-dri 10.3.2-1+deb8u1 [3.384 kB]
- Del gcc-6-base 6.3.0-18 [180 kB]
- Del procps 2:3.3.12-3 [249 kB]
- Del ntp 1:4.2.8p10+dfsg-3 [556 kB]
- Del libgnutls-openssl27 3.3.8-6+deb8u7 [143 kB]
- Del mysql-common 5.5.57-0+deb8u1 [84,2 kB]
- Del w3m 0.5.3-19+deb8u2 [1.006 kB]
- Del libxcb-sync1 1.10-3+b1 [14,4 kB]
- Del reportbug 7.1.7 [128 kB]
- Del vim-tiny 2:8.0.0197-4 [446 kB]
- Del dbus 1.8.22-0+deb8u1 [292 kB]
- Del libisccfg90 1:9.9.5.dfsg-9+deb8u13 [57,8 kB]
- Del python2.7 2.7.9-2+deb8u1 [252 kB]
- Del libtiff5 4.0.8-2+deb9u1 [237 kB]
- Del libpam0g 1.1.8-3.1+deb8u2+b1 [126 kB]
- Del libxml2 2.9.4+dfsg1-2.2 [919 kB]
- Del e2fslibs 1.42.12-2+b1 [186 kB]
- Del bsdutils 1:2.29.2-1 [112 kB]
- Del ca-certificates 20161130+nmu1 [196 kB]
- Del libdns100 1:9.9.5.dfsg-9+deb8u13 [681 kB]
- Del libapt-pkg4.12 1.0.9.8.4 [792 kB]
- Del krb5-locales 1.15-1 [93,5 kB]
- Del ntp 1:4.2.6.p5+dfsg-7+deb8u2 [394 kB]
- Del libss2 1.42.12-2+b1 [65,0 kB]
- Del libutempter0 1.1.5-4 [8.020 B]
- Del linux-image-3.16.0-4-amd64 3.16.43-2+deb8u2 [34,0 MB]
- Del binutils 2.25-5+deb8u1 [3.496 kB]
- Del tar 1.27.1-2+deb8u1 [676 kB]
- Del mtr-tiny 0.85-3 [51,2 kB]
- Del dpkg 1.18.24 [2.107 kB]
- Del libhogweed4 3.3-1+b1 [136 kB]
- Del libxmu6 2:1.1.2-1 [58,6 kB]
- Del libgcrypt20 1.6.3-2+deb8u4 [392 kB]
- Del libglapi-mesa 10.3.2-1+deb8u1 [53,3 kB]
- Del binutils 2.25-5 [3.516 kB]
- Del openssh-server 1:7.4p1-10+deb9u1 [332 kB]
- Del libgdk-pixbuf2.0-common 2.36.5-2 [310 kB]
- Del debconf 1.5.56+deb8u1 [167 kB]
- Del libssl1.1 1.1.0f-3 [1.342 kB]
- Del libxaw7 2:1.0.12-2+b1 [199 kB]
- Del systemd 215-17+deb8u7 [2.545 kB]
- Del libc6 2.19-18+deb8u10 [4.665 kB]
- Del gpgv 1.4.18-7+deb8u3 [209 kB]
- Del libicu52 52.1-8+deb8u5 [6.801 kB]
- Del libxxf86dga1 2:1.1.4-1+b1 [22,3 kB]
- Del libssl1.0.2 1.0.2l-2 [1.294 kB]
- Del python-pil 2.6.1-2+deb8u3 [304 kB]
- Del dnsutils 1:9.9.5.dfsg-9+deb8u13 [119 kB]
- Del gnupg2 2.0.26-6+deb8u1 [1.397 kB]
- Del openssh-client 1:7.4p1-10+deb9u1 [778 kB]
- Del libelf1 0.159-4.2 [160 kB]
- Del libtasn1-6 4.2-3+deb8u3 [49,2 kB]
- Del libmysqlclient18 5.5.50-0+deb8u1 [675 kB]
- Del liblwres141 1:9.10.3.dfsg.P4-12.3+deb9u2 [214 kB]
- Del tk8.6 8.6.2-1 [71,1 kB]
- Del libicu57 57.1-6 [7.701 kB]
- Del rkhunter 1.4.2-0.4 [238 kB]
- Del ossec-hids 2.8.3-4wheezy [1.950 kB]
- Del libgssapi-krb5-2 1.15-1 [154 kB]
- Del libxcb-glx0 1.10-3+b1 [27,4 kB]
- Del libapparmor1 2.11.0-3 [78,7 kB]
- Del debsecan 0.4.17 [36,2 kB]
- Del gnupg 2.1.18-6 [1.126 kB]
- Del libsm6 2:1.2.2-1+b1 [33,6 kB]
- Del openssh-sftp-server 1:7.4p1-10+deb9u1 [39,5 kB]
- Del libidn11 1.29-1+deb8u2 [136 kB]
- Del libmagic1 1:5.22+15-2+deb8u3 [250 kB]
- Del libpam-modules 1.1.8-3.1+deb8u2+b1 [307 kB]
- Del bind9-host 1:9.10.3.dfsg.P4-12.3+deb9u2 [231 kB]
- Del libgnutls-openssl27 3.5.8-5+deb9u2 [184 kB]
- Del libfdisk1 2.29.2-1 [203 kB]
- Del libdb5.3 5.3.28-12+b1 [680 kB]
- Del x11-common 1:7.7+7 [287 kB]
- Del libxml-libxml-perl 2.0128+dfsg-1+b1 [339 kB]
- Del gpgv 2.1.18-6 [480 kB]
- Del libisc95 1:9.9.5.dfsg-9+deb8u13 [169 kB]
- Del rkhunter 1.4.2-0.4+deb8u1 [238 kB]
- Del libgtk2.0-bin 2.24.25-3+deb8u2 [535 kB]
- Del libgdk-pixbuf2.0-0 2.36.5-2 [169 kB]
- Del libmagic1 1:5.30-1 [111 kB]
- Del openssl 1.1.0f-3 [725 kB]
- Del libk5crypto3 1.15-1 [119 kB]
- Del libqrencode3 3.4.3-1 [33,8 kB]
- Del xxd 2:8.0.0197-4 [131 kB]
- Del libdns-export100 1:9.9.5.dfsg-9+deb8u13 [457 kB]
- Del perl 5.24.1-3+deb9u1 [219 kB]
- Del cron 3.0pl1-128+b1 [95,5 kB]
- Del tcl-expect 5.45-7+b1 [131 kB]
- Del xkb-data 2.19-1 [648 kB]
- Del mount 2.29.2-1 [189 kB]
- Del libpciaccess0 0.13.2-3+b1 [47,6 kB]
- Del exim4-daemon-light 4.84.2-2+deb8u4 [632 kB]
- Del libtcl8.6 8.6.2+dfsg-2 [978 kB]
- Del libllvm3.5 1:3.5-10 [7.607 kB]
- Del perl-base 5.20.2-3+deb8u8 [1.230 kB]
- Del libpam-modules-bin 1.1.8-3.1+deb8u2+b1 [104 kB]
- Del libpython2.7-stdlib 2.7.9-2+deb8u1 [1.847 kB]
- Del bash 4.3-11+deb8u1 [1.172 kB]
- Del tzdata 2017b-0+deb8u1 [232 kB]
- Del mysql-common 5.5.50-0+deb8u1 [81,8 kB]
- Del libldap-common 2.4.44+dfsg-5 [85,0 kB]
- Del chkrootkit 0.50-3 [310 kB]
- Del libpng12-0 1.2.50-2+deb8u3 [173 kB]
- Del libxapian30 1.4.3-2 [1.067 kB]
- Del libxv1 2:1.0.10-1+b1 [24,0 kB]
- Del libbind9-140 1:9.10.3.dfsg.P4-12.3+deb9u2 [206 kB]
- Del libxt6 1:1.1.4-1+b1 [186 kB]
- Del systemd 232-25+deb9u1 [2.462 kB]
- Del libdiscover2 2.1.2-7.1 [90,2 kB]
- Del exim4-base 4.89-2+deb9u1 [1.093 kB]
- Del libxpm4 1:3.5.11-1+b1 [48,1 kB]
- Del sudo 1.8.10p3-1+deb8u3 [855 kB]
- Del apt 1.4.7 [1.231 kB]
- Del libdbus-1-3 1.8.22-0+deb8u1 [170 kB]
- Del libkrb5support0 1.15-1 [61,7 kB]
- Del os-prober 1.65+deb8u1 [28,2 kB]
- Del libcurl3-gnutls 7.38.0-4+deb8u5 [252 kB]
- Del libtinfo5 6.0+20161126-1 [299 kB]
- Del libpython2.7-stdlib 2.7.13-2 [1.895 kB]
- Del libgtk2.0-common 2.24.25-3+deb8u2 [3.137 kB]
- Del whois 5.2.15 [76,3 kB]
- Del libudev1 215-17+deb8u7 [57,8 kB]
- Del login 1:4.2-3+deb8u4 [722 kB]
- Del vim-tiny 2:7.4.488-7+deb8u3 [418 kB]
- Del libpython2.7-minimal 2.7.13-2 [389 kB]
- Del liblwres90 1:9.9.5.dfsg-9+deb8u13 [53,6 kB]
- Del libio-socket-ssl-perl 2.002-2+deb8u2 [172 kB]
- Del locales 2.19-18+deb8u10 [3.930 kB]
- Del perl-modules 5.20.2-3+deb8u8 [2.547 kB]
- Del libxxf86vm1 1:1.1.3-1+b1 [19,6 kB]
- Del libpam-systemd 232-25+deb9u1 [187 kB]
- Del librtmp1 2.4+20150115.gita107cef-1+deb8u1 [60,0 kB]
- Del chkrootkit 0.50-3.2~deb8u1 [310 kB]
- Del libpython2.7-minimal 2.7.9-2+deb8u1 [378 kB]
- Del e2fsprogs 1.42.12-2+b1 [750 kB]
- Del libdrm2 2.4.58-2 [29,9 kB]
- Del libfontenc1 1:1.1.2-1+b2 [23,9 kB]
- Del systemd-sysv 232-25+deb9u1 [80,7 kB]
- Del libcomerr2 1.42.12-2+b1 [60,7 kB]
- Del libxcb-present0 1.10-3+b1 [11,1 kB]
- Del libselinux1 2.6-3+b1 [101 kB]
- Del libsqlite3-0 3.8.7.1-1+deb8u2 [438 kB]
- Del libirs-export91 1:9.9.5.dfsg-9+deb8u13 [39,0 kB]
- Del host 1:9.10.3.dfsg.P4-12.3+deb9u2 [185 kB]
- Del libxcb-shape0 1.10-3+b1 [11,6 kB]
- Del gnupg 1.4.18-7+deb8u3 [1.149 kB]
- Del isc-dhcp-client 4.3.5-3 [325 kB]
- Del libopts25 1:5.18.4-3 [69,6 kB]
- Del libdbus-1-3 1.10.18-1 [192 kB]
- Del libxtst6 2:1.2.2-1+b1 [27,3 kB]
- Del libffi6 3.1-2+deb8u1 [20,2 kB]
- Del udev 232-25+deb9u1 [1.113 kB]
- Del exim4-config 4.89-2+deb9u1 [377 kB]
- Del libisccc90 1:9.9.5.dfsg-9+deb8u13 [37,2 kB]
- Del libperl5.24 5.24.1-3+deb9u1 [3.524 kB]
- Del libmagic-mgc 1:5.30-1 [222 kB]
- Del libpam-runtime 1.1.8-3.1+deb8u2 [212 kB]
- Del libcurl3-gnutls 7.52.1-5 [289 kB]
- Del ncurses-base 6.0+20161126-1 [238 kB]
- Del multiarch-support 2.19-18+deb8u10 [181 kB]
- Del libdrm-intel1 2.4.58-2 [64,9 kB]
- Del libc-bin 2.19-18+deb8u10 [1.281 kB]
- Del libstdc++6 6.3.0-18 [396 kB]
- Del isc-dhcp-common 4.3.5-3 [136 kB]
- Del dirmngr 2.1.18-6 [595 kB]
- Del udev 215-17+deb8u7 [876 kB]
- Del linux-image-amd64 4.9+80+deb9u1 [6.902 B]
- Del libxcb-dri3-0 1.10-3+b1 [11,1 kB]
- Del libgl1-mesa-glx 10.3.2-1+deb8u1 [180 kB]
- Del unhide 20121229-1+b1 [427 kB]
- Del rpcbind 0.2.1-6+deb8u2 [41,6 kB]
- Del iproute 1:3.16.0-2 [15,5 kB]
- Del libprocps6 2:3.3.12-3 [58,1 kB]
- Del libxcb-dri2-0 1.10-3+b1 [12,9 kB]
- Del discover 2.1.2-7.1 [42,2 kB]
- Del w3m 0.5.3-34 [1.030 kB]
- Del debconf-i18n 1.5.56+deb8u1 [206 kB]
- Del passwd 1:4.2-3+deb8u4 [971 kB]
- Del libgcc1 1:6.3.0-18 [38,0 kB]
- Del linux-image-4.9.0-3-amd64 4.9.30-2+deb9u2 [38,7 MB]
- Del util-linux 2.29.2-1 [981 kB]
- Del file 1:5.30-1 [63,9 kB]
- Del libsystemd0 232-25+deb9u1 [280 kB]
- Del exim4 4.84.2-2+deb8u4 [8.584 B]
- Del libgraphite2-3 1.3.10-1~deb8u1 [85,4 kB]
- Del libapt-pkg5.0 1.4.7 [916 kB]
- Del libxcursor1 1:1.1.14-1+b4 [35,0 kB]
- Del perl 5.20.2-3+deb8u8 [2.633 kB]
- Del eject 2.1.5+deb1+cvs20081104-13.1+deb8u1 [51,1 kB]
- Del exim4-daemon-light 4.89-2+deb9u1 [541 kB]
- Del sed 4.2.2-4+deb8u1 [243 kB]
- Del apticron 1.1.57 [20,0 kB]
- Del tcl-expect 5.45-6 [131 kB]
- Del htop 1.0.3-1 [75,3 kB]
- Del shared-mime-info 1.8-1 [731 kB]
- Del libtirpc1 0.2.5-1+deb8u1 [80,9 kB]
- Del libexpat1 2.1.0-6+deb8u4 [80,2 kB]
- Del libjasper1 1.900.1-debian1-2.4+deb8u3 [134 kB]
- Del whowatch 1.8.5-1 [32,3 kB]
- Del libapt-inst2.0 1.4.7 [192 kB]
- Del libuuid1 2.29.2-1 [70,0 kB]
- Del libisc160 1:9.10.3.dfsg.P4-12.3+deb9u2 [398 kB]
- Del libdns-export162 1:9.10.3.dfsg.P4-12.3+deb9u2 [851 kB]
- Del libxml2 2.9.1+dfsg1-5+deb8u4 [802 kB]
- Del ncurses-bin 6.0+20161126-1 [365 kB]
- Del libidn2-0 0.16-1 [60,6 kB]
- Del expect 5.45-6 [165 kB]
- debian@paracambi:/etc/mysql/conf.d$ apt-get update
- Lendo listas de pacotes... Pronto
- W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operação não permitida)
- E: Não foi possível abrir arquivo de trava /var/lib/apt/lists/lock - open (13: Permissão negada)
- E: Impossível criar acesso exclusivo ao directório /var/lib/apt/lists/
- W: Problema ao remover o link do ficheiro /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permissão negada)
- W: Problema ao remover o link do ficheiro /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permissão negada)
- debian@paracambi:/etc/mysql/conf.d$ apt-get upgrade
- E: Não foi possível abrir arquivo de trava /var/lib/dpkg/lock - open (13: Permissão negada)
- E: Não foi possível criar acesso exclusivo ao directório de administração (/var/lib/dpkg/), é root?
- debian@paracambi:/etc/mysql/conf.d$ sudo su
- shell-init: erro ao obter o diretório atual: getcwd: impossível acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
- root@paracambi:.# apt-get update
- job-working-directory: erro ao obter o diretório atual: getcwd: impossível acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
- Atingido:1 http://security.debian.org stretch/updates InRelease
- Ign:2 http://deb.debian.org/debian stretch InRelease
- Atingido:3 http://deb.debian.org/debian stretch-updates InRelease
- Atingido:4 http://deb.debian.org/debian stretch Release
- Lendo listas de pacotes... Pronto
- root@paracambi:.#
- root@paracambi:.#
- root@paracambi:.#
- root@paracambi:.#
- root@paracambi:.#
- root@paracambi:.#
- root@paracambi:.#
- root@paracambi:.# apt-get upgrade
- job-working-directory: erro ao obter o diretório atual: getcwd: impossível acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Calculando atualização... Pronto
- 0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- root@paracambi:.# apt-get install mariadb-server
- job-working-directory: erro ao obter o diretório atual: getcwd: impossível acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- The following additional packages will be installed:
- galera-3 libaio1 libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libterm-readkey-perl mariadb-client-10.1
- mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
- Pacotes sugeridos:
- libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mariadb-test netcat-openbsd tinyca
- Os NOVOS pacotes a seguir serão instalados:
- galera-3 libaio1 libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libterm-readkey-perl mariadb-client-10.1
- mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
- 0 pacotes atualizados, 15 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- É preciso baixar 0 B/24,5 MB de arquivos.
- Depois desta operação, 188 MB adicionais de espaço em disco serão usados.
- Você quer continuar? [S/n] S
- sh: 0: getcwd() failed: No such file or directory
- sh: 0: getcwd() failed: No such file or directory
- sh: 0: getcwd() failed: No such file or directory
- sh: 0: getcwd() failed: No such file or directory
- Pré-configurando pacotes ...
- Can't exec "/tmp/mariadb-server-10.1.config.OcKL56": Permissão negada at /usr/share/perl/5.24/IPC/Open3.pm line 178.
- open2: exec of /tmp/mariadb-server-10.1.config.OcKL56 configure failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
- A seleccionar pacote anteriormente não seleccionado mysql-common.
- (Lendo banco de dados ... 64007 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../0-mysql-common_5.8+1.0.2_all.deb ...
- A descompactar mysql-common (5.8+1.0.2) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-common.
- A preparar para desempacotar .../1-mariadb-common_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-common (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado galera-3.
- A preparar para desempacotar .../2-galera-3_25.3.19-2_amd64.deb ...
- A descompactar galera-3 (25.3.19-2) ...
- A seleccionar pacote anteriormente não seleccionado libdbi-perl.
- A preparar para desempacotar .../3-libdbi-perl_1.636-1+b1_amd64.deb ...
- A descompactar libdbi-perl (1.636-1+b1) ...
- A seleccionar pacote anteriormente não seleccionado libaio1:amd64.
- A preparar para desempacotar .../4-libaio1_0.3.110-3_amd64.deb ...
- A descompactar libaio1:amd64 (0.3.110-3) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-client-core-10.1.
- A preparar para desempacotar .../5-mariadb-client-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libjemalloc1.
- A preparar para desempacotar .../6-libjemalloc1_3.6.0-9.1_amd64.deb ...
- A descompactar libjemalloc1 (3.6.0-9.1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-client-10.1.
- A preparar para desempacotar .../7-mariadb-client-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-server-core-10.1.
- A preparar para desempacotar .../8-mariadb-server-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado socat.
- A preparar para desempacotar .../9-socat_1.7.3.1-2+deb9u1_amd64.deb ...
- A descompactar socat (1.7.3.1-2+deb9u1) ...
- Configurando mysql-common (5.8+1.0.2) ...
- update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- Configurando mariadb-common (10.1.26-0+deb9u1) ...
- update-alternatives: a usar /etc/mysql/mariadb.cnf para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- A seleccionar pacote anteriormente não seleccionado mariadb-server-10.1.
- (Lendo banco de dados ... 64379 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../mariadb-server-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libmariadbclient18:amd64.
- A preparar para desempacotar .../libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libdbd-mysql-perl.
- A preparar para desempacotar .../libdbd-mysql-perl_4.041-2_amd64.deb ...
- A descompactar libdbd-mysql-perl (4.041-2) ...
- A seleccionar pacote anteriormente não seleccionado libterm-readkey-perl.
- A preparar para desempacotar .../libterm-readkey-perl_2.37-1_amd64.deb ...
- A descompactar libterm-readkey-perl (2.37-1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-server.
- A preparar para desempacotar .../mariadb-server_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-server (10.1.26-0+deb9u1) ...
- Configurando libjemalloc1 (3.6.0-9.1) ...
- Configurando socat (1.7.3.1-2+deb9u1) ...
- Configurando libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- Configurando libterm-readkey-perl (2.37-1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- Configurando libaio1:amd64 (0.3.110-3) ...
- Configurando galera-3 (25.3.19-2) ...
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- Configurando libdbi-perl (1.636-1+b1) ...
- Configurando mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando libdbd-mysql-perl (4.041-2) ...
- Configurando mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- Configurando mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
- Job for mariadb.service failed because the control process exited with error code.
- See "systemctl status mariadb.service" and "journalctl -xe" for details.
- mariadb.service couldn't start.
- Configurando mariadb-server (10.1.26-0+deb9u1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- root@paracambi:.# sudo mysql_secure_installation
- job-working-directory: erro ao obter o diretório atual: getcwd: impossível acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
- sh: 0: getcwd() failed: No such file or directory
- touch: não foi possível tocar '.my.cnf.31806': Arquivo ou diretório não encontrado
- touch: não foi possível tocar '.mysql.31806': Arquivo ou diretório não encontrado
- chmod: não foi possível acessar '.my.cnf.31806': Arquivo ou diretório não encontrado
- chmod: não foi possível acessar '.mysql.31806': Arquivo ou diretório não encontrado
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- /usr/bin/mysql_secure_installation: 248: /usr/bin/mysql_secure_installation: cannot create .my.cnf.31806: Directory nonexistent
- /usr/bin/mysql_secure_installation: 249: /usr/bin/mysql_secure_installation: cannot create .my.cnf.31806: Directory nonexistent
- /usr/bin/mysql_secure_installation: 250: /usr/bin/mysql_secure_installation: cannot create .my.cnf.31806: Directory nonexistent
- /usr/bin/mysql_secure_installation: 252: /usr/bin/mysql_secure_installation: cannot create .my.cnf.31806: Directory nonexistent
- /usr/bin/mysql_secure_installation: 217: /usr/bin/mysql_secure_installation: cannot create .mysql.31806: Directory nonexistent
- /usr/bin/mysql_secure_installation: 219: /usr/bin/mysql_secure_installation: cannot open .mysql.31806: No such file
- OK, successfully used password, moving on...
- Setting the root password ensures that nobody can log into the MariaDB
- root user without the proper authorisation.
- Set root password? [Y/n] ^C
- Aborting!
- Cleaning up...
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# cd /etc/myssymlink-hook: erro ao obter o diretório atual: getcwd: impossível acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
- symlink-hook: erro ao obter o diretório atual: getcwd: impossível acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
- sudo mysql_secure_service mysqld restart^C
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# ^C
- root@paracambi:.# cd /etc/mysql
- chdir: erro ao obter o diretório atual: getcwd: impossível acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
- root@paracambi:/etc/mysql# ls
- conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
- root@paracambi:/etc/mysql# ls -la
- total 32
- drwxr-xr-x 4 root root 4096 out 24 17:30 .
- drwxr-xr-x 101 root root 4096 out 24 17:30 ..
- drwxr-xr-x 2 root root 4096 out 24 17:30 conf.d
- -rw------- 1 root root 277 out 24 17:30 debian.cnf
- -rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
- -rw-r--r-- 1 root root 869 ago 10 2017 mariadb.cnf
- drwxr-xr-x 2 root root 4096 out 24 17:30 mariadb.conf.d
- lrwxrwxrwx 1 root root 24 out 24 17:30 my.cnf -> /etc/alternatives/my.cnf
- -rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
- root@paracambi:/etc/mysql# exit
- exit
- debian@paracambi:/etc/mysql/conf.d$ ls
- debian@paracambi:/etc/mysql/conf.d$ ls
- debian@paracambi:/etc/mysql/conf.d$ cd ..
- debian@paracambi:/etc/mysql$ ls
- conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
- debian@paracambi:/etc/mysql$ cd ..
- debian@paracambi:/etc$ ls
- acpi emacs libaudit.conf pam.conf sensors3.conf
- adduser.conf email-addresses locale.alias pam.d sensors.d
- adjtime environment locale.gen papersize services
- aliases exim4 localtime passwd sgml
- alternatives fonts logcheck passwd- shadow
- apache2 fstab login.defs perl shadow-
- apparmor gai.conf login.defs.dpkg-dist php shells
- apparmor.d ghostscript logrotate.conf pm skel
- apt groff logrotate.d postgresql ssh
- apticron group lvm postgresql-common ssl
- at.deny group- machine-id ppp staff-group-for-usr-local
- bash.bashrc grub.d magic profile subgid
- bash_completion gshadow magic.mime profile.d subgid-
- bash_completion.d gshadow- mailcap protocols subuid
- bindresvport.blacklist gss mailcap.order python subuid-
- binfmt.d gtk-2.0 mailname python2.7 sudoers
- ca-certificates host.conf mail.rc python3 sudoers.d
- ca-certificates.conf hostname manpath.config python3.5 sysctl.conf
- ca-certificates.conf.dpkg-old hosts mime.types rc0.d sysctl.d
- calendar hosts.allow mke2fs.conf rc1.d sysstat
- chkrootkit.conf hosts.deny modprobe.d rc2.d systemd
- console-setup idmapd.conf modules rc3.d terminfo
- cron.d init modules-load.d rc4.d texmf
- cron.daily init.d motd rc5.d timezone
- cron.hourly initramfs-tools mtab rc6.d tmpfiles.d
- cron.monthly inputrc Muttrc rc.local ucf.conf
- crontab insserv Muttrc.d rcS.d udev
- cron.weekly insserv.conf mysql reportbug.conf ufw
- dbus-1 insserv.conf.d nanorc request-key.conf updatedb.conf
- debconf.conf iproute2 netconfig request-key.d update-motd.d
- debian_version iscsi network resolv.conf vim
- default issue NetworkManager rkhunter.conf vmware-caf
- deluser.conf issue.net networks rmt vmware-tools
- dhcp kernel newt rpc w3m
- dictionaries-common kernel-img.conf nsswitch.conf rsyslog.conf wgetrc
- discover.conf.d ldap ntp.conf rsyslog.d X11
- discover-modprobe.conf ld.so.cache ntp.conf.dpkg-dist securetty xdg
- dpkg ld.so.conf opt security xml
- drirc ld.so.conf.d os-release selinux zabbix
- debian@paracambi:/etc$ cd mysql
- debian@paracambi:/etc/mysql$ ls
- conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
- debian@paracambi:/etc/mysql$ cd ..
- debian@paracambi:/etc$ ls -la
- total 980
- drwxr-xr-x 101 root root 4096 out 24 17:30 .
- drwxr-xr-x 22 root root 4096 out 17 06:56 ..
- drwxr-xr-x 3 root root 4096 ago 1 2017 acpi
- -rw-r--r-- 1 root root 2981 ago 26 2016 adduser.conf
- -rw-r--r-- 1 root root 44 ago 26 2016 adjtime
- -rw-r--r-- 1 root root 196 ago 26 2016 aliases
- drwxr-xr-x 2 root root 20480 out 24 17:30 alternatives
- drwxr-xr-x 8 root root 4096 out 8 15:03 apache2
- drwxr-xr-x 3 root root 4096 ago 1 2017 apparmor
- drwxr-xr-x 4 root root 4096 out 24 17:30 apparmor.d
- drwxr-xr-x 6 root root 4096 ago 1 2017 apt
- drwxr-xr-x 2 root root 4096 ago 26 2016 apticron
- -rw-r----- 1 root daemon 144 set 30 2014 at.deny
- -rw-r--r-- 1 root root 1863 nov 12 2014 bash.bashrc
- -rw-r--r-- 1 root root 45 mar 22 2014 bash_completion
- drwxr-xr-x 2 root root 4096 out 6 06:25 bash_completion.d
- -rw-r--r-- 1 root root 367 fev 15 2016 bindresvport.blacklist
- drwxr-xr-x 2 root root 4096 mar 12 2016 binfmt.d
- drwxr-xr-x 3 root root 4096 ago 26 2016 ca-certificates
- -rw-r--r-- 1 root root 9187 out 4 13:59 ca-certificates.conf
- -rw-r--r-- 1 root root 8234 ago 1 2017 ca-certificates.conf.dpkg-old
- drwxr-xr-x 2 root root 4096 ago 1 2017 calendar
- -rw-r--r-- 1 root root 56 ago 1 2017 chkrootkit.conf
- drwxr-xr-x 2 root root 4096 ago 1 2017 console-setup
- drwxr-xr-x 2 root root 4096 out 24 16:13 cron.d
- drwxr-xr-x 2 root root 4096 out 24 11:33 cron.daily
- drwxr-xr-x 2 root root 4096 out 4 13:59 cron.hourly
- drwxr-xr-x 2 root root 4096 out 4 13:59 cron.monthly
- -rw-r--r-- 1 root root 722 jun 11 2015 crontab
- drwxr-xr-x 2 root root 4096 out 4 13:59 cron.weekly
- drwxr-xr-x 4 root root 4096 out 4 14:00 dbus-1
- -rw-r--r-- 1 root root 2969 mar 18 2015 debconf.conf
- -rw-r--r-- 1 root root 4 jun 26 09:03 debian_version
- drwxr-xr-x 2 root root 4096 out 24 17:30 default
- -rw-r--r-- 1 root root 604 mai 15 2012 deluser.conf
- drwxr-xr-x 4 root root 4096 out 4 14:00 dhcp
- drwxr-xr-x 2 root root 4096 ago 1 2017 dictionaries-common
- drwxr-xr-x 2 root root 4096 out 4 13:59 discover.conf.d
- -rw-r--r-- 1 root root 346 set 1 2014 discover-modprobe.conf
- drwxr-xr-x 4 root root 4096 out 5 11:06 dpkg
- -rw-r--r-- 1 root root 4479 abr 25 2017 drirc
- drwxr-xr-x 3 root root 4096 ago 26 2016 emacs
- -rw-r--r-- 1 root root 312 jul 25 2016 email-addresses
- -rw-r--r-- 1 root root 0 ago 26 2016 environment
- drwxr-xr-x 3 root root 4096 out 4 13:59 exim4
- drwxr-xr-x 4 root root 4096 ago 1 2017 fonts
- -rw-r--r-- 1 root root 1006 jan 4 2017 fstab
- -rw-r--r-- 1 root root 2584 fev 7 2014 gai.conf
- drwxr-xr-x 4 root root 4096 out 5 11:07 ghostscript
- drwxr-xr-x 2 root root 4096 ago 1 2017 groff
- -rw-r--r-- 1 root root 913 out 24 17:18 group
- -rw------- 1 root root 926 out 24 16:18 group-
- drwxr-xr-x 2 root root 4096 ago 1 2017 grub.d
- -rw-r----- 1 root shadow 764 out 24 17:18 gshadow
- -rw------- 1 root root 774 out 24 16:18 gshadow-
- drwxr-xr-x 3 root root 4096 ago 26 2016 gss
- drwxr-xr-x 2 root root 4096 ago 1 2017 gtk-2.0
- -rw-r--r-- 1 root root 9 ago 7 2006 host.conf
- -rw-r--r-- 1 root root 10 out 4 15:17 hostname
- -rw-r--r-- 1 root root 199 out 5 11:38 hosts
- -rw-r--r-- 1 root root 411 ago 26 2016 hosts.allow
- -rw-r--r-- 1 root root 711 ago 26 2016 hosts.deny
- -rw-r--r-- 1 root root 206 dez 15 2016 idmapd.conf
- drwxr-xr-x 2 root root 4096 out 4 14:00 init
- drwxr-xr-x 2 root root 4096 out 24 17:30 init.d
- drwxr-xr-x 5 root root 4096 ago 1 2017 initramfs-tools
- -rw-r--r-- 1 root root 1748 ago 3 2014 inputrc
- drwxr-xr-x 3 root root 4096 ago 26 2016 insserv
- -rw-r--r-- 1 root root 859 nov 23 2012 insserv.conf
- drwxr-xr-x 2 root root 4096 out 24 17:30 insserv.conf.d
- drwxr-xr-x 3 root root 4096 out 4 13:59 iproute2
- drwxr-xr-x 2 root root 4096 ago 26 2016 iscsi
- -rw-r--r-- 1 root root 26 jul 13 2017 issue
- -rw-r--r-- 1 root root 19 jul 13 2017 issue.net
- drwxr-xr-x 5 root root 4096 ago 1 2017 kernel
- -rw-r--r-- 1 root root 144 ago 26 2016 kernel-img.conf
- drwxr-xr-x 2 root root 4096 out 4 13:59 ldap
- -rw-r--r-- 1 root root 38512 out 24 17:30 ld.so.cache
- -rw-r--r-- 1 root root 34 fev 15 2016 ld.so.conf
- drwxr-xr-x 2 root root 4096 out 5 11:06 ld.so.conf.d
- -rw-r--r-- 1 root root 191 set 7 2014 libaudit.conf
- -rw-r--r-- 1 root root 2995 jun 15 2017 locale.alias
- -rw-r--r-- 1 root root 9218 out 4 14:00 locale.gen
- lrwxrwxrwx 1 root root 37 out 24 11:32 localtime -> /usr/share/zoneinfo/America/Sao_Paulo
- drwxr-xr-x 5 root root 4096 out 24 17:30 logcheck
- -rw-r--r-- 1 root root 10477 ago 26 2016 login.defs
- -rw-r--r-- 1 root root 10477 mai 17 2017 login.defs.dpkg-dist
- -rw-r--r-- 1 root root 599 fev 19 2009 logrotate.conf
- drwxr-xr-x 2 root root 4096 out 24 17:30 logrotate.d
- drwxr-xr-x 3 root root 4096 ago 1 2017 lvm
- -r--r--r-- 1 root root 33 ago 26 2016 machine-id
- -rw-r--r-- 1 root root 111 out 14 2015 magic
- -rw-r--r-- 1 root root 111 out 14 2015 magic.mime
- -rw-r--r-- 1 root root 4016 out 5 11:07 mailcap
- -rw-r--r-- 1 root root 449 dez 28 2014 mailcap.order
- -rw-r--r-- 1 root root 7 out 4 13:59 mailname
- -rw-r--r-- 1 root root 125 mar 15 2015 mail.rc
- -rw-r--r-- 1 root root 5174 dez 13 2016 manpath.config
- -rw-r--r-- 1 root root 24301 mai 1 2016 mime.types
- -rw-r--r-- 1 root root 973 jan 31 2017 mke2fs.conf
- drwxr-xr-x 2 root root 4096 ago 1 2017 modprobe.d
- -rw-r--r-- 1 root root 195 ago 26 2016 modules
- drwxr-xr-x 2 root root 4096 out 4 13:58 modules-load.d
- -rw-r--r-- 1 root root 286 mai 30 2016 motd
- lrwxrwxrwx 1 root root 19 ago 1 2017 mtab -> ../proc/self/mounts
- -rw-r--r-- 1 root root 4920 jan 20 2017 Muttrc
- drwxr-xr-x 2 root root 4096 out 4 14:00 Muttrc.d
- drwxr-xr-x 4 root root 4096 out 24 17:30 mysql
- -rw-r--r-- 1 root root 8769 jan 11 2017 nanorc
- -rw-r--r-- 1 root root 767 set 9 2014 netconfig
- drwxr-xr-x 7 root root 4096 out 4 13:55 network
- drwxr-xr-x 3 root root 4096 ago 1 2017 NetworkManager
- -rw-r--r-- 1 root root 80 ago 26 2016 networks
- drwxr-xr-x 2 root root 4096 ago 1 2017 newt
- -rw-r--r-- 1 root root 497 jun 15 2017 nsswitch.conf
- -rw-r--r-- 1 root root 2024 ago 26 2016 ntp.conf
- -rw-r--r-- 1 root root 2069 mai 7 2017 ntp.conf.dpkg-dist
- drwxr-xr-x 2 root root 4096 ago 26 2016 opt
- lrwxrwxrwx 1 root root 21 jun 26 09:03 os-release -> ../usr/lib/os-release
- -rw-r--r-- 1 root root 552 jan 6 2016 pam.conf
- drwxr-xr-x 2 root root 4096 out 4 14:00 pam.d
- -rw-r--r-- 1 root root 3 ago 26 2016 papersize
- -rw-r--r-- 1 root root 1948 out 24 17:18 passwd
- -rw------- 1 root root 1988 out 24 17:18 passwd-
- drwxr-xr-x 5 root root 4096 out 4 13:59 perl
- drwxr-xr-x 3 root root 4096 out 24 16:13 php
- drwxr-xr-x 3 root root 4096 ago 1 2017 pm
- drwxr-xr-x 3 root root 4096 out 24 11:33 postgresql
- drwxr-xr-x 3 root root 4096 out 24 11:33 postgresql-common
- drwxr-xr-x 3 root root 4096 ago 26 2016 ppp
- -rw-r--r-- 1 root root 778 ago 26 2016 profile
- drwxr-xr-x 2 root root 4096 out 24 15:16 profile.d
- -rw-r--r-- 1 root root 2932 out 20 2014 protocols
- -rw------- 1 root root 0 ago 26 2016 .pwd.lock
- drwxr-xr-x 2 root root 4096 ago 26 2016 python
- drwxr-xr-x 2 root root 4096 out 4 13:59 python2.7
- drwxr-xr-x 2 root root 4096 ago 1 2017 python3
- drwxr-xr-x 2 root root 4096 out 4 14:00 python3.5
- drwxr-xr-x 2 root root 4096 out 24 17:30 rc0.d
- drwxr-xr-x 2 root root 4096 out 24 17:30 rc1.d
- drwxr-xr-x 2 root root 4096 out 24 17:30 rc2.d
- drwxr-xr-x 2 root root 4096 out 24 17:30 rc3.d
- drwxr-xr-x 2 root root 4096 out 24 17:30 rc4.d
- drwxr-xr-x 2 root root 4096 out 24 17:30 rc5.d
- drwxr-xr-x 2 root root 4096 out 24 17:30 rc6.d
- -rwxr-xr-x 1 root root 306 ago 26 2016 rc.local
- drwxr-xr-x 2 root root 4096 out 4 13:58 rcS.d
- -rw-r--r-- 1 root root 3173 jan 4 2015 reportbug.conf
- -rw-r--r-- 1 root root 1889 mai 1 2016 request-key.conf
- drwxr-xr-x 2 root root 4096 ago 1 2017 request-key.d
- -rw-r--r-- 1 root root 40 ago 26 2016 resolv.conf
- -rw-r--r-- 1 root root 45377 jul 12 2017 rkhunter.conf
- -rwxr-xr-x 1 root root 268 nov 8 2014 rmt
- -rw-r--r-- 1 root root 887 out 20 2014 rpc
- -rw-r--r-- 1 root root 1963 jan 18 2017 rsyslog.conf
- drwxr-xr-x 2 root root 4096 dez 19 2015 rsyslog.d
- -rw-r--r-- 1 root root 4179 mai 17 2017 securetty
- drwxr-xr-x 4 root root 4096 ago 1 2017 security
- drwxr-xr-x 2 root root 4096 ago 1 2017 selinux
- -rw-r--r-- 1 root root 10368 abr 5 2017 sensors3.conf
- drwxr-xr-x 2 root root 4096 ago 1 2017 sensors.d
- -rw-r--r-- 1 root root 19183 dez 25 2016 services
- drwxr-xr-x 2 root root 4096 ago 1 2017 sgml
- -rw-r----- 1 root shadow 1538 out 24 17:18 shadow
- -rw------- 1 root root 1565 out 24 17:18 shadow-
- -rw-r--r-- 1 root root 73 ago 26 2016 shells
- drwxr-xr-x 2 root root 4096 ago 1 2017 skel
- drwxr-xr-x 2 root root 4096 out 4 14:00 ssh
- drwxr-xr-x 4 root root 4096 out 4 13:59 ssl
- -rw-r--r-- 1 root root 771 jun 9 2012 staff-group-for-usr-local
- -rw-r--r-- 1 root root 337 out 24 17:18 subgid
- -rw------- 1 root root 356 out 24 17:18 subgid-
- -rw-r--r-- 1 root root 337 out 24 17:18 subuid
- -rw------- 1 root root 356 out 24 17:18 subuid-
- -r--r----- 1 root root 743 out 24 14:46 sudoers
- drwxr-xr-x 2 root root 4096 ago 1 2017 sudoers.d
- -rw-r--r-- 1 root root 2683 nov 22 2016 sysctl.conf
- drwxr-xr-x 2 root root 4096 out 24 11:33 sysctl.d
- drwxr-xr-x 2 root root 4096 out 24 11:33 sysstat
- drwxr-xr-x 5 root root 4096 out 4 13:59 systemd
- drwxr-xr-x 2 root root 4096 out 4 13:58 terminfo
- drwxr-xr-x 5 root root 4096 ago 1 2017 texmf
- -rw-r--r-- 1 root root 18 out 24 11:32 timezone
- drwxr-xr-x 2 root root 4096 mar 12 2016 tmpfiles.d
- -rw-r--r-- 1 root root 1260 mai 26 2014 ucf.conf
- drwxr-xr-x 4 root root 4096 out 4 13:59 udev
- drwxr-xr-x 3 root root 4096 ago 26 2016 ufw
- -rw-r--r-- 1 root root 353 nov 13 2016 updatedb.conf
- drwxr-xr-x 2 root root 4096 out 4 13:58 update-motd.d
- drwxr-xr-x 2 root root 4096 out 4 14:00 vim
- drwxr-xr-x 3 root root 4096 dez 14 2016 vmware-caf
- drwxr-xr-x 6 root root 4096 dez 14 2016 vmware-tools
- drwxr-xr-x 2 root root 4096 out 4 14:00 w3m
- -rw-r--r-- 1 root root 4942 mai 6 16:08 wgetrc
- drwxr-xr-x 7 root root 4096 ago 1 2017 X11
- drwxr-xr-x 3 root root 4096 ago 1 2017 xdg
- drwxr-xr-x 2 root root 4096 ago 1 2017 xml
- drwxr-xr-x 3 root root 4096 out 16 11:44 zabbix
- debian@paracambi:/etc$ sudo chown -R mysql debian:debian
- chown: não foi possível acessar 'debian:debian': Arquivo ou diretório não encontrado
- debian@paracambi:/etc$ sudo chown -R debian:debian mysql/
- debian@paracambi:/etc$ sudo mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ sudo rm -rf /etc/mysql /var/lib/mysq
- debian@paracambi:/etc$
- debian@paracambi:/etc$
- debian@paracambi:/etc$
- debian@paracambi:/etc$
- debian@paracambi:/etc$
- debian@paracambi:/etc$
- debian@paracambi:/etc$
- debian@paracambi:/etc$
- debian@paracambi:/etc$
- debian@paracambi:/etc$ sudo nano /var/log/mysqld.log
- debian@paracambi:/etc$ sudo nano /var/log/
- alternatives.log daemon.log.2.gz kern.log.1 rkhunter.log.old user.log
- apache2/ daemon.log.3.gz kern.log.2.gz sulog user.log.1
- apt/ debug lastlog syslog user.log.2.gz
- aptitude debug.1 messages syslog.1 vmware-caf/
- auth.log dmesg messages.1 syslog.2.gz vmware-install.log
- auth.log.1 dpkg.log messages.2.gz syslog.3.gz vmware-vmsvc.log
- auth.log.2.gz exim4/ messages.3.gz syslog.4.gz wtmp
- auth.log.3.gz faillog mysql/ syslog.5.gz zabbix-agent/
- btmp fontconfig.log ntpstats/ syslog.6.gz
- chkrootkit/ fsck/ postgresql/ syslog.7.gz
- daemon.log installer/ rkhunter.log sysstat/
- daemon.log.1 kern.log rkhunter.log.1 unattended-upgrades/
- debian@paracambi:/etc$ sudo nano /var/log/
- alternatives.log daemon.log.2.gz kern.log.1 rkhunter.log.old user.log
- apache2/ daemon.log.3.gz kern.log.2.gz sulog user.log.1
- apt/ debug lastlog syslog user.log.2.gz
- aptitude debug.1 messages syslog.1 vmware-caf/
- auth.log dmesg messages.1 syslog.2.gz vmware-install.log
- auth.log.1 dpkg.log messages.2.gz syslog.3.gz vmware-vmsvc.log
- auth.log.2.gz exim4/ messages.3.gz syslog.4.gz wtmp
- auth.log.3.gz faillog mysql/ syslog.5.gz zabbix-agent/
- btmp fontconfig.log ntpstats/ syslog.6.gz
- chkrootkit/ fsck/ postgresql/ syslog.7.gz
- daemon.log installer/ rkhunter.log sysstat/
- daemon.log.1 kern.log rkhunter.log.1 unattended-upgrades/
- debian@paracambi:/etc$ cd /var/log/mysql/
- -bash: cd: /var/log/mysql/: Permissão negada
- debian@paracambi:/etc$ ls
- acpi emacs libaudit.conf pam.d sensors.d
- adduser.conf email-addresses locale.alias papersize services
- adjtime environment locale.gen passwd sgml
- aliases exim4 localtime passwd- shadow
- alternatives fonts logcheck perl shadow-
- apache2 fstab login.defs php shells
- apparmor gai.conf login.defs.dpkg-dist pm skel
- apparmor.d ghostscript logrotate.conf postgresql ssh
- apt groff logrotate.d postgresql-common ssl
- apticron group lvm ppp staff-group-for-usr-local
- at.deny group- machine-id profile subgid
- bash.bashrc grub.d magic profile.d subgid-
- bash_completion gshadow magic.mime protocols subuid
- bash_completion.d gshadow- mailcap python subuid-
- bindresvport.blacklist gss mailcap.order python2.7 sudoers
- binfmt.d gtk-2.0 mailname python3 sudoers.d
- ca-certificates host.conf mail.rc python3.5 sysctl.conf
- ca-certificates.conf hostname manpath.config rc0.d sysctl.d
- ca-certificates.conf.dpkg-old hosts mime.types rc1.d sysstat
- calendar hosts.allow mke2fs.conf rc2.d systemd
- chkrootkit.conf hosts.deny modprobe.d rc3.d terminfo
- console-setup idmapd.conf modules rc4.d texmf
- cron.d init modules-load.d rc5.d timezone
- cron.daily init.d motd rc6.d tmpfiles.d
- cron.hourly initramfs-tools mtab rc.local ucf.conf
- cron.monthly inputrc Muttrc rcS.d udev
- crontab insserv Muttrc.d reportbug.conf ufw
- cron.weekly insserv.conf nanorc request-key.conf updatedb.conf
- dbus-1 insserv.conf.d netconfig request-key.d update-motd.d
- debconf.conf iproute2 network resolv.conf vim
- debian_version iscsi NetworkManager rkhunter.conf vmware-caf
- default issue networks rmt vmware-tools
- deluser.conf issue.net newt rpc w3m
- dhcp kernel nsswitch.conf rsyslog.conf wgetrc
- dictionaries-common kernel-img.conf ntp.conf rsyslog.d X11
- discover.conf.d ldap ntp.conf.dpkg-dist securetty xdg
- discover-modprobe.conf ld.so.cache opt security xml
- dpkg ld.so.conf os-release selinux zabbix
- drirc ld.so.conf.d pam.conf sensors3.conf
- debian@paracambi:/etc$ sudo cd /var/log/mysql/
- sudo: cd: comando não encontrado
- debian@paracambi:/etc$ sudo su
- root@paracambi:/etc# cd /var/log/mysql/
- root@paracambi:/var/log/mysql# ls
- error.log
- root@paracambi:/var/log/mysql# cat error.log
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: The InnoDB memory heap is disabled
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Compressed tables use zlib 1.2.8
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Using Linux native AIO
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Using SSE crc32 instructions
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Completed initialization of buffer pool
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
- 2018-10-24 17:30:04 139729567019584 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
- 2018-10-24 17:30:05 139729567019584 [Warning] InnoDB: New log files created, LSN=45883
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Doublewrite buffer not found: creating new
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Doublewrite buffer created
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: 128 rollback segment(s) are active.
- 2018-10-24 17:30:05 139729567019584 [Warning] InnoDB: Creating foreign key constraint system tables.
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Foreign key constraint system tables created
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Creating tablespace and datafile system tables.
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Tablespace and datafile system tables created.
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Waiting for purge to start
- 2018-10-24 17:30:05 139729567019584 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 0
- 2018-10-24 17:30:05 139728951142144 [Note] InnoDB: Dumping buffer pool(s) not yet started
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: The InnoDB memory heap is disabled
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Compressed tables use zlib 1.2.8
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Using Linux native AIO
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Using SSE crc32 instructions
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Completed initialization of buffer pool
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Highest supported file format is Barracuda.
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: 128 rollback segment(s) are active.
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Waiting for purge to start
- 2018-10-24 17:30:08 140141257527872 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616799
- 2018-10-24 17:30:08 140140643051264 [Note] InnoDB: Dumping buffer pool(s) not yet started
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: The InnoDB memory heap is disabled
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Compressed tables use zlib 1.2.8
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Using Linux native AIO
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Using SSE crc32 instructions
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Completed initialization of buffer pool
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Highest supported file format is Barracuda.
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: 128 rollback segment(s) are active.
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Waiting for purge to start
- 2018-10-24 17:30:11 139662623511104 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616809
- 2018-10-24 17:30:11 139662010050304 [Note] InnoDB: Dumping buffer pool(s) not yet started
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: The InnoDB memory heap is disabled
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Compressed tables use zlib 1.2.8
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Using Linux native AIO
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Using SSE crc32 instructions
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Completed initialization of buffer pool
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Highest supported file format is Barracuda.
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: 128 rollback segment(s) are active.
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Waiting for purge to start
- 2018-10-24 17:30:14 140249597588032 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616819
- 2018-10-24 17:30:14 140249597588032 [Note] Plugin 'FEEDBACK' is disabled.
- 2018-10-24 17:30:14 140248981923584 [Note] InnoDB: Dumping buffer pool(s) not yet started
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Using mutexes to ref count buffer pool pages
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: The InnoDB memory heap is disabled
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Compressed tables use zlib 1.2.8
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Using Linux native AIO
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Using SSE crc32 instructions
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Completed initialization of buffer pool
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Highest supported file format is Barracuda.
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: 128 rollback segment(s) are active.
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Waiting for purge to start
- 2018-10-24 17:30:19 140046029140544 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616829
- 2018-10-24 17:30:19 140046029140544 [Note] Plugin 'FEEDBACK' is disabled.
- 2018-10-24 17:30:19 140045411378944 [Note] InnoDB: Dumping buffer pool(s) not yet started
- 2018-10-24 17:30:19 140046029140544 [Note] Server socket created on IP: '127.0.0.1'.
- 2018-10-24 17:30:19 140046029140544 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 98: Address already in use
- 2018-10-24 17:30:19 140046029140544 [ERROR] Do you already have another mysqld server running on port: 3306 ?
- 2018-10-24 17:30:19 140046029140544 [ERROR] Aborting
- root@paracambi:/var/log/mysql# ^C
- root@paracambi:/var/log/mysql# exit
- exit
- debian@paracambi:/etc$ sudo /usr/bin/mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ sudo su
- root@paracambi:/etc# exit
- exit
- debian@paracambi:/etc$ history
- 1 sudo su
- 2 su
- 3 su suez
- 4 sudo su
- 5 sudo ifconfig
- 6 exit
- 7 sudo apt install python2.7 python2.7-dev python-setuptools python-dev build-essential libssl-dev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-dev
- 8 sudo apt install python2.7 python2.7-dev python-setuptools python-dev build-essential libssl-dev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-turbo-dev
- 9 sudo apt install libreadline-dev wv poppler-utils
- 10 sudo apt install git
- 11 wget --no-check-certificate https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz
- 12 sudo apt install wget
- 13 wget --no-check-certificate https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz
- 14 ls
- 15 pwd
- 16 cd /opt
- 17 ls
- 18 cd /home/debian/
- 19 ls
- 20 mv Plone-5.0.4-UnifiedInstaller.tgz /opt
- 21 sudo mv Plone-5.0.4-UnifiedInstaller.tgz /opt
- 22 sudo su
- 23 cd /opt/
- 24 ls
- 25 tar -xf Plone-5.0.4-UnifiedInstaller.tgz
- 26 sudo tar -xf Plone-5.0.4-UnifiedInstaller.tgz
- 27 ls
- 28 rm -rd Plone-5.0.4-UnifiedInstaller
- 29 ls
- 30 pwd
- 31 ls -lha
- 32 ls
- 33 cd Plone-5.0.4-UnifiedInstaller/
- 34 ls
- 35 cd ..
- 36 ls
- 37 sudo rm -rf Plone-5.0.4-UnifiedInstaller
- 38 ls
- 39 sudo tar -xf Plone-5.0.4-UnifiedInstaller.tgz
- 40 ls
- 41 cd Plone-5.0.4-UnifiedInstaller/
- 42 ls
- 43 ./install.sh
- 44 sudo ./install.sh
- 45 sudo apt-get install zlibg-dev
- 46 sudo apt-get install zlibg
- 47 sudo apt-get install libz
- 48 sudo apt-cache search libz
- 49 sudo apt install zlib-devel
- 50 sudo apt install zlibg-devel
- 51 apt-get install zlib1g-dev
- 52 sudo apt-get install zlib1g-dev
- 53 sudo ./install.sh
- 54 cd /opt
- 55 ls
- 56 cd plone/
- 57 ls
- 58 cd zinstance/
- 59 bin/plonectl fg
- 60 sudo bin/plonectl fg
- 61 sudo bin/buildout -c develop.cfg
- 62 sudo bin/plonectl fg
- 63 sudo gedit /etc/hostname
- 64 sudo nano /etc/hostname
- 65 sudo nano /etc/hosts
- 66 sudo bin/plonectl fg
- 67 sudo bin/plonectl start
- 68 sudo bin/plonectl stop
- 69 ls
- 70 cd plone/
- 71 cd zinstance/
- 72 ls
- 73 bin/plonectl start
- 74 sudo bin/plonectl start
- 75 cd /opt/plone/zinstance/
- 76 sudo bin/plonectl stop
- 77 sudo bin/plonectl fg
- 78 sudo bin/plonectl stop
- 79 sudo bin/plonectl fg
- 80 ls
- 81 cat develop.cfg
- 82 cat buildout.cfg
- 83 sudo nano buildout.cfg
- 84 sudo bin/plonectl start
- 85 sudo cat buildout.cfg
- 86 cat buildout.cfg
- 87 sudo cat buildout.cfg
- 88 ls
- 89 cd ..
- 90 l
- 91 ls
- 92 cd ..
- 93 ls
- 94 cd plone/
- 95 ls
- 96 cd zinstance/
- 97 ls
- 98 cd var
- 99 cd develop-eggs/
- 100 ls
- 101 cd ..
- 102 ls
- 103 sudo bin/plonectl fg
- 104 sudo bin/plonectl stop
- 105 sudo bin/plonectl fg
- 106 sudo plonectl fg
- 107 sudo plonectl start
- 108 cd /opt/
- 109 ls
- 110 sudo suy
- 111 sudo su
- 112 ls
- 113 pwd
- 114 sudo apt-get install apache2
- 115 sudo a2enmod rewrite
- 116 sudo a2enmod proxy
- 117 sudo a2enmod proxy_http
- 118 sudo a2enmod headers
- 119 sudo /etc/init.d/apache2 restart
- 120 sudo nano /etc/apache2/sites-enabled/yoursite.conf
- 121 sudo apache2ctl restart
- 122 exit
- 123 cd /opt/plone
- 124 ls
- 125 cd zinstance/
- 126 ls
- 127 cd /opt/plone
- 128 ls
- 129 cd zinstance/
- 130 ls
- 131 cd ..
- 132 ls
- 133 cd Plone-docs
- 134 ls
- 135 cd ..
- 136 ls
- 137 cd buildout-cache/
- 138 ls
- 139 cd downloads/
- 140 ls
- 141 cd dist/
- 142 ls
- 143 cd~
- 144 cd ~
- 145 ls
- 146 cd /opt/plone
- 147 ls
- 148 exit
- 149 cd /opt/plone/zinstance/
- 150 ls
- 151 cat buildout.cfg
- 152 sud cat buildout.cfg
- 153 o
- 154 sudo cat buildout.cfg
- 155 sudo nano buildout.cfg
- 156 ls
- 157 cd /opt/plone
- 158 ls
- 159 cd zinstance/
- 160 ls
- 161 sudo nano buildout.cfg
- 162 sudo vim buildout.cfg
- 163 sudo apt-get install vim
- 164 sudo vim buildout.cfg
- 165 cd /opt/plone
- 166 ls
- 167 cd Plone-docs
- 168 ls
- 169 cd ..
- 170 zinstance
- 171 cd zinstance/
- 172 ls
- 173 cd src
- 174 ls
- 175 readme
- 176 README.txt
- 177 nano README.txt
- 178 ls
- 179 cd /opt/plone
- 180 ls
- 181 cd buildout-cache/
- 182 ls
- 183 cd downloads/
- 184 ls
- 185 cd dist/
- 186 ls
- 187 cd ~
- 188 cd /opt/plone
- 189 ls
- 190 cd zinstance
- 191 ls
- 192 cd develop-eggs/
- 193 ls
- 194 cd ..
- 195 cd src
- 196 ls
- 197 cd vat
- 198 cd var
- 199 cd ..
- 200 ls
- 201 cd vat
- 202 cd var
- 203 ls
- 204 cd lib
- 205 ls
- 206 cd ..
- 207 cd include
- 208 ls
- 209 cd ..
- 210 vim base.cfg
- 211 vim buildout.cfg
- 212 sudo vim buildout.cfg
- 213 sudo vim buildout.cfg
- 214 cd /opt/plone
- 215 ls
- 216 cd /opt/
- 217 ls
- 218 cd Plone-5.0.4-UnifiedInstaller/
- 219 ls
- 220 cd buildout_templates
- 221 ls
- 222 nano buildout.cfg
- 223 cd /opt/plone
- 224 ls
- 225 cd zinstance/
- 226 ls
- 227 cd products
- 228 ls
- 229 nano README.txt
- 230 cd src
- 231 ls
- 232 cd ..
- 233 cd src
- 234 ls
- 235 nano README.txt
- 236 cd ..
- 237 ls
- 238 nano pip-selfcheck.json
- 239 dc bin
- 240 cd bin
- 241 ls
- 242 cd /opt/plone
- 243 ls
- 244 cd zinstance/
- 245 ls
- 246 cd products
- 247 ls
- 248 cd ..
- 249 ls
- 250 cd include
- 251 ls
- 252 cd /lib
- 253 ls
- 254 cd /bin
- 255 ls
- 256 cd less
- 257 cd lessfile
- 258 cd open
- 259 su
- 260 cd ..
- 261 ls
- 262 cd usr
- 263 ls
- 264 cd opt
- 265 cd /opt
- 266 ls
- 267 cd lost+found/
- 268 cd plone
- 269 ls
- 270 cd zinstance/
- 271 ls
- 272 cd local
- 273 ls
- 274 cd lib
- 275 ls
- 276 cd /include
- 277 cd ..
- 278 cd include
- 279 ls
- 280 cd ..
- 281 cd bin
- 282 ls
- 283 ls
- 284 cd /opt/plone
- 285 ls
- 286 cd zinstance/
- 287 ls
- 288 cd src
- 289 ls
- 290 cd ..
- 291 ls
- 292 cd parts
- 293 ls
- 294 cd instance
- 295 ls
- 296 cd bin
- 297 ls
- 298 cd in
- 299 cd interpreter
- 300 ls
- 301 nano interpreter
- 302 cd ..
- 303 ls
- 304 cd etc
- 305 ls
- 306 cd ..
- 307 ls
- 308 cd inituser
- 309 nano inituser
- 310 ls
- 311 cd etc
- 312 ls
- 313 nano site.zcml
- 314 cd /opt/
- 315 ls
- 316 cd plone/
- 317 ls
- 318 git init
- 319 sudo git init
- 320 git add .
- 321 sudo git add .
- 322 exit
- 323 cd /opt/plone/
- 324 exit
- 325 ls
- 326 cd /opt/
- 327 l
- 328 ls
- 329 git clone [email protected]:plonegovbr/portal.buildout.git
- 330 ls
- 331 sudo git clone [email protected]:plonegovbr/portal.buildout.git
- 332 git clone https://github.com/plonegovbr/portal.buildout.git
- 333 sudo git clone https://github.com/plonegovbr/portal.buildout.git
- 334 ls
- 335 cd portal.buildout/
- 336 ls
- 337 virtualenv py27
- 338 sudo apt update && sudo apt upgrade -y
- 339 sudo apt install -y build-essential libssl-dev libxml2-dev libxslt1-dev libbz2-dev zlib1g-dev python-setuptools python-dev python-virtualenv libjpeg62-turbo-dev libreadline-gplv2-dev python-imaging python-pip wv poppler-utils git
- 340 virtualenv py27
- 341 sudo virtualenv py27
- 342 source py27/bin/activate
- 343 sudo nano buildout.cfg
- 344 pip install -U setuptools==36.6.1
- 345 sudo su
- 346 bin/buildout
- 347 ls -la
- 348 ls -lah
- 349 CD ..
- 350 ls
- 351 cd ..
- 352 ls
- 353 ls -lah
- 354 sudo chown -R debian:debian portal.buildout/
- 355 ls -la
- 356 cd portal.buildout/
- 357 bin/buildout
- 358 /opt/portal.buildout/
- 359 çd /opt/portal.buildout/
- 360 cd /opt/portal.buildout/
- 361 bin/instance start
- 362 bin/instance stop
- 363 cd ..
- 364 l
- 365 ls
- 366 cd plor
- 367 cd plone
- 368 cd zinstance/
- 369 ls
- 370 cd ..
- 371 ls
- 372 cd ..
- 373 ls
- 374 cd portal.buildout/
- 375 sudo useradd --system --shell /bin/bash --comment 'Plone Administrator' --user-group -m --home-dir /opt/plone plone
- 376 sudo passwd plone
- 377 su - plone
- 378 sudo nano /etc/sudoers
- 379 su - plone
- 380 cd /opt/
- 381 s
- 382 ls
- 383 cd plone.old/ plone
- 384 mv plone.old/ plone
- 385 sudo mv plone.old/ plone
- 386 ls
- 387 exit
- 388 ls
- 389 pwd
- 390 apache
- 391 apache2
- 392 apache3
- 393 apt update
- 394 sudo apt update
- 395 sudo apt install apache2
- 396 ls
- 397 pwd
- 398 git clone https://gitlab.ifg.edu.br/DTI/repositorio-digital.git
- 399 ls
- 400 cd repositorio-digital/
- 401 ls
- 402 cd dspace
- 403 ls
- 404 cd bin
- 405 ks
- 406 ls
- 407 cd ds
- 408 cat dspace
- 409 cd ,,
- 410 cd ..
- 411 ls
- 412 cd ..
- 413 ls
- 414 sh compilar_rodar.sh
- 415 ls
- 416 cd repositorio-digital/
- 417 ls
- 418 cat build.properties
- 419 cd re
- 420 cd repositorio-digital/
- 421 ls
- 422 cd repositorio-digital/
- 423 ls
- 424 addgroup dspace
- 425 psql
- 426 apt-cache search postgres
- 427 sudo apt-get update
- 428 apt-get upgrade
- 429 sudo apt-get upgrade
- 430 sudo apt-get install postgresql
- 431 addgroup dspace
- 432 psql
- 433 psql -u postgres
- 434 psql --help
- 435 psql -U postgres
- 436 psql -U postgres -W
- 437 psql -U postgres
- 438 psql -U postgres -w
- 439 psql -U root
- 440 psql -U root -w
- 441 psql
- 442 sudo su
- 443 sudo -u postgres
- 444 su postgres
- 445 sudo -u postgres -i
- 446 sudo su
- 447 exit
- 448 ls
- 449 sudo mkdir /opt/jdk
- 450 tar -zxf jdk-8u191-linux-x64.tar.gz -C /opt/jdk/
- 451 sudo tar -zxf jdk-8u191-linux-x64.tar.gz -C /opt/jdk/
- 452 update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_191/bin/java 100
- 453 sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_191/bin/java 100
- 454 sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_191/bin/javac 100
- 455 sudo su
- 456 ls
- 457 cd repositorio-digital/
- 458 ls
- 459 cd ..
- 460 ls
- 461 cd /opt
- 462 ls
- 463 cd plone/
- 464 ls
- 465 cd zinstance/
- 466 bin/plonectl stop
- 467 sudp bin/plonectl stop
- 468 sudo bin/plonectl stop
- 469 sudo systemctl stop apache2
- 470 ls
- 471 cd repositorio-digital/
- 472 ls
- 473 nano build.properties
- 474 exit
- 475 cd /home/debian/
- 476 ls
- 477 sudo tar -vzxf apache-maven-3.5.4-bin.tar.gz
- 478 cd repositorio-digital/
- 479 ls
- 480 cd dspace
- 481 ls
- 482 cd ..
- 483 ls
- 484 ls -la
- 485 cd ..
- 486 ls
- 487 sudo chown -R dspace:dspace repositorio-digital/
- 488 ls -la
- 489 cd repositorio-digital/
- 490 ls
- 491 ls -la
- 492 su dspace
- 493 sudo su
- 494 su dspace
- 495 exit
- 496 ls
- 497 sudo apt-get update -y
- 498 sudo apt-get upgrade -y
- 499 sudo systemctl start apache2
- 500 sudo systemctl enable apache2
- 501 sudo apt-get install php7.0 php7.0-cli php7.0-mcrypt php7.0-intl php7.0-mysql php7.0-curl php7.0-gd php7.0-soap php7.0-xml php7.0-zip php7.0-readline php7.0-opcache php7.0-json php7.0-gd -y
- 502 sudo nano /etc/php/7.0/apache2/php.ini
- 503 sudo apt-get install mariadb-server -y
- 504 sudo systemctl start mysql
- 505 sudo systemctl enable mysql
- 506 sudo mysql_secure_installation
- 507 sudo systemctl start mysql
- 508 sudo systemctl stop mysql
- 509 sudo systemctl start mysql
- 510 sudo systemctl enable mysql
- 511 /lib/systemd/systemd-sysv-install enable mysql
- 512 sudo /lib/systemd/systemd-sysv-install enable mysql
- 513 sudo mysql_secure_installation
- 514 mysql -u root -p
- 515 sudo mysql_secure_installation
- 516 mysql -u root -p
- 517 sudo nano /etc/my.cnf
- 518 cd /etc
- 519 ls
- 520 cd mysql/
- 521 ls
- 522 sudo nano my.cnf
- 523 mysql -u root -p
- 524 sudo nano my.cnf
- 525 mysql -u root -p
- 526 sudo nano my.cnf
- 527 mysql -u localhost -u root -p mysql
- 528 mysql -u root -p
- 529 mysql -u root
- 530*
- 531 mysql -u root
- 532* sudo /etc/init.d/mysql s
- 533* sudo mysqld_safe --skip-grant-tables &mysql -u root -p
- 534 mysql -uroot
- 535 mysql -u root -p
- 536 mysql -u root
- 537 mysql -u root -p
- 538 /etc/init.d/mysql stop
- 539 sudo systemctl stop mysql
- 540 /etc/init.d/mysql start
- 541 mysql -u root -p
- 542 /etc/init.d/mysql stop
- 543 mysql -u root -p
- 544 sudo systemctl stop mariadb.service
- 545 sudo service mysql stop
- 546 sudo mysqld_safe --skip-grant-tables --skip-networking &
- 547 ps
- 548 top
- 549 ps
- 550 top
- 551 renice
- 552 pstree
- 553 ps
- 554 PPID
- 555 top
- 556 ps aux | grep mysql
- 557 sudo kill -9 23236
- 558 sudo kill -9 26236
- 559 ps aux | grep mysql
- 560 sudo kill -9 26883
- 561 sudo kill -9 181024
- 562 mysql -u root
- 563 sudo systemctl start mysql
- 564 service mysql status
- 565 sudo service mysql status
- 566 cd /var/lib/mysql
- 567 sudo su
- 568 sudo service mysql status
- 569*
- 570 sudo nano /etc/mysql/my.cnf
- 571 sudo mysql
- 572 sudo mysql -e
- 573 sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'"
- 574 sudo systemctl stop mysql
- 575 sudo mysqld_safe --skip-grant-tables --skip-networking &
- 576 cd /
- 577 sudo service mysql stop
- 578 sudo apt-get --purge remove "mysql*"
- 579 sudo rm -rf /etc/mysql/
- 580 locate mysql
- 581 sudo updatedb
- 582 locate mysql
- 583 sudo apt-get install mariadb-server -y
- 584 sudo systemctl enable mysql
- 585 /etc/systemd/system/mysqld.service
- 586 ßudo /etc/systemd/system/mysqld.service
- 587 sudo /etc/systemd/system/mysqld.service
- 588 sudo /etc/mysql/conf.d/
- 589 ls
- 590 cd /etc/mysql/conf.d/
- 591 ls
- 592 sudo nano mysql
- 593 sudo nano mysql.cnf
- 594 sudo mysql_secure_installation
- 595 sudo nano /etc/mysql/my.cnf
- 596 sudo mysql_secure_installation
- 597 sudo apt-get update
- 598 sudo apt-get -y install mariadb-server mariadb-client
- 599 sudo mysql_secure_installation
- 600 sudo service mysql stop
- 601* sudo apt-get --purge removesudo apt-get --purge remove "mysql*
- 602 sudo apt-get --purge remove "mysql*
- 603 sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
- 604 sudo rm -rf /etc/mysql /var/lib/mysql
- 605 sudo apt-get autoremove
- 606 sudo apt-get autoclean
- 607 apt-get update
- 608 apt-get upgrade
- 609 sudo su
- 610 ls
- 611 cd ..
- 612 ls
- 613 cd ..
- 614 ls
- 615 cd mysql
- 616 ls
- 617 cd ..
- 618 ls -la
- 619 sudo chown -R mysql debian:debian
- 620 sudo chown -R debian:debian mysql/
- 621 sudo mysql_secure_installation
- 622 sudo rm -rf /etc/mysql /var/lib/mysq
- 623 sudo nano /var/log/mysqld.log
- 624 cd /var/log/mysql/
- 625 ls
- 626 sudo cd /var/log/mysql/
- 627 sudo su
- 628 sudo /usr/bin/mysql_secure_installation
- 629 sudo su
- 630 history
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Note, selecting 'mysql-server-core-5.5' for glob 'mysql-server-core-*'
- Note, selecting 'mysql-server-core-5.6' for glob 'mysql-server-core-*'
- Note, selecting 'mysql-server-core-5.7' for glob 'mysql-server-core-*'
- O pacote 'mysql-server-core-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-server-core-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-server-core-5.7' não está instalado, por isso não será removido
- Note, selecting 'mysql-client-core-5.5' for glob 'mysql-client-core-*'
- Note, selecting 'mysql-client-core-5.6' for glob 'mysql-client-core-*'
- Note, selecting 'mysql-client-core-5.7' for glob 'mysql-client-core-*'
- O pacote 'mysql-client-core-5.5' não está instalado, por isso não será removido
- O pacote 'mysql-client-core-5.6' não está instalado, por isso não será removido
- O pacote 'mysql-client-core-5.7' não está instalado, por isso não será removido
- O pacote 'mysql-client' não está instalado, por isso não será removido
- O pacote 'mysql-server' não está instalado, por isso não será removido
- Os seguintes pacotes foram instalados automaticamente e já não são necessários:
- galera-3 libaio1 libdbi-perl libjemalloc1 libterm-readkey-perl socat
- Utilize 'sudo apt autoremove' para os remover.
- Os pacotes a seguir serão REMOVIDOS:
- libdbd-mysql-perl* libmariadbclient18* mariadb-client-10.1* mariadb-client-core-10.1* mariadb-common* mariadb-server*
- mariadb-server-10.1* mariadb-server-core-10.1* mysql-common*
- 0 pacotes atualizados, 0 pacotes novos instalados, 9 a serem removidos e 0 não atualizados.
- Depois desta operação, 181 MB de espaço em disco serão liberados.
- Você quer continuar? [S/n] S
- (Lendo banco de dados ... 64549 ficheiros e directórios actualmente instalados.)
- A remover libdbd-mysql-perl (4.041-2) ...
- A remover libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- A remover mariadb-server (10.1.26-0+deb9u1) ...
- A remover mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- A remover mariadb-common (10.1.26-0+deb9u1) ...
- update-alternatives: aviso: alternativa /etc/mysql/mariadb.cnf (parte do grupo de ligação my.cnf) não existe; a remover da lista de alternativas
- update-alternatives: aviso: alternativa /etc/mysql/my.cnf.fallback (parte do grupo de ligação my.cnf) não existe; a remover da lista de alternativas
- update-alternatives: aviso: /etc/alternatives/my.cnf em suspenso; será actualizado com a melhor escolha
- A remover mysql-common (5.8+1.0.2) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- (Lendo banco de dados ... 64255 ficheiros e directórios actualmente instalados.)
- A purgar os ficheiros de configuração para mariadb-common (10.1.26-0+deb9u1) ...
- A purgar os ficheiros de configuração para mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A purgar os ficheiros de configuração para mysql-common (5.8+1.0.2) ...
- A purgar os ficheiros de configuração para mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- userdel: user mysql is currently used by process 26235
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- debian@paracambi:/etc$ history
- 1 sudo su
- 2 su
- 3 su suez
- 4 sudo su
- 5 sudo ifconfig
- 6 exit
- 7 sudo apt install python2.7 python2.7-dev python-setuptools python-dev build-essential libssl-dev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-dev
- 8 sudo apt install python2.7 python2.7-dev python-setuptools python-dev build-essential libssl-dev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-turbo-dev
- 9 sudo apt install libreadline-dev wv poppler-utils
- 10 sudo apt install git
- 11 wget --no-check-certificate https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz
- 12 sudo apt install wget
- 13 wget --no-check-certificate https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz
- 14 ls
- 15 pwd
- 16 cd /opt
- 17 ls
- 18 cd /home/debian/
- 19 ls
- 20 mv Plone-5.0.4-UnifiedInstaller.tgz /opt
- 21 sudo mv Plone-5.0.4-UnifiedInstaller.tgz /opt
- 22 sudo su
- 23 cd /opt/
- 24 ls
- 25 tar -xf Plone-5.0.4-UnifiedInstaller.tgz
- 26 sudo tar -xf Plone-5.0.4-UnifiedInstaller.tgz
- 27 ls
- 28 rm -rd Plone-5.0.4-UnifiedInstaller
- 29 ls
- 30 pwd
- 31 ls -lha
- 32 ls
- 33 cd Plone-5.0.4-UnifiedInstaller/
- 34 ls
- 35 cd ..
- 36 ls
- 37 sudo rm -rf Plone-5.0.4-UnifiedInstaller
- 38 ls
- 39 sudo tar -xf Plone-5.0.4-UnifiedInstaller.tgz
- 40 ls
- 41 cd Plone-5.0.4-UnifiedInstaller/
- 42 ls
- 43 ./install.sh
- 44 sudo ./install.sh
- 45 sudo apt-get install zlibg-dev
- 46 sudo apt-get install zlibg
- 47 sudo apt-get install libz
- 48 sudo apt-cache search libz
- 49 sudo apt install zlib-devel
- 50 sudo apt install zlibg-devel
- 51 apt-get install zlib1g-dev
- 52 sudo apt-get install zlib1g-dev
- 53 sudo ./install.sh
- 54 cd /opt
- 55 ls
- 56 cd plone/
- 57 ls
- 58 cd zinstance/
- 59 bin/plonectl fg
- 60 sudo bin/plonectl fg
- 61 sudo bin/buildout -c develop.cfg
- 62 sudo bin/plonectl fg
- 63 sudo gedit /etc/hostname
- 64 sudo nano /etc/hostname
- 65 sudo nano /etc/hosts
- 66 sudo bin/plonectl fg
- 67 sudo bin/plonectl start
- 68 sudo bin/plonectl stop
- 69 ls
- 70 cd plone/
- 71 cd zinstance/
- 72 ls
- 73 bin/plonectl start
- 74 sudo bin/plonectl start
- 75 cd /opt/plone/zinstance/
- 76 sudo bin/plonectl stop
- 77 sudo bin/plonectl fg
- 78 sudo bin/plonectl stop
- 79 sudo bin/plonectl fg
- 80 ls
- 81 cat develop.cfg
- 82 cat buildout.cfg
- 83 sudo nano buildout.cfg
- 84 sudo bin/plonectl start
- 85 sudo cat buildout.cfg
- 86 cat buildout.cfg
- 87 sudo cat buildout.cfg
- 88 ls
- 89 cd ..
- 90 l
- 91 ls
- 92 cd ..
- 93 ls
- 94 cd plone/
- 95 ls
- 96 cd zinstance/
- 97 ls
- 98 cd var
- 99 cd develop-eggs/
- 100 ls
- 101 cd ..
- 102 ls
- 103 sudo bin/plonectl fg
- 104 sudo bin/plonectl stop
- 105 sudo bin/plonectl fg
- 106 sudo plonectl fg
- 107 sudo plonectl start
- 108 cd /opt/
- 109 ls
- 110 sudo suy
- 111 sudo su
- 112 ls
- 113 pwd
- 114 sudo apt-get install apache2
- 115 sudo a2enmod rewrite
- 116 sudo a2enmod proxy
- 117 sudo a2enmod proxy_http
- 118 sudo a2enmod headers
- 119 sudo /etc/init.d/apache2 restart
- 120 sudo nano /etc/apache2/sites-enabled/yoursite.conf
- 121 sudo apache2ctl restart
- 122 exit
- 123 cd /opt/plone
- 124 ls
- 125 cd zinstance/
- 126 ls
- 127 cd /opt/plone
- 128 ls
- 129 cd zinstance/
- 130 ls
- 131 cd ..
- 132 ls
- 133 cd Plone-docs
- 134 ls
- 135 cd ..
- 136 ls
- 137 cd buildout-cache/
- 138 ls
- 139 cd downloads/
- 140 ls
- 141 cd dist/
- 142 ls
- 143 cd~
- 144 cd ~
- 145 ls
- 146 cd /opt/plone
- 147 ls
- 148 exit
- 149 cd /opt/plone/zinstance/
- 150 ls
- 151 cat buildout.cfg
- 152 sud cat buildout.cfg
- 153 o
- 154 sudo cat buildout.cfg
- 155 sudo nano buildout.cfg
- 156 ls
- 157 cd /opt/plone
- 158 ls
- 159 cd zinstance/
- 160 ls
- 161 sudo nano buildout.cfg
- 162 sudo vim buildout.cfg
- 163 sudo apt-get install vim
- 164 sudo vim buildout.cfg
- 165 cd /opt/plone
- 166 ls
- 167 cd Plone-docs
- 168 ls
- 169 cd ..
- 170 zinstance
- 171 cd zinstance/
- 172 ls
- 173 cd src
- 174 ls
- 175 readme
- 176 README.txt
- 177 nano README.txt
- 178 ls
- 179 cd /opt/plone
- 180 ls
- 181 cd buildout-cache/
- 182 ls
- 183 cd downloads/
- 184 ls
- 185 cd dist/
- 186 ls
- 187 cd ~
- 188 cd /opt/plone
- 189 ls
- 190 cd zinstance
- 191 ls
- 192 cd develop-eggs/
- 193 ls
- 194 cd ..
- 195 cd src
- 196 ls
- 197 cd vat
- 198 cd var
- 199 cd ..
- 200 ls
- 201 cd vat
- 202 cd var
- 203 ls
- 204 cd lib
- 205 ls
- 206 cd ..
- 207 cd include
- 208 ls
- 209 cd ..
- 210 vim base.cfg
- 211 vim buildout.cfg
- 212 sudo vim buildout.cfg
- 213 sudo vim buildout.cfg
- 214 cd /opt/plone
- 215 ls
- 216 cd /opt/
- 217 ls
- 218 cd Plone-5.0.4-UnifiedInstaller/
- 219 ls
- 220 cd buildout_templates
- 221 ls
- 222 nano buildout.cfg
- 223 cd /opt/plone
- 224 ls
- 225 cd zinstance/
- 226 ls
- 227 cd products
- 228 ls
- 229 nano README.txt
- 230 cd src
- 231 ls
- 232 cd ..
- 233 cd src
- 234 ls
- 235 nano README.txt
- 236 cd ..
- 237 ls
- 238 nano pip-selfcheck.json
- 239 dc bin
- 240 cd bin
- 241 ls
- 242 cd /opt/plone
- 243 ls
- 244 cd zinstance/
- 245 ls
- 246 cd products
- 247 ls
- 248 cd ..
- 249 ls
- 250 cd include
- 251 ls
- 252 cd /lib
- 253 ls
- 254 cd /bin
- 255 ls
- 256 cd less
- 257 cd lessfile
- 258 cd open
- 259 su
- 260 cd ..
- 261 ls
- 262 cd usr
- 263 ls
- 264 cd opt
- 265 cd /opt
- 266 ls
- 267 cd lost+found/
- 268 cd plone
- 269 ls
- 270 cd zinstance/
- 271 ls
- 272 cd local
- 273 ls
- 274 cd lib
- 275 ls
- 276 cd /include
- 277 cd ..
- 278 cd include
- 279 ls
- 280 cd ..
- 281 cd bin
- 282 ls
- 283 ls
- 284 cd /opt/plone
- 285 ls
- 286 cd zinstance/
- 287 ls
- 288 cd src
- 289 ls
- 290 cd ..
- 291 ls
- 292 cd parts
- 293 ls
- 294 cd instance
- 295 ls
- 296 cd bin
- 297 ls
- 298 cd in
- 299 cd interpreter
- 300 ls
- 301 nano interpreter
- 302 cd ..
- 303 ls
- 304 cd etc
- 305 ls
- 306 cd ..
- 307 ls
- 308 cd inituser
- 309 nano inituser
- 310 ls
- 311 cd etc
- 312 ls
- 313 nano site.zcml
- 314 cd /opt/
- 315 ls
- 316 cd plone/
- 317 ls
- 318 git init
- 319 sudo git init
- 320 git add .
- 321 sudo git add .
- 322 exit
- 323 cd /opt/plone/
- 324 exit
- 325 ls
- 326 cd /opt/
- 327 l
- 328 ls
- 329 git clone [email protected]:plonegovbr/portal.buildout.git
- 330 ls
- 331 sudo git clone [email protected]:plonegovbr/portal.buildout.git
- 332 git clone https://github.com/plonegovbr/portal.buildout.git
- 333 sudo git clone https://github.com/plonegovbr/portal.buildout.git
- 334 ls
- 335 cd portal.buildout/
- 336 ls
- 337 virtualenv py27
- 338 sudo apt update && sudo apt upgrade -y
- 339 sudo apt install -y build-essential libssl-dev libxml2-dev libxslt1-dev libbz2-dev zlib1g-dev python-setuptools python-dev python-virtualenv libjpeg62-turbo-dev libreadline-gplv2-dev python-imaging python-pip wv poppler-utils git
- 340 virtualenv py27
- 341 sudo virtualenv py27
- 342 source py27/bin/activate
- 343 sudo nano buildout.cfg
- 344 pip install -U setuptools==36.6.1
- 345 sudo su
- 346 bin/buildout
- 347 ls -la
- 348 ls -lah
- 349 CD ..
- 350 ls
- 351 cd ..
- 352 ls
- 353 ls -lah
- 354 sudo chown -R debian:debian portal.buildout/
- 355 ls -la
- 356 cd portal.buildout/
- 357 bin/buildout
- 358 /opt/portal.buildout/
- 359 çd /opt/portal.buildout/
- 360 cd /opt/portal.buildout/
- 361 bin/instance start
- 362 bin/instance stop
- 363 cd ..
- 364 l
- 365 ls
- 366 cd plor
- 367 cd plone
- 368 cd zinstance/
- 369 ls
- 370 cd ..
- 371 ls
- 372 cd ..
- 373 ls
- 374 cd portal.buildout/
- 375 sudo useradd --system --shell /bin/bash --comment 'Plone Administrator' --user-group -m --home-dir /opt/plone plone
- 376 sudo passwd plone
- 377 su - plone
- 378 sudo nano /etc/sudoers
- 379 su - plone
- 380 cd /opt/
- 381 s
- 382 ls
- 383 cd plone.old/ plone
- 384 mv plone.old/ plone
- 385 sudo mv plone.old/ plone
- 386 ls
- 387 exit
- 388 ls
- 389 pwd
- 390 apache
- 391 apache2
- 392 apache3
- 393 apt update
- 394 sudo apt update
- 395 sudo apt install apache2
- 396 ls
- 397 pwd
- 398 git clone https://gitlab.ifg.edu.br/DTI/repositorio-digital.git
- 399 ls
- 400 cd repositorio-digital/
- 401 ls
- 402 cd dspace
- 403 ls
- 404 cd bin
- 405 ks
- 406 ls
- 407 cd ds
- 408 cat dspace
- 409 cd ,,
- 410 cd ..
- 411 ls
- 412 cd ..
- 413 ls
- 414 sh compilar_rodar.sh
- 415 ls
- 416 cd repositorio-digital/
- 417 ls
- 418 cat build.properties
- 419 cd re
- 420 cd repositorio-digital/
- 421 ls
- 422 cd repositorio-digital/
- 423 ls
- 424 addgroup dspace
- 425 psql
- 426 apt-cache search postgres
- 427 sudo apt-get update
- 428 apt-get upgrade
- 429 sudo apt-get upgrade
- 430 sudo apt-get install postgresql
- 431 addgroup dspace
- 432 psql
- 433 psql -u postgres
- 434 psql --help
- 435 psql -U postgres
- 436 psql -U postgres -W
- 437 psql -U postgres
- 438 psql -U postgres -w
- 439 psql -U root
- 440 psql -U root -w
- 441 psql
- 442 sudo su
- 443 sudo -u postgres
- 444 su postgres
- 445 sudo -u postgres -i
- 446 sudo su
- 447 exit
- 448 ls
- 449 sudo mkdir /opt/jdk
- 450 tar -zxf jdk-8u191-linux-x64.tar.gz -C /opt/jdk/
- 451 sudo tar -zxf jdk-8u191-linux-x64.tar.gz -C /opt/jdk/
- 452 update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_191/bin/java 100
- 453 sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_191/bin/java 100
- 454 sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_191/bin/javac 100
- 455 sudo su
- 456 ls
- 457 cd repositorio-digital/
- 458 ls
- 459 cd ..
- 460 ls
- 461 cd /opt
- 462 ls
- 463 cd plone/
- 464 ls
- 465 cd zinstance/
- 466 bin/plonectl stop
- 467 sudp bin/plonectl stop
- 468 sudo bin/plonectl stop
- 469 sudo systemctl stop apache2
- 470 ls
- 471 cd repositorio-digital/
- 472 ls
- 473 nano build.properties
- 474 exit
- 475 cd /home/debian/
- 476 ls
- 477 sudo tar -vzxf apache-maven-3.5.4-bin.tar.gz
- 478 cd repositorio-digital/
- 479 ls
- 480 cd dspace
- 481 ls
- 482 cd ..
- 483 ls
- 484 ls -la
- 485 cd ..
- 486 ls
- 487 sudo chown -R dspace:dspace repositorio-digital/
- 488 ls -la
- 489 cd repositorio-digital/
- 490 ls
- 491 ls -la
- 492 su dspace
- 493 sudo su
- 494 su dspace
- 495 exit
- 496 ls
- 497 sudo apt-get update -y
- 498 sudo apt-get upgrade -y
- 499 sudo systemctl start apache2
- 500 sudo systemctl enable apache2
- 501 sudo apt-get install php7.0 php7.0-cli php7.0-mcrypt php7.0-intl php7.0-mysql php7.0-curl php7.0-gd php7.0-soap php7.0-xml php7.0-zip php7.0-readline php7.0-opcache php7.0-json php7.0-gd -y
- 502 sudo nano /etc/php/7.0/apache2/php.ini
- 503 sudo apt-get install mariadb-server -y
- 504 sudo systemctl start mysql
- 505 sudo systemctl enable mysql
- 506 sudo mysql_secure_installation
- 507 sudo systemctl start mysql
- 508 sudo systemctl stop mysql
- 509 sudo systemctl start mysql
- 510 sudo systemctl enable mysql
- 511 /lib/systemd/systemd-sysv-install enable mysql
- 512 sudo /lib/systemd/systemd-sysv-install enable mysql
- 513 sudo mysql_secure_installation
- 514 mysql -u root -p
- 515 sudo mysql_secure_installation
- 516 mysql -u root -p
- 517 sudo nano /etc/my.cnf
- 518 cd /etc
- 519 ls
- 520 cd mysql/
- 521 ls
- 522 sudo nano my.cnf
- 523 mysql -u root -p
- 524 sudo nano my.cnf
- 525 mysql -u root -p
- 526 sudo nano my.cnf
- 527 mysql -u localhost -u root -p mysql
- 528 mysql -u root -p
- 529 mysql -u root
- 530*
- 531 mysql -u root
- 532* sudo /etc/init.d/mysql s
- 533* sudo mysqld_safe --skip-grant-tables &mysql -u root -p
- 534 mysql -uroot
- 535 mysql -u root -p
- 536 mysql -u root
- 537 mysql -u root -p
- 538 /etc/init.d/mysql stop
- 539 sudo systemctl stop mysql
- 540 /etc/init.d/mysql start
- 541 mysql -u root -p
- 542 /etc/init.d/mysql stop
- 543 mysql -u root -p
- 544 sudo systemctl stop mariadb.service
- 545 sudo service mysql stop
- 546 sudo mysqld_safe --skip-grant-tables --skip-networking &
- 547 ps
- 548 top
- 549 ps
- 550 top
- 551 renice
- 552 pstree
- 553 ps
- 554 PPID
- 555 top
- 556 ps aux | grep mysql
- 557 sudo kill -9 23236
- 558 sudo kill -9 26236
- 559 ps aux | grep mysql
- 560 sudo kill -9 26883
- 561 sudo kill -9 181024
- 562 mysql -u root
- 563 sudo systemctl start mysql
- 564 service mysql status
- 565 sudo service mysql status
- 566 cd /var/lib/mysql
- 567 sudo su
- 568 sudo service mysql status
- 569*
- 570 sudo nano /etc/mysql/my.cnf
- 571 sudo mysql
- 572 sudo mysql -e
- 573 sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'"
- 574 sudo systemctl stop mysql
- 575 sudo mysqld_safe --skip-grant-tables --skip-networking &
- 576 cd /
- 577 sudo service mysql stop
- 578 sudo apt-get --purge remove "mysql*"
- 579 sudo rm -rf /etc/mysql/
- 580 locate mysql
- 581 sudo updatedb
- 582 locate mysql
- 583 sudo apt-get install mariadb-server -y
- 584 sudo systemctl enable mysql
- 585 /etc/systemd/system/mysqld.service
- 586 ßudo /etc/systemd/system/mysqld.service
- 587 sudo /etc/systemd/system/mysqld.service
- 588 sudo /etc/mysql/conf.d/
- 589 ls
- 590 cd /etc/mysql/conf.d/
- 591 ls
- 592 sudo nano mysql
- 593 sudo nano mysql.cnf
- 594 sudo mysql_secure_installation
- 595 sudo nano /etc/mysql/my.cnf
- 596 sudo mysql_secure_installation
- 597 sudo apt-get update
- 598 sudo apt-get -y install mariadb-server mariadb-client
- 599 sudo mysql_secure_installation
- 600 sudo service mysql stop
- 601* sudo apt-get --purge removesudo apt-get --purge remove "mysql*
- 602 sudo apt-get --purge remove "mysql*
- 603 sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
- 604 sudo rm -rf /etc/mysql /var/lib/mysql
- 605 sudo apt-get autoremove
- 606 sudo apt-get autoclean
- 607 apt-get update
- 608 apt-get upgrade
- 609 sudo su
- 610 ls
- 611 cd ..
- 612 ls
- 613 cd ..
- 614 ls
- 615 cd mysql
- 616 ls
- 617 cd ..
- 618 ls -la
- 619 sudo chown -R mysql debian:debian
- 620 sudo chown -R debian:debian mysql/
- 621 sudo mysql_secure_installation
- 622 sudo rm -rf /etc/mysql /var/lib/mysq
- 623 sudo nano /var/log/mysqld.log
- 624 cd /var/log/mysql/
- 625 ls
- 626 sudo cd /var/log/mysql/
- 627 sudo su
- 628 sudo /usr/bin/mysql_secure_installation
- 629 sudo su
- 630 history
- 631 sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
- 632 history
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ sudo rm -rf /etc/mysql /var/lib/mysql
- debian@paracambi:/etc$ sudo apt-get autoremove
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Os pacotes a seguir serão REMOVIDOS:
- galera-3 libaio1 libdbi-perl libjemalloc1 libterm-readkey-perl socat
- 0 pacotes atualizados, 0 pacotes novos instalados, 6 a serem removidos e 0 não atualizados.
- Depois desta operação, 6.508 kB de espaço em disco serão liberados.
- Você quer continuar? [S/n] S
- (Lendo banco de dados ... 64236 ficheiros e directórios actualmente instalados.)
- A remover galera-3 (25.3.19-2) ...
- A remover libaio1:amd64 (0.3.110-3) ...
- A remover libdbi-perl (1.636-1+b1) ...
- A remover libjemalloc1 (3.6.0-9.1) ...
- A remover libterm-readkey-perl (2.37-1) ...
- A remover socat (1.7.3.1-2+deb9u1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- debian@paracambi:/etc$ sudo apt-get autoclean
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- debian@paracambi:/etc$ sudo apt-get update
- Ign:1 http://deb.debian.org/debian stretch InRelease
- Obter:2 http://security.debian.org stretch/updates InRelease [94,3 kB]
- Atingido:3 http://deb.debian.org/debian stretch-updates InRelease
- Atingido:4 http://deb.debian.org/debian stretch Release
- Obter:6 http://security.debian.org stretch/updates/main Sources [181 kB]
- Obter:7 http://security.debian.org stretch/updates/main amd64 Packages [452 kB]
- Baixados 728 kB em 1s (610 kB/s)
- Lendo listas de pacotes... Pronto
- debian@paracambi:/etc$ sudo apt-get upgrade
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- Calculando atualização... Pronto
- 0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- debian@paracambi:/etc$ sudo apt-get install mariadb-server -y
- Lendo listas de pacotes... Pronto
- Construindo árvore de dependências
- Lendo informação de estado... Pronto
- The following additional packages will be installed:
- galera-3 libaio1 libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libterm-readkey-perl mariadb-client-10.1
- mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
- Pacotes sugeridos:
- libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mariadb-test netcat-openbsd tinyca
- Os NOVOS pacotes a seguir serão instalados:
- galera-3 libaio1 libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libterm-readkey-perl mariadb-client-10.1
- mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
- 0 pacotes atualizados, 15 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
- É preciso baixar 0 B/24,5 MB de arquivos.
- Depois desta operação, 188 MB adicionais de espaço em disco serão usados.
- Pré-configurando pacotes ...
- Can't exec "/tmp/mariadb-server-10.1.config.QdVWgK": Permissão negada at /usr/share/perl/5.24/IPC/Open3.pm line 178.
- open2: exec of /tmp/mariadb-server-10.1.config.QdVWgK configure failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
- A seleccionar pacote anteriormente não seleccionado mysql-common.
- (Lendo banco de dados ... 64007 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../0-mysql-common_5.8+1.0.2_all.deb ...
- A descompactar mysql-common (5.8+1.0.2) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-common.
- A preparar para desempacotar .../1-mariadb-common_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-common (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado galera-3.
- A preparar para desempacotar .../2-galera-3_25.3.19-2_amd64.deb ...
- A descompactar galera-3 (25.3.19-2) ...
- A seleccionar pacote anteriormente não seleccionado libdbi-perl.
- A preparar para desempacotar .../3-libdbi-perl_1.636-1+b1_amd64.deb ...
- A descompactar libdbi-perl (1.636-1+b1) ...
- A seleccionar pacote anteriormente não seleccionado libaio1:amd64.
- A preparar para desempacotar .../4-libaio1_0.3.110-3_amd64.deb ...
- A descompactar libaio1:amd64 (0.3.110-3) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-client-core-10.1.
- A preparar para desempacotar .../5-mariadb-client-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libjemalloc1.
- A preparar para desempacotar .../6-libjemalloc1_3.6.0-9.1_amd64.deb ...
- A descompactar libjemalloc1 (3.6.0-9.1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-client-10.1.
- A preparar para desempacotar .../7-mariadb-client-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-server-core-10.1.
- A preparar para desempacotar .../8-mariadb-server-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado socat.
- A preparar para desempacotar .../9-socat_1.7.3.1-2+deb9u1_amd64.deb ...
- A descompactar socat (1.7.3.1-2+deb9u1) ...
- Configurando mysql-common (5.8+1.0.2) ...
- update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- Configurando mariadb-common (10.1.26-0+deb9u1) ...
- update-alternatives: a usar /etc/mysql/mariadb.cnf para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
- A seleccionar pacote anteriormente não seleccionado mariadb-server-10.1.
- (Lendo banco de dados ... 64379 ficheiros e directórios actualmente instalados.)
- A preparar para desempacotar .../mariadb-server-10.1_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libmariadbclient18:amd64.
- A preparar para desempacotar .../libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
- A descompactar libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- A seleccionar pacote anteriormente não seleccionado libdbd-mysql-perl.
- A preparar para desempacotar .../libdbd-mysql-perl_4.041-2_amd64.deb ...
- A descompactar libdbd-mysql-perl (4.041-2) ...
- A seleccionar pacote anteriormente não seleccionado libterm-readkey-perl.
- A preparar para desempacotar .../libterm-readkey-perl_2.37-1_amd64.deb ...
- A descompactar libterm-readkey-perl (2.37-1) ...
- A seleccionar pacote anteriormente não seleccionado mariadb-server.
- A preparar para desempacotar .../mariadb-server_10.1.26-0+deb9u1_all.deb ...
- A descompactar mariadb-server (10.1.26-0+deb9u1) ...
- Configurando libjemalloc1 (3.6.0-9.1) ...
- Configurando socat (1.7.3.1-2+deb9u1) ...
- Configurando libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
- Configurando libterm-readkey-perl (2.37-1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- Configurando libaio1:amd64 (0.3.110-3) ...
- Configurando galera-3 (25.3.19-2) ...
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- A processar 'triggers' para man-db (2.7.6.1-2) ...
- Configurando libdbi-perl (1.636-1+b1) ...
- Configurando mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
- Configurando libdbd-mysql-perl (4.041-2) ...
- Configurando mariadb-client-10.1 (10.1.26-0+deb9u1) ...
- Configurando mariadb-server-10.1 (10.1.26-0+deb9u1) ...
- Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
- Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
- Job for mariadb.service failed because the control process exited with error code.
- See "systemctl status mariadb.service" and "journalctl -xe" for details.
- mariadb.service couldn't start.
- Configurando mariadb-server (10.1.26-0+deb9u1) ...
- A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
- A processar 'triggers' para systemd (232-25+deb9u4) ...
- debian@paracambi:/etc$ sudo mysql_secure_installation
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:/etc$ mysql_secure_installation
- touch: não foi possível tocar '.my.cnf.1360': Permissão negada
- touch: não foi possível tocar '.mysql.1360': Permissão negada
- chmod: não foi possível acessar '.my.cnf.1360': Arquivo ou diretório não encontrado
- chmod: não foi possível acessar '.mysql.1360': Arquivo ou diretório não encontrado
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- /usr/bin/mysql_secure_installation: 248: /usr/bin/mysql_secure_installation: cannot create .my.cnf.1360: Permission denied
- /usr/bin/mysql_secure_installation: 249: /usr/bin/mysql_secure_installation: cannot create .my.cnf.1360: Permission denied
- /usr/bin/mysql_secure_installation: 250: /usr/bin/mysql_secure_installation: cannot create .my.cnf.1360: Permission denied
- /usr/bin/mysql_secure_installation: 252: /usr/bin/mysql_secure_installation: cannot create .my.cnf.1360: Permission denied
- /usr/bin/mysql_secure_installation: 217: /usr/bin/mysql_secure_installation: cannot create .mysql.1360: Permission denied
- /usr/bin/mysql_secure_installation: 219: /usr/bin/mysql_secure_installation: cannot open .mysql.1360: No such file
- OK, successfully used password, moving on...
- Setting the root password ensures that nobody can log into the MariaDB
- root user without the proper authorisation.
- Set root password? [Y/n] ^C
- Aborting!
- Cleaning up...
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ ^C
- debian@paracambi:/etc$ cd /etc/mysql/
- debian@paracambi:/etc/mysql$ ls
- conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
- debian@paracambi:/etc/mysql$ ls -la
- total 32
- drwxr-xr-x 4 root root 4096 out 24 17:43 .
- drwxr-xr-x 101 root root 4096 out 24 17:44 ..
- drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
- -rw------- 1 root root 277 out 24 17:43 debian.cnf
- -rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
- -rw-r--r-- 1 root root 869 ago 10 2017 mariadb.cnf
- drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
- lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
- -rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
- debian@paracambi:/etc/mysql$ ls
- conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
- debian@paracambi:/etc/mysql$ sudo chown debian:debian .
- debian@paracambi:/etc/mysql$ ls -la
- total 32
- drwxr-xr-x 4 debian debian 4096 out 24 17:43 .
- drwxr-xr-x 101 root root 4096 out 24 17:44 ..
- drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
- -rw------- 1 root root 277 out 24 17:43 debian.cnf
- -rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
- -rw-r--r-- 1 root root 869 ago 10 2017 mariadb.cnf
- drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
- lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
- -rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
- debian@paracambi:/etc/mysql$ sudo chown debian:debian my.cnf
- debian@paracambi:/etc/mysql$ ls -la
- total 32
- drwxr-xr-x 4 debian debian 4096 out 24 17:43 .
- drwxr-xr-x 101 root root 4096 out 24 17:44 ..
- drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
- -rw------- 1 root root 277 out 24 17:43 debian.cnf
- -rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
- -rw-r--r-- 1 debian debian 869 ago 10 2017 mariadb.cnf
- drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
- lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
- -rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
- debian@paracambi:/etc/mysql$ cd /etc/alternatives/
- debian@paracambi:/etc/alternatives$ l
- -bash: l: comando não encontrado
- debian@paracambi:/etc/alternatives$ ls
- ABORT.7.gz DROP_DOMAIN.7.gz pg_dump.1.gz
- ALTER_AGGREGATE.7.gz DROP_EVENT_TRIGGER.7.gz pg_dumpall.1.gz
- ALTER_COLLATION.7.gz DROP_EXTENSION.7.gz pg_isready.1.gz
- ALTER_CONVERSION.7.gz DROP_FOREIGN_DATA_WRAPPER.7.gz pg_receivexlog.1.gz
- ALTER_DATABASE.7.gz DROP_FOREIGN_TABLE.7.gz pg_recvlogical.1.gz
- ALTER_DEFAULT_PRIVILEGES.7.gz DROP_FUNCTION.7.gz pg_resetxlog.1.gz
- ALTER_DOMAIN.7.gz DROP_GROUP.7.gz pg_restore.1.gz
- ALTER_EVENT_TRIGGER.7.gz DROP_INDEX.7.gz pg_rewind.1.gz
- ALTER_EXTENSION.7.gz droplang.1.gz pg_standby.1.gz
- ALTER_FOREIGN_DATA_WRAPPER.7.gz DROP_LANGUAGE.7.gz pg_test_fsync.1.gz
- ALTER_FOREIGN_TABLE.7.gz DROP_MATERIALIZED_VIEW.7.gz pg_test_timing.1.gz
- ALTER_FUNCTION.7.gz DROP_OPERATOR.7.gz pg_upgrade.1.gz
- ALTER_GROUP.7.gz DROP_OPERATOR_CLASS.7.gz pg_xlogdump.1.gz
- ALTER_INDEX.7.gz DROP_OPERATOR_FAMILY.7.gz phar
- ALTER_LANGUAGE.7.gz DROP_OWNED.7.gz phar.1.gz
- ALTER_LARGE_OBJECT.7.gz DROP_POLICY.7.gz phar.phar
- ALTER_MATERIALIZED_VIEW.7.gz DROP_ROLE.7.gz phar.phar.1.gz
- ALTER_OPERATOR.7.gz DROP_RULE.7.gz php
- ALTER_OPERATOR_CLASS.7.gz DROP_SCHEMA.7.gz php.1.gz
- ALTER_OPERATOR_FAMILY.7.gz DROP_SEQUENCE.7.gz pico
- ALTER_POLICY.7.gz DROP_SERVER.7.gz pico.1.gz
- ALTER_ROLE.7.gz DROP_TABLE.7.gz pinentry
- ALTER_RULE.7.gz DROP_TABLESPACE.7.gz pinentry.1.gz
- ALTER_SCHEMA.7.gz DROP_TEXT_SEARCH_CONFIGURATION.7.gz pinentry-x11
- ALTER_SEQUENCE.7.gz DROP_TEXT_SEARCH_DICTIONARY.7.gz pinentry-x11.1.gz
- ALTER_SERVER.7.gz DROP_TEXT_SEARCH_PARSER.7.gz postgres.1.gz
- ALTER_SYSTEM.7.gz DROP_TEXT_SEARCH_TEMPLATE.7.gz postmaster.1.gz
- ALTER_TABLE.7.gz DROP_TRANSFORM.7.gz PREPARE.7.gz
- ALTER_TABLESPACE.7.gz DROP_TRIGGER.7.gz PREPARE_TRANSACTION.7.gz
- ALTER_TEXT_SEARCH_CONFIGURATION.7.gz DROP_TYPE.7.gz psql.1.gz
- ALTER_TEXT_SEARCH_DICTIONARY.7.gz dropuser.1.gz rcp
- ALTER_TEXT_SEARCH_PARSER.7.gz DROP_USER.7.gz rcp.1.gz
- ALTER_TEXT_SEARCH_TEMPLATE.7.gz DROP_USER_MAPPING.7.gz README
- ALTER_TRIGGER.7.gz DROP_VIEW.7.gz REASSIGN_OWNED.7.gz
- ALTER_TYPE.7.gz editor REFRESH_MATERIALIZED_VIEW.7.gz
- ALTER_USER.7.gz editor.1.gz REINDEX.7.gz
- ALTER_USER_MAPPING.7.gz END.7.gz reindexdb.1.gz
- ALTER_VIEW.7.gz ex RELEASE_SAVEPOINT.7.gz
- ANALYZE.7.gz ex.1.gz rename
- aptitude EXECUTE.7.gz rename.1.gz
- aptitude.8.gz ex.fr.1.gz RESET.7.gz
- aptitude.cs.8.gz ex.it.1.gz REVOKE.7.gz
- aptitude.de.8.gz ex.ja.1.gz rlogin
- aptitude.es.8.gz ex.pl.1.gz rlogin.1.gz
- aptitude.fi.8.gz EXPLAIN.7.gz rmt
- aptitude.fr.8.gz ex.ru.1.gz rmt.8.gz
- aptitude.gl.8.gz faked.1.gz ROLLBACK.7.gz
- aptitude.it.8.gz faked.es.1.gz ROLLBACK_PREPARED.7.gz
- aptitude.ja.8.gz faked.fr.1.gz ROLLBACK_TO_SAVEPOINT.7.gz
- aptitude.pl.8.gz faked.sv.1.gz rsh
- awk fakeroot rsh.1.gz
- awk.1.gz fakeroot.1.gz rview
- BEGIN.7.gz fakeroot.es.1.gz rvim
- builtins.7.gz fakeroot.fr.1.gz sar
- c++ fakeroot.sv.1.gz sar.1.gz
- c89 FETCH.7.gz SAVEPOINT.7.gz
- c89.1.gz from SECURITY_LABEL.7.gz
- c99 from.1.gz SELECT.7.gz
- c99.1.gz ftp SELECT_INTO.7.gz
- cc ftp.1.gz SET.7.gz
- CHECKPOINT.7.gz GRANT.7.gz SET_CONSTRAINTS.7.gz
- CLOSE.7.gz IMPORT_FOREIGN_SCHEMA.7.gz SET_ROLE.7.gz
- CLUSTER.7.gz infobrowser SET_SESSION_AUTHORIZATION.7.gz
- clusterdb.1.gz infobrowser.1.gz SET_TRANSACTION.7.gz
- COMMENT.7.gz initdb.1.gz SHOW.7.gz
- COMMIT.7.gz INSERT.7.gz start-here-16.png
- COMMIT_PREPARED.7.gz java start-here-22.png
- COPY.7.gz javac start-here-24.png
- cpp lft start-here-256.png
- CREATE_ACCESS_METHOD.7.gz lft.1.gz start-here-32.png
- CREATE_AGGREGATE.7.gz libtxc-dxtn-x86_64-linux-gnu start-here-48.png
- CREATE_CAST.7.gz LISTEN.7.gz start-here.svg
- CREATE_COLLATION.7.gz LOAD.7.gz START_TRANSACTION.7.gz
- CREATE_CONVERSION.7.gz locate TABLE.7.gz
- CREATE_DATABASE.7.gz locate.1.gz tcptraceroute
- createdb.1.gz LOCK.7.gz tcptraceroute.8.gz
- CREATE_DOMAIN.7.gz lzcat telnet
- CREATE_EVENT_TRIGGER.7.gz lzcat.1.gz telnet.1.gz
- CREATE_EXTENSION.7.gz lzcmp traceproto
- CREATE_FOREIGN_DATA_WRAPPER.7.gz lzcmp.1.gz traceproto.1.gz
- CREATE_FOREIGN_TABLE.7.gz lzdiff traceroute
- CREATE_FUNCTION.7.gz lzdiff.1.gz traceroute.1.gz
- CREATE_GROUP.7.gz lzegrep traceroute6
- CREATE_INDEX.7.gz lzegrep.1.gz traceroute6.1.gz
- createlang.1.gz lzfgrep traceroute.sbin
- CREATE_LANGUAGE.7.gz lzfgrep.1.gz TRUNCATE.7.gz
- CREATE_MATERIALIZED_VIEW.7.gz lzgrep UNLISTEN.7.gz
- CREATE_OPERATOR.7.gz lzgrep.1.gz unlzma
- CREATE_OPERATOR_CLASS.7.gz lzless unlzma.1.gz
- CREATE_OPERATOR_FAMILY.7.gz lzless.1.gz UPDATE.7.gz
- CREATE_POLICY.7.gz lzma updatedb
- CREATE_ROLE.7.gz lzma.1.gz updatedb.8.gz
- CREATE_RULE.7.gz lzmore VACUUM.7.gz
- CREATE_SCHEMA.7.gz lzmore.1.gz vacuumdb.1.gz
- CREATE_SEQUENCE.7.gz mail vacuumlo.1.gz
- CREATE_SERVER.7.gz Mail VALUES.7.gz
- CREATE_TABLE.7.gz mail.1.gz vi
- CREATE_TABLE_AS.7.gz Mail.1.gz vi.1.gz
- CREATE_TABLESPACE.7.gz mailx view
- CREATE_TEXT_SEARCH_CONFIGURATION.7.gz mailx.1.gz view.1.gz
- CREATE_TEXT_SEARCH_DICTIONARY.7.gz MOVE.7.gz view.fr.1.gz
- CREATE_TEXT_SEARCH_PARSER.7.gz mt view.it.1.gz
- CREATE_TEXT_SEARCH_TEMPLATE.7.gz mt.1.gz view.ja.1.gz
- CREATE_TRANSFORM.7.gz my.cnf view.pl.1.gz
- CREATE_TRIGGER.7.gz nawk view.ru.1.gz
- CREATE_TYPE.7.gz nawk.1.gz vi.fr.1.gz
- createuser.1.gz nc vi.it.1.gz
- CREATE_USER.7.gz nc.1.gz vi.ja.1.gz
- CREATE_USER_MAPPING.7.gz netcat vim
- CREATE_VIEW.7.gz netcat.1.gz vimdiff
- DEALLOCATE.7.gz netrc.5.gz vi.pl.1.gz
- DECLARE.7.gz NOTIFY.7.gz vi.ru.1.gz
- DELETE.7.gz oid2name.1.gz w
- DISCARD.7.gz pager w.1.gz
- DO.7.gz pager.1.gz WITH.7.gz
- DROP_ACCESS_METHOD.7.gz pftp write
- DROP_AGGREGATE.7.gz pftp.1.gz write.1.gz
- DROP_CAST.7.gz pg_archivecleanup.1.gz www-browser
- DROP_COLLATION.7.gz pg_basebackup.1.gz www-browser.1.gz
- DROP_CONVERSION.7.gz pgbench.1.gz x-terminal-emulator
- DROP_DATABASE.7.gz pg_controldata.1.gz x-terminal-emulator.1.gz
- dropdb.1.gz pg_ctl.1.gz
- debian@paracambi:/etc/alternatives$ ls l-a
- ls: não foi possível acessar 'l-a': Arquivo ou diretório não encontrado
- debian@paracambi:/etc/alternatives$ ls -la
- total 152
- drwxr-xr-x 2 root root 20480 out 24 17:43 .
- drwxr-xr-x 101 root root 4096 out 24 17:44 ..
- lrwxrwxrwx 1 root root 45 out 24 11:33 ABORT.7.gz -> /usr/share/postgresql/9.6/man/man7/ABORT.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 ALTER_AGGREGATE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_AGGREGATE.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 ALTER_COLLATION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_COLLATION.7.gz
- lrwxrwxrwx 1 root root 56 out 24 11:33 ALTER_CONVERSION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_CONVERSION.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_DATABASE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_DATABASE.7.gz
- lrwxrwxrwx 1 root root 64 out 24 11:33 ALTER_DEFAULT_PRIVILEGES.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_DEFAULT_PRIVILEGES.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_DOMAIN.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_DOMAIN.7.gz
- lrwxrwxrwx 1 root root 59 out 24 11:33 ALTER_EVENT_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_EVENT_TRIGGER.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 ALTER_EXTENSION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_EXTENSION.7.gz
- lrwxrwxrwx 1 root root 66 out 24 11:33 ALTER_FOREIGN_DATA_WRAPPER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_FOREIGN_DATA_WRAPPER.7.gz
- lrwxrwxrwx 1 root root 59 out 24 11:33 ALTER_FOREIGN_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_FOREIGN_TABLE.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_FUNCTION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_FUNCTION.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 ALTER_GROUP.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_GROUP.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 ALTER_INDEX.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_INDEX.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_LANGUAGE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_LANGUAGE.7.gz
- lrwxrwxrwx 1 root root 58 out 24 11:33 ALTER_LARGE_OBJECT.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_LARGE_OBJECT.7.gz
- lrwxrwxrwx 1 root root 63 out 24 11:33 ALTER_MATERIALIZED_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_MATERIALIZED_VIEW.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_OPERATOR.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_OPERATOR.7.gz
- lrwxrwxrwx 1 root root 60 out 24 11:33 ALTER_OPERATOR_CLASS.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_OPERATOR_CLASS.7.gz
- lrwxrwxrwx 1 root root 61 out 24 11:33 ALTER_OPERATOR_FAMILY.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_OPERATOR_FAMILY.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_POLICY.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_POLICY.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_ROLE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_ROLE.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_RULE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_RULE.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_SCHEMA.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_SCHEMA.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_SEQUENCE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_SEQUENCE.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_SERVER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_SERVER.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_SYSTEM.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_SYSTEM.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 ALTER_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TABLE.7.gz
- lrwxrwxrwx 1 root root 56 out 24 11:33 ALTER_TABLESPACE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TABLESPACE.7.gz
- lrwxrwxrwx 1 root root 71 out 24 11:33 ALTER_TEXT_SEARCH_CONFIGURATION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TEXT_SEARCH_CONFIGURATION.7.gz
- lrwxrwxrwx 1 root root 68 out 24 11:33 ALTER_TEXT_SEARCH_DICTIONARY.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TEXT_SEARCH_DICTIONARY.7.gz
- lrwxrwxrwx 1 root root 64 out 24 11:33 ALTER_TEXT_SEARCH_PARSER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TEXT_SEARCH_PARSER.7.gz
- lrwxrwxrwx 1 root root 66 out 24 11:33 ALTER_TEXT_SEARCH_TEMPLATE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TEXT_SEARCH_TEMPLATE.7.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 ALTER_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TRIGGER.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_TYPE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TYPE.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_USER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_USER.7.gz
- lrwxrwxrwx 1 root root 58 out 24 11:33 ALTER_USER_MAPPING.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_USER_MAPPING.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_VIEW.7.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 ANALYZE.7.gz -> /usr/share/postgresql/9.6/man/man7/ANALYZE.7.gz
- lrwxrwxrwx 1 root root 24 ago 26 2016 aptitude -> /usr/bin/aptitude-curses
- lrwxrwxrwx 1 root root 40 ago 26 2016 aptitude.8.gz -> /usr/share/man/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.cs.8.gz -> /usr/share/man/cs/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.de.8.gz -> /usr/share/man/de/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.es.8.gz -> /usr/share/man/es/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.fi.8.gz -> /usr/share/man/fi/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.fr.8.gz -> /usr/share/man/fr/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.gl.8.gz -> /usr/share/man/gl/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.it.8.gz -> /usr/share/man/it/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.ja.8.gz -> /usr/share/man/ja/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.pl.8.gz -> /usr/share/man/pl/man8/aptitude-curses.8.gz
- lrwxrwxrwx 1 root root 13 out 24 16:18 awk -> /usr/bin/gawk
- lrwxrwxrwx 1 root root 29 out 24 16:18 awk.1.gz -> /usr/share/man/man1/gawk.1.gz
- lrwxrwxrwx 1 root root 45 out 24 11:33 BEGIN.7.gz -> /usr/share/postgresql/9.6/man/man7/BEGIN.7.gz
- lrwxrwxrwx 1 root root 38 ago 1 2017 builtins.7.gz -> /usr/share/man/man7/bash-builtins.7.gz
- lrwxrwxrwx 1 root root 12 out 5 11:07 c++ -> /usr/bin/g++
- lrwxrwxrwx 1 root root 16 out 5 11:06 c89 -> /usr/bin/c89-gcc
- lrwxrwxrwx 1 root root 32 out 5 11:06 c89.1.gz -> /usr/share/man/man1/c89-gcc.1.gz
- lrwxrwxrwx 1 root root 16 out 5 11:06 c99 -> /usr/bin/c99-gcc
- lrwxrwxrwx 1 root root 32 out 5 11:06 c99.1.gz -> /usr/share/man/man1/c99-gcc.1.gz
- lrwxrwxrwx 1 root root 12 out 5 11:06 cc -> /usr/bin/gcc
- lrwxrwxrwx 1 root root 50 out 24 11:33 CHECKPOINT.7.gz -> /usr/share/postgresql/9.6/man/man7/CHECKPOINT.7.gz
- lrwxrwxrwx 1 root root 45 out 24 11:33 CLOSE.7.gz -> /usr/share/postgresql/9.6/man/man7/CLOSE.7.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 CLUSTER.7.gz -> /usr/share/postgresql/9.6/man/man7/CLUSTER.7.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 clusterdb.1.gz -> /usr/share/postgresql/9.6/man/man1/clusterdb.1.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 COMMENT.7.gz -> /usr/share/postgresql/9.6/man/man7/COMMENT.7.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 COMMIT.7.gz -> /usr/share/postgresql/9.6/man/man7/COMMIT.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 COMMIT_PREPARED.7.gz -> /usr/share/postgresql/9.6/man/man7/COMMIT_PREPARED.7.gz
- lrwxrwxrwx 1 root root 44 out 24 11:33 COPY.7.gz -> /usr/share/postgresql/9.6/man/man7/COPY.7.gz
- lrwxrwxrwx 1 root root 12 out 5 11:06 cpp -> /usr/bin/cpp
- lrwxrwxrwx 1 root root 60 out 24 11:33 CREATE_ACCESS_METHOD.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_ACCESS_METHOD.7.gz
- lrwxrwxrwx 1 root root 56 out 24 11:33 CREATE_AGGREGATE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_AGGREGATE.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_CAST.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_CAST.7.gz
- lrwxrwxrwx 1 root root 56 out 24 11:33 CREATE_COLLATION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_COLLATION.7.gz
- lrwxrwxrwx 1 root root 57 out 24 11:33 CREATE_CONVERSION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_CONVERSION.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_DATABASE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_DATABASE.7.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 createdb.1.gz -> /usr/share/postgresql/9.6/man/man1/createdb.1.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 CREATE_DOMAIN.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_DOMAIN.7.gz
- lrwxrwxrwx 1 root root 60 out 24 11:33 CREATE_EVENT_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_EVENT_TRIGGER.7.gz
- lrwxrwxrwx 1 root root 56 out 24 11:33 CREATE_EXTENSION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_EXTENSION.7.gz
- lrwxrwxrwx 1 root root 67 out 24 11:33 CREATE_FOREIGN_DATA_WRAPPER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_FOREIGN_DATA_WRAPPER.7.gz
- lrwxrwxrwx 1 root root 60 out 24 11:33 CREATE_FOREIGN_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_FOREIGN_TABLE.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_FUNCTION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_FUNCTION.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 CREATE_GROUP.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_GROUP.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 CREATE_INDEX.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_INDEX.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 createlang.1.gz -> /usr/share/postgresql/9.6/man/man1/createlang.1.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_LANGUAGE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_LANGUAGE.7.gz
- lrwxrwxrwx 1 root root 64 out 24 11:33 CREATE_MATERIALIZED_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_MATERIALIZED_VIEW.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_OPERATOR.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_OPERATOR.7.gz
- lrwxrwxrwx 1 root root 61 out 24 11:33 CREATE_OPERATOR_CLASS.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_OPERATOR_CLASS.7.gz
- lrwxrwxrwx 1 root root 62 out 24 11:33 CREATE_OPERATOR_FAMILY.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_OPERATOR_FAMILY.7.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 CREATE_POLICY.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_POLICY.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_ROLE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_ROLE.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_RULE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_RULE.7.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 CREATE_SCHEMA.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_SCHEMA.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_SEQUENCE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_SEQUENCE.7.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 CREATE_SERVER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_SERVER.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 CREATE_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TABLE.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_TABLE_AS.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TABLE_AS.7.gz
- lrwxrwxrwx 1 root root 57 out 24 11:33 CREATE_TABLESPACE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TABLESPACE.7.gz
- lrwxrwxrwx 1 root root 72 out 24 11:33 CREATE_TEXT_SEARCH_CONFIGURATION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TEXT_SEARCH_CONFIGURATION.7.gz
- lrwxrwxrwx 1 root root 69 out 24 11:33 CREATE_TEXT_SEARCH_DICTIONARY.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TEXT_SEARCH_DICTIONARY.7.gz
- lrwxrwxrwx 1 root root 65 out 24 11:33 CREATE_TEXT_SEARCH_PARSER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TEXT_SEARCH_PARSER.7.gz
- lrwxrwxrwx 1 root root 67 out 24 11:33 CREATE_TEXT_SEARCH_TEMPLATE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TEXT_SEARCH_TEMPLATE.7.gz
- lrwxrwxrwx 1 root root 56 out 24 11:33 CREATE_TRANSFORM.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TRANSFORM.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 CREATE_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TRIGGER.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_TYPE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TYPE.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 createuser.1.gz -> /usr/share/postgresql/9.6/man/man1/createuser.1.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_USER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_USER.7.gz
- lrwxrwxrwx 1 root root 59 out 24 11:33 CREATE_USER_MAPPING.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_USER_MAPPING.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_VIEW.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 DEALLOCATE.7.gz -> /usr/share/postgresql/9.6/man/man7/DEALLOCATE.7.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 DECLARE.7.gz -> /usr/share/postgresql/9.6/man/man7/DECLARE.7.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 DELETE.7.gz -> /usr/share/postgresql/9.6/man/man7/DELETE.7.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 DISCARD.7.gz -> /usr/share/postgresql/9.6/man/man7/DISCARD.7.gz
- lrwxrwxrwx 1 root root 42 out 24 11:33 DO.7.gz -> /usr/share/postgresql/9.6/man/man7/DO.7.gz
- lrwxrwxrwx 1 root root 58 out 24 11:33 DROP_ACCESS_METHOD.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_ACCESS_METHOD.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 DROP_AGGREGATE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_AGGREGATE.7.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_CAST.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_CAST.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 DROP_COLLATION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_COLLATION.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 DROP_CONVERSION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_CONVERSION.7.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_DATABASE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_DATABASE.7.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 dropdb.1.gz -> /usr/share/postgresql/9.6/man/man1/dropdb.1.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 DROP_DOMAIN.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_DOMAIN.7.gz
- lrwxrwxrwx 1 root root 58 out 24 11:33 DROP_EVENT_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_EVENT_TRIGGER.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 DROP_EXTENSION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_EXTENSION.7.gz
- lrwxrwxrwx 1 root root 65 out 24 11:33 DROP_FOREIGN_DATA_WRAPPER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_FOREIGN_DATA_WRAPPER.7.gz
- lrwxrwxrwx 1 root root 58 out 24 11:33 DROP_FOREIGN_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_FOREIGN_TABLE.7.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_FUNCTION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_FUNCTION.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 DROP_GROUP.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_GROUP.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 DROP_INDEX.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_INDEX.7.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 droplang.1.gz -> /usr/share/postgresql/9.6/man/man1/droplang.1.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_LANGUAGE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_LANGUAGE.7.gz
- lrwxrwxrwx 1 root root 62 out 24 11:33 DROP_MATERIALIZED_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_MATERIALIZED_VIEW.7.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_OPERATOR.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_OPERATOR.7.gz
- lrwxrwxrwx 1 root root 59 out 24 11:33 DROP_OPERATOR_CLASS.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_OPERATOR_CLASS.7.gz
- lrwxrwxrwx 1 root root 60 out 24 11:33 DROP_OPERATOR_FAMILY.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_OPERATOR_FAMILY.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 DROP_OWNED.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_OWNED.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 DROP_POLICY.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_POLICY.7.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_ROLE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_ROLE.7.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_RULE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_RULE.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 DROP_SCHEMA.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_SCHEMA.7.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_SEQUENCE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_SEQUENCE.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 DROP_SERVER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_SERVER.7.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 DROP_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TABLE.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 DROP_TABLESPACE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TABLESPACE.7.gz
- lrwxrwxrwx 1 root root 70 out 24 11:33 DROP_TEXT_SEARCH_CONFIGURATION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TEXT_SEARCH_CONFIGURATION.7.gz
- lrwxrwxrwx 1 root root 67 out 24 11:33 DROP_TEXT_SEARCH_DICTIONARY.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TEXT_SEARCH_DICTIONARY.7.gz
- lrwxrwxrwx 1 root root 63 out 24 11:33 DROP_TEXT_SEARCH_PARSER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TEXT_SEARCH_PARSER.7.gz
- lrwxrwxrwx 1 root root 65 out 24 11:33 DROP_TEXT_SEARCH_TEMPLATE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TEXT_SEARCH_TEMPLATE.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 DROP_TRANSFORM.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TRANSFORM.7.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 DROP_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TRIGGER.7.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_TYPE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TYPE.7.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 dropuser.1.gz -> /usr/share/postgresql/9.6/man/man1/dropuser.1.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_USER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_USER.7.gz
- lrwxrwxrwx 1 root root 57 out 24 11:33 DROP_USER_MAPPING.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_USER_MAPPING.7.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_VIEW.7.gz
- lrwxrwxrwx 1 root root 9 ago 26 2016 editor -> /bin/nano
- lrwxrwxrwx 1 root root 29 ago 26 2016 editor.1.gz -> /usr/share/man/man1/nano.1.gz
- lrwxrwxrwx 1 root root 43 out 24 11:33 END.7.gz -> /usr/share/postgresql/9.6/man/man7/END.7.gz
- lrwxrwxrwx 1 root root 18 out 11 11:02 ex -> /usr/bin/vim.basic
- lrwxrwxrwx 1 root root 28 out 11 11:02 ex.1.gz -> /usr/share/man/man1/vim.1.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 EXECUTE.7.gz -> /usr/share/postgresql/9.6/man/man7/EXECUTE.7.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 ex.fr.1.gz -> /usr/share/man/fr/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 ex.it.1.gz -> /usr/share/man/it/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 ex.ja.1.gz -> /usr/share/man/ja/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 ex.pl.1.gz -> /usr/share/man/pl/man1/vim.1.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 EXPLAIN.7.gz -> /usr/share/postgresql/9.6/man/man7/EXPLAIN.7.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 ex.ru.1.gz -> /usr/share/man/ru/man1/vim.1.gz
- lrwxrwxrwx 1 root root 35 out 5 11:06 faked.1.gz -> /usr/share/man/man1/faked-sysv.1.gz
- lrwxrwxrwx 1 root root 38 out 5 11:06 faked.es.1.gz -> /usr/share/man/es/man1/faked-sysv.1.gz
- lrwxrwxrwx 1 root root 38 out 5 11:06 faked.fr.1.gz -> /usr/share/man/fr/man1/faked-sysv.1.gz
- lrwxrwxrwx 1 root root 38 out 5 11:06 faked.sv.1.gz -> /usr/share/man/sv/man1/faked-sysv.1.gz
- lrwxrwxrwx 1 root root 22 out 5 11:06 fakeroot -> /usr/bin/fakeroot-sysv
- lrwxrwxrwx 1 root root 38 out 5 11:06 fakeroot.1.gz -> /usr/share/man/man1/fakeroot-sysv.1.gz
- lrwxrwxrwx 1 root root 41 out 5 11:06 fakeroot.es.1.gz -> /usr/share/man/es/man1/fakeroot-sysv.1.gz
- lrwxrwxrwx 1 root root 41 out 5 11:06 fakeroot.fr.1.gz -> /usr/share/man/fr/man1/fakeroot-sysv.1.gz
- lrwxrwxrwx 1 root root 41 out 5 11:06 fakeroot.sv.1.gz -> /usr/share/man/sv/man1/fakeroot-sysv.1.gz
- lrwxrwxrwx 1 root root 45 out 24 11:33 FETCH.7.gz -> /usr/share/postgresql/9.6/man/man7/FETCH.7.gz
- lrwxrwxrwx 1 root root 17 ago 26 2016 from -> /usr/bin/bsd-from
- lrwxrwxrwx 1 root root 33 ago 26 2016 from.1.gz -> /usr/share/man/man1/bsd-from.1.gz
- lrwxrwxrwx 1 root root 19 ago 1 2017 ftp -> /usr/bin/netkit-ftp
- lrwxrwxrwx 1 root root 35 ago 1 2017 ftp.1.gz -> /usr/share/man/man1/netkit-ftp.1.gz
- lrwxrwxrwx 1 root root 45 out 24 11:33 GRANT.7.gz -> /usr/share/postgresql/9.6/man/man7/GRANT.7.gz
- lrwxrwxrwx 1 root root 61 out 24 11:33 IMPORT_FOREIGN_SCHEMA.7.gz -> /usr/share/postgresql/9.6/man/man7/IMPORT_FOREIGN_SCHEMA.7.gz
- lrwxrwxrwx 1 root root 13 ago 26 2016 infobrowser -> /usr/bin/info
- lrwxrwxrwx 1 root root 29 ago 26 2016 infobrowser.1.gz -> /usr/share/man/man1/info.1.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 initdb.1.gz -> /usr/share/postgresql/9.6/man/man1/initdb.1.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 INSERT.7.gz -> /usr/share/postgresql/9.6/man/man7/INSERT.7.gz
- lrwxrwxrwx 1 root root 30 out 24 12:02 java -> /opt/jdk/jdk1.8.0_191/bin/java
- lrwxrwxrwx 1 root root 31 out 24 12:03 javac -> /opt/jdk/jdk1.8.0_191/bin/javac
- lrwxrwxrwx 1 root root 15 ago 1 2017 lft -> /usr/bin/lft.db
- lrwxrwxrwx 1 root root 31 ago 1 2017 lft.1.gz -> /usr/share/man/man1/lft.db.1.gz
- lrwxrwxrwx 1 root root 47 ago 26 2016 libtxc-dxtn-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0
- lrwxrwxrwx 1 root root 46 out 24 11:33 LISTEN.7.gz -> /usr/share/postgresql/9.6/man/man7/LISTEN.7.gz
- lrwxrwxrwx 1 root root 44 out 24 11:33 LOAD.7.gz -> /usr/share/postgresql/9.6/man/man7/LOAD.7.gz
- lrwxrwxrwx 1 root root 16 ago 1 2017 locate -> /usr/bin/mlocate
- lrwxrwxrwx 1 root root 32 ago 1 2017 locate.1.gz -> /usr/share/man/man1/mlocate.1.gz
- lrwxrwxrwx 1 root root 44 out 24 11:33 LOCK.7.gz -> /usr/share/postgresql/9.6/man/man7/LOCK.7.gz
- lrwxrwxrwx 1 root root 14 ago 26 2016 lzcat -> /usr/bin/xzcat
- lrwxrwxrwx 1 root root 30 ago 26 2016 lzcat.1.gz -> /usr/share/man/man1/xzcat.1.gz
- lrwxrwxrwx 1 root root 14 ago 26 2016 lzcmp -> /usr/bin/xzcmp
- lrwxrwxrwx 1 root root 30 ago 26 2016 lzcmp.1.gz -> /usr/share/man/man1/xzcmp.1.gz
- lrwxrwxrwx 1 root root 15 ago 26 2016 lzdiff -> /usr/bin/xzdiff
- lrwxrwxrwx 1 root root 31 ago 26 2016 lzdiff.1.gz -> /usr/share/man/man1/xzdiff.1.gz
- lrwxrwxrwx 1 root root 16 ago 26 2016 lzegrep -> /usr/bin/xzegrep
- lrwxrwxrwx 1 root root 32 ago 26 2016 lzegrep.1.gz -> /usr/share/man/man1/xzegrep.1.gz
- lrwxrwxrwx 1 root root 16 ago 26 2016 lzfgrep -> /usr/bin/xzfgrep
- lrwxrwxrwx 1 root root 32 ago 26 2016 lzfgrep.1.gz -> /usr/share/man/man1/xzfgrep.1.gz
- lrwxrwxrwx 1 root root 15 ago 26 2016 lzgrep -> /usr/bin/xzgrep
- lrwxrwxrwx 1 root root 31 ago 26 2016 lzgrep.1.gz -> /usr/share/man/man1/xzgrep.1.gz
- lrwxrwxrwx 1 root root 15 ago 26 2016 lzless -> /usr/bin/xzless
- lrwxrwxrwx 1 root root 31 ago 26 2016 lzless.1.gz -> /usr/share/man/man1/xzless.1.gz
- lrwxrwxrwx 1 root root 11 ago 26 2016 lzma -> /usr/bin/xz
- lrwxrwxrwx 1 root root 27 ago 26 2016 lzma.1.gz -> /usr/share/man/man1/xz.1.gz
- lrwxrwxrwx 1 root root 15 ago 26 2016 lzmore -> /usr/bin/xzmore
- lrwxrwxrwx 1 root root 31 ago 26 2016 lzmore.1.gz -> /usr/share/man/man1/xzmore.1.gz
- lrwxrwxrwx 1 root root 18 ago 26 2016 mail -> /usr/bin/bsd-mailx
- lrwxrwxrwx 1 root root 18 ago 26 2016 Mail -> /usr/bin/bsd-mailx
- lrwxrwxrwx 1 root root 34 ago 26 2016 mail.1.gz -> /usr/share/man/man1/bsd-mailx.1.gz
- lrwxrwxrwx 1 root root 34 ago 26 2016 Mail.1.gz -> /usr/share/man/man1/bsd-mailx.1.gz
- lrwxrwxrwx 1 root root 18 ago 26 2016 mailx -> /usr/bin/bsd-mailx
- lrwxrwxrwx 1 root root 34 ago 26 2016 mailx.1.gz -> /usr/share/man/man1/bsd-mailx.1.gz
- lrwxrwxrwx 1 root root 44 out 24 11:33 MOVE.7.gz -> /usr/share/postgresql/9.6/man/man7/MOVE.7.gz
- lrwxrwxrwx 1 root root 11 ago 26 2016 mt -> /bin/mt-gnu
- lrwxrwxrwx 1 root root 31 ago 26 2016 mt.1.gz -> /usr/share/man/man1/mt-gnu.1.gz
- lrwxrwxrwx 1 root root 22 out 24 17:43 my.cnf -> /etc/mysql/mariadb.cnf
- lrwxrwxrwx 1 root root 13 out 24 16:18 nawk -> /usr/bin/gawk
- lrwxrwxrwx 1 root root 29 out 24 16:18 nawk.1.gz -> /usr/share/man/man1/gawk.1.gz
- lrwxrwxrwx 1 root root 19 ago 26 2016 nc -> /bin/nc.traditional
- lrwxrwxrwx 1 root root 39 ago 26 2016 nc.1.gz -> /usr/share/man/man1/nc.traditional.1.gz
- lrwxrwxrwx 1 root root 19 ago 26 2016 netcat -> /bin/nc.traditional
- lrwxrwxrwx 1 root root 39 ago 26 2016 netcat.1.gz -> /usr/share/man/man1/nc.traditional.1.gz
- lrwxrwxrwx 1 root root 37 ago 1 2017 netrc.5.gz -> /usr/share/man/man5/netkit-netrc.5.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 NOTIFY.7.gz -> /usr/share/postgresql/9.6/man/man7/NOTIFY.7.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 oid2name.1.gz -> /usr/share/postgresql/9.6/man/man1/oid2name.1.gz
- lrwxrwxrwx 1 root root 9 ago 26 2016 pager -> /bin/less
- lrwxrwxrwx 1 root root 29 ago 26 2016 pager.1.gz -> /usr/share/man/man1/less.1.gz
- lrwxrwxrwx 1 root root 19 ago 1 2017 pftp -> /usr/bin/netkit-ftp
- lrwxrwxrwx 1 root root 35 ago 1 2017 pftp.1.gz -> /usr/share/man/man1/netkit-ftp.1.gz
- lrwxrwxrwx 1 root root 57 out 24 11:33 pg_archivecleanup.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_archivecleanup.1.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 pg_basebackup.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_basebackup.1.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 pgbench.1.gz -> /usr/share/postgresql/9.6/man/man1/pgbench.1.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 pg_controldata.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_controldata.1.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 pg_ctl.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_ctl.1.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 pg_dump.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_dump.1.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 pg_dumpall.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_dumpall.1.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 pg_isready.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_isready.1.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 pg_receivexlog.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_receivexlog.1.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 pg_recvlogical.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_recvlogical.1.gz
- lrwxrwxrwx 1 root root 52 out 24 11:33 pg_resetxlog.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_resetxlog.1.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 pg_restore.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_restore.1.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 pg_rewind.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_rewind.1.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 pg_standby.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_standby.1.gz
- lrwxrwxrwx 1 root root 53 out 24 11:33 pg_test_fsync.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_test_fsync.1.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 pg_test_timing.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_test_timing.1.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 pg_upgrade.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_upgrade.1.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 pg_xlogdump.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_xlogdump.1.gz
- lrwxrwxrwx 1 root root 16 out 24 16:14 phar -> /usr/bin/phar7.0
- lrwxrwxrwx 1 root root 32 out 24 16:14 phar.1.gz -> /usr/share/man/man1/phar7.0.1.gz
- lrwxrwxrwx 1 root root 21 out 24 16:14 phar.phar -> /usr/bin/phar.phar7.0
- lrwxrwxrwx 1 root root 37 out 24 16:14 phar.phar.1.gz -> /usr/share/man/man1/phar.phar7.0.1.gz
- lrwxrwxrwx 1 root root 15 out 24 16:14 php -> /usr/bin/php7.0
- lrwxrwxrwx 1 root root 31 out 24 16:14 php.1.gz -> /usr/share/man/man1/php7.0.1.gz
- lrwxrwxrwx 1 root root 9 ago 26 2016 pico -> /bin/nano
- lrwxrwxrwx 1 root root 29 ago 26 2016 pico.1.gz -> /usr/share/man/man1/nano.1.gz
- lrwxrwxrwx 1 root root 23 ago 26 2016 pinentry -> /usr/bin/pinentry-gtk-2
- lrwxrwxrwx 1 root root 39 ago 26 2016 pinentry.1.gz -> /usr/share/man/man1/pinentry-gtk-2.1.gz
- lrwxrwxrwx 1 root root 23 ago 26 2016 pinentry-x11 -> /usr/bin/pinentry-gtk-2
- lrwxrwxrwx 1 root root 39 ago 26 2016 pinentry-x11.1.gz -> /usr/share/man/man1/pinentry-gtk-2.1.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 postgres.1.gz -> /usr/share/postgresql/9.6/man/man1/postgres.1.gz
- lrwxrwxrwx 1 root root 50 out 24 11:33 postmaster.1.gz -> /usr/share/postgresql/9.6/man/man1/postmaster.1.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 PREPARE.7.gz -> /usr/share/postgresql/9.6/man/man7/PREPARE.7.gz
- lrwxrwxrwx 1 root root 59 out 24 11:33 PREPARE_TRANSACTION.7.gz -> /usr/share/postgresql/9.6/man/man7/PREPARE_TRANSACTION.7.gz
- lrwxrwxrwx 1 root root 44 out 24 11:33 psql.1.gz -> /usr/share/postgresql/9.6/man/man1/psql.1.gz
- lrwxrwxrwx 1 root root 12 ago 26 2016 rcp -> /usr/bin/scp
- lrwxrwxrwx 1 root root 28 ago 26 2016 rcp.1.gz -> /usr/share/man/man1/scp.1.gz
- -rw-r--r-- 1 root root 100 mai 2 2016 README
- lrwxrwxrwx 1 root root 54 out 24 11:33 REASSIGN_OWNED.7.gz -> /usr/share/postgresql/9.6/man/man7/REASSIGN_OWNED.7.gz
- lrwxrwxrwx 1 root root 65 out 24 11:33 REFRESH_MATERIALIZED_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/REFRESH_MATERIALIZED_VIEW.7.gz
- lrwxrwxrwx 1 root root 47 out 24 11:33 REINDEX.7.gz -> /usr/share/postgresql/9.6/man/man7/REINDEX.7.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 reindexdb.1.gz -> /usr/share/postgresql/9.6/man/man1/reindexdb.1.gz
- lrwxrwxrwx 1 root root 57 out 24 11:33 RELEASE_SAVEPOINT.7.gz -> /usr/share/postgresql/9.6/man/man7/RELEASE_SAVEPOINT.7.gz
- lrwxrwxrwx 1 root root 20 ago 26 2016 rename -> /usr/bin/file-rename
- lrwxrwxrwx 1 root root 37 ago 26 2016 rename.1.gz -> /usr/share/man/man1/file-rename.1p.gz
- lrwxrwxrwx 1 root root 45 out 24 11:33 RESET.7.gz -> /usr/share/postgresql/9.6/man/man7/RESET.7.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 REVOKE.7.gz -> /usr/share/postgresql/9.6/man/man7/REVOKE.7.gz
- lrwxrwxrwx 1 root root 15 ago 26 2016 rlogin -> /usr/bin/slogin
- lrwxrwxrwx 1 root root 31 ago 26 2016 rlogin.1.gz -> /usr/share/man/man1/slogin.1.gz
- lrwxrwxrwx 1 root root 17 ago 26 2016 rmt -> /usr/sbin/rmt-tar
- lrwxrwxrwx 1 root root 32 ago 26 2016 rmt.8.gz -> /usr/share/man/man8/rmt-tar.8.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 ROLLBACK.7.gz -> /usr/share/postgresql/9.6/man/man7/ROLLBACK.7.gz
- lrwxrwxrwx 1 root root 57 out 24 11:33 ROLLBACK_PREPARED.7.gz -> /usr/share/postgresql/9.6/man/man7/ROLLBACK_PREPARED.7.gz
- lrwxrwxrwx 1 root root 61 out 24 11:33 ROLLBACK_TO_SAVEPOINT.7.gz -> /usr/share/postgresql/9.6/man/man7/ROLLBACK_TO_SAVEPOINT.7.gz
- lrwxrwxrwx 1 root root 12 ago 26 2016 rsh -> /usr/bin/ssh
- lrwxrwxrwx 1 root root 28 ago 26 2016 rsh.1.gz -> /usr/share/man/man1/ssh.1.gz
- lrwxrwxrwx 1 root root 18 out 11 11:02 rview -> /usr/bin/vim.basic
- lrwxrwxrwx 1 root root 18 out 11 11:02 rvim -> /usr/bin/vim.basic
- lrwxrwxrwx 1 root root 20 out 24 11:33 sar -> /usr/bin/sar.sysstat
- lrwxrwxrwx 1 root root 36 out 24 11:33 sar.1.gz -> /usr/share/man/man1/sar.sysstat.1.gz
- lrwxrwxrwx 1 root root 49 out 24 11:33 SAVEPOINT.7.gz -> /usr/share/postgresql/9.6/man/man7/SAVEPOINT.7.gz
- lrwxrwxrwx 1 root root 54 out 24 11:33 SECURITY_LABEL.7.gz -> /usr/share/postgresql/9.6/man/man7/SECURITY_LABEL.7.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 SELECT.7.gz -> /usr/share/postgresql/9.6/man/man7/SELECT.7.gz
- lrwxrwxrwx 1 root root 51 out 24 11:33 SELECT_INTO.7.gz -> /usr/share/postgresql/9.6/man/man7/SELECT_INTO.7.gz
- lrwxrwxrwx 1 root root 43 out 24 11:33 SET.7.gz -> /usr/share/postgresql/9.6/man/man7/SET.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 SET_CONSTRAINTS.7.gz -> /usr/share/postgresql/9.6/man/man7/SET_CONSTRAINTS.7.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 SET_ROLE.7.gz -> /usr/share/postgresql/9.6/man/man7/SET_ROLE.7.gz
- lrwxrwxrwx 1 root root 65 out 24 11:33 SET_SESSION_AUTHORIZATION.7.gz -> /usr/share/postgresql/9.6/man/man7/SET_SESSION_AUTHORIZATION.7.gz
- lrwxrwxrwx 1 root root 55 out 24 11:33 SET_TRANSACTION.7.gz -> /usr/share/postgresql/9.6/man/man7/SET_TRANSACTION.7.gz
- lrwxrwxrwx 1 root root 44 out 24 11:33 SHOW.7.gz -> /usr/share/postgresql/9.6/man/man7/SHOW.7.gz
- lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-16.png -> /usr/share/icons/gnome/16x16/places/debian-swirl.png
- lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-22.png -> /usr/share/icons/gnome/22x22/places/debian-swirl.png
- lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-24.png -> /usr/share/icons/gnome/24x24/places/debian-swirl.png
- lrwxrwxrwx 1 root root 54 ago 1 2017 start-here-256.png -> /usr/share/icons/gnome/256x256/places/debian-swirl.png
- lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-32.png -> /usr/share/icons/gnome/32x32/places/debian-swirl.png
- lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-48.png -> /usr/share/icons/gnome/48x48/places/debian-swirl.png
- lrwxrwxrwx 1 root root 55 ago 1 2017 start-here.svg -> /usr/share/icons/gnome/scalable/places/debian-swirl.svg
- lrwxrwxrwx 1 root root 57 out 24 11:33 START_TRANSACTION.7.gz -> /usr/share/postgresql/9.6/man/man7/START_TRANSACTION.7.gz
- lrwxrwxrwx 1 root root 45 out 24 11:33 TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/TABLE.7.gz
- lrwxrwxrwx 1 root root 26 ago 1 2017 tcptraceroute -> /usr/sbin/tcptraceroute.db
- lrwxrwxrwx 1 root root 41 ago 1 2017 tcptraceroute.8.gz -> /usr/share/man/man8/tcptraceroute.db.8.gz
- lrwxrwxrwx 1 root root 22 ago 26 2016 telnet -> /usr/bin/telnet.netkit
- lrwxrwxrwx 1 root root 38 ago 26 2016 telnet.1.gz -> /usr/share/man/man1/telnet.netkit.1.gz
- lrwxrwxrwx 1 root root 22 ago 1 2017 traceproto -> /usr/bin/traceproto.db
- lrwxrwxrwx 1 root root 38 ago 1 2017 traceproto.1.gz -> /usr/share/man/man1/traceproto.db.1.gz
- lrwxrwxrwx 1 root root 22 ago 1 2017 traceroute -> /usr/bin/traceroute.db
- lrwxrwxrwx 1 root root 38 ago 1 2017 traceroute.1.gz -> /usr/share/man/man1/traceroute.db.1.gz
- lrwxrwxrwx 1 root root 23 ago 1 2017 traceroute6 -> /usr/bin/traceroute6.db
- lrwxrwxrwx 1 root root 39 ago 1 2017 traceroute6.1.gz -> /usr/share/man/man1/traceroute6.db.1.gz
- lrwxrwxrwx 1 root root 22 ago 1 2017 traceroute.sbin -> /usr/bin/traceroute.db
- lrwxrwxrwx 1 root root 48 out 24 11:33 TRUNCATE.7.gz -> /usr/share/postgresql/9.6/man/man7/TRUNCATE.7.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 UNLISTEN.7.gz -> /usr/share/postgresql/9.6/man/man7/UNLISTEN.7.gz
- lrwxrwxrwx 1 root root 13 ago 26 2016 unlzma -> /usr/bin/unxz
- lrwxrwxrwx 1 root root 29 ago 26 2016 unlzma.1.gz -> /usr/share/man/man1/unxz.1.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 UPDATE.7.gz -> /usr/share/postgresql/9.6/man/man7/UPDATE.7.gz
- lrwxrwxrwx 1 root root 25 ago 1 2017 updatedb -> /usr/bin/updatedb.mlocate
- lrwxrwxrwx 1 root root 41 ago 1 2017 updatedb.8.gz -> /usr/share/man/man8/updatedb.mlocate.8.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 VACUUM.7.gz -> /usr/share/postgresql/9.6/man/man7/VACUUM.7.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 vacuumdb.1.gz -> /usr/share/postgresql/9.6/man/man1/vacuumdb.1.gz
- lrwxrwxrwx 1 root root 48 out 24 11:33 vacuumlo.1.gz -> /usr/share/postgresql/9.6/man/man1/vacuumlo.1.gz
- lrwxrwxrwx 1 root root 46 out 24 11:33 VALUES.7.gz -> /usr/share/postgresql/9.6/man/man7/VALUES.7.gz
- lrwxrwxrwx 1 root root 18 out 11 11:02 vi -> /usr/bin/vim.basic
- lrwxrwxrwx 1 root root 28 out 11 11:02 vi.1.gz -> /usr/share/man/man1/vim.1.gz
- lrwxrwxrwx 1 root root 18 out 11 11:02 view -> /usr/bin/vim.basic
- lrwxrwxrwx 1 root root 28 out 11 11:02 view.1.gz -> /usr/share/man/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 view.fr.1.gz -> /usr/share/man/fr/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 view.it.1.gz -> /usr/share/man/it/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 view.ja.1.gz -> /usr/share/man/ja/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 view.pl.1.gz -> /usr/share/man/pl/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 view.ru.1.gz -> /usr/share/man/ru/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 vi.fr.1.gz -> /usr/share/man/fr/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 vi.it.1.gz -> /usr/share/man/it/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 vi.ja.1.gz -> /usr/share/man/ja/man1/vim.1.gz
- lrwxrwxrwx 1 root root 18 out 11 11:02 vim -> /usr/bin/vim.basic
- lrwxrwxrwx 1 root root 18 out 11 11:02 vimdiff -> /usr/bin/vim.basic
- lrwxrwxrwx 1 root root 31 out 11 11:02 vi.pl.1.gz -> /usr/share/man/pl/man1/vim.1.gz
- lrwxrwxrwx 1 root root 31 out 11 11:02 vi.ru.1.gz -> /usr/share/man/ru/man1/vim.1.gz
- lrwxrwxrwx 1 root root 17 ago 26 2016 w -> /usr/bin/w.procps
- lrwxrwxrwx 1 root root 33 ago 26 2016 w.1.gz -> /usr/share/man/man1/w.procps.1.gz
- lrwxrwxrwx 1 root root 44 out 24 11:33 WITH.7.gz -> /usr/share/postgresql/9.6/man/man7/WITH.7.gz
- lrwxrwxrwx 1 root root 18 ago 26 2016 write -> /usr/bin/bsd-write
- lrwxrwxrwx 1 root root 34 ago 26 2016 write.1.gz -> /usr/share/man/man1/bsd-write.1.gz
- lrwxrwxrwx 1 root root 12 ago 26 2016 www-browser -> /usr/bin/w3m
- lrwxrwxrwx 1 root root 28 ago 26 2016 www-browser.1.gz -> /usr/share/man/man1/w3m.1.gz
- lrwxrwxrwx 1 root root 15 ago 26 2016 x-terminal-emulator -> /usr/bin/lxterm
- lrwxrwxrwx 1 root root 31 ago 26 2016 x-terminal-emulator.1.gz -> /usr/share/man/man1/lxterm.1.gz
- debian@paracambi:/etc/alternatives$ cd /etc/mysql/
- debian@paracambi:/etc/mysql$ cd mariadb.conf.d/
- debian@paracambi:/etc/mysql/mariadb.conf.d$ ls -la
- total 24
- drwxr-xr-x 2 root root 4096 out 24 17:43 .
- drwxr-xr-x 4 debian debian 4096 out 24 17:43 ..
- -rw-r--r-- 1 root root 677 ago 10 2017 50-client.cnf
- -rw-r--r-- 1 root root 336 ago 10 2017 50-mysql-clients.cnf
- -rw-r--r-- 1 root root 1032 ago 10 2017 50-mysqld_safe.cnf
- -rw-r--r-- 1 root root 3719 ago 10 2017 50-server.cnf
- debian@paracambi:/etc/mysql/mariadb.conf.d$ cd ..
- debian@paracambi:/etc/mysql$ ls
- conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
- debian@paracambi:/etc/mysql$ ls -la
- total 32
- drwxr-xr-x 4 debian debian 4096 out 24 17:43 .
- drwxr-xr-x 101 root root 4096 out 24 17:44 ..
- drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
- -rw------- 1 root root 277 out 24 17:43 debian.cnf
- -rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
- -rw-r--r-- 1 debian debian 869 ago 10 2017 mariadb.cnf
- drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
- lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
- -rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
- debian@paracambi:/etc/mysql$ chmod 777 mariadb.cnf
- debian@paracambi:/etc/mysql$ ls -la
- total 32
- drwxr-xr-x 4 debian debian 4096 out 24 17:43 .
- drwxr-xr-x 101 root root 4096 out 24 17:44 ..
- drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
- -rw------- 1 root root 277 out 24 17:43 debian.cnf
- -rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
- -rwxrwxrwx 1 debian debian 869 ago 10 2017 mariadb.cnf
- drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
- lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
- -rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
- debian@paracambi:/etc/mysql$ mysql_secure_installation
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ top
- top - 17:49:04 up 20 days, 2:31, 1 user, load average: 0,01, 0,03, 0,00
- Tasks: 140 total, 1 running, 139 sleeping, 0 stopped, 0 zombie
- %Cpu(s): 0,3 us, 0,1 sy, 0,0 ni, 99,6 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
- KiB Mem : 1020384 total, 128120 free, 261272 used, 630992 buff/cache
- KiB Swap: 1949692 total, 1937032 free, 12660 used. 559048 avail Mem
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 1560 debian 20 0 44920 3736 3096 R 6,2 0,4 0:00.02 top
- 1 root 20 0 204864 6004 4336 S 0,0 0,6 0:20.86 systemd
- 2 root 20 0 0 0 0 S 0,0 0,0 0:00.24 kthreadd
- 3 root 20 0 0 0 0 S 0,0 0,0 0:18.17 ksoftirqd/0
- 5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
- 7 root 20 0 0 0 0 S 0,0 0,0 2:43.10 rcu_sched
- 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
- 9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
- 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
- 11 root rt 0 0 0 0 S 0,0 0,0 0:03.98 watchdog/0
- 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
- 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
- 14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
- 15 root 20 0 0 0 0 S 0,0 0,0 0:01.28 khungtaskd
- 16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
- 17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
- 18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcompactd0
- 19 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
- 21 root 39 19 0 0 0 S 0,0 0,0 0:00.10 khugepaged
- 22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
- 23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
- 24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
- 25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
- 26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
- 27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 watchdogd
- 28 root 20 0 0 0 0 S 0,0 0,0 0:03.97 kswapd0
- 29 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
- 41 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
- 42 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ipv6_addrconf
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ps -aux | grep mysql
- debian 1567 0.0 0.0 12784 960 pts/0 S+ 17:49 0:00 grep mysql
- root 26087 0.0 0.3 49328 3692 pts/0 S 16:58 0:00 sudo mysqld_safe --skip-grant-tables
- root 26088 0.0 0.3 11456 3108 pts/0 S 16:58 0:00 /bin/bash /usr/bin/mysqld_safe --skip-grant-tables
- mysql 26235 0.0 7.3 649424 75472 pts/0 Sl 16:58 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --user=mysql --skip-grant-tables --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
- debian@paracambi:/etc/mysql$ sudo kill -9 26087
- [1]+ Morto sudo mysqld_safe --skip-grant-tables (wd: ~)
- (wd agora: /etc/mysql)
- debian@paracambi:/etc/mysql$ sudo kill -9 26088
- debian@paracambi:/etc/mysql$ sudo kill -9 26235
- debian@paracambi:/etc/mysql$ ps -aux | grep mysql
- debian 1600 0.0 0.0 12784 924 pts/0 S+ 17:49 0:00 grep mysql
- debian@paracambi:/etc/mysql$ mysql_secure_installation
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ ^C
- debian@paracambi:/etc/mysql$ cd /var/run/mysqld/
- debian@paracambi:/var/run/mysqld$ ls
- debian@paracambi:/var/run/mysqld$ ls -la
- total 0
- drwxr-xr-x 2 mysql root 40 out 24 17:43 .
- drwxr-xr-x 26 root root 960 out 24 17:43 ..
- debian@paracambi:/var/run/mysqld$ ls -la
- total 0
- drwxr-xr-x 2 mysql root 40 out 24 17:43 .
- drwxr-xr-x 26 root root 960 out 24 17:43 ..
- debian@paracambi:/var/run/mysqld$ cd ..
- debian@paracambi:/var/run$ ls -la
- total 44
- drwxr-xr-x 26 root root 960 out 24 17:43 .
- drwxr-xr-x 22 root root 4096 out 17 06:56 ..
- -rw-r--r-- 1 root root 4 out 4 15:18 acpid.pid
- srw-rw-rw- 1 root root 0 out 4 15:18 acpid.socket
- -rw------- 1 root root 0 out 4 15:18 agetty.reload
- drwxr-xr-x 2 root root 60 out 24 16:14 apache2
- -rw-r--r-- 1 root root 4 out 4 15:18 atd.pid
- drwxr-xr-x 2 root root 60 out 17 06:56 blkid
- drwxr-xr-x 2 root root 80 out 4 15:18 console-setup
- -rw-r--r-- 1 root root 4 out 4 15:18 crond.pid
- ---------- 1 root root 0 out 4 15:18 crond.reboot
- drwxr-xr-x 2 root root 60 out 4 15:18 dbus
- prw------- 1 root root 0 out 4 15:18 dmeventd-client
- prw------- 1 root root 0 out 4 15:18 dmeventd-server
- drwxr-x--- 2 Debian-exim Debian-exim 60 out 4 15:18 exim4
- drwxr-xr-x 2 root root 140 out 4 15:18 fsck
- lrwxrwxrwx 1 root root 25 out 4 15:18 initctl -> /run/systemd/initctl/fifo
- drwxr-xr-x 2 root root 100 out 4 15:18 initramfs
- drwxrwxrwt 5 root root 120 out 8 15:03 lock
- drwxr-xr-x 3 root root 60 out 4 15:18 log
- drwx------ 2 root root 80 out 4 15:18 lvm
- -rw-r--r-- 1 root root 4 out 4 15:18 lvmetad.pid
- -rw-r--r-- 1 root root 0 out 5 06:25 mlocate.daily.lock
- -rw-r--r-- 1 root root 81 out 24 16:57 motd.dynamic
- drwxr-xr-x 2 root root 60 out 4 15:18 mount
- drwxr-xr-x 2 mysql root 40 out 24 17:43 mysqld
- drwxr-xr-x 2 root root 120 out 4 15:18 network
- -rw-r--r-- 1 root root 3 out 4 15:18 ntpd.pid
- drwxrwsr-x 3 postgres postgres 120 out 24 11:33 postgresql
- -rw-r--r-- 1 root root 0 out 17 06:56 reboot-required
- drwxr-xr-x 2 root root 40 out 4 15:18 rpcbind
- -r--r--r-- 1 root root 0 out 4 15:18 rpcbind.lock
- srw-rw-rw- 1 root root 0 out 4 15:18 rpcbind.sock
- dr-xr-xr-x 11 root root 0 out 4 15:18 rpc_pipefs
- -rw-r--r-- 1 root root 3 out 4 15:18 rsyslogd.pid
- drwxr-xr-x 2 root root 40 out 4 15:18 sendsigs.omit.d
- lrwxrwxrwx 1 root root 8 out 4 15:18 shm -> /dev/shm
- drwxr-xr-x 2 root root 40 out 4 15:18 sshd
- -rw-r--r-- 1 root root 4 out 4 15:18 sshd.pid
- drwxr-xr-x 2 root root 60 out 4 15:18 sysconfig
- drwxr-xr-x 17 root root 420 out 24 17:43 systemd
- drwxr-xr-x 2 root root 60 out 4 15:18 tmpfiles.d
- drwxr-xr-x 7 root root 200 out 17 06:56 udev
- -rw-r----- 1 root root 0 out 6 06:24 unattended-upgrades.lock
- -rw-r--r-- 1 root root 48 out 17 06:56 unattended-upgrades.progress
- drwxr-xr-x 4 root root 80 out 24 16:57 user
- -rw-rw-r-- 1 root utmp 1920 out 24 16:57 utmp
- drwxr-xr-x 2 zabbix zabbix 60 out 21 06:25 zabbix
- debian@paracambi:/var/run$ cd /var/run/mysqld/
- debian@paracambi:/var/run/mysqld$ ls -lah
- total 0
- drwxr-xr-x 2 mysql root 40 out 24 17:43 .
- drwxr-xr-x 26 root root 960 out 24 17:43 ..
- debian@paracambi:/var/run/mysqld$ sudo su
- root@paracambi:/run/mysqld# mvn -version^C
- root@paracambi:/run/mysqld# exit
- exit
- debian@paracambi:/var/run/mysqld$ sudo su
- root@paracambi:/run/mysqld# mysql_secure_installation
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- Enter current password for root (enter for none):
- Aborting!
- Cleaning up...
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# mysql -u root
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
- root@paracambi:/run/mysqld# systemctl status
- ● paracambi
- State: degraded
- Jobs: 0 queued
- Failed: 1 units
- Since: Thu 2018-10-04 15:18:08 -03; 2 weeks 6 days ago
- CGroup: /
- ├─user.slice
- │ ├─user-1004.slice
- │ │ ├─session-1546.scope
- │ │ │ └─7072 /usr/bin/java -Djava.util.logging.config.file=/home/dspace/apache-tomcat-9.0.12/conf/logging.propertie
- │ │ └─[email protected]
- │ │ └─init.scope
- │ │ ├─6603 /lib/systemd/systemd --user
- │ │ └─6604 (sd-pam)
- │ └─user-1001.slice
- │ ├─session-1570.scope
- │ │ ├─ 1727 sudo su
- │ │ ├─ 1728 su
- │ │ ├─ 1729 bash
- │ │ ├─ 1784 systemctl status
- │ │ ├─25966 sshd: debian [priv]
- │ │ ├─25975 sshd: debian@pts/0
- │ │ └─25976 -bash
- │ └─init.scope
- │ ├─25968 /lib/systemd/systemd --user
- │ └─25969 (sd-pam)
- ├─init.scope
- │ └─1 /sbin/init
- └─system.slice
- ├─lvm2-lvmetad.service
- │ └─313 /sbin/lvmetad -f
- ├─dbus.service
- │ └─536 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
- ├─system-postgresql.slice
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# systemctl mysql status
- Unknown operation mysql.
- root@paracambi:/run/mysqld# systemctl status mysql
- ● mariadb.service - MariaDB database server
- Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since Wed 2018-10-24 17:43:53 -03; 10min ago
- Main PID: 1214 (code=exited, status=1/FAILURE)
- Status: "MariaDB server is down"
- out 24 17:43:50 paracambi systemd[1]: Starting MariaDB database server...
- out 24 17:43:51 paracambi mysqld[1214]: 2018-10-24 17:43:51 140344999359040 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-0+
- out 24 17:43:53 paracambi systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
- out 24 17:43:53 paracambi systemd[1]: Failed to start MariaDB database server.
- out 24 17:43:53 paracambi systemd[1]: mariadb.service: Unit entered failed state.
- out 24 17:43:53 paracambi systemd[1]: mariadb.service: Failed with result 'exit-code'.
- lines 1-12/12 (END)
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# systemctl start mysql
- root@paracambi:/run/mysqld# systemctl status
- ● paracambi
- State: running
- Jobs: 0 queued
- Failed: 0 units
- Since: Thu 2018-10-04 15:18:08 -03; 2 weeks 6 days ago
- CGroup: /
- ├─user.slice
- │ ├─user-1004.slice
- │ │ ├─session-1546.scope
- │ │ │ └─7072 /usr/bin/java -Djava.util.logging.config.file=/home/dspace/apache-tomcat-9.0.12/conf/logging.propertie
- │ │ └─[email protected]
- │ │ └─init.scope
- │ │ ├─6603 /lib/systemd/systemd --user
- │ │ └─6604 (sd-pam)
- │ └─user-1001.slice
- │ ├─session-1570.scope
- │ │ ├─ 1727 sudo su
- │ │ ├─ 1728 su
- │ │ ├─ 1729 bash
- │ │ ├─ 1860 systemctl status
- │ │ ├─ 1861 pager
- │ │ ├─25966 sshd: debian [priv]
- │ │ ├─25975 sshd: debian@pts/0
- │ │ └─25976 -bash
- │ └─init.scope
- │ ├─25968 /lib/systemd/systemd --user
- │ └─25969 (sd-pam)
- ├─init.scope
- │ └─1 /sbin/init
- └─system.slice
- ├─lvm2-lvmetad.service
- │ └─313 /sbin/lvmetad -f
- ├─dbus.service
- │ └─536 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
- ├─system-postgresql.slice
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# systemctl start mysql
- root@paracambi:/run/mysqld# systemctl status msyql
- Unit msyql.service could not be found.
- root@paracambi:/run/mysqld# systemctl status mysql
- ● mariadb.service - MariaDB database server
- Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
- Active: active (running) since Wed 2018-10-24 17:54:42 -03; 14s ago
- Process: 1852 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 1850 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
- Process: 1812 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -e
- Process: 1808 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
- Process: 1804 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
- Main PID: 1823 (mysqld)
- Status: "Taking your SQL requests now..."
- Tasks: 26 (limit: 4915)
- CGroup: /system.slice/mariadb.service
- └─1823 /usr/sbin/mysqld
- out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] InnoDB: Highest supported file format is Ba
- out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] InnoDB: 128 rollback segment(s) are active.
- out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] InnoDB: Waiting for purge to start
- out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] InnoDB: Percona XtraDB (http://www.percona
- out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] Plugin 'FEEDBACK' is disabled.
- out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140718559422208 [Note] InnoDB: Dumping buffer pool(s) not yet star
- out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] Server socket created on IP: '::'.
- out 24 17:54:42 paracambi mysqld[1823]: 2018-10-24 17:54:42 140719269810752 [Note] /usr/sbin/mysqld: ready for connections.
- out 24 17:54:42 paracambi mysqld[1823]: Version: '10.1.26-MariaDB-0+deb9u1' socket: '/var/run/mysqld/mysqld.sock' port: 3306
- out 24 17:54:42 paracambi systemd[1]: Started MariaDB database server.
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# ^C
- root@paracambi:/run/mysqld# mysql -u root
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- Welcome to the MariaDB monitor. Commands end with ; or \g.
- Your MariaDB connection id is 2
- Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
- Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- MariaDB [(none)]> Bye
- root@paracambi:/run/mysqld# mysql_secure_installation
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
- SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
- In order to log into MariaDB to secure it, we'll need the current
- password for the root user. If you've just installed MariaDB, and
- you haven't set the root password yet, the password will be blank,
- so you should just press enter here.
- Enter current password for root (enter for none):
- OK, successfully used password, moving on...
- Setting the root password ensures that nobody can log into the MariaDB
- root user without the proper authorisation.
- Set root password? [Y/n] n
- ... skipping.
- By default, a MariaDB installation has an anonymous user, allowing anyone
- to log into MariaDB without having to have a user account created for
- them. This is intended only for testing, and to make the installation
- go a bit smoother. You should remove them before moving into a
- production environment.
- Remove anonymous users? [Y/n] n
- ... skipping.
- Normally, root should only be allowed to connect from 'localhost'. This
- ensures that someone cannot guess at the root password from the network.
- Disallow root login remotely? [Y/n] n
- ... skipping.
- By default, MariaDB comes with a database named 'test' that anyone can
- access. This is also intended only for testing, and should be removed
- before moving into a production environment.
- Remove test database and access to it? [Y/n] n
- ... skipping.
- Reloading the privilege tables will ensure that all changes made so far
- will take effect immediately.
- Reload privilege tables now? [Y/n] n
- ... skipping.
- Cleaning up...
- All done! If you've completed all of the above steps, your MariaDB
- installation should now be secure.
- Thanks for using MariaDB!
- root@paracambi:/run/mysqld# n
- bash: n: comando não encontrado
- root@paracambi:/run/mysqld#
- root@paracambi:/run/mysqld#
- root@paracambi:/run/mysqld#
- root@paracambi:/run/mysqld#
- root@paracambi:/run/mysqld#
- root@paracambi:/run/mysqld# mysql -u root -p
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- Enter password:
- Welcome to the MariaDB monitor. Commands end with ; or \g.
- Your MariaDB connection id is 4
- Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
- Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- MariaDB [(none)]> CREATE DATABASE joomla_db;
- Query OK, 1 row affected (0.00 sec)
- MariaDB [(none)]> CREATE USER joomla@localhost;
- Query OK, 0 rows affected (0.00 sec)
- MariaDB [(none)]> SET PASSWORD FOR 'joomla'@'localhost' = PASSWORD("123456");
- Query OK, 0 rows affected (0.00 sec)
- MariaDB [(none)]> GRANT ALL PRIVILEGES ON joomla_db.* TO 'joomla'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
- Query OK, 0 rows affected (0.00 sec)
- MariaDB [(none)]> FLUSH PRIVILEGES;
- Query OK, 0 rows affected (0.00 sec)
- MariaDB [(none)]> exit
- Bye
- root@paracambi:/run/mysqld#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement