· 7 years ago · Oct 24, 2018, 09:02 PM
1Last login: Tue Oct 16 16:41:09 on ttys002
2reidtic009242:~ 2221364$ ssh debian@10.6.1.34
3debian@10.6.1.34's password:
4Linux paracambi 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64
5
6The programs included with the Debian GNU/Linux system are free software;
7the exact distribution terms for each program are described in the
8individual files in /usr/share/doc/*/copyright.
9
10Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
11permitted by applicable law.
12Last login: Wed Oct 24 14:39:16 2018 from 10.4.1.4
13debian@paracambi:~$ ls
14apache-maven-3.5.4 jdk-8u191-linux-x64.tar.gz
15debian@paracambi:~$ sudo apt-get update -y
16[sudo] senha para debian:
17Sinto muito, tente novamente.
18[sudo] senha para debian:
19Obter:1 http://security.debian.org stretch/updates InRelease [94,3 kB]
20Ign:2 http://deb.debian.org/debian stretch InRelease
21Obter:3 http://deb.debian.org/debian stretch-updates InRelease [91,0 kB]
22Atingido:4 http://deb.debian.org/debian stretch Release
23Baixados 185 kB em 0s (231 kB/s)
24Lendo listas de pacotes... Pronto
25debian@paracambi:~$ sudo apt-get upgrade -y
26Lendo listas de pacotes... Pronto
27Construindo árvore de dependências
28Lendo informação de estado... Pronto
29Calculando atualização... Pronto
300 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
31debian@paracambi:~$ sudo systemctl start apache2
32debian@paracambi:~$ sudo systemctl enable apache2
33Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install.
34Executing: /lib/systemd/systemd-sysv-install enable apache2
35debian@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
36Lendo listas de pacotes... Pronto
37Construindo árvore de dependências
38Lendo informação de estado... Pronto
39The following additional packages will be installed:
40 libapache2-mod-php7.0 libcurl3 libgd3 libltdl7 libmcrypt4
41 libzip4 php-common php7.0-common
42Pacotes sugeridos:
43 php-pear libgd-tools libmcrypt-dev mcrypt
44Os NOVOS pacotes a seguir serão instalados:
45 libapache2-mod-php7.0 libcurl3 libgd3 libltdl7 libmcrypt4
46 libzip4 php-common php7.0 php7.0-cli php7.0-common php7.0-curl
47 php7.0-gd php7.0-intl php7.0-json php7.0-mcrypt php7.0-mysql
48 php7.0-opcache php7.0-readline php7.0-soap php7.0-xml
49 php7.0-zip
500 pacotes atualizados, 21 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
51É preciso baixar 5.046 kB de arquivos.
52Depois desta operação, 18,1 MB adicionais de espaço em disco serão usados.
53Obter:1 http://deb.debian.org/debian stretch/main amd64 php-common all 1:49 [14,1 kB]
54Obter:2 http://security.debian.org stretch/updates/main amd64 libcurl3 amd64 7.52.1-5+deb9u7 [292 kB]
55Obter:3 http://deb.debian.org/debian stretch/main amd64 php7.0-common amd64 7.0.30-0+deb9u1 [877 kB]
56Obter:4 http://deb.debian.org/debian stretch/main amd64 php7.0-json amd64 7.0.30-0+deb9u1 [17,0 kB]
57Obter:5 http://deb.debian.org/debian stretch/main amd64 php7.0-opcache amd64 7.0.30-0+deb9u1 [77,5 kB]
58Obter:6 http://deb.debian.org/debian stretch/main amd64 php7.0-readline amd64 7.0.30-0+deb9u1 [12,2 kB]
59Obter:7 http://deb.debian.org/debian stretch/main amd64 php7.0-cli amd64 7.0.30-0+deb9u1 [1.284 kB]
60Obter:8 http://deb.debian.org/debian stretch/main amd64 libapache2-mod-php7.0 amd64 7.0.30-0+deb9u1 [1.225 kB]
61Obter:9 http://deb.debian.org/debian stretch/main amd64 libgd3 amd64 2.2.4-2+deb9u2 [132 kB]
62Obter:10 http://deb.debian.org/debian stretch/main amd64 libltdl7 amd64 2.4.6-2 [389 kB]
63Obter:11 http://deb.debian.org/debian stretch/main amd64 libmcrypt4 amd64 2.5.8-3.3 [71,2 kB]
64Obter:12 http://deb.debian.org/debian stretch/main amd64 libzip4 amd64 1.1.2-1.1+b1 [40,6 kB]
65Obter:13 http://deb.debian.org/debian stretch/main amd64 php7.0 all 7.0.30-0+deb9u1 [53,4 kB]
66Obter:14 http://deb.debian.org/debian stretch/main amd64 php7.0-curl amd64 7.0.30-0+deb9u1 [27,3 kB]
67Obter:15 http://deb.debian.org/debian stretch/main amd64 php7.0-gd amd64 7.0.30-0+deb9u1 [27,0 kB]
68Obter:16 http://deb.debian.org/debian stretch/main amd64 php7.0-intl amd64 7.0.30-0+deb9u1 [124 kB]
69Obter:17 http://deb.debian.org/debian stretch/main amd64 php7.0-mcrypt amd64 7.0.30-0+deb9u1 [14,3 kB]
70Obter:18 http://deb.debian.org/debian stretch/main amd64 php7.0-mysql amd64 7.0.30-0+deb9u1 [124 kB]
71Obter:19 http://deb.debian.org/debian stretch/main amd64 php7.0-soap amd64 7.0.30-0+deb9u1 [113 kB]
72Obter:20 http://deb.debian.org/debian stretch/main amd64 php7.0-xml amd64 7.0.30-0+deb9u1 [112 kB]
73Obter:21 http://deb.debian.org/debian stretch/main amd64 php7.0-zip amd64 7.0.30-0+deb9u1 [19,9 kB]
74Baixados 5.046 kB em 0s (8.224 kB/s)
75A seleccionar pacote anteriormente não seleccionado php-common.
76(Lendo banco de dados ... 64269 ficheiros e directórios actualmente instalados.)
77A preparar para desempacotar .../00-php-common_1%3a49_all.deb ...
78A descompactar php-common (1:49) ...
79A seleccionar pacote anteriormente não seleccionado php7.0-common.
80A preparar para desempacotar .../01-php7.0-common_7.0.30-0+deb9u1_amd64.deb ...
81A descompactar php7.0-common (7.0.30-0+deb9u1) ...
82A seleccionar pacote anteriormente não seleccionado php7.0-json.
83A preparar para desempacotar .../02-php7.0-json_7.0.30-0+deb9u1_amd64.deb ...
84A descompactar php7.0-json (7.0.30-0+deb9u1) ...
85A seleccionar pacote anteriormente não seleccionado php7.0-opcache.
86A preparar para desempacotar .../03-php7.0-opcache_7.0.30-0+deb9u1_amd64.deb ...
87A descompactar php7.0-opcache (7.0.30-0+deb9u1) ...
88A seleccionar pacote anteriormente não seleccionado php7.0-readline.
89A preparar para desempacotar .../04-php7.0-readline_7.0.30-0+deb9u1_amd64.deb ...
90A descompactar php7.0-readline (7.0.30-0+deb9u1) ...
91A seleccionar pacote anteriormente não seleccionado php7.0-cli.
92A preparar para desempacotar .../05-php7.0-cli_7.0.30-0+deb9u1_amd64.deb ...
93A descompactar php7.0-cli (7.0.30-0+deb9u1) ...
94A seleccionar pacote anteriormente não seleccionado libapache2-mod-php7.0.
95A preparar para desempacotar .../06-libapache2-mod-php7.0_7.0.30-0+deb9u1_amd64.deb ...
96A descompactar libapache2-mod-php7.0 (7.0.30-0+deb9u1) ...
97A seleccionar pacote anteriormente não seleccionado libcurl3:amd64.
98A preparar para desempacotar .../07-libcurl3_7.52.1-5+deb9u7_amd64.deb ...
99A descompactar libcurl3:amd64 (7.52.1-5+deb9u7) ...
100A seleccionar pacote anteriormente não seleccionado libgd3:amd64.
101A preparar para desempacotar .../08-libgd3_2.2.4-2+deb9u2_amd64.deb ...
102A descompactar libgd3:amd64 (2.2.4-2+deb9u2) ...
103A seleccionar pacote anteriormente não seleccionado libltdl7:amd64.
104A preparar para desempacotar .../09-libltdl7_2.4.6-2_amd64.deb ...
105A descompactar libltdl7:amd64 (2.4.6-2) ...
106A seleccionar pacote anteriormente não seleccionado libmcrypt4.
107A preparar para desempacotar .../10-libmcrypt4_2.5.8-3.3_amd64.deb ...
108A descompactar libmcrypt4 (2.5.8-3.3) ...
109A seleccionar pacote anteriormente não seleccionado libzip4:amd64.
110A preparar para desempacotar .../11-libzip4_1.1.2-1.1+b1_amd64.deb ...
111A descompactar libzip4:amd64 (1.1.2-1.1+b1) ...
112A seleccionar pacote anteriormente não seleccionado php7.0.
113A preparar para desempacotar .../12-php7.0_7.0.30-0+deb9u1_all.deb ...
114A descompactar php7.0 (7.0.30-0+deb9u1) ...
115A seleccionar pacote anteriormente não seleccionado php7.0-curl.
116A preparar para desempacotar .../13-php7.0-curl_7.0.30-0+deb9u1_amd64.deb ...
117A descompactar php7.0-curl (7.0.30-0+deb9u1) ...
118A seleccionar pacote anteriormente não seleccionado php7.0-gd.
119A preparar para desempacotar .../14-php7.0-gd_7.0.30-0+deb9u1_amd64.deb ...
120A descompactar php7.0-gd (7.0.30-0+deb9u1) ...
121A seleccionar pacote anteriormente não seleccionado php7.0-intl.
122A preparar para desempacotar .../15-php7.0-intl_7.0.30-0+deb9u1_amd64.deb ...
123A descompactar php7.0-intl (7.0.30-0+deb9u1) ...
124A seleccionar pacote anteriormente não seleccionado php7.0-mcrypt.
125A preparar para desempacotar .../16-php7.0-mcrypt_7.0.30-0+deb9u1_amd64.deb ...
126A descompactar php7.0-mcrypt (7.0.30-0+deb9u1) ...
127A seleccionar pacote anteriormente não seleccionado php7.0-mysql.
128A preparar para desempacotar .../17-php7.0-mysql_7.0.30-0+deb9u1_amd64.deb ...
129A descompactar php7.0-mysql (7.0.30-0+deb9u1) ...
130A seleccionar pacote anteriormente não seleccionado php7.0-soap.
131A preparar para desempacotar .../18-php7.0-soap_7.0.30-0+deb9u1_amd64.deb ...
132A descompactar php7.0-soap (7.0.30-0+deb9u1) ...
133A seleccionar pacote anteriormente não seleccionado php7.0-xml.
134A preparar para desempacotar .../19-php7.0-xml_7.0.30-0+deb9u1_amd64.deb ...
135A descompactar php7.0-xml (7.0.30-0+deb9u1) ...
136A seleccionar pacote anteriormente não seleccionado php7.0-zip.
137A preparar para desempacotar .../20-php7.0-zip_7.0.30-0+deb9u1_amd64.deb ...
138A descompactar php7.0-zip (7.0.30-0+deb9u1) ...
139Configurando libcurl3:amd64 (7.52.1-5+deb9u7) ...
140Configurando libgd3:amd64 (2.2.4-2+deb9u2) ...
141Configurando libzip4:amd64 (1.1.2-1.1+b1) ...
142A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
143Configurando php-common (1:49) ...
144Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
145Configurando libltdl7:amd64 (2.4.6-2) ...
146A processar 'triggers' para man-db (2.7.6.1-2) ...
147Configurando php7.0-common (7.0.30-0+deb9u1) ...
148
149Creating config file /etc/php/7.0/mods-available/calendar.ini with new version
150
151Creating config file /etc/php/7.0/mods-available/ctype.ini with new version
152
153Creating config file /etc/php/7.0/mods-available/exif.ini with new version
154
155Creating config file /etc/php/7.0/mods-available/fileinfo.ini with new version
156
157Creating config file /etc/php/7.0/mods-available/ftp.ini with new version
158
159Creating config file /etc/php/7.0/mods-available/gettext.ini with new version
160
161Creating config file /etc/php/7.0/mods-available/iconv.ini with new version
162
163Creating config file /etc/php/7.0/mods-available/pdo.ini with new version
164
165Creating config file /etc/php/7.0/mods-available/phar.ini with new version
166
167Creating config file /etc/php/7.0/mods-available/posix.ini with new version
168
169Creating config file /etc/php/7.0/mods-available/shmop.ini with new version
170
171Creating config file /etc/php/7.0/mods-available/sockets.ini with new version
172
173Creating config file /etc/php/7.0/mods-available/sysvmsg.ini with new version
174
175Creating config file /etc/php/7.0/mods-available/sysvsem.ini with new version
176
177Creating config file /etc/php/7.0/mods-available/sysvshm.ini with new version
178
179Creating config file /etc/php/7.0/mods-available/tokenizer.ini with new version
180Configurando php7.0-xml (7.0.30-0+deb9u1) ...
181
182Creating config file /etc/php/7.0/mods-available/dom.ini with new version
183
184Creating config file /etc/php/7.0/mods-available/simplexml.ini with new version
185
186Creating config file /etc/php/7.0/mods-available/wddx.ini with new version
187
188Creating config file /etc/php/7.0/mods-available/xml.ini with new version
189
190Creating config file /etc/php/7.0/mods-available/xmlreader.ini with new version
191
192Creating config file /etc/php/7.0/mods-available/xmlwriter.ini with new version
193
194Creating config file /etc/php/7.0/mods-available/xsl.ini with new version
195Configurando php7.0-intl (7.0.30-0+deb9u1) ...
196
197Creating config file /etc/php/7.0/mods-available/intl.ini with new version
198Configurando libmcrypt4 (2.5.8-3.3) ...
199Configurando php7.0-soap (7.0.30-0+deb9u1) ...
200
201Creating config file /etc/php/7.0/mods-available/soap.ini with new version
202Configurando php7.0-mysql (7.0.30-0+deb9u1) ...
203
204Creating config file /etc/php/7.0/mods-available/mysqlnd.ini with new version
205
206Creating config file /etc/php/7.0/mods-available/mysqli.ini with new version
207
208Creating config file /etc/php/7.0/mods-available/pdo_mysql.ini with new version
209Configurando php7.0-readline (7.0.30-0+deb9u1) ...
210
211Creating config file /etc/php/7.0/mods-available/readline.ini with new version
212Configurando php7.0-opcache (7.0.30-0+deb9u1) ...
213
214Creating config file /etc/php/7.0/mods-available/opcache.ini with new version
215Configurando php7.0-gd (7.0.30-0+deb9u1) ...
216
217Creating config file /etc/php/7.0/mods-available/gd.ini with new version
218Configurando php7.0-mcrypt (7.0.30-0+deb9u1) ...
219
220Creating config file /etc/php/7.0/mods-available/mcrypt.ini with new version
221Configurando php7.0-curl (7.0.30-0+deb9u1) ...
222
223Creating config file /etc/php/7.0/mods-available/curl.ini with new version
224Configurando php7.0-zip (7.0.30-0+deb9u1) ...
225
226Creating config file /etc/php/7.0/mods-available/zip.ini with new version
227Configurando php7.0-json (7.0.30-0+deb9u1) ...
228
229Creating config file /etc/php/7.0/mods-available/json.ini with new version
230Configurando php7.0-cli (7.0.30-0+deb9u1) ...
231update-alternatives: a usar /usr/bin/php7.0 para disponibilizar /usr/bin/php (php) em modo auto
232update-alternatives: a usar /usr/bin/phar7.0 para disponibilizar /usr/bin/phar (phar) em modo auto
233update-alternatives: a usar /usr/bin/phar.phar7.0 para disponibilizar /usr/bin/phar.phar (phar.phar) em modo auto
234
235Creating config file /etc/php/7.0/cli/php.ini with new version
236Configurando libapache2-mod-php7.0 (7.0.30-0+deb9u1) ...
237
238Creating config file /etc/php/7.0/apache2/php.ini with new version
239Module mpm_event disabled.
240Enabling module mpm_prefork.
241apache2_switch_mpm Switch to prefork
242apache2_invoke: Enable module php7.0
243Configurando php7.0 (7.0.30-0+deb9u1) ...
244A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
245debian@paracambi:~$ sudo nano /etc/php/7.0/apache2/php.ini
246debian@paracambi:~$ sudo apt-get install mariadb-server -y
247Lendo listas de pacotes... Pronto
248Construindo árvore de dependências
249Lendo informação de estado... Pronto
250The following additional packages will be installed:
251 galera-3 gawk libaio1 libdbd-mysql-perl libdbi-perl
252 libhtml-template-perl libjemalloc1 libmariadbclient18
253 libterm-readkey-perl mariadb-client-10.1
254 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1
255 mariadb-server-core-10.1 socat
256Pacotes sugeridos:
257 gawk-doc libclone-perl libmldbm-perl libnet-daemon-perl
258 libsql-statement-perl libipc-sharedcache-perl mariadb-test
259 netcat-openbsd tinyca
260Os NOVOS pacotes a seguir serão instalados:
261 galera-3 gawk libaio1 libdbd-mysql-perl libdbi-perl
262 libhtml-template-perl libjemalloc1 libmariadbclient18
263 libterm-readkey-perl mariadb-client-10.1
264 mariadb-client-core-10.1 mariadb-common mariadb-server
265 mariadb-server-10.1 mariadb-server-core-10.1 socat
2660 pacotes atualizados, 16 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
267É preciso baixar 25,2 MB de arquivos.
268Depois desta operação, 190 MB adicionais de espaço em disco serão usados.
269Obter:1 http://deb.debian.org/debian stretch/main amd64 gawk amd64 1:4.1.4+dfsg-1 [571 kB]
270Obter:2 http://deb.debian.org/debian stretch/main amd64 mariadb-common all 10.1.26-0+deb9u1 [27,3 kB]
271Obter:3 http://deb.debian.org/debian stretch/main amd64 galera-3 amd64 25.3.19-2 [955 kB]
272Obter:4 http://deb.debian.org/debian stretch/main amd64 libdbi-perl amd64 1.636-1+b1 [766 kB]
273Obter:5 http://deb.debian.org/debian stretch/main amd64 libaio1 amd64 0.3.110-3 [9.412 B]
274Obter:6 http://deb.debian.org/debian stretch/main amd64 mariadb-client-core-10.1 amd64 10.1.26-0+deb9u1 [5.042 kB]
275Obter:7 http://deb.debian.org/debian stretch/main amd64 libjemalloc1 amd64 3.6.0-9.1 [89,8 kB]
276Obter:8 http://deb.debian.org/debian stretch/main amd64 mariadb-client-10.1 amd64 10.1.26-0+deb9u1 [5.841 kB]
277Obter:9 http://deb.debian.org/debian stretch/main amd64 mariadb-server-core-10.1 amd64 10.1.26-0+deb9u1 [5.177 kB]
278Obter:10 http://deb.debian.org/debian stretch/main amd64 socat amd64 1.7.3.1-2+deb9u1 [353 kB]
279Obter:11 http://deb.debian.org/debian stretch/main amd64 mariadb-server-10.1 amd64 10.1.26-0+deb9u1 [5.333 kB]
280Obter:12 http://deb.debian.org/debian stretch/main amd64 libmariadbclient18 amd64 10.1.26-0+deb9u1 [779 kB]
281Obter:13 http://deb.debian.org/debian stretch/main amd64 libdbd-mysql-perl amd64 4.041-2 [114 kB]
282Obter:14 http://deb.debian.org/debian stretch/main amd64 libhtml-template-perl all 2.95-2 [67,1 kB]
283Obter:15 http://deb.debian.org/debian stretch/main amd64 libterm-readkey-perl amd64 2.37-1 [27,2 kB]
284Obter:16 http://deb.debian.org/debian stretch/main amd64 mariadb-server all 10.1.26-0+deb9u1 [26,2 kB]
285Baixados 25,2 MB em 1s (14,8 MB/s)
286Pré-configurando pacotes ...
287Can't exec "/tmp/mariadb-server-10.1.config.HVbqKf": Permissão negada at /usr/share/perl/5.24/IPC/Open3.pm line 178.
288open2: exec of /tmp/mariadb-server-10.1.config.HVbqKf configure failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
289A seleccionar pacote anteriormente não seleccionado gawk.
290(Lendo banco de dados ... 64531 ficheiros e directórios actualmente instalados.)
291A preparar para desempacotar .../0-gawk_1%3a4.1.4+dfsg-1_amd64.deb ...
292A descompactar gawk (1:4.1.4+dfsg-1) ...
293A seleccionar pacote anteriormente não seleccionado mariadb-common.
294A preparar para desempacotar .../1-mariadb-common_10.1.26-0+deb9u1_all.deb ...
295A descompactar mariadb-common (10.1.26-0+deb9u1) ...
296A seleccionar pacote anteriormente não seleccionado galera-3.
297A preparar para desempacotar .../2-galera-3_25.3.19-2_amd64.deb ...
298A descompactar galera-3 (25.3.19-2) ...
299A seleccionar pacote anteriormente não seleccionado libdbi-perl.
300A preparar para desempacotar .../3-libdbi-perl_1.636-1+b1_amd64.deb ...
301A descompactar libdbi-perl (1.636-1+b1) ...
302A seleccionar pacote anteriormente não seleccionado libaio1:amd64.
303A preparar para desempacotar .../4-libaio1_0.3.110-3_amd64.deb ...
304A descompactar libaio1:amd64 (0.3.110-3) ...
305A seleccionar pacote anteriormente não seleccionado mariadb-client-core-10.1.
306A preparar para desempacotar .../5-mariadb-client-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
307A descompactar mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
308A seleccionar pacote anteriormente não seleccionado libjemalloc1.
309A preparar para desempacotar .../6-libjemalloc1_3.6.0-9.1_amd64.deb ...
310A descompactar libjemalloc1 (3.6.0-9.1) ...
311A seleccionar pacote anteriormente não seleccionado mariadb-client-10.1.
312A preparar para desempacotar .../7-mariadb-client-10.1_10.1.26-0+deb9u1_amd64.deb ...
313A descompactar mariadb-client-10.1 (10.1.26-0+deb9u1) ...
314A seleccionar pacote anteriormente não seleccionado mariadb-server-core-10.1.
315A preparar para desempacotar .../8-mariadb-server-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
316A descompactar mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
317A seleccionar pacote anteriormente não seleccionado socat.
318A preparar para desempacotar .../9-socat_1.7.3.1-2+deb9u1_amd64.deb ...
319A descompactar socat (1.7.3.1-2+deb9u1) ...
320Configurando mariadb-common (10.1.26-0+deb9u1) ...
321update-alternatives: a usar /etc/mysql/mariadb.cnf para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
322A seleccionar pacote anteriormente não seleccionado mariadb-server-10.1.
323(Lendo banco de dados ... 65055 ficheiros e directórios actualmente instalados.)
324A preparar para desempacotar .../0-mariadb-server-10.1_10.1.26-0+deb9u1_amd64.deb ...
325A descompactar mariadb-server-10.1 (10.1.26-0+deb9u1) ...
326A seleccionar pacote anteriormente não seleccionado libmariadbclient18:amd64.
327A preparar para desempacotar .../1-libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
328A descompactar libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
329A seleccionar pacote anteriormente não seleccionado libdbd-mysql-perl.
330A preparar para desempacotar .../2-libdbd-mysql-perl_4.041-2_amd64.deb ...
331A descompactar libdbd-mysql-perl (4.041-2) ...
332A seleccionar pacote anteriormente não seleccionado libhtml-template-perl.
333A preparar para desempacotar .../3-libhtml-template-perl_2.95-2_all.deb ...
334A descompactar libhtml-template-perl (2.95-2) ...
335A seleccionar pacote anteriormente não seleccionado libterm-readkey-perl.
336A preparar para desempacotar .../4-libterm-readkey-perl_2.37-1_amd64.deb ...
337A descompactar libterm-readkey-perl (2.37-1) ...
338A seleccionar pacote anteriormente não seleccionado mariadb-server.
339A preparar para desempacotar .../5-mariadb-server_10.1.26-0+deb9u1_all.deb ...
340A descompactar mariadb-server (10.1.26-0+deb9u1) ...
341Configurando libhtml-template-perl (2.95-2) ...
342Configurando libjemalloc1 (3.6.0-9.1) ...
343Configurando socat (1.7.3.1-2+deb9u1) ...
344Configurando libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
345Configurando gawk (1:4.1.4+dfsg-1) ...
346Configurando libterm-readkey-perl (2.37-1) ...
347A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
348Configurando libaio1:amd64 (0.3.110-3) ...
349Configurando galera-3 (25.3.19-2) ...
350A processar 'triggers' para systemd (232-25+deb9u4) ...
351A processar 'triggers' para man-db (2.7.6.1-2) ...
352Configurando libdbi-perl (1.636-1+b1) ...
353Configurando mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
354Configurando mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
355Configurando libdbd-mysql-perl (4.041-2) ...
356Configurando mariadb-client-10.1 (10.1.26-0+deb9u1) ...
357Configurando mariadb-server-10.1 (10.1.26-0+deb9u1) ...
358Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
359Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
360Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
361Configurando mariadb-server (10.1.26-0+deb9u1) ...
362A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
363A processar 'triggers' para systemd (232-25+deb9u4) ...
364debian@paracambi:~$ sudo systemctl start mysql
365debian@paracambi:~$ sudo systemctl enable mysql
366Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
367Executing: /lib/systemd/systemd-sysv-install enable mysql
368Failed to enable unit: Refusing to operate on linked unit file mysql.service
369debian@paracambi:~$ sudo mysql_secure_installation
370
371NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
372 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
373
374In order to log into MariaDB to secure it, we'll need the current
375password for the root user. If you've just installed MariaDB, and
376you haven't set the root password yet, the password will be blank,
377so you should just press enter here.
378
379Enter current password for root (enter for none):
380Aborting!
381
382Cleaning up...
383debian@paracambi:~$ ^C
384debian@paracambi:~$ ^C
385debian@paracambi:~$ ^C
386debian@paracambi:~$ ^C
387debian@paracambi:~$ sudo systemctl start mysql
388debian@paracambi:~$ sudo systemctl stop mysql
389debian@paracambi:~$ sudo systemctl start mysql
390debian@paracambi:~$ sudo systemctl enable mysql
391Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
392Executing: /lib/systemd/systemd-sysv-install enable mysql
393Failed to enable unit: Refusing to operate on linked unit file mysql.service
394debian@paracambi:~$ /lib/systemd/systemd
395systemd systemd-quotacheck
396systemd-ac-power systemd-random-seed
397systemd-backlight systemd-remount-fs
398systemd-binfmt systemd-reply-password
399systemd-cgroups-agent systemd-resolved
400systemd-cryptsetup systemd-rfkill
401systemd-fsck systemd-shutdown
402systemd-fsckd systemd-sleep
403systemd-hibernate-resume systemd-socket-proxyd
404systemd-hostnamed systemd-sysctl
405systemd-initctl systemd-sysv-install
406systemd-journald systemd-timedated
407systemd-localed systemd-timesyncd
408systemd-logind systemd-udevd
409systemd-modules-load systemd-update-utmp
410systemd-networkd systemd-user-sessions
411systemd-networkd-wait-online
412debian@paracambi:~$ /lib/systemd/systemd-sysv-install enable mysql
413insserv: fopen(K01ossec): Permission denied
414update-rc.d: error: insserv rejected the script header
415debian@paracambi:~$ sudo /lib/systemd/systemd-sysv-install enable mysql
416debian@paracambi:~$ sudo mysql_secure_installation
417
418NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
419 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
420
421In order to log into MariaDB to secure it, we'll need the current
422password for the root user. If you've just installed MariaDB, and
423you haven't set the root password yet, the password will be blank,
424so you should just press enter here.
425
426Enter current password for root (enter for none):
427OK, successfully used password, moving on...
428
429Setting the root password ensures that nobody can log into the MariaDB
430root user without the proper authorisation.
431
432Set root password? [Y/n] n
433 ... skipping.
434
435By default, a MariaDB installation has an anonymous user, allowing anyone
436to log into MariaDB without having to have a user account created for
437them. This is intended only for testing, and to make the installation
438go a bit smoother. You should remove them before moving into a
439production environment.
440
441Remove anonymous users? [Y/n] Y
442 ... Success!
443
444Normally, root should only be allowed to connect from 'localhost'. This
445ensures that someone cannot guess at the root password from the network.
446
447Disallow root login remotely? [Y/n] n
448 ... skipping.
449
450By default, MariaDB comes with a database named 'test' that anyone can
451access. This is also intended only for testing, and should be removed
452before moving into a production environment.
453
454Remove test database and access to it? [Y/n] n
455 ... skipping.
456
457Reloading the privilege tables will ensure that all changes made so far
458will take effect immediately.
459
460Reload privilege tables now? [Y/n] Y
461 ... Success!
462
463Cleaning up...
464
465All done! If you've completed all of the above steps, your MariaDB
466installation should now be secure.
467
468Thanks for using MariaDB!
469debian@paracambi:~$ mysql -u root -p
470Enter password:
471ERROR 1698 (28000): Access denied for user 'root'@'localhost'
472debian@paracambi:~$ sudo mysql_secure_installation
473
474NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
475 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
476
477In order to log into MariaDB to secure it, we'll need the current
478password for the root user. If you've just installed MariaDB, and
479you haven't set the root password yet, the password will be blank,
480so you should just press enter here.
481
482Enter current password for root (enter for none):
483OK, successfully used password, moving on...
484
485Setting the root password ensures that nobody can log into the MariaDB
486root user without the proper authorisation.
487
488You already have a root password set, so you can safely answer 'n'.
489
490Change the root password? [Y/n] n
491 ... skipping.
492
493By default, a MariaDB installation has an anonymous user, allowing anyone
494to log into MariaDB without having to have a user account created for
495them. This is intended only for testing, and to make the installation
496go a bit smoother. You should remove them before moving into a
497production environment.
498
499Remove anonymous users? [Y/n] Y
500 ... Success!
501
502Normally, root should only be allowed to connect from 'localhost'. This
503ensures that someone cannot guess at the root password from the network.
504
505Disallow root login remotely? [Y/n] Y
506 ... Success!
507
508By default, MariaDB comes with a database named 'test' that anyone can
509access. This is also intended only for testing, and should be removed
510before moving into a production environment.
511
512Remove test database and access to it? [Y/n] Y
513 - Dropping test database...
514 ... Success!
515 - Removing privileges on test database...
516 ... Success!
517
518Reloading the privilege tables will ensure that all changes made so far
519will take effect immediately.
520
521Reload privilege tables now? [Y/n] Y
522 ... Success!
523
524Cleaning up...
525
526All done! If you've completed all of the above steps, your MariaDB
527installation should now be secure.
528
529Thanks for using MariaDB!
530debian@paracambi:~$ mysql -u root -p
531Enter password:
532ERROR 1698 (28000): Access denied for user 'root'@'localhost'
533debian@paracambi:~$ mysql -u root -p
534Enter password:
535ERROR 1698 (28000): Access denied for user 'root'@'localhost'
536debian@paracambi:~$ sudo nano /etc/my.cnf
537debian@paracambi:~$ cd /etc
538debian@paracambi:/etc$ ls
539acpi modprobe.d
540adduser.conf modules
541adjtime modules-load.d
542aliases motd
543alternatives mtab
544apache2 Muttrc
545apparmor Muttrc.d
546apparmor.d mysql
547apt nanorc
548apticron netconfig
549at.deny network
550bash.bashrc NetworkManager
551bash_completion networks
552bash_completion.d newt
553bindresvport.blacklist nsswitch.conf
554binfmt.d ntp.conf
555ca-certificates ntp.conf.dpkg-dist
556ca-certificates.conf opt
557ca-certificates.conf.dpkg-old os-release
558calendar ossec-init.conf
559chkrootkit.conf pam.conf
560console-setup pam.d
561cron.d papersize
562cron.daily passwd
563cron.hourly passwd-
564cron.monthly perl
565crontab php
566cron.weekly pm
567dbus-1 postgresql
568debconf.conf postgresql-common
569debian_version ppp
570default profile
571deluser.conf profile.d
572dhcp protocols
573dictionaries-common python
574discover.conf.d python2.7
575discover-modprobe.conf python3
576dpkg python3.5
577drirc rc0.d
578emacs rc1.d
579email-addresses rc2.d
580environment rc3.d
581exim4 rc4.d
582fonts rc5.d
583fstab rc6.d
584gai.conf rc.local
585ghostscript rcS.d
586groff reportbug.conf
587group request-key.conf
588group- request-key.d
589grub.d resolv.conf
590gshadow rkhunter.conf
591gshadow- rmt
592gss rpc
593gtk-2.0 rsyslog.conf
594host.conf rsyslog.d
595hostname securetty
596hosts security
597hosts.allow selinux
598hosts.deny sensors3.conf
599idmapd.conf sensors.d
600init services
601init.d sgml
602initramfs-tools shadow
603inputrc shadow-
604insserv shells
605insserv.conf skel
606insserv.conf.d ssh
607iproute2 ssl
608iscsi staff-group-for-usr-local
609issue subgid
610issue.net subgid-
611kernel subuid
612kernel-img.conf subuid-
613ldap sudoers
614ld.so.cache sudoers.d
615ld.so.conf sysctl.conf
616ld.so.conf.d sysctl.d
617libaudit.conf sysstat
618locale.alias systemd
619locale.gen terminfo
620localtime texmf
621logcheck timezone
622login.defs tmpfiles.d
623login.defs.dpkg-dist ucf.conf
624logrotate.conf udev
625logrotate.d ufw
626lvm updatedb.conf
627machine-id update-motd.d
628magic vim
629magic.mime vmware-caf
630mailcap vmware-tools
631mailcap.order w3m
632mailname wgetrc
633mail.rc X11
634manpath.config xdg
635mime.types xml
636mke2fs.conf zabbix
637debian@paracambi:/etc$ cd mysql/
638debian@paracambi:/etc/mysql$ ls
639conf.d debian-start mariadb.conf.d my.cnf.fallback
640debian.cnf mariadb.cnf my.cnf
641debian@paracambi:/etc/mysql$ sudo nano my.cnf
642debian@paracambi:/etc/mysql$ mysql -u root -p
643mysql: unknown option '--skip-grant-tables'
644debian@paracambi:/etc/mysql$ sudo nano my.cnf
645[sudo] senha para debian:
646debian@paracambi:/etc/mysql$ mysql -u root -p
647mysql: unknown option '--mysqld'
648debian@paracambi:/etc/mysql$ sudo nano my.cnf
649debian@paracambi:/etc/mysql$ mysql -u localhost -u root -p mysql
650Enter password:
651ERROR 1698 (28000): Access denied for user 'root'@'localhost'
652debian@paracambi:/etc/mysql$ tempo limite de espera excedido aguardando entrada: fim automático da sessão
653Connection to 10.6.1.34 closed.
654reidtic009242:~ 2221364$ sudo mysql -u root -p
655Password:
656Sorry, try again.
657Password:
658Sorry, try again.
659Password:
660sudo: 3 incorrect password attempts
661reidtic009242:~ 2221364$ sudo mysql -u root -p
662Password:
663Sorry, try again.
664Password:
665sudo: 1 incorrect password attempt
666reidtic009242:~ 2221364$
667reidtic009242:~ 2221364$
668reidtic009242:~ 2221364$
669reidtic009242:~ 2221364$ mysql -u root -p
670Enter password:
671
672reidtic009242:~ 2221364$
673reidtic009242:~ 2221364$
674reidtic009242:~ 2221364$
675reidtic009242:~ 2221364$ mysql -u root
676ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
677reidtic009242:~ 2221364$ sudo systemctl mysqld
678Password:
679reidtic009242:~ 2221364$
680reidtic009242:~ 2221364$ sudo systemctl mysqld start
681Password:
682reidtic009242:~ 2221364$ sudo systemctl mysql start
683Password:
684Sorry, try again.
685Password:
686sudo: 1 incorrect password attempt
687reidtic009242:~ 2221364$
688reidtic009242:~ 2221364$
689reidtic009242:~ 2221364$ ssh debian@10.6.1.34
690debian@10.6.1.34's password:
691Linux paracambi 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64
692
693The programs included with the Debian GNU/Linux system are free software;
694the exact distribution terms for each program are described in the
695individual files in /usr/share/doc/*/copyright.
696
697Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
698permitted by applicable law.
699Last login: Wed Oct 24 16:11:43 2018 from 10.4.1.4
700debian@paracambi:~$ mysql -u root -p
701Enter password:
702ERROR 1698 (28000): Access denied for user 'root'@'localhost'
703debian@paracambi:~$
704debian@paracambi:~$ mysql -u root
705ERROR 1698 (28000): Access denied for user 'root'@'localhost'
706debian@paracambi:~$ sudo systemctl start mysql
707[sudo] senha para debian:
708debian@paracambi:~$ mysql -u root
709ERROR 1698 (28000): Access denied for user 'root'@'localhost'
710debian@paracambi:~$ sudo /etc/init.d/mysql stop
711[ ok ] Stopping mysql (via systemctl): mysql.service.
712debian@paracambi:~$ sudo mysqld_safe --skip-grant-tables &
713[1] 26087
714debian@paracambi:~$ 181024 16:58:57 mysqld_safe Logging to syslog.
715181024 16:58:57 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
716debian@paracambi:~$
717debian@paracambi:~$ mysql -uroot
718Welcome to the MariaDB monitor. Commands end with ; or \g.
719Your MariaDB connection id is 2
720Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
721
722Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
723
724Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
725
726MariaDB [(none)]> use mysql;
727Reading table information for completion of table and column names
728You can turn off this feature to get a quicker startup with -A
729
730Database changed
731MariaDB [mysql]> update user set password=PASSWORD("root") where User='root';
732Query OK, 1 row affected (0.00 sec)
733Rows matched: 1 Changed: 1 Warnings: 0
734
735MariaDB [mysql]> flush privileges;
736Query OK, 0 rows affected (0.00 sec)
737
738MariaDB [mysql]> quit
739Bye
740debian@paracambi:~$ mysql -u root -p
741Enter password:
742ERROR 1698 (28000): Access denied for user 'root'@'localhost'
743debian@paracambi:~$ mysql -u root
744ERROR 1698 (28000): Access denied for user 'root'@'localhost'
745debian@paracambi:~$ mysql -u root -p
746Enter password:
747ERROR 1698 (28000): Access denied for user 'root'@'localhost'
748debian@paracambi:~$ /etc/init.d/mysql stop
749[....] Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
750See system logs and 'systemctl status mysql.service' for details.
751 failed!
752debian@paracambi:~$ sudo systemctl stop mysql
753debian@paracambi:~$ /etc/init.d/mysql start
754[....] Starting mysql (via systemctl): mysql.serviceFailed to start mysql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
755See system logs and 'systemctl status mysql.service' for details.
756 failed!
757debian@paracambi:~$ mysql -u root -p
758Enter password:
759ERROR 1698 (28000): Access denied for user 'root'@'localhost'
760debian@paracambi:~$
761debian@paracambi:~$
762debian@paracambi:~$
763debian@paracambi:~$
764debian@paracambi:~$
765debian@paracambi:~$
766debian@paracambi:~$ /etc/init.d/mysql stop
767[....] Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
768See system logs and 'systemctl status mysql.service' for details.
769 failed!
770debian@paracambi:~$ mysql -u root -p
771Enter password:
772ERROR 1698 (28000): Access denied for user 'root'@'localhost'
773debian@paracambi:~$ sudo systemctl stop mariadb.service
774debian@paracambi:~$
775debian@paracambi:~$ sudo service mysql stop
776debian@paracambi:~$ sudo mysqld_safe --skip-grant-tables --skip-networking &
777[2] 26546
778debian@paracambi:~$ 181024 17:02:45 mysqld_safe Logging to syslog.
779181024 17:02:46 mysqld_safe A mysqld process already exists
780
781[2]+ Fim da execução com status 1 sudo mysqld_safe --skip-grant-tables --skip-networking
782debian@paracambi:~$
783debian@paracambi:~$
784debian@paracambi:~$
785debian@paracambi:~$
786debian@paracambi:~$
787top - 17:03:55 up 20 days, 1:45, 1 user, load average: 0,00, 0,00, 0,00
788Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie
789%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
790KiB Mem : 1020384 total, 112412 free, 266244 used, 641728 buff/cache
791KiB Swap: 1949692 total, 1937588 free, 12104 used. 542712 avail Mem
792
793 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
79426706 debian 20 0 44920 3716 3080 R 0,7 0,4 0:00.24 top
795 1 root 20 0 204896 5928 4272 S 0,0 0,6 0:17.31 systemd
796 2 root 20 0 0 0 0 S 0,0 0,0 0:00.24 kthreadd
797 3 root 20 0 0 0 0 S 0,0 0,0 0:18.04 ksoftirqd/0
798 5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
799 7 root 20 0 0 0 0 S 0,0 0,0 2:42.66 rcu_sched
800 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
801 9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
802 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
803 11 root rt 0 0 0 0 S 0,0 0,0 0:03.97 watchdog/0
804 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
805 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
806 14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
807 15 root 20 0 0 0 0 S 0,0 0,0 0:01.28 khungtaskd
808 16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
809 17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
810 18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcompactd0
811 19 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
812 21 root 39 19 0 0 0 S 0,0 0,0 0:00.05 khugepaged
813 22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
814 23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
815 24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
816 25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
817 26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
818 27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 watchdogd
819 28 root 20 0 0 0 0 S 0,0 0,0 0:03.72 kswapd0
820 29 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
821 41 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
822 42 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ipv6_addrconf
823debian@paracambi:~$ ^C
824debian@paracambi:~$ ^C
825debian@paracambi:~$ ^C
826debian@paracambi:~$ ^C
827debian@paracambi:~$ ^C
828debian@paracambi:~$ ^C
829debian@paracambi:~$ ^C
830debian@paracambi:~$ ^C
831debian@paracambi:~$ ps
832 PID TTY TIME CMD
83325976 pts/0 00:00:00 bash
83426735 pts/0 00:00:00 ps
835debian@paracambi:~$ top
836
837top - 17:04:28 up 20 days, 1:46, 1 user, load average: 0,00, 0,00, 0,00
838Tasks: 145 total, 2 running, 143 sleeping, 0 stopped, 0 zombie
839%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
840KiB Mem : 1020384 total, 112404 free, 266244 used, 641736 buff/cache
841KiB Swap: 1949692 total, 1937588 free, 12104 used. 542712 avail Mem
842
843 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
844 9034 root 20 0 0 0 0 S 0,3 0,0 0:00.15 kworker/u2:0
84525975 debian 20 0 95204 3836 2864 S 0,3 0,4 0:00.17 sshd
84626737 debian 20 0 44920 3616 2968 R 0,3 0,4 0:00.11 top
847 1 root 20 0 204896 5928 4272 S 0,0 0,6 0:17.31 systemd
848 2 root 20 0 0 0 0 S 0,0 0,0 0:00.24 kthreadd
849 3 root 20 0 0 0 0 S 0,0 0,0 0:18.04 ksoftirqd/0
850 5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
851 7 root 20 0 0 0 0 R 0,0 0,0 2:42.66 rcu_sched
852 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
853 9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
854 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
855 11 root rt 0 0 0 0 S 0,0 0,0 0:03.97 watchdog/0
856 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
857 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
858 14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
859 15 root 20 0 0 0 0 S 0,0 0,0 0:01.28 khungtaskd
860 16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
861 17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
862 18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcompactd0
863 19 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
864 21 root 39 19 0 0 0 S 0,0 0,0 0:00.05 khugepaged
865 22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
866 23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
867 24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
868 25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
869 26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
870 27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 watchdogd
871 28 root 20 0 0 0 0 S 0,0 0,0 0:03.72 kswapd0
872 29 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
873debian@paracambi:~$ ^C
874debian@paracambi:~$ ^C
875debian@paracambi:~$ ^C
876debian@paracambi:~$ renice
877
878Uso:
879 renice [-n] <prioridade> [-p|--pid] <pid>...
880 renice [-n] <prioridade> -g|--pgrp <pgid>...
881 renice [-n] <prioridade> -u|--user <usuário>...
882
883Altera a prioridade de processos em execução.
884
885Opções:
886 -n, --priority <núm> especifica o valor de aumento do "nice"
887 -p, --pid <id> interpreta um argumento como ID de processo (padrão)
888 -g, --pgrp <id> interpreta um argumento como ID de grupo de processo
889 -u, --user <nome>|<id> interpreta argumento como nome ou ID de usuário
890
891 -h, --help exibe esta ajuda e sai
892 -V, --version mostra informação da versão e sai
893
894Para mais detalhes, veja renice(1).
895debian@paracambi:~$ pstree
896systemd─┬─acpid
897 ├─agetty
898 ├─apache2───6*[apache2]
899 ├─atd
900 ├─cron
901 ├─dbus-daemon
902 ├─exim4
903 ├─java───41*[{java}]
904 ├─lvmetad
905 ├─ntpd───{ntpd}
906 ├─ossec-analysisd
907 ├─ossec-csyslogd
908 ├─ossec-logcollec
909 ├─ossec-monitord
910 ├─ossec-syscheckd
911 ├─postgres───5*[postgres]
912 ├─rpcbind
913 ├─rsyslogd─┬─{in:imklog}
914 │ ├─{in:imuxsock}
915 │ └─{rs:main Q:Reg}
916 ├─sshd───sshd───sshd───bash─┬─pstree
917 │ └─sudo───mysqld_safe─┬─logger
918 │ └─mysqld───26*[{mysqld}]
919 ├─2*[systemd───(sd-pam)]
920 ├─systemd-journal
921 ├─systemd-logind
922 ├─systemd-udevd
923 └─zabbix_agentd───5*[zabbix_agentd]
924debian@paracambi:~$ ps
925 PID TTY TIME CMD
92625976 pts/0 00:00:00 bash
92726775 pts/0 00:00:00 ps
928debian@paracambi:~$ PPID
929-bash: PPID: comando não encontrado
930debian@paracambi:~$ top
931
932top - 17:06:46 up 20 days, 1:48, 1 user, load average: 0,00, 0,00, 0,00
933Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie
934%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
935KiB Mem : 1020384 total, 110676 free, 266252 used, 643456 buff/cache
936KiB Swap: 1949692 total, 1937588 free, 12104 used. 542704 avail Mem
937
938 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
93926809 debian 20 0 44920 3692 3048 R 14,3 0,4 0:00.44 top
94025975 debian 20 0 95204 3836 2864 S 7,1 0,4 0:00.30 sshd
941 1 root 20 0 204896 5928 4272 S 0,0 0,6 0:17.32 systemd
942 2 root 20 0 0 0 0 S 0,0 0,0 0:00.24 kthreadd
943 3 root 20 0 0 0 0 S 0,0 0,0 0:18.05 ksoftirqd/0
944 5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
945 7 root 20 0 0 0 0 S 0,0 0,0 2:42.68 rcu_sched
946 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
947 9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
948 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
949 11 root rt 0 0 0 0 S 0,0 0,0 0:03.97 watchdog/0
950 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
951 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
952 14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
953 15 root 20 0 0 0 0 S 0,0 0,0 0:01.28 khungtaskd
954 16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
955 17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
956 18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcompactd0
957 19 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
958 21 root 39 19 0 0 0 S 0,0 0,0 0:00.05 khugepaged
959 22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
960 23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
961 24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
962 25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
963 26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
964 27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 watchdogd
965 28 root 20 0 0 0 0 S 0,0 0,0 0:03.72 kswapd0
966 29 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
967 41 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
968debian@paracambi:~$ ^C
969debian@paracambi:~$ ^C
970debian@paracambi:~$ ^C
971debian@paracambi:~$ ^C
972debian@paracambi:~$ ps aux | grep mysql
973root 26087 0.0 0.3 49328 3692 pts/0 S 16:58 0:00 sudo mysqld_safe --skip-grant-tables
974root 26088 0.0 0.3 11456 3108 pts/0 S 16:58 0:00 /bin/bash /usr/bin/mysqld_safe --skip-grant-tables
975mysql 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
976root 26236 0.0 0.1 27032 1436 pts/0 S 16:58 0:00 logger -t mysqld -p daemon error
977debian 26836 0.0 0.0 12784 988 pts/0 S+ 17:06 0:00 grep mysql
978debian@paracambi:~$ sudo kill -9 23236
979kill: (23236): Processo inexistente
980debian@paracambi:~$ sudo kill -9 26236
981debian@paracambi:~$ ps aux | grep mysql
982root 26087 0.0 0.3 49328 3692 pts/0 S 16:58 0:00 sudo mysqld_safe --skip-grant-tables
983root 26088 0.0 0.3 11456 3108 pts/0 S 16:58 0:00 /bin/bash /usr/bin/mysqld_safe --skip-grant-tables
984mysql 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
985debian 26875 0.0 0.0 12784 972 pts/0 S+ 17:07 0:00 grep mysql
986debian@paracambi:~$ c^C
987debian@paracambi:~$ ^C
988debian@paracambi:~$ ^C
989debian@paracambi:~$ ^C
990debian@paracambi:~$ ^C
991debian@paracambi:~$ ^C
992debian@paracambi:~$ ^C
993debian@paracambi:~$ ^C
994debian@paracambi:~$ ^C
995debian@paracambi:~$
996debian@paracambi:~$
997debian@paracambi:~$
998debian@paracambi:~$
999debian@paracambi:~$
1000debian@paracambi:~$ sudo mysqld_safe --skip-grant-tables --skip-networking &
1001[2] 26883
1002debian@paracambi:~$ 181024 17:08:11 mysqld_safe Logging to syslog.
1003181024 17:08:11 mysqld_safe A mysqld process already exists
1004^C
1005[2]+ Fim da execução com status 1 sudo mysqld_safe --skip-grant-tables --skip-networking
1006debian@paracambi:~$ ^C
1007debian@paracambi:~$ ^C
1008debian@paracambi:~$ ^C
1009debian@paracambi:~$ sudo kill -9 26883
1010kill: (26883): Processo inexistente
1011debian@paracambi:~$ sudo kill -9 181024
1012kill: (181024): Processo inexistente
1013debian@paracambi:~$
1014debian@paracambi:~$
1015debian@paracambi:~$
1016debian@paracambi:~$
1017debian@paracambi:~$
1018debian@paracambi:~$ mysql -u root
1019ERROR 1698 (28000): Access denied for user 'root'@'localhost'
1020debian@paracambi:~$ cd /etc/m
1021modprobe.d/ modules-load.d/ mysql/
1022debian@paracambi:~$ cd /etc/m
1023modprobe.d/ modules-load.d/ mysql/
1024debian@paracambi:~$ cd /etc/mysql/
1025conf.d/ mariadb.conf.d/
1026debian@paracambi:~$ sudo systemctl start mysql
1027^C
1028debian@paracambi:~$ ^C
1029debian@paracambi:~$ ^C
1030debian@paracambi:~$ ^C
1031debian@paracambi:~$ ^C
1032debian@paracambi:~$ service mysql status
1033-bash: service: comando não encontrado
1034debian@paracambi:~$ sudo service mysql status
1035â— mariadb.service - MariaDB database server
1036 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
1037 Active: activating (start) since Wed 2018-10-24 17:09:40 -03; 51s ago
1038 Process: 27151 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -
1039 Process: 27145 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
1040 Process: 27144 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
1041 Main PID: 27242 (mysqld)
1042 Status: "InnoDB: Error: Unable to lock ./ibdata1, error: 11"
1043 Tasks: 12 (limit: 4915)
1044 CGroup: /system.slice/mariadb.service
1045 └─27242 /usr/sbin/mysqld
1046
1047out 24 17:09:40 paracambi systemd[1]: Starting MariaDB database server...
1048out 24 17:09:40 paracambi mysqld[27242]: 2018-10-24 17:09:40 140384893633088 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-0
1049/var/lib/mysql
1050debian@paracambi:~$ ^C
1051debian@paracambi:~$ ^C
1052debian@paracambi:~$ ^C
1053debian@paracambi:~$ ^C
1054debian@paracambi:~$ cd /var/lib/mysql
1055debian@paracambi:/var/lib/mysql$ sudo su
1056root@paracambi:/var/lib/mysql# mkdir bak
1057root@paracambi:/var/lib/mysql# mv ib
1058ibdata1 ib_logfile0 ib_logfile1
1059root@paracambi:/var/lib/mysql# mv ib
1060ibdata1 ib_logfile0 ib_logfile1
1061root@paracambi:/var/lib/mysql# mv ib
1062ibdata1 ib_logfile0 ib_logfile1
1063root@paracambi:/var/lib/mysql# mv ib
1064ibdata1 ib_logfile0 ib_logfile1
1065root@paracambi:/var/lib/mysql# mv ibdata1 bak
1066root@paracambi:/var/lib/mysql# mv ib_logfile* bak/
1067root@paracambi:/var/lib/mysql# cp -a bak/ibdata1 ibdata1
1068root@paracambi:/var/lib/mysql# cp -a bak/ib_logfile* .
1069root@paracambi:/var/lib/mysql# rm -rf bak
1070root@paracambi:/var/lib/mysql# service mysqld restart
1071^C
1072root@paracambi:/var/lib/mysql# ^C
1073root@paracambi:/var/lib/mysql# ^C
1074root@paracambi:/var/lib/mysql# ^C
1075root@paracambi:/var/lib/mysql# exit
1076exit
1077debian@paracambi:/var/lib/mysql$ sudo service mysql status
1078â— mariadb.service - MariaDB database server
1079 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
1080 Active: activating (start) since Wed 2018-10-24 17:12:38 -03; 29s ago
1081 Process: 27377 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -
1082 Process: 27371 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
1083 Process: 27370 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
1084 Main PID: 27466 (mysqld)
1085 Tasks: 2 (limit: 4915)
1086 CGroup: /system.slice/mariadb.service
1087 └─27466 /usr/sbin/mysqld
1088
1089out 24 17:12:38 paracambi systemd[1]: Starting MariaDB database server...
1090out 24 17:12:39 paracambi mysqld[27466]: 2018-10-24 17:12:39 140016453308992 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-0
1091
1092debian@paracambi:/var/lib/mysql$ ^C
1093debian@paracambi:/var/lib/mysql$ ^C
1094debian@paracambi:/var/lib/mysql$ ^C
1095debian@paracambi:/var/lib/mysql$ ^C
1096debian@paracambi:/var/lib/mysql$ ^C
1097debian@paracambi:/var/lib/mysql$ ^C
1098debian@paracambi:/var/lib/mysql$ ^C
1099debian@paracambi:/var/lib/mysql$ ^C
1100debian@paracambi:/var/lib/mysql$ ^C
1101debian@paracambi:/var/lib/mysql$ ^C
1102debian@paracambi:/var/lib/mysql$ mysql -u root
1103ERROR 1698 (28000): Access denied for user 'root'@'localhost'
1104debian@paracambi:/var/lib/mysql$ sudo nano /etc/
1105Display all 197 possibilities? (y or n)
1106debian@paracambi:/var/lib/mysql$ sudo nano /etc/mysql/
1107conf.d/ debian.cnf debian-start mariadb.cnf mariadb.conf.d/ my.cnf my.cnf.fallback
1108debian@paracambi:/var/lib/mysql$ sudo nano /etc/mysql/
1109conf.d/ debian.cnf debian-start mariadb.cnf mariadb.conf.d/ my.cnf my.cnf.fallback
1110debian@paracambi:/var/lib/mysql$ sudo nano /etc/mysql/my.cnf
1111debian@paracambi:/var/lib/mysql$ sudo mysql
1112Welcome to the MariaDB monitor. Commands end with ; or \g.
1113Your MariaDB connection id is 10
1114Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
1115
1116Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
1117
1118Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
1119
1120MariaDB [(none)]> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
1121ERROR 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
1122MariaDB [(none)]> Bye
1123debian@paracambi:/var/lib/mysql$ sudo mysql -e
1124mysql: option '-e' requires an argument
1125debian@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
1126debian@paracambi:/var/lib/mysql$ sudo systemctl stop mysql
1127^C
1128debian@paracambi:/var/lib/mysql$ ^C
1129debian@paracambi:/var/lib/mysql$ ^C
1130debian@paracambi:/var/lib/mysql$ ^C
1131debian@paracambi:/var/lib/mysql$ mysql -u root
1132ERROR 1698 (28000): Access denied for user 'root'@'localhost'
1133debian@paracambi:/var/lib/mysql$ sudo mysqld_safe --skip-grant-tables --skip-networking &
1134[2] 28471
1135debian@paracambi:/var/lib/mysql$ 181024 17:17:30 mysqld_safe Logging to syslog.
1136181024 17:17:30 mysqld_safe A mysqld process already exists
1137^C
1138[2]+ Fim da execução com status 1 sudo mysqld_safe --skip-grant-tables --skip-networking
1139debian@paracambi:/var/lib/mysql$ ^C
1140debian@paracambi:/var/lib/mysql$ ^C
1141debian@paracambi:/var/lib/mysql$ ^C
1142debian@paracambi:/var/lib/mysql$ ^C
1143debian@paracambi:/var/lib/mysql$ ^C
1144debian@paracambi:/var/lib/mysql$ ^C
1145debian@paracambi:/var/lib/mysql$ ^C
1146debian@paracambi:/var/lib/mysql$ ^C
1147debian@paracambi:/var/lib/mysql$ ^C
1148debian@paracambi:/var/lib/mysql$ cd /
1149debian@paracambi:/$ sudo service mysql stop
1150debian@paracambi:/$ sudo apt-get --purge remove "mysql*"
1151Lendo listas de pacotes... Pronto
1152Construindo árvore de dependências
1153Lendo informação de estado... Pronto
1154Note, selecting 'mysqltcl' for glob 'mysql*'
1155Note, selecting 'mysql-workbench' for glob 'mysql*'
1156Note, selecting 'mysql-client-5.5' for glob 'mysql*'
1157Note, selecting 'mysql-client-5.6' for glob 'mysql*'
1158Note, selecting 'mysql-client-5.7' for glob 'mysql*'
1159Note, selecting 'mysql-common-5.6' for glob 'mysql*'
1160Note, selecting 'mysql-server-5.5' for glob 'mysql*'
1161Note, selecting 'mysql-server-5.6' for glob 'mysql*'
1162Note, selecting 'mysql-server-5.7' for glob 'mysql*'
1163Note, selecting 'mysql-utilities' for glob 'mysql*'
1164Note, selecting 'mysql-testsuite' for glob 'mysql*'
1165Note, selecting 'mysql-server' for glob 'mysql*'
1166Note, selecting 'mysql-client' for glob 'mysql*'
1167Note, selecting 'mysql-sandbox' for glob 'mysql*'
1168Note, selecting 'mysql-client-core-5.5' for glob 'mysql*'
1169Note, selecting 'mysql-client-core-5.6' for glob 'mysql*'
1170Note, selecting 'mysql-client-core-5.7' for glob 'mysql*'
1171Note, selecting 'mysql-testsuite-5.5' for glob 'mysql*'
1172Note, selecting 'mysql-testsuite-5.6' for glob 'mysql*'
1173Note, selecting 'mysql-testsuite-5.7' for glob 'mysql*'
1174Note, selecting 'mysql-common' for glob 'mysql*'
1175Note, selecting 'mysqltuner' for glob 'mysql*'
1176Note, selecting 'mysql-workbench-data' for glob 'mysql*'
1177Note, selecting 'mysql-server-core-5.5' for glob 'mysql*'
1178Note, selecting 'mysql-server-core-5.6' for glob 'mysql*'
1179Note, selecting 'mysql-server-core-5.7' for glob 'mysql*'
1180O pacote 'mysql-client-core-5.5' não está instalado, por isso não será removido
1181O pacote 'mysql-client-core-5.6' não está instalado, por isso não será removido
1182O pacote 'mysql-client-core-5.7' não está instalado, por isso não será removido
1183O pacote 'mysql-client-5.5' não está instalado, por isso não será removido
1184O pacote 'mysql-client-5.6' não está instalado, por isso não será removido
1185O pacote 'mysql-client-5.7' não está instalado, por isso não será removido
1186O pacote 'mysql-server-core-5.5' não está instalado, por isso não será removido
1187O pacote 'mysql-server-core-5.6' não está instalado, por isso não será removido
1188O pacote 'mysql-server-core-5.7' não está instalado, por isso não será removido
1189O pacote 'mysql-server-5.5' não está instalado, por isso não será removido
1190O pacote 'mysql-server-5.6' não está instalado, por isso não será removido
1191O pacote 'mysql-server-5.7' não está instalado, por isso não será removido
1192O pacote 'mysql-testsuite' não está instalado, por isso não será removido
1193O pacote 'mysql-testsuite-5.5' não está instalado, por isso não será removido
1194O pacote 'mysql-testsuite-5.6' não está instalado, por isso não será removido
1195O pacote 'mysql-testsuite-5.7' não está instalado, por isso não será removido
1196Note, a seleccionar 'mysql-common' em vez de 'mysql-common-5.6'
1197O pacote 'mysql-sandbox' não está instalado, por isso não será removido
1198O pacote 'mysql-client' não está instalado, por isso não será removido
1199O pacote 'mysql-server' não está instalado, por isso não será removido
1200O pacote 'mysql-utilities' não está instalado, por isso não será removido
1201O pacote 'mysql-workbench' não está instalado, por isso não será removido
1202O pacote 'mysql-workbench-data' não está instalado, por isso não será removido
1203O pacote 'mysqltcl' não está instalado, por isso não será removido
1204O pacote 'mysqltuner' não está instalado, por isso não será removido
1205Os seguintes pacotes foram instalados automaticamente e já não são necessários:
1206 expect galera-3 libaio1 libdbi-perl libjemalloc1 libtcl8.6 libterm-readkey-perl libtk8.6 libxss1 socat tcl-expect tcl8.6
1207 tk8.6
1208Utilize 'sudo apt autoremove' para os remover.
1209Os pacotes a seguir serão REMOVIDOS:
1210 libdbd-mysql-perl* libmariadbclient18* libmysqlclient18* mariadb-client-10.1* mariadb-client-core-10.1* mariadb-common*
1211 mariadb-server* mariadb-server-10.1* mariadb-server-core-10.1* mysql-common* ossec-hids*
12120 pacotes atualizados, 0 pacotes novos instalados, 11 a serem removidos e 0 não atualizados.
1213Depois desta operação, 191 MB de espaço em disco serão liberados.
1214Você quer continuar? [S/n] S
1215(Lendo banco de dados ... 65237 ficheiros e directórios actualmente instalados.)
1216A remover libdbd-mysql-perl (4.041-2) ...
1217A remover libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
1218A remover ossec-hids (2.8.3-4wheezy) ...
1219A remover libmysqlclient18:amd64 (5.5.57-0+deb8u1) ...
1220A remover mariadb-server (10.1.26-0+deb9u1) ...
1221A remover mariadb-server-10.1 (10.1.26-0+deb9u1) ...
1222A remover mariadb-client-10.1 (10.1.26-0+deb9u1) ...
1223A remover mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
1224A remover mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
1225A remover mariadb-common (10.1.26-0+deb9u1) ...
1226update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
1227A remover mysql-common (5.8+1.0.2) ...
1228A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
1229A processar 'triggers' para man-db (2.7.6.1-2) ...
1230(Lendo banco de dados ... 64726 ficheiros e directórios actualmente instalados.)
1231A purgar os ficheiros de configuração para mariadb-common (10.1.26-0+deb9u1) ...
1232A purgar os ficheiros de configuração para mariadb-client-10.1 (10.1.26-0+deb9u1) ...
1233A purgar os ficheiros de configuração para mysql-common (5.8+1.0.2) ...
1234A purgar os ficheiros de configuração para libmysqlclient18:amd64 (5.5.57-0+deb8u1) ...
1235A purgar os ficheiros de configuração para mariadb-server-10.1 (10.1.26-0+deb9u1) ...
1236userdel: user mysql is currently used by process 26235
1237A purgar os ficheiros de configuração para ossec-hids (2.8.3-4wheezy) ...
1238dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/fts' não estava vazio, por isso não foi removido
1239dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/ossec' não estava vazio, por isso não foi removido
1240dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/alerts' não estava vazio, por isso não foi removido
1241dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/syscheck' não estava vazio, por isso não foi removido
1242dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/diff' não estava vazio, por isso não foi removido
1243dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/queue/rootcheck' não estava vazio, por isso não foi removido
1244dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/stats' não estava vazio, por isso não foi removido
1245dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/rules' não estava vazio, por isso não foi removido
1246dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/logs/archives' não estava vazio, por isso não foi removido
1247dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/logs/alerts' não estava vazio, por isso não foi removido
1248dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/logs/firewall' não estava vazio, por isso não foi removido
1249dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/etc/shared' não estava vazio, por isso não foi removido
1250dpkg: aviso: ao remover ossec-hids, o directório '/var/ossec/bin' não estava vazio, por isso não foi removido
1251A processar 'triggers' para systemd (232-25+deb9u4) ...
1252debian@paracambi:/$ sudo rm -rf /etc/mysql/
1253debian@paracambi:/$ locate mysql
1254/etc/mysql
1255/usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
1256/usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
1257/usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18
1258/usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18.0.0
1259/usr/share/mysql-common
1260/usr/share/bash-completion/completions/mysql
1261/usr/share/bash-completion/completions/mysqladmin
1262/usr/share/doc/libmysqlclient18
1263/usr/share/doc/mysql-common
1264/usr/share/doc/zabbix-agent/examples/userparameter_mysql.conf
1265/usr/share/lintian/overrides/mysql-common
1266/usr/share/vim/vim80/syntax/mysql.vim
1267/var/cache/apt/archives/libmysqlclient18_5.5.50-0+deb8u1_amd64.deb
1268/var/cache/apt/archives/libmysqlclient18_5.5.57-0+deb8u1_amd64.deb
1269/var/cache/apt/archives/mysql-common_5.5.50-0+deb8u1_all.deb
1270/var/cache/apt/archives/mysql-common_5.5.57-0+deb8u1_all.deb
1271/var/cache/apt/archives/mysql-common_5.8+1.0.2_all.deb
1272/var/lib/dpkg/info/libmysqlclient18:amd64.list
1273/var/lib/dpkg/info/libmysqlclient18:amd64.md5sums
1274/var/lib/dpkg/info/libmysqlclient18:amd64.postinst
1275/var/lib/dpkg/info/libmysqlclient18:amd64.postrm
1276/var/lib/dpkg/info/libmysqlclient18:amd64.shlibs
1277/var/lib/dpkg/info/mysql-common.conffiles
1278/var/lib/dpkg/info/mysql-common.list
1279/var/lib/dpkg/info/mysql-common.md5sums
1280/var/lib/dpkg/info/mysql-common.postinst
1281/var/lib/dpkg/info/mysql-common.postrm
1282/var/lib/dpkg/info/mysql-common.preinst
1283/var/lib/dpkg/info/mysql-common.prerm
1284debian@paracambi:/$ sudo updatedb
1285debian@paracambi:/$ locate mysql
1286/etc/php/7.0/apache2/conf.d/10-mysqlnd.ini
1287/etc/php/7.0/apache2/conf.d/20-mysqli.ini
1288/etc/php/7.0/apache2/conf.d/20-pdo_mysql.ini
1289/etc/php/7.0/cli/conf.d/10-mysqlnd.ini
1290/etc/php/7.0/cli/conf.d/20-mysqli.ini
1291/etc/php/7.0/cli/conf.d/20-pdo_mysql.ini
1292/etc/php/7.0/mods-available/mysqli.ini
1293/etc/php/7.0/mods-available/mysqlnd.ini
1294/etc/php/7.0/mods-available/pdo_mysql.ini
1295/etc/systemd/system/multi-user.target.wants/mysql.service
1296/home/debian/.mysql_history
1297/usr/lib/php/20151012/mysqli.so
1298/usr/lib/php/20151012/mysqlnd.so
1299/usr/lib/php/20151012/pdo_mysql.so
1300/usr/share/php7.0-mysql
1301/usr/share/bash-completion/completions/mysql
1302/usr/share/bash-completion/completions/mysqladmin
1303/usr/share/bug/php7.0-mysql
1304/usr/share/bug/php7.0-mysql/control
1305/usr/share/bug/php7.0-mysql/script
1306/usr/share/doc/php7.0-mysql
1307/usr/share/doc/zabbix-agent/examples/userparameter_mysql.conf
1308/usr/share/lintian/overrides/php7.0-mysql
1309/usr/share/php7.0-mysql/mysql
1310/usr/share/php7.0-mysql/mysql/mysqli.ini
1311/usr/share/php7.0-mysql/mysql/mysqlnd.ini
1312/usr/share/php7.0-mysql/mysql/pdo_mysql.ini
1313/usr/share/vim/vim80/syntax/mysql.vim
1314/var/cache/apt/archives/libdbd-mysql-perl_4.041-2_amd64.deb
1315/var/cache/apt/archives/libmysqlclient18_5.5.50-0+deb8u1_amd64.deb
1316/var/cache/apt/archives/libmysqlclient18_5.5.57-0+deb8u1_amd64.deb
1317/var/cache/apt/archives/mysql-common_5.5.50-0+deb8u1_all.deb
1318/var/cache/apt/archives/mysql-common_5.5.57-0+deb8u1_all.deb
1319/var/cache/apt/archives/mysql-common_5.8+1.0.2_all.deb
1320/var/cache/apt/archives/php7.0-mysql_7.0.30-0+deb9u1_amd64.deb
1321/var/lib/dpkg/info/php7.0-mysql.list
1322/var/lib/dpkg/info/php7.0-mysql.md5sums
1323/var/lib/dpkg/info/php7.0-mysql.postinst
1324/var/lib/dpkg/info/php7.0-mysql.postrm
1325/var/lib/dpkg/info/php7.0-mysql.preinst
1326/var/lib/dpkg/info/php7.0-mysql.prerm
1327/var/lib/dpkg/info/php7.0-mysql.triggers
1328/var/lib/php/modules/7.0/apache2/enabled_by_maint/mysqli
1329/var/lib/php/modules/7.0/apache2/enabled_by_maint/mysqlnd
1330/var/lib/php/modules/7.0/apache2/enabled_by_maint/pdo_mysql
1331/var/lib/php/modules/7.0/cli/enabled_by_maint/mysqli
1332/var/lib/php/modules/7.0/cli/enabled_by_maint/mysqlnd
1333/var/lib/php/modules/7.0/cli/enabled_by_maint/pdo_mysql
1334/var/lib/php/modules/7.0/registry/mysqli
1335/var/lib/php/modules/7.0/registry/mysqlnd
1336/var/lib/php/modules/7.0/registry/pdo_mysql
1337/var/lib/ucf/cache/:etc:php:7.0:mods-available:mysqli.ini
1338/var/lib/ucf/cache/:etc:php:7.0:mods-available:mysqlnd.ini
1339/var/lib/ucf/cache/:etc:php:7.0:mods-available:pdo_mysql.ini
1340debian@paracambi:/$ sudo apt-get install mariadb-server -y
1341Lendo listas de pacotes... Pronto
1342Construindo árvore de dependências
1343Lendo informação de estado... Pronto
1344Os seguintes pacotes foram instalados automaticamente e já não são necessários:
1345 expect libtcl8.6 libtk8.6 libxss1 tcl-expect tcl8.6 tk8.6
1346Utilize 'sudo apt autoremove' para os remover.
1347The following additional packages will be installed:
1348 libdbd-mysql-perl libmariadbclient18 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1
1349 mariadb-server-core-10.1 mysql-common
1350Pacotes sugeridos:
1351 mariadb-test netcat-openbsd tinyca
1352Os NOVOS pacotes a seguir serão instalados:
1353 libdbd-mysql-perl libmariadbclient18 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server
1354 mariadb-server-10.1 mariadb-server-core-10.1 mysql-common
13550 pacotes atualizados, 9 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
1356É preciso baixar 0 B/22,3 MB de arquivos.
1357Depois desta operação, 181 MB adicionais de espaço em disco serão usados.
1358Pré-configurando pacotes ...
1359Can't exec "/tmp/mariadb-server-10.1.config.FrdLrT": Permissão negada at /usr/share/perl/5.24/IPC/Open3.pm line 178.
1360open2: exec of /tmp/mariadb-server-10.1.config.FrdLrT configure failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
1361A seleccionar pacote anteriormente não seleccionado mysql-common.
1362(Lendo banco de dados ... 64686 ficheiros e directórios actualmente instalados.)
1363A preparar para desempacotar .../mysql-common_5.8+1.0.2_all.deb ...
1364A descompactar mysql-common (5.8+1.0.2) ...
1365A seleccionar pacote anteriormente não seleccionado mariadb-common.
1366A preparar para desempacotar .../mariadb-common_10.1.26-0+deb9u1_all.deb ...
1367A descompactar mariadb-common (10.1.26-0+deb9u1) ...
1368A seleccionar pacote anteriormente não seleccionado mariadb-client-core-10.1.
1369A preparar para desempacotar .../mariadb-client-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
1370A descompactar mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
1371A seleccionar pacote anteriormente não seleccionado mariadb-client-10.1.
1372A preparar para desempacotar .../mariadb-client-10.1_10.1.26-0+deb9u1_amd64.deb ...
1373A descompactar mariadb-client-10.1 (10.1.26-0+deb9u1) ...
1374A seleccionar pacote anteriormente não seleccionado mariadb-server-core-10.1.
1375A preparar para desempacotar .../mariadb-server-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
1376A descompactar mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
1377Configurando mysql-common (5.8+1.0.2) ...
1378update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
1379Configurando mariadb-common (10.1.26-0+deb9u1) ...
1380update-alternatives: a usar /etc/mysql/mariadb.cnf para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
1381A seleccionar pacote anteriormente não seleccionado mariadb-server-10.1.
1382(Lendo banco de dados ... 64841 ficheiros e directórios actualmente instalados.)
1383A preparar para desempacotar .../mariadb-server-10.1_10.1.26-0+deb9u1_amd64.deb ...
1384A descompactar mariadb-server-10.1 (10.1.26-0+deb9u1) ...
1385A seleccionar pacote anteriormente não seleccionado libmariadbclient18:amd64.
1386A preparar para desempacotar .../libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
1387A descompactar libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
1388A seleccionar pacote anteriormente não seleccionado libdbd-mysql-perl.
1389A preparar para desempacotar .../libdbd-mysql-perl_4.041-2_amd64.deb ...
1390A descompactar libdbd-mysql-perl (4.041-2) ...
1391A seleccionar pacote anteriormente não seleccionado mariadb-server.
1392A preparar para desempacotar .../mariadb-server_10.1.26-0+deb9u1_all.deb ...
1393A descompactar mariadb-server (10.1.26-0+deb9u1) ...
1394Configurando mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
1395Configurando mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
1396Configurando libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
1397A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
1398A processar 'triggers' para systemd (232-25+deb9u4) ...
1399A processar 'triggers' para man-db (2.7.6.1-2) ...
1400Configurando libdbd-mysql-perl (4.041-2) ...
1401Configurando mariadb-client-10.1 (10.1.26-0+deb9u1) ...
1402Configurando mariadb-server-10.1 (10.1.26-0+deb9u1) ...
1403Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
1404Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
1405Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
1406Job for mariadb.service failed because the control process exited with error code.
1407See "systemctl status mariadb.service" and "journalctl -xe" for details.
1408mariadb.service couldn't start.
1409Configurando mariadb-server (10.1.26-0+deb9u1) ...
1410A processar 'triggers' para systemd (232-25+deb9u4) ...
1411debian@paracambi:/$ sudo systemctl enable mysql
1412Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install.
1413Executing: /lib/systemd/systemd-sysv-install enable mysql
1414Failed to enable unit: Refusing to operate on linked unit file mysql.service
1415debian@paracambi:/$ /etc/systemd/system/mysqld.service
1416-bash: /etc/systemd/system/mysqld.service: Permissão negada
1417debian@paracambi:/$ ßudo /etc/systemd/system/mysqld.service
1418-bash: ßudo: comando não encontrado
1419debian@paracambi:/$ sudo /etc/systemd/system/mysqld.service
1420sudo: /etc/systemd/system/mysqld.service: comando não encontrado
1421debian@paracambi:/$ sudo /etc/systemd/
1422network/ system/ user/
1423debian@paracambi:/$ sudo /etc/systemd/
1424network/ system/ user/
1425debian@paracambi:/$ sudo /etc/systemd/
1426network/ system/ user/
1427debian@paracambi:/$ sudo /etc/systemd/system/
1428getty.target.wants/ network-online.target.wants/ remote-fs.target.wants/ sysinit.target.wants/
1429multi-user.target.wants/ paths.target.wants/ sockets.target.wants/ timers.target.wants/
1430debian@paracambi:/$ sudo /etc/systemd/system/
1431getty.target.wants/ network-online.target.wants/ remote-fs.target.wants/ sysinit.target.wants/
1432multi-user.target.wants/ paths.target.wants/ sockets.target.wants/ timers.target.wants/
1433debian@paracambi:/$ sudo /etc/
1434Display all 101 possibilities? (y or n)
1435debian@paracambi:/$ sudo /etc/mysql/
1436conf.d/ debian-start mariadb.conf.d/
1437debian@paracambi:/$ sudo /etc/mysql/conf.d/
1438sudo: /etc/mysql/conf.d/: comando não encontrado
1439debian@paracambi:/$ ls
1440bin dev home initrd.img.old lib64 media opt root sbin sys usr vmlinuz
1441boot etc initrd.img lib lost+found mnt proc run srv tmp var vmlinuz.old
1442debian@paracambi:/$ cd /etc/mysql/conf.d/
1443debian@paracambi:/etc/mysql/conf.d$ ls
1444mysql.cnf mysqldump.cnf
1445debian@paracambi:/etc/mysql/conf.d$ sudo nano mysql
1446debian@paracambi:/etc/mysql/conf.d$ sudo nano mysql.cnf
1447debian@paracambi:/etc/mysql/conf.d$ sudo mysql_secure_installation
1448
1449NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
1450 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
1451
1452In order to log into MariaDB to secure it, we'll need the current
1453password for the root user. If you've just installed MariaDB, and
1454you haven't set the root password yet, the password will be blank,
1455so you should just press enter here.
1456
1457Enter current password for root (enter for none):
1458ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
1459Enter current password for root (enter for none):
1460ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
1461Enter current password for root (enter for none):
1462Aborting!
1463
1464Cleaning up...
1465debian@paracambi:/etc/mysql/conf.d$ ^C
1466debian@paracambi:/etc/mysql/conf.d$ ^C
1467debian@paracambi:/etc/mysql/conf.d$ sudo nano /etc/mysql/my.cnf
1468debian@paracambi:/etc/mysql/conf.d$ sudo nano /etc/mysql/my.cnf
1469debian@paracambi:/etc/mysql/conf.d$ sudo mysql_secure_installation
1470
1471NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
1472 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
1473
1474In order to log into MariaDB to secure it, we'll need the current
1475password for the root user. If you've just installed MariaDB, and
1476you haven't set the root password yet, the password will be blank,
1477so you should just press enter here.
1478
1479Enter current password for root (enter for none):
1480ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
1481Enter current password for root (enter for none):
1482Aborting!
1483
1484Cleaning up...
1485debian@paracambi:/etc/mysql/conf.d$ ^C
1486debian@paracambi:/etc/mysql/conf.d$ ^C
1487debian@paracambi:/etc/mysql/conf.d$ ^C
1488debian@paracambi:/etc/mysql/conf.d$ ^C
1489debian@paracambi:/etc/mysql/conf.d$ ^C
1490debian@paracambi:/etc/mysql/conf.d$ sudo apt-get update
1491Atingido:1 http://security.debian.org stretch/updates InRelease
1492Ign:2 http://deb.debian.org/debian stretch InRelease
1493Atingido:3 http://deb.debian.org/debian stretch-updates InRelease
1494Atingido:4 http://deb.debian.org/debian stretch Release
1495Lendo listas de pacotes... Pronto
1496debian@paracambi:/etc/mysql/conf.d$ sudo apt-get -y install mariadb-server mariadb-client
1497Lendo listas de pacotes... Pronto
1498Construindo árvore de dependências
1499Lendo informação de estado... Pronto
1500mariadb-server is already the newest version (10.1.26-0+deb9u1).
1501Os seguintes pacotes foram instalados automaticamente e já não são necessários:
1502 expect libtcl8.6 libtk8.6 libxss1 tcl-expect tcl8.6 tk8.6
1503Utilize 'sudo apt autoremove' para os remover.
1504Os NOVOS pacotes a seguir serão instalados:
1505 mariadb-client
15060 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
1507É preciso baixar 26,1 kB de arquivos.
1508Depois desta operação, 63,5 kB adicionais de espaço em disco serão usados.
1509Obter:1 http://deb.debian.org/debian stretch/main amd64 mariadb-client all 10.1.26-0+deb9u1 [26,1 kB]
1510Baixados 26,1 kB em 0s (419 kB/s)
1511A seleccionar pacote anteriormente não seleccionado mariadb-client.
1512(Lendo banco de dados ... 64999 ficheiros e directórios actualmente instalados.)
1513A preparar para desempacotar .../mariadb-client_10.1.26-0+deb9u1_all.deb ...
1514A descompactar mariadb-client (10.1.26-0+deb9u1) ...
1515Configurando mariadb-client (10.1.26-0+deb9u1) ...
1516debian@paracambi:/etc/mysql/conf.d$ sudo mysql_secure_installation
1517
1518NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
1519 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
1520
1521In order to log into MariaDB to secure it, we'll need the current
1522password for the root user. If you've just installed MariaDB, and
1523you haven't set the root password yet, the password will be blank,
1524so you should just press enter here.
1525
1526Enter current password for root (enter for none):
1527ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
1528Enter current password for root (enter for none):
1529Aborting!
1530
1531Cleaning up...
1532debian@paracambi:/etc/mysql/conf.d$ ^C
1533debian@paracambi:/etc/mysql/conf.d$ ^C
1534debian@paracambi:/etc/mysql/conf.d$ ^C
1535debian@paracambi:/etc/mysql/conf.d$ ^C
1536debian@paracambi:/etc/mysql/conf.d$ sudo service mysql stop
1537debian@paracambi:/etc/mysql/conf.d$ sudo apt-get --purge remove "mysql*
1538> ^C
1539debian@paracambi:/etc/mysql/conf.d$ ^C
1540debian@paracambi:/etc/mysql/conf.d$ ^C
1541debian@paracambi:/etc/mysql/conf.d$ ^C
1542debian@paracambi:/etc/mysql/conf.d$ ^C
1543debian@paracambi:/etc/mysql/conf.d$ ^C
1544debian@paracambi:/etc/mysql/conf.d$ sudo apt-get --purge remove "mysql*
1545> ^C
1546debian@paracambi:/etc/mysql/conf.d$ ^C
1547debian@paracambi:/etc/mysql/conf.d$ ^C
1548debian@paracambi:/etc/mysql/conf.d$ ^C
1549debian@paracambi:/etc/mysql/conf.d$ ^C
1550debian@paracambi:/etc/mysql/conf.d$ ^C
1551debian@paracambi:/etc/mysql/conf.d$ ^C
1552debian@paracambi:/etc/mysql/conf.d$ sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
1553Lendo listas de pacotes... Pronto
1554Construindo árvore de dependências
1555Lendo informação de estado... Pronto
1556Note, selecting 'mysql-server-core-5.5' for glob 'mysql-server-core-*'
1557Note, selecting 'mysql-server-core-5.6' for glob 'mysql-server-core-*'
1558Note, selecting 'mysql-server-core-5.7' for glob 'mysql-server-core-*'
1559O pacote 'mysql-server-core-5.5' não está instalado, por isso não será removido
1560O pacote 'mysql-server-core-5.6' não está instalado, por isso não será removido
1561O pacote 'mysql-server-core-5.7' não está instalado, por isso não será removido
1562Note, selecting 'mysql-client-core-5.5' for glob 'mysql-client-core-*'
1563Note, selecting 'mysql-client-core-5.6' for glob 'mysql-client-core-*'
1564Note, selecting 'mysql-client-core-5.7' for glob 'mysql-client-core-*'
1565O pacote 'mysql-client-core-5.5' não está instalado, por isso não será removido
1566O pacote 'mysql-client-core-5.6' não está instalado, por isso não será removido
1567O pacote 'mysql-client-core-5.7' não está instalado, por isso não será removido
1568O pacote 'mysql-client' não está instalado, por isso não será removido
1569O pacote 'mysql-server' não está instalado, por isso não será removido
1570Os seguintes pacotes foram instalados automaticamente e já não são necessários:
1571 expect galera-3 libaio1 libdbi-perl libjemalloc1 libtcl8.6 libterm-readkey-perl libtk8.6 libxss1 socat tcl-expect tcl8.6
1572 tk8.6
1573Utilize 'sudo apt autoremove' para os remover.
1574Os pacotes a seguir serão REMOVIDOS:
1575 libdbd-mysql-perl* libmariadbclient18* mariadb-client* mariadb-client-10.1* mariadb-client-core-10.1* mariadb-common*
1576 mariadb-server* mariadb-server-10.1* mariadb-server-core-10.1* mysql-common*
15770 pacotes atualizados, 0 pacotes novos instalados, 10 a serem removidos e 0 não atualizados.
1578Depois desta operação, 181 MB de espaço em disco serão liberados.
1579Você quer continuar? [S/n] S
1580(Lendo banco de dados ... 65002 ficheiros e directórios actualmente instalados.)
1581A remover libdbd-mysql-perl (4.041-2) ...
1582A remover libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
1583A remover mariadb-client (10.1.26-0+deb9u1) ...
1584A remover mariadb-server (10.1.26-0+deb9u1) ...
1585A remover mariadb-server-10.1 (10.1.26-0+deb9u1) ...
1586A remover mariadb-client-10.1 (10.1.26-0+deb9u1) ...
1587A remover mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
1588A remover mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
1589A remover mariadb-common (10.1.26-0+deb9u1) ...
1590update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
1591A remover mysql-common (5.8+1.0.2) ...
1592A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
1593A processar 'triggers' para man-db (2.7.6.1-2) ...
1594(Lendo banco de dados ... 64708 ficheiros e directórios actualmente instalados.)
1595A purgar os ficheiros de configuração para mariadb-common (10.1.26-0+deb9u1) ...
1596A purgar os ficheiros de configuração para mariadb-client-10.1 (10.1.26-0+deb9u1) ...
1597A purgar os ficheiros de configuração para mysql-common (5.8+1.0.2) ...
1598A purgar os ficheiros de configuração para mariadb-server-10.1 (10.1.26-0+deb9u1) ...
1599userdel: user mysql is currently used by process 26235
1600A processar 'triggers' para systemd (232-25+deb9u4) ...
1601debian@paracambi:/etc/mysql/conf.d$ sudo rm -rf /etc/mysql /var/lib/mysql
1602debian@paracambi:/etc/mysql/conf.d$ sudo apt-get autoremove
1603Lendo listas de pacotes... Pronto
1604Construindo árvore de dependências
1605Lendo informação de estado... Pronto
1606Os pacotes a seguir serão REMOVIDOS:
1607 expect galera-3 libaio1 libdbi-perl libjemalloc1 libtcl8.6 libterm-readkey-perl libtk8.6 libxss1 socat tcl-expect tcl8.6
1608 tk8.6
16090 pacotes atualizados, 0 pacotes novos instalados, 13 a serem removidos e 0 não atualizados.
1610Depois desta operação, 13,9 MB de espaço em disco serão liberados.
1611Você quer continuar? [S/n] S
1612sh: 0: getcwd() failed: No such file or directory
1613sh: 0: getcwd() failed: No such file or directory
1614(Lendo banco de dados ... 64686 ficheiros e directórios actualmente instalados.)
1615A remover expect (5.45-7+deb9u1) ...
1616A remover galera-3 (25.3.19-2) ...
1617A remover libaio1:amd64 (0.3.110-3) ...
1618A remover libdbi-perl (1.636-1+b1) ...
1619A remover libjemalloc1 (3.6.0-9.1) ...
1620A remover tk8.6 (8.6.6-1+b1) ...
1621A remover libtk8.6:amd64 (8.6.6-1+b1) ...
1622A remover libterm-readkey-perl (2.37-1) ...
1623A remover libxss1:amd64 (1:1.2.2-1) ...
1624A remover socat (1.7.3.1-2+deb9u1) ...
1625A remover tcl-expect:amd64 (5.45-7+deb9u1) ...
1626A remover tcl8.6 (8.6.6+dfsg-1+b1) ...
1627A remover libtcl8.6:amd64 (8.6.6+dfsg-1+b1) ...
1628A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
1629A processar 'triggers' para man-db (2.7.6.1-2) ...
1630debian@paracambi:/etc/mysql/conf.d$ sudo apt-get autoclean
1631Lendo listas de pacotes... Pronto
1632Construindo árvore de dependências
1633Lendo informação de estado... Pronto
1634Del libtxc-dxtn-s2tc0 0~git20131104-1.1 [51,6 kB]
1635Del libncurses5 6.0+20161126-1 [93,4 kB]
1636Del libdrm-nouveau2 2.4.58-2 [21,6 kB]
1637Del python2.7-minimal 2.7.9-2+deb8u1 [1.401 kB]
1638Del libgnutls-deb0-28 3.3.8-6+deb8u7 [696 kB]
1639Del iproute2 4.9.0-1 [634 kB]
1640Del sudo 1.8.10p3-1+deb8u4 [854 kB]
1641Del liblcms2-2 2.6-3+deb8u1 [141 kB]
1642Del perl-modules-5.24 5.24.1-3+deb9u1 [2.723 kB]
1643Del exim4-config 4.84.2-2+deb8u4 [502 kB]
1644Del bind9-host 1:9.9.5.dfsg-9+deb8u13 [68,1 kB]
1645Del dbus 1.10.18-1 [208 kB]
1646Del libfreetype6 2.5.2-3+deb8u2 [466 kB]
1647Del libfcgi-perl 0.77-1+deb8u1 [39,0 kB]
1648Del libnettle4 2.7.1-5+deb8u2 [176 kB]
1649Del systemd-sysv 215-17+deb8u7 [36,7 kB]
1650Del libisc-export95 1:9.9.5.dfsg-9+deb8u13 [141 kB]
1651Del libisccfg-export90 1:9.9.5.dfsg-9+deb8u13 [41,5 kB]
1652Del libncursesw5 6.0+20161126-1 [115 kB]
1653Del host 1:9.9.5.dfsg-9+deb8u13 [24,1 kB]
1654Del libcups2 2.2.1-8 [306 kB]
1655Del libisccfg140 1:9.10.3.dfsg.P4-12.3+deb9u2 [222 kB]
1656Del base-files 8+deb8u9 [78,2 kB]
1657Del tcl8.6 8.6.2+dfsg-2 [122 kB]
1658Del base-files 9.9+deb9u1 [67,2 kB]
1659Del apt-utils 1.4.7 [410 kB]
1660Del tzdata 2017b-1 [260 kB]
1661Del apt-utils 1.0.9.8.4 [368 kB]
1662Del gnupg2 2.1.18-6 [299 kB]
1663Del initramfs-tools 0.120+deb8u3 [96,7 kB]
1664Del libmysqlclient18 5.5.57-0+deb8u1 [680 kB]
1665Del libnettle6 3.3-1+b1 [191 kB]
1666Del libx11-xcb1 2:1.6.2-3 [163 kB]
1667Del python2.7 2.7.13-2 [285 kB]
1668Del gnupg-agent 2.1.18-6 [554 kB]
1669Del libxft2 2.3.2-1 [55,4 kB]
1670Del perl-base 5.24.1-3+deb9u1 [1.343 kB]
1671Del ncurses-term 6.0+20161126-1 [469 kB]
1672Del libssl1.0.0 1.0.1t-1+deb8u6 [1.047 kB]
1673Del ca-certificates 20141019+deb8u3 [207 kB]
1674Del libdns162 1:9.10.3.dfsg.P4-12.3+deb9u2 [1.077 kB]
1675Del exim4-base 4.84.2-2+deb8u4 [1.049 kB]
1676Del dnsutils 1:9.10.3.dfsg.P4-12.3+deb9u2 [283 kB]
1677Del libice6 2:1.0.9-1+b1 [58,8 kB]
1678Del file 1:5.22+15-2+deb8u3 [60,4 kB]
1679Del libhogweed2 2.7.1-5+deb8u2 [125 kB]
1680Del libkrb5-3 1.15-1 [311 kB]
1681Del gnupg-agent 2.0.26-6+deb8u1 [272 kB]
1682Del openssl 1.0.1t-1+deb8u6 [665 kB]
1683Del publicsuffix 20170424.0717-1 [98,2 kB]
1684Del python3-reportbug 7.1.7 [129 kB]
1685Del libisc-export160 1:9.10.3.dfsg.P4-12.3+deb9u2 [334 kB]
1686Del libgnutls30 3.5.8-5+deb9u2 [895 kB]
1687Del apt 1.0.9.8.4 [1.109 kB]
1688Del iproute 1:4.9.0-1 [16,3 kB]
1689Del libapt-inst1.5 1.0.9.8.4 [169 kB]
1690Del libsqlite3-0 3.16.2-5 [572 kB]
1691Del libevent-2.0-5 2.0.21-stable-2+deb8u1 [152 kB]
1692Del libpam-google-authenticator 20130529-2 [32,1 kB]
1693Del libxshmfence1 1.1-4 [6.736 B]
1694Del libldap-2.4-2 2.4.44+dfsg-5 [218 kB]
1695Del libmount1 2.29.2-1 [178 kB]
1696Del patch 2.7.5-1+b2 [112 kB]
1697Del libnet-ssleay-perl 1.65-1+deb8u1 [277 kB]
1698Del libtasn1-6 4.10-1.1 [50,4 kB]
1699Del procmail 3.22-25+b1 [142 kB]
1700Del vim-common 2:7.4.488-7+deb8u3 [185 kB]
1701Del debian-archive-keyring 2017.5~deb8u1 [56,7 kB]
1702Del libblkid1 2.29.2-1 [168 kB]
1703Del expect 5.45-7+b1 [165 kB]
1704Del python2.7-minimal 2.7.13-2 [1.383 kB]
1705Del exim4 4.89-2+deb9u1 [7.868 B]
1706Del util-linux-locales 2.29.2-1 [1.000 kB]
1707Del libgtk2.0-0 2.24.25-3+deb8u2 [2.302 kB]
1708Del vim-common 2:8.0.0197-4 [159 kB]
1709Del libtiff5 4.0.3-12.3+deb8u4 [221 kB]
1710Del libxpm4 1:3.5.12-0+deb8u1 [49,2 kB]
1711Del libtk8.6 8.6.2-1 [771 kB]
1712Del libdrm-radeon1 2.4.58-2 [31,1 kB]
1713Del libgcrypt20 1.7.6-2+deb9u1 [522 kB]
1714Del libsystemd0 215-17+deb8u7 [89,4 kB]
1715Del gnupg-l10n 2.1.18-6 [892 kB]
1716Del linux-image-4.9.0-8-amd64 4.9.110-3+deb9u5 [39,0 MB]
1717Del libcairo2 1.14.0-2.1+deb8u2 [742 kB]
1718Del libisccc140 1:9.10.3.dfsg.P4-12.3+deb9u2 [198 kB]
1719Del libbind9-90 1:9.9.5.dfsg-9+deb8u13 [43,9 kB]
1720Del libldap-2.4-2 2.4.40+dfsg-1+deb8u3 [218 kB]
1721Del xterm 312-2 [605 kB]
1722Del libudev1 232-25+deb9u1 [124 kB]
1723Del x11-utils 7.7+2 [191 kB]
1724Del libsmartcols1 2.29.2-1 [125 kB]
1725Del libgl1-mesa-dri 10.3.2-1+deb8u1 [3.384 kB]
1726Del gcc-6-base 6.3.0-18 [180 kB]
1727Del procps 2:3.3.12-3 [249 kB]
1728Del ntp 1:4.2.8p10+dfsg-3 [556 kB]
1729Del libgnutls-openssl27 3.3.8-6+deb8u7 [143 kB]
1730Del mysql-common 5.5.57-0+deb8u1 [84,2 kB]
1731Del w3m 0.5.3-19+deb8u2 [1.006 kB]
1732Del libxcb-sync1 1.10-3+b1 [14,4 kB]
1733Del reportbug 7.1.7 [128 kB]
1734Del vim-tiny 2:8.0.0197-4 [446 kB]
1735Del dbus 1.8.22-0+deb8u1 [292 kB]
1736Del libisccfg90 1:9.9.5.dfsg-9+deb8u13 [57,8 kB]
1737Del python2.7 2.7.9-2+deb8u1 [252 kB]
1738Del libtiff5 4.0.8-2+deb9u1 [237 kB]
1739Del libpam0g 1.1.8-3.1+deb8u2+b1 [126 kB]
1740Del libxml2 2.9.4+dfsg1-2.2 [919 kB]
1741Del e2fslibs 1.42.12-2+b1 [186 kB]
1742Del bsdutils 1:2.29.2-1 [112 kB]
1743Del ca-certificates 20161130+nmu1 [196 kB]
1744Del libdns100 1:9.9.5.dfsg-9+deb8u13 [681 kB]
1745Del libapt-pkg4.12 1.0.9.8.4 [792 kB]
1746Del krb5-locales 1.15-1 [93,5 kB]
1747Del ntp 1:4.2.6.p5+dfsg-7+deb8u2 [394 kB]
1748Del libss2 1.42.12-2+b1 [65,0 kB]
1749Del libutempter0 1.1.5-4 [8.020 B]
1750Del linux-image-3.16.0-4-amd64 3.16.43-2+deb8u2 [34,0 MB]
1751Del binutils 2.25-5+deb8u1 [3.496 kB]
1752Del tar 1.27.1-2+deb8u1 [676 kB]
1753Del mtr-tiny 0.85-3 [51,2 kB]
1754Del dpkg 1.18.24 [2.107 kB]
1755Del libhogweed4 3.3-1+b1 [136 kB]
1756Del libxmu6 2:1.1.2-1 [58,6 kB]
1757Del libgcrypt20 1.6.3-2+deb8u4 [392 kB]
1758Del libglapi-mesa 10.3.2-1+deb8u1 [53,3 kB]
1759Del binutils 2.25-5 [3.516 kB]
1760Del openssh-server 1:7.4p1-10+deb9u1 [332 kB]
1761Del libgdk-pixbuf2.0-common 2.36.5-2 [310 kB]
1762Del debconf 1.5.56+deb8u1 [167 kB]
1763Del libssl1.1 1.1.0f-3 [1.342 kB]
1764Del libxaw7 2:1.0.12-2+b1 [199 kB]
1765Del systemd 215-17+deb8u7 [2.545 kB]
1766Del libc6 2.19-18+deb8u10 [4.665 kB]
1767Del gpgv 1.4.18-7+deb8u3 [209 kB]
1768Del libicu52 52.1-8+deb8u5 [6.801 kB]
1769Del libxxf86dga1 2:1.1.4-1+b1 [22,3 kB]
1770Del libssl1.0.2 1.0.2l-2 [1.294 kB]
1771Del python-pil 2.6.1-2+deb8u3 [304 kB]
1772Del dnsutils 1:9.9.5.dfsg-9+deb8u13 [119 kB]
1773Del gnupg2 2.0.26-6+deb8u1 [1.397 kB]
1774Del openssh-client 1:7.4p1-10+deb9u1 [778 kB]
1775Del libelf1 0.159-4.2 [160 kB]
1776Del libtasn1-6 4.2-3+deb8u3 [49,2 kB]
1777Del libmysqlclient18 5.5.50-0+deb8u1 [675 kB]
1778Del liblwres141 1:9.10.3.dfsg.P4-12.3+deb9u2 [214 kB]
1779Del tk8.6 8.6.2-1 [71,1 kB]
1780Del libicu57 57.1-6 [7.701 kB]
1781Del rkhunter 1.4.2-0.4 [238 kB]
1782Del ossec-hids 2.8.3-4wheezy [1.950 kB]
1783Del libgssapi-krb5-2 1.15-1 [154 kB]
1784Del libxcb-glx0 1.10-3+b1 [27,4 kB]
1785Del libapparmor1 2.11.0-3 [78,7 kB]
1786Del debsecan 0.4.17 [36,2 kB]
1787Del gnupg 2.1.18-6 [1.126 kB]
1788Del libsm6 2:1.2.2-1+b1 [33,6 kB]
1789Del openssh-sftp-server 1:7.4p1-10+deb9u1 [39,5 kB]
1790Del libidn11 1.29-1+deb8u2 [136 kB]
1791Del libmagic1 1:5.22+15-2+deb8u3 [250 kB]
1792Del libpam-modules 1.1.8-3.1+deb8u2+b1 [307 kB]
1793Del bind9-host 1:9.10.3.dfsg.P4-12.3+deb9u2 [231 kB]
1794Del libgnutls-openssl27 3.5.8-5+deb9u2 [184 kB]
1795Del libfdisk1 2.29.2-1 [203 kB]
1796Del libdb5.3 5.3.28-12+b1 [680 kB]
1797Del x11-common 1:7.7+7 [287 kB]
1798Del libxml-libxml-perl 2.0128+dfsg-1+b1 [339 kB]
1799Del gpgv 2.1.18-6 [480 kB]
1800Del libisc95 1:9.9.5.dfsg-9+deb8u13 [169 kB]
1801Del rkhunter 1.4.2-0.4+deb8u1 [238 kB]
1802Del libgtk2.0-bin 2.24.25-3+deb8u2 [535 kB]
1803Del libgdk-pixbuf2.0-0 2.36.5-2 [169 kB]
1804Del libmagic1 1:5.30-1 [111 kB]
1805Del openssl 1.1.0f-3 [725 kB]
1806Del libk5crypto3 1.15-1 [119 kB]
1807Del libqrencode3 3.4.3-1 [33,8 kB]
1808Del xxd 2:8.0.0197-4 [131 kB]
1809Del libdns-export100 1:9.9.5.dfsg-9+deb8u13 [457 kB]
1810Del perl 5.24.1-3+deb9u1 [219 kB]
1811Del cron 3.0pl1-128+b1 [95,5 kB]
1812Del tcl-expect 5.45-7+b1 [131 kB]
1813Del xkb-data 2.19-1 [648 kB]
1814Del mount 2.29.2-1 [189 kB]
1815Del libpciaccess0 0.13.2-3+b1 [47,6 kB]
1816Del exim4-daemon-light 4.84.2-2+deb8u4 [632 kB]
1817Del libtcl8.6 8.6.2+dfsg-2 [978 kB]
1818Del libllvm3.5 1:3.5-10 [7.607 kB]
1819Del perl-base 5.20.2-3+deb8u8 [1.230 kB]
1820Del libpam-modules-bin 1.1.8-3.1+deb8u2+b1 [104 kB]
1821Del libpython2.7-stdlib 2.7.9-2+deb8u1 [1.847 kB]
1822Del bash 4.3-11+deb8u1 [1.172 kB]
1823Del tzdata 2017b-0+deb8u1 [232 kB]
1824Del mysql-common 5.5.50-0+deb8u1 [81,8 kB]
1825Del libldap-common 2.4.44+dfsg-5 [85,0 kB]
1826Del chkrootkit 0.50-3 [310 kB]
1827Del libpng12-0 1.2.50-2+deb8u3 [173 kB]
1828Del libxapian30 1.4.3-2 [1.067 kB]
1829Del libxv1 2:1.0.10-1+b1 [24,0 kB]
1830Del libbind9-140 1:9.10.3.dfsg.P4-12.3+deb9u2 [206 kB]
1831Del libxt6 1:1.1.4-1+b1 [186 kB]
1832Del systemd 232-25+deb9u1 [2.462 kB]
1833Del libdiscover2 2.1.2-7.1 [90,2 kB]
1834Del exim4-base 4.89-2+deb9u1 [1.093 kB]
1835Del libxpm4 1:3.5.11-1+b1 [48,1 kB]
1836Del sudo 1.8.10p3-1+deb8u3 [855 kB]
1837Del apt 1.4.7 [1.231 kB]
1838Del libdbus-1-3 1.8.22-0+deb8u1 [170 kB]
1839Del libkrb5support0 1.15-1 [61,7 kB]
1840Del os-prober 1.65+deb8u1 [28,2 kB]
1841Del libcurl3-gnutls 7.38.0-4+deb8u5 [252 kB]
1842Del libtinfo5 6.0+20161126-1 [299 kB]
1843Del libpython2.7-stdlib 2.7.13-2 [1.895 kB]
1844Del libgtk2.0-common 2.24.25-3+deb8u2 [3.137 kB]
1845Del whois 5.2.15 [76,3 kB]
1846Del libudev1 215-17+deb8u7 [57,8 kB]
1847Del login 1:4.2-3+deb8u4 [722 kB]
1848Del vim-tiny 2:7.4.488-7+deb8u3 [418 kB]
1849Del libpython2.7-minimal 2.7.13-2 [389 kB]
1850Del liblwres90 1:9.9.5.dfsg-9+deb8u13 [53,6 kB]
1851Del libio-socket-ssl-perl 2.002-2+deb8u2 [172 kB]
1852Del locales 2.19-18+deb8u10 [3.930 kB]
1853Del perl-modules 5.20.2-3+deb8u8 [2.547 kB]
1854Del libxxf86vm1 1:1.1.3-1+b1 [19,6 kB]
1855Del libpam-systemd 232-25+deb9u1 [187 kB]
1856Del librtmp1 2.4+20150115.gita107cef-1+deb8u1 [60,0 kB]
1857Del chkrootkit 0.50-3.2~deb8u1 [310 kB]
1858Del libpython2.7-minimal 2.7.9-2+deb8u1 [378 kB]
1859Del e2fsprogs 1.42.12-2+b1 [750 kB]
1860Del libdrm2 2.4.58-2 [29,9 kB]
1861Del libfontenc1 1:1.1.2-1+b2 [23,9 kB]
1862Del systemd-sysv 232-25+deb9u1 [80,7 kB]
1863Del libcomerr2 1.42.12-2+b1 [60,7 kB]
1864Del libxcb-present0 1.10-3+b1 [11,1 kB]
1865Del libselinux1 2.6-3+b1 [101 kB]
1866Del libsqlite3-0 3.8.7.1-1+deb8u2 [438 kB]
1867Del libirs-export91 1:9.9.5.dfsg-9+deb8u13 [39,0 kB]
1868Del host 1:9.10.3.dfsg.P4-12.3+deb9u2 [185 kB]
1869Del libxcb-shape0 1.10-3+b1 [11,6 kB]
1870Del gnupg 1.4.18-7+deb8u3 [1.149 kB]
1871Del isc-dhcp-client 4.3.5-3 [325 kB]
1872Del libopts25 1:5.18.4-3 [69,6 kB]
1873Del libdbus-1-3 1.10.18-1 [192 kB]
1874Del libxtst6 2:1.2.2-1+b1 [27,3 kB]
1875Del libffi6 3.1-2+deb8u1 [20,2 kB]
1876Del udev 232-25+deb9u1 [1.113 kB]
1877Del exim4-config 4.89-2+deb9u1 [377 kB]
1878Del libisccc90 1:9.9.5.dfsg-9+deb8u13 [37,2 kB]
1879Del libperl5.24 5.24.1-3+deb9u1 [3.524 kB]
1880Del libmagic-mgc 1:5.30-1 [222 kB]
1881Del libpam-runtime 1.1.8-3.1+deb8u2 [212 kB]
1882Del libcurl3-gnutls 7.52.1-5 [289 kB]
1883Del ncurses-base 6.0+20161126-1 [238 kB]
1884Del multiarch-support 2.19-18+deb8u10 [181 kB]
1885Del libdrm-intel1 2.4.58-2 [64,9 kB]
1886Del libc-bin 2.19-18+deb8u10 [1.281 kB]
1887Del libstdc++6 6.3.0-18 [396 kB]
1888Del isc-dhcp-common 4.3.5-3 [136 kB]
1889Del dirmngr 2.1.18-6 [595 kB]
1890Del udev 215-17+deb8u7 [876 kB]
1891Del linux-image-amd64 4.9+80+deb9u1 [6.902 B]
1892Del libxcb-dri3-0 1.10-3+b1 [11,1 kB]
1893Del libgl1-mesa-glx 10.3.2-1+deb8u1 [180 kB]
1894Del unhide 20121229-1+b1 [427 kB]
1895Del rpcbind 0.2.1-6+deb8u2 [41,6 kB]
1896Del iproute 1:3.16.0-2 [15,5 kB]
1897Del libprocps6 2:3.3.12-3 [58,1 kB]
1898Del libxcb-dri2-0 1.10-3+b1 [12,9 kB]
1899Del discover 2.1.2-7.1 [42,2 kB]
1900Del w3m 0.5.3-34 [1.030 kB]
1901Del debconf-i18n 1.5.56+deb8u1 [206 kB]
1902Del passwd 1:4.2-3+deb8u4 [971 kB]
1903Del libgcc1 1:6.3.0-18 [38,0 kB]
1904Del linux-image-4.9.0-3-amd64 4.9.30-2+deb9u2 [38,7 MB]
1905Del util-linux 2.29.2-1 [981 kB]
1906Del file 1:5.30-1 [63,9 kB]
1907Del libsystemd0 232-25+deb9u1 [280 kB]
1908Del exim4 4.84.2-2+deb8u4 [8.584 B]
1909Del libgraphite2-3 1.3.10-1~deb8u1 [85,4 kB]
1910Del libapt-pkg5.0 1.4.7 [916 kB]
1911Del libxcursor1 1:1.1.14-1+b4 [35,0 kB]
1912Del perl 5.20.2-3+deb8u8 [2.633 kB]
1913Del eject 2.1.5+deb1+cvs20081104-13.1+deb8u1 [51,1 kB]
1914Del exim4-daemon-light 4.89-2+deb9u1 [541 kB]
1915Del sed 4.2.2-4+deb8u1 [243 kB]
1916Del apticron 1.1.57 [20,0 kB]
1917Del tcl-expect 5.45-6 [131 kB]
1918Del htop 1.0.3-1 [75,3 kB]
1919Del shared-mime-info 1.8-1 [731 kB]
1920Del libtirpc1 0.2.5-1+deb8u1 [80,9 kB]
1921Del libexpat1 2.1.0-6+deb8u4 [80,2 kB]
1922Del libjasper1 1.900.1-debian1-2.4+deb8u3 [134 kB]
1923Del whowatch 1.8.5-1 [32,3 kB]
1924Del libapt-inst2.0 1.4.7 [192 kB]
1925Del libuuid1 2.29.2-1 [70,0 kB]
1926Del libisc160 1:9.10.3.dfsg.P4-12.3+deb9u2 [398 kB]
1927Del libdns-export162 1:9.10.3.dfsg.P4-12.3+deb9u2 [851 kB]
1928Del libxml2 2.9.1+dfsg1-5+deb8u4 [802 kB]
1929Del ncurses-bin 6.0+20161126-1 [365 kB]
1930Del libidn2-0 0.16-1 [60,6 kB]
1931Del expect 5.45-6 [165 kB]
1932debian@paracambi:/etc/mysql/conf.d$ apt-get update
1933Lendo listas de pacotes... Pronto
1934W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operação não permitida)
1935E: Não foi possÃvel abrir arquivo de trava /var/lib/apt/lists/lock - open (13: Permissão negada)
1936E: ImpossÃvel criar acesso exclusivo ao directório /var/lib/apt/lists/
1937W: Problema ao remover o link do ficheiro /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permissão negada)
1938W: Problema ao remover o link do ficheiro /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permissão negada)
1939debian@paracambi:/etc/mysql/conf.d$ apt-get upgrade
1940E: Não foi possÃvel abrir arquivo de trava /var/lib/dpkg/lock - open (13: Permissão negada)
1941E: Não foi possÃvel criar acesso exclusivo ao directório de administração (/var/lib/dpkg/), é root?
1942debian@paracambi:/etc/mysql/conf.d$ sudo su
1943shell-init: erro ao obter o diretório atual: getcwd: impossÃvel acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
1944root@paracambi:.# apt-get update
1945job-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
1946Atingido:1 http://security.debian.org stretch/updates InRelease
1947Ign:2 http://deb.debian.org/debian stretch InRelease
1948Atingido:3 http://deb.debian.org/debian stretch-updates InRelease
1949Atingido:4 http://deb.debian.org/debian stretch Release
1950Lendo listas de pacotes... Pronto
1951root@paracambi:.#
1952root@paracambi:.#
1953root@paracambi:.#
1954root@paracambi:.#
1955root@paracambi:.#
1956root@paracambi:.#
1957root@paracambi:.#
1958root@paracambi:.# apt-get upgrade
1959job-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
1960Lendo listas de pacotes... Pronto
1961Construindo árvore de dependências
1962Lendo informação de estado... Pronto
1963Calculando atualização... Pronto
19640 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
1965root@paracambi:.# apt-get install mariadb-server
1966job-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
1967Lendo listas de pacotes... Pronto
1968Construindo árvore de dependências
1969Lendo informação de estado... Pronto
1970The following additional packages will be installed:
1971 galera-3 libaio1 libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libterm-readkey-perl mariadb-client-10.1
1972 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
1973Pacotes sugeridos:
1974 libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mariadb-test netcat-openbsd tinyca
1975Os NOVOS pacotes a seguir serão instalados:
1976 galera-3 libaio1 libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libterm-readkey-perl mariadb-client-10.1
1977 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
19780 pacotes atualizados, 15 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
1979É preciso baixar 0 B/24,5 MB de arquivos.
1980Depois desta operação, 188 MB adicionais de espaço em disco serão usados.
1981Você quer continuar? [S/n] S
1982sh: 0: getcwd() failed: No such file or directory
1983sh: 0: getcwd() failed: No such file or directory
1984sh: 0: getcwd() failed: No such file or directory
1985sh: 0: getcwd() failed: No such file or directory
1986Pré-configurando pacotes ...
1987Can't exec "/tmp/mariadb-server-10.1.config.OcKL56": Permissão negada at /usr/share/perl/5.24/IPC/Open3.pm line 178.
1988open2: exec of /tmp/mariadb-server-10.1.config.OcKL56 configure failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
1989A seleccionar pacote anteriormente não seleccionado mysql-common.
1990(Lendo banco de dados ... 64007 ficheiros e directórios actualmente instalados.)
1991A preparar para desempacotar .../0-mysql-common_5.8+1.0.2_all.deb ...
1992A descompactar mysql-common (5.8+1.0.2) ...
1993A seleccionar pacote anteriormente não seleccionado mariadb-common.
1994A preparar para desempacotar .../1-mariadb-common_10.1.26-0+deb9u1_all.deb ...
1995A descompactar mariadb-common (10.1.26-0+deb9u1) ...
1996A seleccionar pacote anteriormente não seleccionado galera-3.
1997A preparar para desempacotar .../2-galera-3_25.3.19-2_amd64.deb ...
1998A descompactar galera-3 (25.3.19-2) ...
1999A seleccionar pacote anteriormente não seleccionado libdbi-perl.
2000A preparar para desempacotar .../3-libdbi-perl_1.636-1+b1_amd64.deb ...
2001A descompactar libdbi-perl (1.636-1+b1) ...
2002A seleccionar pacote anteriormente não seleccionado libaio1:amd64.
2003A preparar para desempacotar .../4-libaio1_0.3.110-3_amd64.deb ...
2004A descompactar libaio1:amd64 (0.3.110-3) ...
2005A seleccionar pacote anteriormente não seleccionado mariadb-client-core-10.1.
2006A preparar para desempacotar .../5-mariadb-client-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
2007A descompactar mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
2008A seleccionar pacote anteriormente não seleccionado libjemalloc1.
2009A preparar para desempacotar .../6-libjemalloc1_3.6.0-9.1_amd64.deb ...
2010A descompactar libjemalloc1 (3.6.0-9.1) ...
2011A seleccionar pacote anteriormente não seleccionado mariadb-client-10.1.
2012A preparar para desempacotar .../7-mariadb-client-10.1_10.1.26-0+deb9u1_amd64.deb ...
2013A descompactar mariadb-client-10.1 (10.1.26-0+deb9u1) ...
2014A seleccionar pacote anteriormente não seleccionado mariadb-server-core-10.1.
2015A preparar para desempacotar .../8-mariadb-server-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
2016A descompactar mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
2017A seleccionar pacote anteriormente não seleccionado socat.
2018A preparar para desempacotar .../9-socat_1.7.3.1-2+deb9u1_amd64.deb ...
2019A descompactar socat (1.7.3.1-2+deb9u1) ...
2020Configurando mysql-common (5.8+1.0.2) ...
2021update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
2022Configurando mariadb-common (10.1.26-0+deb9u1) ...
2023update-alternatives: a usar /etc/mysql/mariadb.cnf para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
2024A seleccionar pacote anteriormente não seleccionado mariadb-server-10.1.
2025(Lendo banco de dados ... 64379 ficheiros e directórios actualmente instalados.)
2026A preparar para desempacotar .../mariadb-server-10.1_10.1.26-0+deb9u1_amd64.deb ...
2027A descompactar mariadb-server-10.1 (10.1.26-0+deb9u1) ...
2028A seleccionar pacote anteriormente não seleccionado libmariadbclient18:amd64.
2029A preparar para desempacotar .../libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
2030A descompactar libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
2031A seleccionar pacote anteriormente não seleccionado libdbd-mysql-perl.
2032A preparar para desempacotar .../libdbd-mysql-perl_4.041-2_amd64.deb ...
2033A descompactar libdbd-mysql-perl (4.041-2) ...
2034A seleccionar pacote anteriormente não seleccionado libterm-readkey-perl.
2035A preparar para desempacotar .../libterm-readkey-perl_2.37-1_amd64.deb ...
2036A descompactar libterm-readkey-perl (2.37-1) ...
2037A seleccionar pacote anteriormente não seleccionado mariadb-server.
2038A preparar para desempacotar .../mariadb-server_10.1.26-0+deb9u1_all.deb ...
2039A descompactar mariadb-server (10.1.26-0+deb9u1) ...
2040Configurando libjemalloc1 (3.6.0-9.1) ...
2041Configurando socat (1.7.3.1-2+deb9u1) ...
2042Configurando libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
2043Configurando libterm-readkey-perl (2.37-1) ...
2044A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
2045Configurando libaio1:amd64 (0.3.110-3) ...
2046Configurando galera-3 (25.3.19-2) ...
2047A processar 'triggers' para systemd (232-25+deb9u4) ...
2048A processar 'triggers' para man-db (2.7.6.1-2) ...
2049Configurando libdbi-perl (1.636-1+b1) ...
2050Configurando mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
2051Configurando mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
2052Configurando libdbd-mysql-perl (4.041-2) ...
2053Configurando mariadb-client-10.1 (10.1.26-0+deb9u1) ...
2054Configurando mariadb-server-10.1 (10.1.26-0+deb9u1) ...
2055Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
2056Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
2057Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
2058Job for mariadb.service failed because the control process exited with error code.
2059See "systemctl status mariadb.service" and "journalctl -xe" for details.
2060mariadb.service couldn't start.
2061Configurando mariadb-server (10.1.26-0+deb9u1) ...
2062A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
2063A processar 'triggers' para systemd (232-25+deb9u4) ...
2064root@paracambi:.# sudo mysql_secure_installation
2065job-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
2066sh: 0: getcwd() failed: No such file or directory
2067touch: não foi possÃvel tocar '.my.cnf.31806': Arquivo ou diretório não encontrado
2068touch: não foi possÃvel tocar '.mysql.31806': Arquivo ou diretório não encontrado
2069chmod: não foi possÃvel acessar '.my.cnf.31806': Arquivo ou diretório não encontrado
2070chmod: não foi possÃvel acessar '.mysql.31806': Arquivo ou diretório não encontrado
2071
2072NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
2073 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
2074
2075In order to log into MariaDB to secure it, we'll need the current
2076password for the root user. If you've just installed MariaDB, and
2077you haven't set the root password yet, the password will be blank,
2078so you should just press enter here.
2079
2080Enter current password for root (enter for none):
2081/usr/bin/mysql_secure_installation: 248: /usr/bin/mysql_secure_installation: cannot create .my.cnf.31806: Directory nonexistent
2082/usr/bin/mysql_secure_installation: 249: /usr/bin/mysql_secure_installation: cannot create .my.cnf.31806: Directory nonexistent
2083/usr/bin/mysql_secure_installation: 250: /usr/bin/mysql_secure_installation: cannot create .my.cnf.31806: Directory nonexistent
2084/usr/bin/mysql_secure_installation: 252: /usr/bin/mysql_secure_installation: cannot create .my.cnf.31806: Directory nonexistent
2085/usr/bin/mysql_secure_installation: 217: /usr/bin/mysql_secure_installation: cannot create .mysql.31806: Directory nonexistent
2086/usr/bin/mysql_secure_installation: 219: /usr/bin/mysql_secure_installation: cannot open .mysql.31806: No such file
2087OK, successfully used password, moving on...
2088
2089Setting the root password ensures that nobody can log into the MariaDB
2090root user without the proper authorisation.
2091
2092Set root password? [Y/n] ^C
2093Aborting!
2094
2095Cleaning up...
2096root@paracambi:.# ^C
2097root@paracambi:.# ^C
2098root@paracambi:.# ^C
2099root@paracambi:.# ^C
2100root@paracambi:.# ^C
2101root@paracambi:.# ^C
2102root@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
2103symlink-hook: erro ao obter o diretório atual: getcwd: impossÃvel acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
2104sudo mysql_secure_service mysqld restart^C
2105root@paracambi:.# ^C
2106root@paracambi:.# ^C
2107root@paracambi:.# ^C
2108root@paracambi:.# ^C
2109root@paracambi:.# ^C
2110root@paracambi:.# cd /etc/mysql
2111chdir: erro ao obter o diretório atual: getcwd: impossÃvel acessar os diretórios pais (anteriores): Arquivo ou diretório não encontrado
2112root@paracambi:/etc/mysql# ls
2113conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
2114root@paracambi:/etc/mysql# ls -la
2115total 32
2116drwxr-xr-x 4 root root 4096 out 24 17:30 .
2117drwxr-xr-x 101 root root 4096 out 24 17:30 ..
2118drwxr-xr-x 2 root root 4096 out 24 17:30 conf.d
2119-rw------- 1 root root 277 out 24 17:30 debian.cnf
2120-rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
2121-rw-r--r-- 1 root root 869 ago 10 2017 mariadb.cnf
2122drwxr-xr-x 2 root root 4096 out 24 17:30 mariadb.conf.d
2123lrwxrwxrwx 1 root root 24 out 24 17:30 my.cnf -> /etc/alternatives/my.cnf
2124-rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
2125root@paracambi:/etc/mysql# exit
2126exit
2127debian@paracambi:/etc/mysql/conf.d$ ls
2128debian@paracambi:/etc/mysql/conf.d$ ls
2129debian@paracambi:/etc/mysql/conf.d$ cd ..
2130debian@paracambi:/etc/mysql$ ls
2131conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
2132debian@paracambi:/etc/mysql$ cd ..
2133debian@paracambi:/etc$ ls
2134acpi emacs libaudit.conf pam.conf sensors3.conf
2135adduser.conf email-addresses locale.alias pam.d sensors.d
2136adjtime environment locale.gen papersize services
2137aliases exim4 localtime passwd sgml
2138alternatives fonts logcheck passwd- shadow
2139apache2 fstab login.defs perl shadow-
2140apparmor gai.conf login.defs.dpkg-dist php shells
2141apparmor.d ghostscript logrotate.conf pm skel
2142apt groff logrotate.d postgresql ssh
2143apticron group lvm postgresql-common ssl
2144at.deny group- machine-id ppp staff-group-for-usr-local
2145bash.bashrc grub.d magic profile subgid
2146bash_completion gshadow magic.mime profile.d subgid-
2147bash_completion.d gshadow- mailcap protocols subuid
2148bindresvport.blacklist gss mailcap.order python subuid-
2149binfmt.d gtk-2.0 mailname python2.7 sudoers
2150ca-certificates host.conf mail.rc python3 sudoers.d
2151ca-certificates.conf hostname manpath.config python3.5 sysctl.conf
2152ca-certificates.conf.dpkg-old hosts mime.types rc0.d sysctl.d
2153calendar hosts.allow mke2fs.conf rc1.d sysstat
2154chkrootkit.conf hosts.deny modprobe.d rc2.d systemd
2155console-setup idmapd.conf modules rc3.d terminfo
2156cron.d init modules-load.d rc4.d texmf
2157cron.daily init.d motd rc5.d timezone
2158cron.hourly initramfs-tools mtab rc6.d tmpfiles.d
2159cron.monthly inputrc Muttrc rc.local ucf.conf
2160crontab insserv Muttrc.d rcS.d udev
2161cron.weekly insserv.conf mysql reportbug.conf ufw
2162dbus-1 insserv.conf.d nanorc request-key.conf updatedb.conf
2163debconf.conf iproute2 netconfig request-key.d update-motd.d
2164debian_version iscsi network resolv.conf vim
2165default issue NetworkManager rkhunter.conf vmware-caf
2166deluser.conf issue.net networks rmt vmware-tools
2167dhcp kernel newt rpc w3m
2168dictionaries-common kernel-img.conf nsswitch.conf rsyslog.conf wgetrc
2169discover.conf.d ldap ntp.conf rsyslog.d X11
2170discover-modprobe.conf ld.so.cache ntp.conf.dpkg-dist securetty xdg
2171dpkg ld.so.conf opt security xml
2172drirc ld.so.conf.d os-release selinux zabbix
2173debian@paracambi:/etc$ cd mysql
2174debian@paracambi:/etc/mysql$ ls
2175conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
2176debian@paracambi:/etc/mysql$ cd ..
2177debian@paracambi:/etc$ ls -la
2178total 980
2179drwxr-xr-x 101 root root 4096 out 24 17:30 .
2180drwxr-xr-x 22 root root 4096 out 17 06:56 ..
2181drwxr-xr-x 3 root root 4096 ago 1 2017 acpi
2182-rw-r--r-- 1 root root 2981 ago 26 2016 adduser.conf
2183-rw-r--r-- 1 root root 44 ago 26 2016 adjtime
2184-rw-r--r-- 1 root root 196 ago 26 2016 aliases
2185drwxr-xr-x 2 root root 20480 out 24 17:30 alternatives
2186drwxr-xr-x 8 root root 4096 out 8 15:03 apache2
2187drwxr-xr-x 3 root root 4096 ago 1 2017 apparmor
2188drwxr-xr-x 4 root root 4096 out 24 17:30 apparmor.d
2189drwxr-xr-x 6 root root 4096 ago 1 2017 apt
2190drwxr-xr-x 2 root root 4096 ago 26 2016 apticron
2191-rw-r----- 1 root daemon 144 set 30 2014 at.deny
2192-rw-r--r-- 1 root root 1863 nov 12 2014 bash.bashrc
2193-rw-r--r-- 1 root root 45 mar 22 2014 bash_completion
2194drwxr-xr-x 2 root root 4096 out 6 06:25 bash_completion.d
2195-rw-r--r-- 1 root root 367 fev 15 2016 bindresvport.blacklist
2196drwxr-xr-x 2 root root 4096 mar 12 2016 binfmt.d
2197drwxr-xr-x 3 root root 4096 ago 26 2016 ca-certificates
2198-rw-r--r-- 1 root root 9187 out 4 13:59 ca-certificates.conf
2199-rw-r--r-- 1 root root 8234 ago 1 2017 ca-certificates.conf.dpkg-old
2200drwxr-xr-x 2 root root 4096 ago 1 2017 calendar
2201-rw-r--r-- 1 root root 56 ago 1 2017 chkrootkit.conf
2202drwxr-xr-x 2 root root 4096 ago 1 2017 console-setup
2203drwxr-xr-x 2 root root 4096 out 24 16:13 cron.d
2204drwxr-xr-x 2 root root 4096 out 24 11:33 cron.daily
2205drwxr-xr-x 2 root root 4096 out 4 13:59 cron.hourly
2206drwxr-xr-x 2 root root 4096 out 4 13:59 cron.monthly
2207-rw-r--r-- 1 root root 722 jun 11 2015 crontab
2208drwxr-xr-x 2 root root 4096 out 4 13:59 cron.weekly
2209drwxr-xr-x 4 root root 4096 out 4 14:00 dbus-1
2210-rw-r--r-- 1 root root 2969 mar 18 2015 debconf.conf
2211-rw-r--r-- 1 root root 4 jun 26 09:03 debian_version
2212drwxr-xr-x 2 root root 4096 out 24 17:30 default
2213-rw-r--r-- 1 root root 604 mai 15 2012 deluser.conf
2214drwxr-xr-x 4 root root 4096 out 4 14:00 dhcp
2215drwxr-xr-x 2 root root 4096 ago 1 2017 dictionaries-common
2216drwxr-xr-x 2 root root 4096 out 4 13:59 discover.conf.d
2217-rw-r--r-- 1 root root 346 set 1 2014 discover-modprobe.conf
2218drwxr-xr-x 4 root root 4096 out 5 11:06 dpkg
2219-rw-r--r-- 1 root root 4479 abr 25 2017 drirc
2220drwxr-xr-x 3 root root 4096 ago 26 2016 emacs
2221-rw-r--r-- 1 root root 312 jul 25 2016 email-addresses
2222-rw-r--r-- 1 root root 0 ago 26 2016 environment
2223drwxr-xr-x 3 root root 4096 out 4 13:59 exim4
2224drwxr-xr-x 4 root root 4096 ago 1 2017 fonts
2225-rw-r--r-- 1 root root 1006 jan 4 2017 fstab
2226-rw-r--r-- 1 root root 2584 fev 7 2014 gai.conf
2227drwxr-xr-x 4 root root 4096 out 5 11:07 ghostscript
2228drwxr-xr-x 2 root root 4096 ago 1 2017 groff
2229-rw-r--r-- 1 root root 913 out 24 17:18 group
2230-rw------- 1 root root 926 out 24 16:18 group-
2231drwxr-xr-x 2 root root 4096 ago 1 2017 grub.d
2232-rw-r----- 1 root shadow 764 out 24 17:18 gshadow
2233-rw------- 1 root root 774 out 24 16:18 gshadow-
2234drwxr-xr-x 3 root root 4096 ago 26 2016 gss
2235drwxr-xr-x 2 root root 4096 ago 1 2017 gtk-2.0
2236-rw-r--r-- 1 root root 9 ago 7 2006 host.conf
2237-rw-r--r-- 1 root root 10 out 4 15:17 hostname
2238-rw-r--r-- 1 root root 199 out 5 11:38 hosts
2239-rw-r--r-- 1 root root 411 ago 26 2016 hosts.allow
2240-rw-r--r-- 1 root root 711 ago 26 2016 hosts.deny
2241-rw-r--r-- 1 root root 206 dez 15 2016 idmapd.conf
2242drwxr-xr-x 2 root root 4096 out 4 14:00 init
2243drwxr-xr-x 2 root root 4096 out 24 17:30 init.d
2244drwxr-xr-x 5 root root 4096 ago 1 2017 initramfs-tools
2245-rw-r--r-- 1 root root 1748 ago 3 2014 inputrc
2246drwxr-xr-x 3 root root 4096 ago 26 2016 insserv
2247-rw-r--r-- 1 root root 859 nov 23 2012 insserv.conf
2248drwxr-xr-x 2 root root 4096 out 24 17:30 insserv.conf.d
2249drwxr-xr-x 3 root root 4096 out 4 13:59 iproute2
2250drwxr-xr-x 2 root root 4096 ago 26 2016 iscsi
2251-rw-r--r-- 1 root root 26 jul 13 2017 issue
2252-rw-r--r-- 1 root root 19 jul 13 2017 issue.net
2253drwxr-xr-x 5 root root 4096 ago 1 2017 kernel
2254-rw-r--r-- 1 root root 144 ago 26 2016 kernel-img.conf
2255drwxr-xr-x 2 root root 4096 out 4 13:59 ldap
2256-rw-r--r-- 1 root root 38512 out 24 17:30 ld.so.cache
2257-rw-r--r-- 1 root root 34 fev 15 2016 ld.so.conf
2258drwxr-xr-x 2 root root 4096 out 5 11:06 ld.so.conf.d
2259-rw-r--r-- 1 root root 191 set 7 2014 libaudit.conf
2260-rw-r--r-- 1 root root 2995 jun 15 2017 locale.alias
2261-rw-r--r-- 1 root root 9218 out 4 14:00 locale.gen
2262lrwxrwxrwx 1 root root 37 out 24 11:32 localtime -> /usr/share/zoneinfo/America/Sao_Paulo
2263drwxr-xr-x 5 root root 4096 out 24 17:30 logcheck
2264-rw-r--r-- 1 root root 10477 ago 26 2016 login.defs
2265-rw-r--r-- 1 root root 10477 mai 17 2017 login.defs.dpkg-dist
2266-rw-r--r-- 1 root root 599 fev 19 2009 logrotate.conf
2267drwxr-xr-x 2 root root 4096 out 24 17:30 logrotate.d
2268drwxr-xr-x 3 root root 4096 ago 1 2017 lvm
2269-r--r--r-- 1 root root 33 ago 26 2016 machine-id
2270-rw-r--r-- 1 root root 111 out 14 2015 magic
2271-rw-r--r-- 1 root root 111 out 14 2015 magic.mime
2272-rw-r--r-- 1 root root 4016 out 5 11:07 mailcap
2273-rw-r--r-- 1 root root 449 dez 28 2014 mailcap.order
2274-rw-r--r-- 1 root root 7 out 4 13:59 mailname
2275-rw-r--r-- 1 root root 125 mar 15 2015 mail.rc
2276-rw-r--r-- 1 root root 5174 dez 13 2016 manpath.config
2277-rw-r--r-- 1 root root 24301 mai 1 2016 mime.types
2278-rw-r--r-- 1 root root 973 jan 31 2017 mke2fs.conf
2279drwxr-xr-x 2 root root 4096 ago 1 2017 modprobe.d
2280-rw-r--r-- 1 root root 195 ago 26 2016 modules
2281drwxr-xr-x 2 root root 4096 out 4 13:58 modules-load.d
2282-rw-r--r-- 1 root root 286 mai 30 2016 motd
2283lrwxrwxrwx 1 root root 19 ago 1 2017 mtab -> ../proc/self/mounts
2284-rw-r--r-- 1 root root 4920 jan 20 2017 Muttrc
2285drwxr-xr-x 2 root root 4096 out 4 14:00 Muttrc.d
2286drwxr-xr-x 4 root root 4096 out 24 17:30 mysql
2287-rw-r--r-- 1 root root 8769 jan 11 2017 nanorc
2288-rw-r--r-- 1 root root 767 set 9 2014 netconfig
2289drwxr-xr-x 7 root root 4096 out 4 13:55 network
2290drwxr-xr-x 3 root root 4096 ago 1 2017 NetworkManager
2291-rw-r--r-- 1 root root 80 ago 26 2016 networks
2292drwxr-xr-x 2 root root 4096 ago 1 2017 newt
2293-rw-r--r-- 1 root root 497 jun 15 2017 nsswitch.conf
2294-rw-r--r-- 1 root root 2024 ago 26 2016 ntp.conf
2295-rw-r--r-- 1 root root 2069 mai 7 2017 ntp.conf.dpkg-dist
2296drwxr-xr-x 2 root root 4096 ago 26 2016 opt
2297lrwxrwxrwx 1 root root 21 jun 26 09:03 os-release -> ../usr/lib/os-release
2298-rw-r--r-- 1 root root 552 jan 6 2016 pam.conf
2299drwxr-xr-x 2 root root 4096 out 4 14:00 pam.d
2300-rw-r--r-- 1 root root 3 ago 26 2016 papersize
2301-rw-r--r-- 1 root root 1948 out 24 17:18 passwd
2302-rw------- 1 root root 1988 out 24 17:18 passwd-
2303drwxr-xr-x 5 root root 4096 out 4 13:59 perl
2304drwxr-xr-x 3 root root 4096 out 24 16:13 php
2305drwxr-xr-x 3 root root 4096 ago 1 2017 pm
2306drwxr-xr-x 3 root root 4096 out 24 11:33 postgresql
2307drwxr-xr-x 3 root root 4096 out 24 11:33 postgresql-common
2308drwxr-xr-x 3 root root 4096 ago 26 2016 ppp
2309-rw-r--r-- 1 root root 778 ago 26 2016 profile
2310drwxr-xr-x 2 root root 4096 out 24 15:16 profile.d
2311-rw-r--r-- 1 root root 2932 out 20 2014 protocols
2312-rw------- 1 root root 0 ago 26 2016 .pwd.lock
2313drwxr-xr-x 2 root root 4096 ago 26 2016 python
2314drwxr-xr-x 2 root root 4096 out 4 13:59 python2.7
2315drwxr-xr-x 2 root root 4096 ago 1 2017 python3
2316drwxr-xr-x 2 root root 4096 out 4 14:00 python3.5
2317drwxr-xr-x 2 root root 4096 out 24 17:30 rc0.d
2318drwxr-xr-x 2 root root 4096 out 24 17:30 rc1.d
2319drwxr-xr-x 2 root root 4096 out 24 17:30 rc2.d
2320drwxr-xr-x 2 root root 4096 out 24 17:30 rc3.d
2321drwxr-xr-x 2 root root 4096 out 24 17:30 rc4.d
2322drwxr-xr-x 2 root root 4096 out 24 17:30 rc5.d
2323drwxr-xr-x 2 root root 4096 out 24 17:30 rc6.d
2324-rwxr-xr-x 1 root root 306 ago 26 2016 rc.local
2325drwxr-xr-x 2 root root 4096 out 4 13:58 rcS.d
2326-rw-r--r-- 1 root root 3173 jan 4 2015 reportbug.conf
2327-rw-r--r-- 1 root root 1889 mai 1 2016 request-key.conf
2328drwxr-xr-x 2 root root 4096 ago 1 2017 request-key.d
2329-rw-r--r-- 1 root root 40 ago 26 2016 resolv.conf
2330-rw-r--r-- 1 root root 45377 jul 12 2017 rkhunter.conf
2331-rwxr-xr-x 1 root root 268 nov 8 2014 rmt
2332-rw-r--r-- 1 root root 887 out 20 2014 rpc
2333-rw-r--r-- 1 root root 1963 jan 18 2017 rsyslog.conf
2334drwxr-xr-x 2 root root 4096 dez 19 2015 rsyslog.d
2335-rw-r--r-- 1 root root 4179 mai 17 2017 securetty
2336drwxr-xr-x 4 root root 4096 ago 1 2017 security
2337drwxr-xr-x 2 root root 4096 ago 1 2017 selinux
2338-rw-r--r-- 1 root root 10368 abr 5 2017 sensors3.conf
2339drwxr-xr-x 2 root root 4096 ago 1 2017 sensors.d
2340-rw-r--r-- 1 root root 19183 dez 25 2016 services
2341drwxr-xr-x 2 root root 4096 ago 1 2017 sgml
2342-rw-r----- 1 root shadow 1538 out 24 17:18 shadow
2343-rw------- 1 root root 1565 out 24 17:18 shadow-
2344-rw-r--r-- 1 root root 73 ago 26 2016 shells
2345drwxr-xr-x 2 root root 4096 ago 1 2017 skel
2346drwxr-xr-x 2 root root 4096 out 4 14:00 ssh
2347drwxr-xr-x 4 root root 4096 out 4 13:59 ssl
2348-rw-r--r-- 1 root root 771 jun 9 2012 staff-group-for-usr-local
2349-rw-r--r-- 1 root root 337 out 24 17:18 subgid
2350-rw------- 1 root root 356 out 24 17:18 subgid-
2351-rw-r--r-- 1 root root 337 out 24 17:18 subuid
2352-rw------- 1 root root 356 out 24 17:18 subuid-
2353-r--r----- 1 root root 743 out 24 14:46 sudoers
2354drwxr-xr-x 2 root root 4096 ago 1 2017 sudoers.d
2355-rw-r--r-- 1 root root 2683 nov 22 2016 sysctl.conf
2356drwxr-xr-x 2 root root 4096 out 24 11:33 sysctl.d
2357drwxr-xr-x 2 root root 4096 out 24 11:33 sysstat
2358drwxr-xr-x 5 root root 4096 out 4 13:59 systemd
2359drwxr-xr-x 2 root root 4096 out 4 13:58 terminfo
2360drwxr-xr-x 5 root root 4096 ago 1 2017 texmf
2361-rw-r--r-- 1 root root 18 out 24 11:32 timezone
2362drwxr-xr-x 2 root root 4096 mar 12 2016 tmpfiles.d
2363-rw-r--r-- 1 root root 1260 mai 26 2014 ucf.conf
2364drwxr-xr-x 4 root root 4096 out 4 13:59 udev
2365drwxr-xr-x 3 root root 4096 ago 26 2016 ufw
2366-rw-r--r-- 1 root root 353 nov 13 2016 updatedb.conf
2367drwxr-xr-x 2 root root 4096 out 4 13:58 update-motd.d
2368drwxr-xr-x 2 root root 4096 out 4 14:00 vim
2369drwxr-xr-x 3 root root 4096 dez 14 2016 vmware-caf
2370drwxr-xr-x 6 root root 4096 dez 14 2016 vmware-tools
2371drwxr-xr-x 2 root root 4096 out 4 14:00 w3m
2372-rw-r--r-- 1 root root 4942 mai 6 16:08 wgetrc
2373drwxr-xr-x 7 root root 4096 ago 1 2017 X11
2374drwxr-xr-x 3 root root 4096 ago 1 2017 xdg
2375drwxr-xr-x 2 root root 4096 ago 1 2017 xml
2376drwxr-xr-x 3 root root 4096 out 16 11:44 zabbix
2377debian@paracambi:/etc$ sudo chown -R mysql debian:debian
2378chown: não foi possÃvel acessar 'debian:debian': Arquivo ou diretório não encontrado
2379debian@paracambi:/etc$ sudo chown -R debian:debian mysql/
2380debian@paracambi:/etc$ sudo mysql_secure_installation
2381
2382NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
2383 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
2384
2385In order to log into MariaDB to secure it, we'll need the current
2386password for the root user. If you've just installed MariaDB, and
2387you haven't set the root password yet, the password will be blank,
2388so you should just press enter here.
2389
2390Enter current password for root (enter for none):
2391ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
2392Enter current password for root (enter for none):
2393ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
2394Enter current password for root (enter for none):
2395ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
2396Enter current password for root (enter for none):
2397ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
2398Enter current password for root (enter for none):
2399ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
2400Enter current password for root (enter for none):
2401ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
2402Enter current password for root (enter for none):
2403ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
2404Enter current password for root (enter for none):
2405Aborting!
2406
2407Cleaning up...
2408debian@paracambi:/etc$ ^C
2409debian@paracambi:/etc$ ^C
2410debian@paracambi:/etc$ ^C
2411debian@paracambi:/etc$ ^C
2412debian@paracambi:/etc$ sudo rm -rf /etc/mysql /var/lib/mysq
2413debian@paracambi:/etc$
2414debian@paracambi:/etc$
2415debian@paracambi:/etc$
2416debian@paracambi:/etc$
2417debian@paracambi:/etc$
2418debian@paracambi:/etc$
2419debian@paracambi:/etc$
2420debian@paracambi:/etc$
2421debian@paracambi:/etc$
2422debian@paracambi:/etc$ sudo nano /var/log/mysqld.log
2423debian@paracambi:/etc$ sudo nano /var/log/
2424alternatives.log daemon.log.2.gz kern.log.1 rkhunter.log.old user.log
2425apache2/ daemon.log.3.gz kern.log.2.gz sulog user.log.1
2426apt/ debug lastlog syslog user.log.2.gz
2427aptitude debug.1 messages syslog.1 vmware-caf/
2428auth.log dmesg messages.1 syslog.2.gz vmware-install.log
2429auth.log.1 dpkg.log messages.2.gz syslog.3.gz vmware-vmsvc.log
2430auth.log.2.gz exim4/ messages.3.gz syslog.4.gz wtmp
2431auth.log.3.gz faillog mysql/ syslog.5.gz zabbix-agent/
2432btmp fontconfig.log ntpstats/ syslog.6.gz
2433chkrootkit/ fsck/ postgresql/ syslog.7.gz
2434daemon.log installer/ rkhunter.log sysstat/
2435daemon.log.1 kern.log rkhunter.log.1 unattended-upgrades/
2436debian@paracambi:/etc$ sudo nano /var/log/
2437alternatives.log daemon.log.2.gz kern.log.1 rkhunter.log.old user.log
2438apache2/ daemon.log.3.gz kern.log.2.gz sulog user.log.1
2439apt/ debug lastlog syslog user.log.2.gz
2440aptitude debug.1 messages syslog.1 vmware-caf/
2441auth.log dmesg messages.1 syslog.2.gz vmware-install.log
2442auth.log.1 dpkg.log messages.2.gz syslog.3.gz vmware-vmsvc.log
2443auth.log.2.gz exim4/ messages.3.gz syslog.4.gz wtmp
2444auth.log.3.gz faillog mysql/ syslog.5.gz zabbix-agent/
2445btmp fontconfig.log ntpstats/ syslog.6.gz
2446chkrootkit/ fsck/ postgresql/ syslog.7.gz
2447daemon.log installer/ rkhunter.log sysstat/
2448daemon.log.1 kern.log rkhunter.log.1 unattended-upgrades/
2449debian@paracambi:/etc$ cd /var/log/mysql/
2450-bash: cd: /var/log/mysql/: Permissão negada
2451debian@paracambi:/etc$ ls
2452acpi emacs libaudit.conf pam.d sensors.d
2453adduser.conf email-addresses locale.alias papersize services
2454adjtime environment locale.gen passwd sgml
2455aliases exim4 localtime passwd- shadow
2456alternatives fonts logcheck perl shadow-
2457apache2 fstab login.defs php shells
2458apparmor gai.conf login.defs.dpkg-dist pm skel
2459apparmor.d ghostscript logrotate.conf postgresql ssh
2460apt groff logrotate.d postgresql-common ssl
2461apticron group lvm ppp staff-group-for-usr-local
2462at.deny group- machine-id profile subgid
2463bash.bashrc grub.d magic profile.d subgid-
2464bash_completion gshadow magic.mime protocols subuid
2465bash_completion.d gshadow- mailcap python subuid-
2466bindresvport.blacklist gss mailcap.order python2.7 sudoers
2467binfmt.d gtk-2.0 mailname python3 sudoers.d
2468ca-certificates host.conf mail.rc python3.5 sysctl.conf
2469ca-certificates.conf hostname manpath.config rc0.d sysctl.d
2470ca-certificates.conf.dpkg-old hosts mime.types rc1.d sysstat
2471calendar hosts.allow mke2fs.conf rc2.d systemd
2472chkrootkit.conf hosts.deny modprobe.d rc3.d terminfo
2473console-setup idmapd.conf modules rc4.d texmf
2474cron.d init modules-load.d rc5.d timezone
2475cron.daily init.d motd rc6.d tmpfiles.d
2476cron.hourly initramfs-tools mtab rc.local ucf.conf
2477cron.monthly inputrc Muttrc rcS.d udev
2478crontab insserv Muttrc.d reportbug.conf ufw
2479cron.weekly insserv.conf nanorc request-key.conf updatedb.conf
2480dbus-1 insserv.conf.d netconfig request-key.d update-motd.d
2481debconf.conf iproute2 network resolv.conf vim
2482debian_version iscsi NetworkManager rkhunter.conf vmware-caf
2483default issue networks rmt vmware-tools
2484deluser.conf issue.net newt rpc w3m
2485dhcp kernel nsswitch.conf rsyslog.conf wgetrc
2486dictionaries-common kernel-img.conf ntp.conf rsyslog.d X11
2487discover.conf.d ldap ntp.conf.dpkg-dist securetty xdg
2488discover-modprobe.conf ld.so.cache opt security xml
2489dpkg ld.so.conf os-release selinux zabbix
2490drirc ld.so.conf.d pam.conf sensors3.conf
2491debian@paracambi:/etc$ sudo cd /var/log/mysql/
2492sudo: cd: comando não encontrado
2493debian@paracambi:/etc$ sudo su
2494root@paracambi:/etc# cd /var/log/mysql/
2495root@paracambi:/var/log/mysql# ls
2496error.log
2497root@paracambi:/var/log/mysql# cat error.log
24982018-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.
2499
25002018-10-24 17:30:04 139729567019584 [Note] InnoDB: Using mutexes to ref count buffer pool pages
25012018-10-24 17:30:04 139729567019584 [Note] InnoDB: The InnoDB memory heap is disabled
25022018-10-24 17:30:04 139729567019584 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
25032018-10-24 17:30:04 139729567019584 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
25042018-10-24 17:30:04 139729567019584 [Note] InnoDB: Compressed tables use zlib 1.2.8
25052018-10-24 17:30:04 139729567019584 [Note] InnoDB: Using Linux native AIO
25062018-10-24 17:30:04 139729567019584 [Note] InnoDB: Using SSE crc32 instructions
25072018-10-24 17:30:04 139729567019584 [Note] InnoDB: Initializing buffer pool, size = 128.0M
25082018-10-24 17:30:04 139729567019584 [Note] InnoDB: Completed initialization of buffer pool
25092018-10-24 17:30:04 139729567019584 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
25102018-10-24 17:30:04 139729567019584 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
25112018-10-24 17:30:04 139729567019584 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
25122018-10-24 17:30:05 139729567019584 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
25132018-10-24 17:30:05 139729567019584 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
25142018-10-24 17:30:05 139729567019584 [Warning] InnoDB: New log files created, LSN=45883
25152018-10-24 17:30:05 139729567019584 [Note] InnoDB: Doublewrite buffer not found: creating new
25162018-10-24 17:30:05 139729567019584 [Note] InnoDB: Doublewrite buffer created
25172018-10-24 17:30:05 139729567019584 [Note] InnoDB: 128 rollback segment(s) are active.
25182018-10-24 17:30:05 139729567019584 [Warning] InnoDB: Creating foreign key constraint system tables.
25192018-10-24 17:30:05 139729567019584 [Note] InnoDB: Foreign key constraint system tables created
25202018-10-24 17:30:05 139729567019584 [Note] InnoDB: Creating tablespace and datafile system tables.
25212018-10-24 17:30:05 139729567019584 [Note] InnoDB: Tablespace and datafile system tables created.
25222018-10-24 17:30:05 139729567019584 [Note] InnoDB: Waiting for purge to start
25232018-10-24 17:30:05 139729567019584 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 0
25242018-10-24 17:30:05 139728951142144 [Note] InnoDB: Dumping buffer pool(s) not yet started
25252018-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.
2526
25272018-10-24 17:30:08 140141257527872 [Note] InnoDB: Using mutexes to ref count buffer pool pages
25282018-10-24 17:30:08 140141257527872 [Note] InnoDB: The InnoDB memory heap is disabled
25292018-10-24 17:30:08 140141257527872 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
25302018-10-24 17:30:08 140141257527872 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
25312018-10-24 17:30:08 140141257527872 [Note] InnoDB: Compressed tables use zlib 1.2.8
25322018-10-24 17:30:08 140141257527872 [Note] InnoDB: Using Linux native AIO
25332018-10-24 17:30:08 140141257527872 [Note] InnoDB: Using SSE crc32 instructions
25342018-10-24 17:30:08 140141257527872 [Note] InnoDB: Initializing buffer pool, size = 128.0M
25352018-10-24 17:30:08 140141257527872 [Note] InnoDB: Completed initialization of buffer pool
25362018-10-24 17:30:08 140141257527872 [Note] InnoDB: Highest supported file format is Barracuda.
25372018-10-24 17:30:08 140141257527872 [Note] InnoDB: 128 rollback segment(s) are active.
25382018-10-24 17:30:08 140141257527872 [Note] InnoDB: Waiting for purge to start
25392018-10-24 17:30:08 140141257527872 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616799
25402018-10-24 17:30:08 140140643051264 [Note] InnoDB: Dumping buffer pool(s) not yet started
25412018-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.
2542
25432018-10-24 17:30:11 139662623511104 [Note] InnoDB: Using mutexes to ref count buffer pool pages
25442018-10-24 17:30:11 139662623511104 [Note] InnoDB: The InnoDB memory heap is disabled
25452018-10-24 17:30:11 139662623511104 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
25462018-10-24 17:30:11 139662623511104 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
25472018-10-24 17:30:11 139662623511104 [Note] InnoDB: Compressed tables use zlib 1.2.8
25482018-10-24 17:30:11 139662623511104 [Note] InnoDB: Using Linux native AIO
25492018-10-24 17:30:11 139662623511104 [Note] InnoDB: Using SSE crc32 instructions
25502018-10-24 17:30:11 139662623511104 [Note] InnoDB: Initializing buffer pool, size = 128.0M
25512018-10-24 17:30:11 139662623511104 [Note] InnoDB: Completed initialization of buffer pool
25522018-10-24 17:30:11 139662623511104 [Note] InnoDB: Highest supported file format is Barracuda.
25532018-10-24 17:30:11 139662623511104 [Note] InnoDB: 128 rollback segment(s) are active.
25542018-10-24 17:30:11 139662623511104 [Note] InnoDB: Waiting for purge to start
25552018-10-24 17:30:11 139662623511104 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616809
25562018-10-24 17:30:11 139662010050304 [Note] InnoDB: Dumping buffer pool(s) not yet started
25572018-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.
2558
25592018-10-24 17:30:14 140249597588032 [Note] InnoDB: Using mutexes to ref count buffer pool pages
25602018-10-24 17:30:14 140249597588032 [Note] InnoDB: The InnoDB memory heap is disabled
25612018-10-24 17:30:14 140249597588032 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
25622018-10-24 17:30:14 140249597588032 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
25632018-10-24 17:30:14 140249597588032 [Note] InnoDB: Compressed tables use zlib 1.2.8
25642018-10-24 17:30:14 140249597588032 [Note] InnoDB: Using Linux native AIO
25652018-10-24 17:30:14 140249597588032 [Note] InnoDB: Using SSE crc32 instructions
25662018-10-24 17:30:14 140249597588032 [Note] InnoDB: Initializing buffer pool, size = 128.0M
25672018-10-24 17:30:14 140249597588032 [Note] InnoDB: Completed initialization of buffer pool
25682018-10-24 17:30:14 140249597588032 [Note] InnoDB: Highest supported file format is Barracuda.
25692018-10-24 17:30:14 140249597588032 [Note] InnoDB: 128 rollback segment(s) are active.
25702018-10-24 17:30:14 140249597588032 [Note] InnoDB: Waiting for purge to start
25712018-10-24 17:30:14 140249597588032 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616819
25722018-10-24 17:30:14 140249597588032 [Note] Plugin 'FEEDBACK' is disabled.
25732018-10-24 17:30:14 140248981923584 [Note] InnoDB: Dumping buffer pool(s) not yet started
25742018-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.
2575
25762018-10-24 17:30:19 140046029140544 [Note] InnoDB: Using mutexes to ref count buffer pool pages
25772018-10-24 17:30:19 140046029140544 [Note] InnoDB: The InnoDB memory heap is disabled
25782018-10-24 17:30:19 140046029140544 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
25792018-10-24 17:30:19 140046029140544 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
25802018-10-24 17:30:19 140046029140544 [Note] InnoDB: Compressed tables use zlib 1.2.8
25812018-10-24 17:30:19 140046029140544 [Note] InnoDB: Using Linux native AIO
25822018-10-24 17:30:19 140046029140544 [Note] InnoDB: Using SSE crc32 instructions
25832018-10-24 17:30:19 140046029140544 [Note] InnoDB: Initializing buffer pool, size = 128.0M
25842018-10-24 17:30:19 140046029140544 [Note] InnoDB: Completed initialization of buffer pool
25852018-10-24 17:30:19 140046029140544 [Note] InnoDB: Highest supported file format is Barracuda.
25862018-10-24 17:30:19 140046029140544 [Note] InnoDB: 128 rollback segment(s) are active.
25872018-10-24 17:30:19 140046029140544 [Note] InnoDB: Waiting for purge to start
25882018-10-24 17:30:19 140046029140544 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 1616829
25892018-10-24 17:30:19 140046029140544 [Note] Plugin 'FEEDBACK' is disabled.
25902018-10-24 17:30:19 140045411378944 [Note] InnoDB: Dumping buffer pool(s) not yet started
25912018-10-24 17:30:19 140046029140544 [Note] Server socket created on IP: '127.0.0.1'.
25922018-10-24 17:30:19 140046029140544 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 98: Address already in use
25932018-10-24 17:30:19 140046029140544 [ERROR] Do you already have another mysqld server running on port: 3306 ?
25942018-10-24 17:30:19 140046029140544 [ERROR] Aborting
2595
2596root@paracambi:/var/log/mysql# ^C
2597root@paracambi:/var/log/mysql# exit
2598exit
2599debian@paracambi:/etc$ sudo /usr/bin/mysql_secure_installation
2600
2601NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
2602 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
2603
2604In order to log into MariaDB to secure it, we'll need the current
2605password for the root user. If you've just installed MariaDB, and
2606you haven't set the root password yet, the password will be blank,
2607so you should just press enter here.
2608
2609Enter current password for root (enter for none):
2610ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
2611Enter current password for root (enter for none):
2612Aborting!
2613
2614Cleaning up...
2615debian@paracambi:/etc$ ^C
2616debian@paracambi:/etc$ ^C
2617debian@paracambi:/etc$ ^C
2618debian@paracambi:/etc$ ^C
2619debian@paracambi:/etc$ ^C
2620debian@paracambi:/etc$ ^C
2621debian@paracambi:/etc$ sudo su
2622root@paracambi:/etc# exit
2623exit
2624debian@paracambi:/etc$ history
2625 1 sudo su
2626 2 su
2627 3 su suez
2628 4 sudo su
2629 5 sudo ifconfig
2630 6 exit
2631 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
2632 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
2633 9 sudo apt install libreadline-dev wv poppler-utils
2634 10 sudo apt install git
2635 11 wget --no-check-certificate https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz
2636 12 sudo apt install wget
2637 13 wget --no-check-certificate https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz
2638 14 ls
2639 15 pwd
2640 16 cd /opt
2641 17 ls
2642 18 cd /home/debian/
2643 19 ls
2644 20 mv Plone-5.0.4-UnifiedInstaller.tgz /opt
2645 21 sudo mv Plone-5.0.4-UnifiedInstaller.tgz /opt
2646 22 sudo su
2647 23 cd /opt/
2648 24 ls
2649 25 tar -xf Plone-5.0.4-UnifiedInstaller.tgz
2650 26 sudo tar -xf Plone-5.0.4-UnifiedInstaller.tgz
2651 27 ls
2652 28 rm -rd Plone-5.0.4-UnifiedInstaller
2653 29 ls
2654 30 pwd
2655 31 ls -lha
2656 32 ls
2657 33 cd Plone-5.0.4-UnifiedInstaller/
2658 34 ls
2659 35 cd ..
2660 36 ls
2661 37 sudo rm -rf Plone-5.0.4-UnifiedInstaller
2662 38 ls
2663 39 sudo tar -xf Plone-5.0.4-UnifiedInstaller.tgz
2664 40 ls
2665 41 cd Plone-5.0.4-UnifiedInstaller/
2666 42 ls
2667 43 ./install.sh
2668 44 sudo ./install.sh
2669 45 sudo apt-get install zlibg-dev
2670 46 sudo apt-get install zlibg
2671 47 sudo apt-get install libz
2672 48 sudo apt-cache search libz
2673 49 sudo apt install zlib-devel
2674 50 sudo apt install zlibg-devel
2675 51 apt-get install zlib1g-dev
2676 52 sudo apt-get install zlib1g-dev
2677 53 sudo ./install.sh
2678 54 cd /opt
2679 55 ls
2680 56 cd plone/
2681 57 ls
2682 58 cd zinstance/
2683 59 bin/plonectl fg
2684 60 sudo bin/plonectl fg
2685 61 sudo bin/buildout -c develop.cfg
2686 62 sudo bin/plonectl fg
2687 63 sudo gedit /etc/hostname
2688 64 sudo nano /etc/hostname
2689 65 sudo nano /etc/hosts
2690 66 sudo bin/plonectl fg
2691 67 sudo bin/plonectl start
2692 68 sudo bin/plonectl stop
2693 69 ls
2694 70 cd plone/
2695 71 cd zinstance/
2696 72 ls
2697 73 bin/plonectl start
2698 74 sudo bin/plonectl start
2699 75 cd /opt/plone/zinstance/
2700 76 sudo bin/plonectl stop
2701 77 sudo bin/plonectl fg
2702 78 sudo bin/plonectl stop
2703 79 sudo bin/plonectl fg
2704 80 ls
2705 81 cat develop.cfg
2706 82 cat buildout.cfg
2707 83 sudo nano buildout.cfg
2708 84 sudo bin/plonectl start
2709 85 sudo cat buildout.cfg
2710 86 cat buildout.cfg
2711 87 sudo cat buildout.cfg
2712 88 ls
2713 89 cd ..
2714 90 l
2715 91 ls
2716 92 cd ..
2717 93 ls
2718 94 cd plone/
2719 95 ls
2720 96 cd zinstance/
2721 97 ls
2722 98 cd var
2723 99 cd develop-eggs/
2724 100 ls
2725 101 cd ..
2726 102 ls
2727 103 sudo bin/plonectl fg
2728 104 sudo bin/plonectl stop
2729 105 sudo bin/plonectl fg
2730 106 sudo plonectl fg
2731 107 sudo plonectl start
2732 108 cd /opt/
2733 109 ls
2734 110 sudo suy
2735 111 sudo su
2736 112 ls
2737 113 pwd
2738 114 sudo apt-get install apache2
2739 115 sudo a2enmod rewrite
2740 116 sudo a2enmod proxy
2741 117 sudo a2enmod proxy_http
2742 118 sudo a2enmod headers
2743 119 sudo /etc/init.d/apache2 restart
2744 120 sudo nano /etc/apache2/sites-enabled/yoursite.conf
2745 121 sudo apache2ctl restart
2746 122 exit
2747 123 cd /opt/plone
2748 124 ls
2749 125 cd zinstance/
2750 126 ls
2751 127 cd /opt/plone
2752 128 ls
2753 129 cd zinstance/
2754 130 ls
2755 131 cd ..
2756 132 ls
2757 133 cd Plone-docs
2758 134 ls
2759 135 cd ..
2760 136 ls
2761 137 cd buildout-cache/
2762 138 ls
2763 139 cd downloads/
2764 140 ls
2765 141 cd dist/
2766 142 ls
2767 143 cd~
2768 144 cd ~
2769 145 ls
2770 146 cd /opt/plone
2771 147 ls
2772 148 exit
2773 149 cd /opt/plone/zinstance/
2774 150 ls
2775 151 cat buildout.cfg
2776 152 sud cat buildout.cfg
2777 153 o
2778 154 sudo cat buildout.cfg
2779 155 sudo nano buildout.cfg
2780 156 ls
2781 157 cd /opt/plone
2782 158 ls
2783 159 cd zinstance/
2784 160 ls
2785 161 sudo nano buildout.cfg
2786 162 sudo vim buildout.cfg
2787 163 sudo apt-get install vim
2788 164 sudo vim buildout.cfg
2789 165 cd /opt/plone
2790 166 ls
2791 167 cd Plone-docs
2792 168 ls
2793 169 cd ..
2794 170 zinstance
2795 171 cd zinstance/
2796 172 ls
2797 173 cd src
2798 174 ls
2799 175 readme
2800 176 README.txt
2801 177 nano README.txt
2802 178 ls
2803 179 cd /opt/plone
2804 180 ls
2805 181 cd buildout-cache/
2806 182 ls
2807 183 cd downloads/
2808 184 ls
2809 185 cd dist/
2810 186 ls
2811 187 cd ~
2812 188 cd /opt/plone
2813 189 ls
2814 190 cd zinstance
2815 191 ls
2816 192 cd develop-eggs/
2817 193 ls
2818 194 cd ..
2819 195 cd src
2820 196 ls
2821 197 cd vat
2822 198 cd var
2823 199 cd ..
2824 200 ls
2825 201 cd vat
2826 202 cd var
2827 203 ls
2828 204 cd lib
2829 205 ls
2830 206 cd ..
2831 207 cd include
2832 208 ls
2833 209 cd ..
2834 210 vim base.cfg
2835 211 vim buildout.cfg
2836 212 sudo vim buildout.cfg
2837 213 sudo vim buildout.cfg
2838 214 cd /opt/plone
2839 215 ls
2840 216 cd /opt/
2841 217 ls
2842 218 cd Plone-5.0.4-UnifiedInstaller/
2843 219 ls
2844 220 cd buildout_templates
2845 221 ls
2846 222 nano buildout.cfg
2847 223 cd /opt/plone
2848 224 ls
2849 225 cd zinstance/
2850 226 ls
2851 227 cd products
2852 228 ls
2853 229 nano README.txt
2854 230 cd src
2855 231 ls
2856 232 cd ..
2857 233 cd src
2858 234 ls
2859 235 nano README.txt
2860 236 cd ..
2861 237 ls
2862 238 nano pip-selfcheck.json
2863 239 dc bin
2864 240 cd bin
2865 241 ls
2866 242 cd /opt/plone
2867 243 ls
2868 244 cd zinstance/
2869 245 ls
2870 246 cd products
2871 247 ls
2872 248 cd ..
2873 249 ls
2874 250 cd include
2875 251 ls
2876 252 cd /lib
2877 253 ls
2878 254 cd /bin
2879 255 ls
2880 256 cd less
2881 257 cd lessfile
2882 258 cd open
2883 259 su
2884 260 cd ..
2885 261 ls
2886 262 cd usr
2887 263 ls
2888 264 cd opt
2889 265 cd /opt
2890 266 ls
2891 267 cd lost+found/
2892 268 cd plone
2893 269 ls
2894 270 cd zinstance/
2895 271 ls
2896 272 cd local
2897 273 ls
2898 274 cd lib
2899 275 ls
2900 276 cd /include
2901 277 cd ..
2902 278 cd include
2903 279 ls
2904 280 cd ..
2905 281 cd bin
2906 282 ls
2907 283 ls
2908 284 cd /opt/plone
2909 285 ls
2910 286 cd zinstance/
2911 287 ls
2912 288 cd src
2913 289 ls
2914 290 cd ..
2915 291 ls
2916 292 cd parts
2917 293 ls
2918 294 cd instance
2919 295 ls
2920 296 cd bin
2921 297 ls
2922 298 cd in
2923 299 cd interpreter
2924 300 ls
2925 301 nano interpreter
2926 302 cd ..
2927 303 ls
2928 304 cd etc
2929 305 ls
2930 306 cd ..
2931 307 ls
2932 308 cd inituser
2933 309 nano inituser
2934 310 ls
2935 311 cd etc
2936 312 ls
2937 313 nano site.zcml
2938 314 cd /opt/
2939 315 ls
2940 316 cd plone/
2941 317 ls
2942 318 git init
2943 319 sudo git init
2944 320 git add .
2945 321 sudo git add .
2946 322 exit
2947 323 cd /opt/plone/
2948 324 exit
2949 325 ls
2950 326 cd /opt/
2951 327 l
2952 328 ls
2953 329 git clone git@github.com:plonegovbr/portal.buildout.git
2954 330 ls
2955 331 sudo git clone git@github.com:plonegovbr/portal.buildout.git
2956 332 git clone https://github.com/plonegovbr/portal.buildout.git
2957 333 sudo git clone https://github.com/plonegovbr/portal.buildout.git
2958 334 ls
2959 335 cd portal.buildout/
2960 336 ls
2961 337 virtualenv py27
2962 338 sudo apt update && sudo apt upgrade -y
2963 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
2964 340 virtualenv py27
2965 341 sudo virtualenv py27
2966 342 source py27/bin/activate
2967 343 sudo nano buildout.cfg
2968 344 pip install -U setuptools==36.6.1
2969 345 sudo su
2970 346 bin/buildout
2971 347 ls -la
2972 348 ls -lah
2973 349 CD ..
2974 350 ls
2975 351 cd ..
2976 352 ls
2977 353 ls -lah
2978 354 sudo chown -R debian:debian portal.buildout/
2979 355 ls -la
2980 356 cd portal.buildout/
2981 357 bin/buildout
2982 358 /opt/portal.buildout/
2983 359 çd /opt/portal.buildout/
2984 360 cd /opt/portal.buildout/
2985 361 bin/instance start
2986 362 bin/instance stop
2987 363 cd ..
2988 364 l
2989 365 ls
2990 366 cd plor
2991 367 cd plone
2992 368 cd zinstance/
2993 369 ls
2994 370 cd ..
2995 371 ls
2996 372 cd ..
2997 373 ls
2998 374 cd portal.buildout/
2999 375 sudo useradd --system --shell /bin/bash --comment 'Plone Administrator' --user-group -m --home-dir /opt/plone plone
3000 376 sudo passwd plone
3001 377 su - plone
3002 378 sudo nano /etc/sudoers
3003 379 su - plone
3004 380 cd /opt/
3005 381 s
3006 382 ls
3007 383 cd plone.old/ plone
3008 384 mv plone.old/ plone
3009 385 sudo mv plone.old/ plone
3010 386 ls
3011 387 exit
3012 388 ls
3013 389 pwd
3014 390 apache
3015 391 apache2
3016 392 apache3
3017 393 apt update
3018 394 sudo apt update
3019 395 sudo apt install apache2
3020 396 ls
3021 397 pwd
3022 398 git clone https://gitlab.ifg.edu.br/DTI/repositorio-digital.git
3023 399 ls
3024 400 cd repositorio-digital/
3025 401 ls
3026 402 cd dspace
3027 403 ls
3028 404 cd bin
3029 405 ks
3030 406 ls
3031 407 cd ds
3032 408 cat dspace
3033 409 cd ,,
3034 410 cd ..
3035 411 ls
3036 412 cd ..
3037 413 ls
3038 414 sh compilar_rodar.sh
3039 415 ls
3040 416 cd repositorio-digital/
3041 417 ls
3042 418 cat build.properties
3043 419 cd re
3044 420 cd repositorio-digital/
3045 421 ls
3046 422 cd repositorio-digital/
3047 423 ls
3048 424 addgroup dspace
3049 425 psql
3050 426 apt-cache search postgres
3051 427 sudo apt-get update
3052 428 apt-get upgrade
3053 429 sudo apt-get upgrade
3054 430 sudo apt-get install postgresql
3055 431 addgroup dspace
3056 432 psql
3057 433 psql -u postgres
3058 434 psql --help
3059 435 psql -U postgres
3060 436 psql -U postgres -W
3061 437 psql -U postgres
3062 438 psql -U postgres -w
3063 439 psql -U root
3064 440 psql -U root -w
3065 441 psql
3066 442 sudo su
3067 443 sudo -u postgres
3068 444 su postgres
3069 445 sudo -u postgres -i
3070 446 sudo su
3071 447 exit
3072 448 ls
3073 449 sudo mkdir /opt/jdk
3074 450 tar -zxf jdk-8u191-linux-x64.tar.gz -C /opt/jdk/
3075 451 sudo tar -zxf jdk-8u191-linux-x64.tar.gz -C /opt/jdk/
3076 452 update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_191/bin/java 100
3077 453 sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_191/bin/java 100
3078 454 sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_191/bin/javac 100
3079 455 sudo su
3080 456 ls
3081 457 cd repositorio-digital/
3082 458 ls
3083 459 cd ..
3084 460 ls
3085 461 cd /opt
3086 462 ls
3087 463 cd plone/
3088 464 ls
3089 465 cd zinstance/
3090 466 bin/plonectl stop
3091 467 sudp bin/plonectl stop
3092 468 sudo bin/plonectl stop
3093 469 sudo systemctl stop apache2
3094 470 ls
3095 471 cd repositorio-digital/
3096 472 ls
3097 473 nano build.properties
3098 474 exit
3099 475 cd /home/debian/
3100 476 ls
3101 477 sudo tar -vzxf apache-maven-3.5.4-bin.tar.gz
3102 478 cd repositorio-digital/
3103 479 ls
3104 480 cd dspace
3105 481 ls
3106 482 cd ..
3107 483 ls
3108 484 ls -la
3109 485 cd ..
3110 486 ls
3111 487 sudo chown -R dspace:dspace repositorio-digital/
3112 488 ls -la
3113 489 cd repositorio-digital/
3114 490 ls
3115 491 ls -la
3116 492 su dspace
3117 493 sudo su
3118 494 su dspace
3119 495 exit
3120 496 ls
3121 497 sudo apt-get update -y
3122 498 sudo apt-get upgrade -y
3123 499 sudo systemctl start apache2
3124 500 sudo systemctl enable apache2
3125 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
3126 502 sudo nano /etc/php/7.0/apache2/php.ini
3127 503 sudo apt-get install mariadb-server -y
3128 504 sudo systemctl start mysql
3129 505 sudo systemctl enable mysql
3130 506 sudo mysql_secure_installation
3131 507 sudo systemctl start mysql
3132 508 sudo systemctl stop mysql
3133 509 sudo systemctl start mysql
3134 510 sudo systemctl enable mysql
3135 511 /lib/systemd/systemd-sysv-install enable mysql
3136 512 sudo /lib/systemd/systemd-sysv-install enable mysql
3137 513 sudo mysql_secure_installation
3138 514 mysql -u root -p
3139 515 sudo mysql_secure_installation
3140 516 mysql -u root -p
3141 517 sudo nano /etc/my.cnf
3142 518 cd /etc
3143 519 ls
3144 520 cd mysql/
3145 521 ls
3146 522 sudo nano my.cnf
3147 523 mysql -u root -p
3148 524 sudo nano my.cnf
3149 525 mysql -u root -p
3150 526 sudo nano my.cnf
3151 527 mysql -u localhost -u root -p mysql
3152 528 mysql -u root -p
3153 529 mysql -u root
3154 530*
3155 531 mysql -u root
3156 532* sudo /etc/init.d/mysql s
3157 533* sudo mysqld_safe --skip-grant-tables &mysql -u root -p
3158 534 mysql -uroot
3159 535 mysql -u root -p
3160 536 mysql -u root
3161 537 mysql -u root -p
3162 538 /etc/init.d/mysql stop
3163 539 sudo systemctl stop mysql
3164 540 /etc/init.d/mysql start
3165 541 mysql -u root -p
3166 542 /etc/init.d/mysql stop
3167 543 mysql -u root -p
3168 544 sudo systemctl stop mariadb.service
3169 545 sudo service mysql stop
3170 546 sudo mysqld_safe --skip-grant-tables --skip-networking &
3171 547 ps
3172 548 top
3173 549 ps
3174 550 top
3175 551 renice
3176 552 pstree
3177 553 ps
3178 554 PPID
3179 555 top
3180 556 ps aux | grep mysql
3181 557 sudo kill -9 23236
3182 558 sudo kill -9 26236
3183 559 ps aux | grep mysql
3184 560 sudo kill -9 26883
3185 561 sudo kill -9 181024
3186 562 mysql -u root
3187 563 sudo systemctl start mysql
3188 564 service mysql status
3189 565 sudo service mysql status
3190 566 cd /var/lib/mysql
3191 567 sudo su
3192 568 sudo service mysql status
3193 569*
3194 570 sudo nano /etc/mysql/my.cnf
3195 571 sudo mysql
3196 572 sudo mysql -e
3197 573 sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'"
3198 574 sudo systemctl stop mysql
3199 575 sudo mysqld_safe --skip-grant-tables --skip-networking &
3200 576 cd /
3201 577 sudo service mysql stop
3202 578 sudo apt-get --purge remove "mysql*"
3203 579 sudo rm -rf /etc/mysql/
3204 580 locate mysql
3205 581 sudo updatedb
3206 582 locate mysql
3207 583 sudo apt-get install mariadb-server -y
3208 584 sudo systemctl enable mysql
3209 585 /etc/systemd/system/mysqld.service
3210 586 ßudo /etc/systemd/system/mysqld.service
3211 587 sudo /etc/systemd/system/mysqld.service
3212 588 sudo /etc/mysql/conf.d/
3213 589 ls
3214 590 cd /etc/mysql/conf.d/
3215 591 ls
3216 592 sudo nano mysql
3217 593 sudo nano mysql.cnf
3218 594 sudo mysql_secure_installation
3219 595 sudo nano /etc/mysql/my.cnf
3220 596 sudo mysql_secure_installation
3221 597 sudo apt-get update
3222 598 sudo apt-get -y install mariadb-server mariadb-client
3223 599 sudo mysql_secure_installation
3224 600 sudo service mysql stop
3225 601* sudo apt-get --purge removesudo apt-get --purge remove "mysql*
3226 602 sudo apt-get --purge remove "mysql*
3227 603 sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
3228 604 sudo rm -rf /etc/mysql /var/lib/mysql
3229 605 sudo apt-get autoremove
3230 606 sudo apt-get autoclean
3231 607 apt-get update
3232 608 apt-get upgrade
3233 609 sudo su
3234 610 ls
3235 611 cd ..
3236 612 ls
3237 613 cd ..
3238 614 ls
3239 615 cd mysql
3240 616 ls
3241 617 cd ..
3242 618 ls -la
3243 619 sudo chown -R mysql debian:debian
3244 620 sudo chown -R debian:debian mysql/
3245 621 sudo mysql_secure_installation
3246 622 sudo rm -rf /etc/mysql /var/lib/mysq
3247 623 sudo nano /var/log/mysqld.log
3248 624 cd /var/log/mysql/
3249 625 ls
3250 626 sudo cd /var/log/mysql/
3251 627 sudo su
3252 628 sudo /usr/bin/mysql_secure_installation
3253 629 sudo su
3254 630 history
3255debian@paracambi:/etc$ ^C
3256debian@paracambi:/etc$ ^C
3257debian@paracambi:/etc$ ^C
3258debian@paracambi:/etc$ ^C
3259debian@paracambi:/etc$ sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
3260Lendo listas de pacotes... Pronto
3261Construindo árvore de dependências
3262Lendo informação de estado... Pronto
3263Note, selecting 'mysql-server-core-5.5' for glob 'mysql-server-core-*'
3264Note, selecting 'mysql-server-core-5.6' for glob 'mysql-server-core-*'
3265Note, selecting 'mysql-server-core-5.7' for glob 'mysql-server-core-*'
3266O pacote 'mysql-server-core-5.5' não está instalado, por isso não será removido
3267O pacote 'mysql-server-core-5.6' não está instalado, por isso não será removido
3268O pacote 'mysql-server-core-5.7' não está instalado, por isso não será removido
3269Note, selecting 'mysql-client-core-5.5' for glob 'mysql-client-core-*'
3270Note, selecting 'mysql-client-core-5.6' for glob 'mysql-client-core-*'
3271Note, selecting 'mysql-client-core-5.7' for glob 'mysql-client-core-*'
3272O pacote 'mysql-client-core-5.5' não está instalado, por isso não será removido
3273O pacote 'mysql-client-core-5.6' não está instalado, por isso não será removido
3274O pacote 'mysql-client-core-5.7' não está instalado, por isso não será removido
3275O pacote 'mysql-client' não está instalado, por isso não será removido
3276O pacote 'mysql-server' não está instalado, por isso não será removido
3277Os seguintes pacotes foram instalados automaticamente e já não são necessários:
3278 galera-3 libaio1 libdbi-perl libjemalloc1 libterm-readkey-perl socat
3279Utilize 'sudo apt autoremove' para os remover.
3280Os pacotes a seguir serão REMOVIDOS:
3281 libdbd-mysql-perl* libmariadbclient18* mariadb-client-10.1* mariadb-client-core-10.1* mariadb-common* mariadb-server*
3282 mariadb-server-10.1* mariadb-server-core-10.1* mysql-common*
32830 pacotes atualizados, 0 pacotes novos instalados, 9 a serem removidos e 0 não atualizados.
3284Depois desta operação, 181 MB de espaço em disco serão liberados.
3285Você quer continuar? [S/n] S
3286(Lendo banco de dados ... 64549 ficheiros e directórios actualmente instalados.)
3287A remover libdbd-mysql-perl (4.041-2) ...
3288A remover libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
3289A remover mariadb-server (10.1.26-0+deb9u1) ...
3290A remover mariadb-server-10.1 (10.1.26-0+deb9u1) ...
3291A remover mariadb-client-10.1 (10.1.26-0+deb9u1) ...
3292A remover mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
3293A remover mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
3294A remover mariadb-common (10.1.26-0+deb9u1) ...
3295update-alternatives: aviso: alternativa /etc/mysql/mariadb.cnf (parte do grupo de ligação my.cnf) não existe; a remover da lista de alternativas
3296update-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
3297update-alternatives: aviso: /etc/alternatives/my.cnf em suspenso; será actualizado com a melhor escolha
3298A remover mysql-common (5.8+1.0.2) ...
3299A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
3300A processar 'triggers' para man-db (2.7.6.1-2) ...
3301(Lendo banco de dados ... 64255 ficheiros e directórios actualmente instalados.)
3302A purgar os ficheiros de configuração para mariadb-common (10.1.26-0+deb9u1) ...
3303A purgar os ficheiros de configuração para mariadb-client-10.1 (10.1.26-0+deb9u1) ...
3304A purgar os ficheiros de configuração para mysql-common (5.8+1.0.2) ...
3305A purgar os ficheiros de configuração para mariadb-server-10.1 (10.1.26-0+deb9u1) ...
3306userdel: user mysql is currently used by process 26235
3307A processar 'triggers' para systemd (232-25+deb9u4) ...
3308debian@paracambi:/etc$ history
3309 1 sudo su
3310 2 su
3311 3 su suez
3312 4 sudo su
3313 5 sudo ifconfig
3314 6 exit
3315 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
3316 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
3317 9 sudo apt install libreadline-dev wv poppler-utils
3318 10 sudo apt install git
3319 11 wget --no-check-certificate https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz
3320 12 sudo apt install wget
3321 13 wget --no-check-certificate https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz
3322 14 ls
3323 15 pwd
3324 16 cd /opt
3325 17 ls
3326 18 cd /home/debian/
3327 19 ls
3328 20 mv Plone-5.0.4-UnifiedInstaller.tgz /opt
3329 21 sudo mv Plone-5.0.4-UnifiedInstaller.tgz /opt
3330 22 sudo su
3331 23 cd /opt/
3332 24 ls
3333 25 tar -xf Plone-5.0.4-UnifiedInstaller.tgz
3334 26 sudo tar -xf Plone-5.0.4-UnifiedInstaller.tgz
3335 27 ls
3336 28 rm -rd Plone-5.0.4-UnifiedInstaller
3337 29 ls
3338 30 pwd
3339 31 ls -lha
3340 32 ls
3341 33 cd Plone-5.0.4-UnifiedInstaller/
3342 34 ls
3343 35 cd ..
3344 36 ls
3345 37 sudo rm -rf Plone-5.0.4-UnifiedInstaller
3346 38 ls
3347 39 sudo tar -xf Plone-5.0.4-UnifiedInstaller.tgz
3348 40 ls
3349 41 cd Plone-5.0.4-UnifiedInstaller/
3350 42 ls
3351 43 ./install.sh
3352 44 sudo ./install.sh
3353 45 sudo apt-get install zlibg-dev
3354 46 sudo apt-get install zlibg
3355 47 sudo apt-get install libz
3356 48 sudo apt-cache search libz
3357 49 sudo apt install zlib-devel
3358 50 sudo apt install zlibg-devel
3359 51 apt-get install zlib1g-dev
3360 52 sudo apt-get install zlib1g-dev
3361 53 sudo ./install.sh
3362 54 cd /opt
3363 55 ls
3364 56 cd plone/
3365 57 ls
3366 58 cd zinstance/
3367 59 bin/plonectl fg
3368 60 sudo bin/plonectl fg
3369 61 sudo bin/buildout -c develop.cfg
3370 62 sudo bin/plonectl fg
3371 63 sudo gedit /etc/hostname
3372 64 sudo nano /etc/hostname
3373 65 sudo nano /etc/hosts
3374 66 sudo bin/plonectl fg
3375 67 sudo bin/plonectl start
3376 68 sudo bin/plonectl stop
3377 69 ls
3378 70 cd plone/
3379 71 cd zinstance/
3380 72 ls
3381 73 bin/plonectl start
3382 74 sudo bin/plonectl start
3383 75 cd /opt/plone/zinstance/
3384 76 sudo bin/plonectl stop
3385 77 sudo bin/plonectl fg
3386 78 sudo bin/plonectl stop
3387 79 sudo bin/plonectl fg
3388 80 ls
3389 81 cat develop.cfg
3390 82 cat buildout.cfg
3391 83 sudo nano buildout.cfg
3392 84 sudo bin/plonectl start
3393 85 sudo cat buildout.cfg
3394 86 cat buildout.cfg
3395 87 sudo cat buildout.cfg
3396 88 ls
3397 89 cd ..
3398 90 l
3399 91 ls
3400 92 cd ..
3401 93 ls
3402 94 cd plone/
3403 95 ls
3404 96 cd zinstance/
3405 97 ls
3406 98 cd var
3407 99 cd develop-eggs/
3408 100 ls
3409 101 cd ..
3410 102 ls
3411 103 sudo bin/plonectl fg
3412 104 sudo bin/plonectl stop
3413 105 sudo bin/plonectl fg
3414 106 sudo plonectl fg
3415 107 sudo plonectl start
3416 108 cd /opt/
3417 109 ls
3418 110 sudo suy
3419 111 sudo su
3420 112 ls
3421 113 pwd
3422 114 sudo apt-get install apache2
3423 115 sudo a2enmod rewrite
3424 116 sudo a2enmod proxy
3425 117 sudo a2enmod proxy_http
3426 118 sudo a2enmod headers
3427 119 sudo /etc/init.d/apache2 restart
3428 120 sudo nano /etc/apache2/sites-enabled/yoursite.conf
3429 121 sudo apache2ctl restart
3430 122 exit
3431 123 cd /opt/plone
3432 124 ls
3433 125 cd zinstance/
3434 126 ls
3435 127 cd /opt/plone
3436 128 ls
3437 129 cd zinstance/
3438 130 ls
3439 131 cd ..
3440 132 ls
3441 133 cd Plone-docs
3442 134 ls
3443 135 cd ..
3444 136 ls
3445 137 cd buildout-cache/
3446 138 ls
3447 139 cd downloads/
3448 140 ls
3449 141 cd dist/
3450 142 ls
3451 143 cd~
3452 144 cd ~
3453 145 ls
3454 146 cd /opt/plone
3455 147 ls
3456 148 exit
3457 149 cd /opt/plone/zinstance/
3458 150 ls
3459 151 cat buildout.cfg
3460 152 sud cat buildout.cfg
3461 153 o
3462 154 sudo cat buildout.cfg
3463 155 sudo nano buildout.cfg
3464 156 ls
3465 157 cd /opt/plone
3466 158 ls
3467 159 cd zinstance/
3468 160 ls
3469 161 sudo nano buildout.cfg
3470 162 sudo vim buildout.cfg
3471 163 sudo apt-get install vim
3472 164 sudo vim buildout.cfg
3473 165 cd /opt/plone
3474 166 ls
3475 167 cd Plone-docs
3476 168 ls
3477 169 cd ..
3478 170 zinstance
3479 171 cd zinstance/
3480 172 ls
3481 173 cd src
3482 174 ls
3483 175 readme
3484 176 README.txt
3485 177 nano README.txt
3486 178 ls
3487 179 cd /opt/plone
3488 180 ls
3489 181 cd buildout-cache/
3490 182 ls
3491 183 cd downloads/
3492 184 ls
3493 185 cd dist/
3494 186 ls
3495 187 cd ~
3496 188 cd /opt/plone
3497 189 ls
3498 190 cd zinstance
3499 191 ls
3500 192 cd develop-eggs/
3501 193 ls
3502 194 cd ..
3503 195 cd src
3504 196 ls
3505 197 cd vat
3506 198 cd var
3507 199 cd ..
3508 200 ls
3509 201 cd vat
3510 202 cd var
3511 203 ls
3512 204 cd lib
3513 205 ls
3514 206 cd ..
3515 207 cd include
3516 208 ls
3517 209 cd ..
3518 210 vim base.cfg
3519 211 vim buildout.cfg
3520 212 sudo vim buildout.cfg
3521 213 sudo vim buildout.cfg
3522 214 cd /opt/plone
3523 215 ls
3524 216 cd /opt/
3525 217 ls
3526 218 cd Plone-5.0.4-UnifiedInstaller/
3527 219 ls
3528 220 cd buildout_templates
3529 221 ls
3530 222 nano buildout.cfg
3531 223 cd /opt/plone
3532 224 ls
3533 225 cd zinstance/
3534 226 ls
3535 227 cd products
3536 228 ls
3537 229 nano README.txt
3538 230 cd src
3539 231 ls
3540 232 cd ..
3541 233 cd src
3542 234 ls
3543 235 nano README.txt
3544 236 cd ..
3545 237 ls
3546 238 nano pip-selfcheck.json
3547 239 dc bin
3548 240 cd bin
3549 241 ls
3550 242 cd /opt/plone
3551 243 ls
3552 244 cd zinstance/
3553 245 ls
3554 246 cd products
3555 247 ls
3556 248 cd ..
3557 249 ls
3558 250 cd include
3559 251 ls
3560 252 cd /lib
3561 253 ls
3562 254 cd /bin
3563 255 ls
3564 256 cd less
3565 257 cd lessfile
3566 258 cd open
3567 259 su
3568 260 cd ..
3569 261 ls
3570 262 cd usr
3571 263 ls
3572 264 cd opt
3573 265 cd /opt
3574 266 ls
3575 267 cd lost+found/
3576 268 cd plone
3577 269 ls
3578 270 cd zinstance/
3579 271 ls
3580 272 cd local
3581 273 ls
3582 274 cd lib
3583 275 ls
3584 276 cd /include
3585 277 cd ..
3586 278 cd include
3587 279 ls
3588 280 cd ..
3589 281 cd bin
3590 282 ls
3591 283 ls
3592 284 cd /opt/plone
3593 285 ls
3594 286 cd zinstance/
3595 287 ls
3596 288 cd src
3597 289 ls
3598 290 cd ..
3599 291 ls
3600 292 cd parts
3601 293 ls
3602 294 cd instance
3603 295 ls
3604 296 cd bin
3605 297 ls
3606 298 cd in
3607 299 cd interpreter
3608 300 ls
3609 301 nano interpreter
3610 302 cd ..
3611 303 ls
3612 304 cd etc
3613 305 ls
3614 306 cd ..
3615 307 ls
3616 308 cd inituser
3617 309 nano inituser
3618 310 ls
3619 311 cd etc
3620 312 ls
3621 313 nano site.zcml
3622 314 cd /opt/
3623 315 ls
3624 316 cd plone/
3625 317 ls
3626 318 git init
3627 319 sudo git init
3628 320 git add .
3629 321 sudo git add .
3630 322 exit
3631 323 cd /opt/plone/
3632 324 exit
3633 325 ls
3634 326 cd /opt/
3635 327 l
3636 328 ls
3637 329 git clone git@github.com:plonegovbr/portal.buildout.git
3638 330 ls
3639 331 sudo git clone git@github.com:plonegovbr/portal.buildout.git
3640 332 git clone https://github.com/plonegovbr/portal.buildout.git
3641 333 sudo git clone https://github.com/plonegovbr/portal.buildout.git
3642 334 ls
3643 335 cd portal.buildout/
3644 336 ls
3645 337 virtualenv py27
3646 338 sudo apt update && sudo apt upgrade -y
3647 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
3648 340 virtualenv py27
3649 341 sudo virtualenv py27
3650 342 source py27/bin/activate
3651 343 sudo nano buildout.cfg
3652 344 pip install -U setuptools==36.6.1
3653 345 sudo su
3654 346 bin/buildout
3655 347 ls -la
3656 348 ls -lah
3657 349 CD ..
3658 350 ls
3659 351 cd ..
3660 352 ls
3661 353 ls -lah
3662 354 sudo chown -R debian:debian portal.buildout/
3663 355 ls -la
3664 356 cd portal.buildout/
3665 357 bin/buildout
3666 358 /opt/portal.buildout/
3667 359 çd /opt/portal.buildout/
3668 360 cd /opt/portal.buildout/
3669 361 bin/instance start
3670 362 bin/instance stop
3671 363 cd ..
3672 364 l
3673 365 ls
3674 366 cd plor
3675 367 cd plone
3676 368 cd zinstance/
3677 369 ls
3678 370 cd ..
3679 371 ls
3680 372 cd ..
3681 373 ls
3682 374 cd portal.buildout/
3683 375 sudo useradd --system --shell /bin/bash --comment 'Plone Administrator' --user-group -m --home-dir /opt/plone plone
3684 376 sudo passwd plone
3685 377 su - plone
3686 378 sudo nano /etc/sudoers
3687 379 su - plone
3688 380 cd /opt/
3689 381 s
3690 382 ls
3691 383 cd plone.old/ plone
3692 384 mv plone.old/ plone
3693 385 sudo mv plone.old/ plone
3694 386 ls
3695 387 exit
3696 388 ls
3697 389 pwd
3698 390 apache
3699 391 apache2
3700 392 apache3
3701 393 apt update
3702 394 sudo apt update
3703 395 sudo apt install apache2
3704 396 ls
3705 397 pwd
3706 398 git clone https://gitlab.ifg.edu.br/DTI/repositorio-digital.git
3707 399 ls
3708 400 cd repositorio-digital/
3709 401 ls
3710 402 cd dspace
3711 403 ls
3712 404 cd bin
3713 405 ks
3714 406 ls
3715 407 cd ds
3716 408 cat dspace
3717 409 cd ,,
3718 410 cd ..
3719 411 ls
3720 412 cd ..
3721 413 ls
3722 414 sh compilar_rodar.sh
3723 415 ls
3724 416 cd repositorio-digital/
3725 417 ls
3726 418 cat build.properties
3727 419 cd re
3728 420 cd repositorio-digital/
3729 421 ls
3730 422 cd repositorio-digital/
3731 423 ls
3732 424 addgroup dspace
3733 425 psql
3734 426 apt-cache search postgres
3735 427 sudo apt-get update
3736 428 apt-get upgrade
3737 429 sudo apt-get upgrade
3738 430 sudo apt-get install postgresql
3739 431 addgroup dspace
3740 432 psql
3741 433 psql -u postgres
3742 434 psql --help
3743 435 psql -U postgres
3744 436 psql -U postgres -W
3745 437 psql -U postgres
3746 438 psql -U postgres -w
3747 439 psql -U root
3748 440 psql -U root -w
3749 441 psql
3750 442 sudo su
3751 443 sudo -u postgres
3752 444 su postgres
3753 445 sudo -u postgres -i
3754 446 sudo su
3755 447 exit
3756 448 ls
3757 449 sudo mkdir /opt/jdk
3758 450 tar -zxf jdk-8u191-linux-x64.tar.gz -C /opt/jdk/
3759 451 sudo tar -zxf jdk-8u191-linux-x64.tar.gz -C /opt/jdk/
3760 452 update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_191/bin/java 100
3761 453 sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_191/bin/java 100
3762 454 sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_191/bin/javac 100
3763 455 sudo su
3764 456 ls
3765 457 cd repositorio-digital/
3766 458 ls
3767 459 cd ..
3768 460 ls
3769 461 cd /opt
3770 462 ls
3771 463 cd plone/
3772 464 ls
3773 465 cd zinstance/
3774 466 bin/plonectl stop
3775 467 sudp bin/plonectl stop
3776 468 sudo bin/plonectl stop
3777 469 sudo systemctl stop apache2
3778 470 ls
3779 471 cd repositorio-digital/
3780 472 ls
3781 473 nano build.properties
3782 474 exit
3783 475 cd /home/debian/
3784 476 ls
3785 477 sudo tar -vzxf apache-maven-3.5.4-bin.tar.gz
3786 478 cd repositorio-digital/
3787 479 ls
3788 480 cd dspace
3789 481 ls
3790 482 cd ..
3791 483 ls
3792 484 ls -la
3793 485 cd ..
3794 486 ls
3795 487 sudo chown -R dspace:dspace repositorio-digital/
3796 488 ls -la
3797 489 cd repositorio-digital/
3798 490 ls
3799 491 ls -la
3800 492 su dspace
3801 493 sudo su
3802 494 su dspace
3803 495 exit
3804 496 ls
3805 497 sudo apt-get update -y
3806 498 sudo apt-get upgrade -y
3807 499 sudo systemctl start apache2
3808 500 sudo systemctl enable apache2
3809 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
3810 502 sudo nano /etc/php/7.0/apache2/php.ini
3811 503 sudo apt-get install mariadb-server -y
3812 504 sudo systemctl start mysql
3813 505 sudo systemctl enable mysql
3814 506 sudo mysql_secure_installation
3815 507 sudo systemctl start mysql
3816 508 sudo systemctl stop mysql
3817 509 sudo systemctl start mysql
3818 510 sudo systemctl enable mysql
3819 511 /lib/systemd/systemd-sysv-install enable mysql
3820 512 sudo /lib/systemd/systemd-sysv-install enable mysql
3821 513 sudo mysql_secure_installation
3822 514 mysql -u root -p
3823 515 sudo mysql_secure_installation
3824 516 mysql -u root -p
3825 517 sudo nano /etc/my.cnf
3826 518 cd /etc
3827 519 ls
3828 520 cd mysql/
3829 521 ls
3830 522 sudo nano my.cnf
3831 523 mysql -u root -p
3832 524 sudo nano my.cnf
3833 525 mysql -u root -p
3834 526 sudo nano my.cnf
3835 527 mysql -u localhost -u root -p mysql
3836 528 mysql -u root -p
3837 529 mysql -u root
3838 530*
3839 531 mysql -u root
3840 532* sudo /etc/init.d/mysql s
3841 533* sudo mysqld_safe --skip-grant-tables &mysql -u root -p
3842 534 mysql -uroot
3843 535 mysql -u root -p
3844 536 mysql -u root
3845 537 mysql -u root -p
3846 538 /etc/init.d/mysql stop
3847 539 sudo systemctl stop mysql
3848 540 /etc/init.d/mysql start
3849 541 mysql -u root -p
3850 542 /etc/init.d/mysql stop
3851 543 mysql -u root -p
3852 544 sudo systemctl stop mariadb.service
3853 545 sudo service mysql stop
3854 546 sudo mysqld_safe --skip-grant-tables --skip-networking &
3855 547 ps
3856 548 top
3857 549 ps
3858 550 top
3859 551 renice
3860 552 pstree
3861 553 ps
3862 554 PPID
3863 555 top
3864 556 ps aux | grep mysql
3865 557 sudo kill -9 23236
3866 558 sudo kill -9 26236
3867 559 ps aux | grep mysql
3868 560 sudo kill -9 26883
3869 561 sudo kill -9 181024
3870 562 mysql -u root
3871 563 sudo systemctl start mysql
3872 564 service mysql status
3873 565 sudo service mysql status
3874 566 cd /var/lib/mysql
3875 567 sudo su
3876 568 sudo service mysql status
3877 569*
3878 570 sudo nano /etc/mysql/my.cnf
3879 571 sudo mysql
3880 572 sudo mysql -e
3881 573 sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'"
3882 574 sudo systemctl stop mysql
3883 575 sudo mysqld_safe --skip-grant-tables --skip-networking &
3884 576 cd /
3885 577 sudo service mysql stop
3886 578 sudo apt-get --purge remove "mysql*"
3887 579 sudo rm -rf /etc/mysql/
3888 580 locate mysql
3889 581 sudo updatedb
3890 582 locate mysql
3891 583 sudo apt-get install mariadb-server -y
3892 584 sudo systemctl enable mysql
3893 585 /etc/systemd/system/mysqld.service
3894 586 ßudo /etc/systemd/system/mysqld.service
3895 587 sudo /etc/systemd/system/mysqld.service
3896 588 sudo /etc/mysql/conf.d/
3897 589 ls
3898 590 cd /etc/mysql/conf.d/
3899 591 ls
3900 592 sudo nano mysql
3901 593 sudo nano mysql.cnf
3902 594 sudo mysql_secure_installation
3903 595 sudo nano /etc/mysql/my.cnf
3904 596 sudo mysql_secure_installation
3905 597 sudo apt-get update
3906 598 sudo apt-get -y install mariadb-server mariadb-client
3907 599 sudo mysql_secure_installation
3908 600 sudo service mysql stop
3909 601* sudo apt-get --purge removesudo apt-get --purge remove "mysql*
3910 602 sudo apt-get --purge remove "mysql*
3911 603 sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
3912 604 sudo rm -rf /etc/mysql /var/lib/mysql
3913 605 sudo apt-get autoremove
3914 606 sudo apt-get autoclean
3915 607 apt-get update
3916 608 apt-get upgrade
3917 609 sudo su
3918 610 ls
3919 611 cd ..
3920 612 ls
3921 613 cd ..
3922 614 ls
3923 615 cd mysql
3924 616 ls
3925 617 cd ..
3926 618 ls -la
3927 619 sudo chown -R mysql debian:debian
3928 620 sudo chown -R debian:debian mysql/
3929 621 sudo mysql_secure_installation
3930 622 sudo rm -rf /etc/mysql /var/lib/mysq
3931 623 sudo nano /var/log/mysqld.log
3932 624 cd /var/log/mysql/
3933 625 ls
3934 626 sudo cd /var/log/mysql/
3935 627 sudo su
3936 628 sudo /usr/bin/mysql_secure_installation
3937 629 sudo su
3938 630 history
3939 631 sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
3940 632 history
3941debian@paracambi:/etc$ ^C
3942debian@paracambi:/etc$ ^C
3943debian@paracambi:/etc$ ^C
3944debian@paracambi:/etc$ ^C
3945debian@paracambi:/etc$ sudo rm -rf /etc/mysql /var/lib/mysql
3946debian@paracambi:/etc$ sudo apt-get autoremove
3947Lendo listas de pacotes... Pronto
3948Construindo árvore de dependências
3949Lendo informação de estado... Pronto
3950Os pacotes a seguir serão REMOVIDOS:
3951 galera-3 libaio1 libdbi-perl libjemalloc1 libterm-readkey-perl socat
39520 pacotes atualizados, 0 pacotes novos instalados, 6 a serem removidos e 0 não atualizados.
3953Depois desta operação, 6.508 kB de espaço em disco serão liberados.
3954Você quer continuar? [S/n] S
3955(Lendo banco de dados ... 64236 ficheiros e directórios actualmente instalados.)
3956A remover galera-3 (25.3.19-2) ...
3957A remover libaio1:amd64 (0.3.110-3) ...
3958A remover libdbi-perl (1.636-1+b1) ...
3959A remover libjemalloc1 (3.6.0-9.1) ...
3960A remover libterm-readkey-perl (2.37-1) ...
3961A remover socat (1.7.3.1-2+deb9u1) ...
3962A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
3963A processar 'triggers' para man-db (2.7.6.1-2) ...
3964debian@paracambi:/etc$ sudo apt-get autoclean
3965Lendo listas de pacotes... Pronto
3966Construindo árvore de dependências
3967Lendo informação de estado... Pronto
3968debian@paracambi:/etc$ sudo apt-get update
3969Ign:1 http://deb.debian.org/debian stretch InRelease
3970Obter:2 http://security.debian.org stretch/updates InRelease [94,3 kB]
3971Atingido:3 http://deb.debian.org/debian stretch-updates InRelease
3972Atingido:4 http://deb.debian.org/debian stretch Release
3973Obter:6 http://security.debian.org stretch/updates/main Sources [181 kB]
3974Obter:7 http://security.debian.org stretch/updates/main amd64 Packages [452 kB]
3975Baixados 728 kB em 1s (610 kB/s)
3976Lendo listas de pacotes... Pronto
3977debian@paracambi:/etc$ sudo apt-get upgrade
3978Lendo listas de pacotes... Pronto
3979Construindo árvore de dependências
3980Lendo informação de estado... Pronto
3981Calculando atualização... Pronto
39820 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
3983debian@paracambi:/etc$ sudo apt-get install mariadb-server -y
3984Lendo listas de pacotes... Pronto
3985Construindo árvore de dependências
3986Lendo informação de estado... Pronto
3987The following additional packages will be installed:
3988 galera-3 libaio1 libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libterm-readkey-perl mariadb-client-10.1
3989 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
3990Pacotes sugeridos:
3991 libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mariadb-test netcat-openbsd tinyca
3992Os NOVOS pacotes a seguir serão instalados:
3993 galera-3 libaio1 libdbd-mysql-perl libdbi-perl libjemalloc1 libmariadbclient18 libterm-readkey-perl mariadb-client-10.1
3994 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common socat
39950 pacotes atualizados, 15 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
3996É preciso baixar 0 B/24,5 MB de arquivos.
3997Depois desta operação, 188 MB adicionais de espaço em disco serão usados.
3998Pré-configurando pacotes ...
3999Can't exec "/tmp/mariadb-server-10.1.config.QdVWgK": Permissão negada at /usr/share/perl/5.24/IPC/Open3.pm line 178.
4000open2: exec of /tmp/mariadb-server-10.1.config.QdVWgK configure failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
4001A seleccionar pacote anteriormente não seleccionado mysql-common.
4002(Lendo banco de dados ... 64007 ficheiros e directórios actualmente instalados.)
4003A preparar para desempacotar .../0-mysql-common_5.8+1.0.2_all.deb ...
4004A descompactar mysql-common (5.8+1.0.2) ...
4005A seleccionar pacote anteriormente não seleccionado mariadb-common.
4006A preparar para desempacotar .../1-mariadb-common_10.1.26-0+deb9u1_all.deb ...
4007A descompactar mariadb-common (10.1.26-0+deb9u1) ...
4008A seleccionar pacote anteriormente não seleccionado galera-3.
4009A preparar para desempacotar .../2-galera-3_25.3.19-2_amd64.deb ...
4010A descompactar galera-3 (25.3.19-2) ...
4011A seleccionar pacote anteriormente não seleccionado libdbi-perl.
4012A preparar para desempacotar .../3-libdbi-perl_1.636-1+b1_amd64.deb ...
4013A descompactar libdbi-perl (1.636-1+b1) ...
4014A seleccionar pacote anteriormente não seleccionado libaio1:amd64.
4015A preparar para desempacotar .../4-libaio1_0.3.110-3_amd64.deb ...
4016A descompactar libaio1:amd64 (0.3.110-3) ...
4017A seleccionar pacote anteriormente não seleccionado mariadb-client-core-10.1.
4018A preparar para desempacotar .../5-mariadb-client-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
4019A descompactar mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
4020A seleccionar pacote anteriormente não seleccionado libjemalloc1.
4021A preparar para desempacotar .../6-libjemalloc1_3.6.0-9.1_amd64.deb ...
4022A descompactar libjemalloc1 (3.6.0-9.1) ...
4023A seleccionar pacote anteriormente não seleccionado mariadb-client-10.1.
4024A preparar para desempacotar .../7-mariadb-client-10.1_10.1.26-0+deb9u1_amd64.deb ...
4025A descompactar mariadb-client-10.1 (10.1.26-0+deb9u1) ...
4026A seleccionar pacote anteriormente não seleccionado mariadb-server-core-10.1.
4027A preparar para desempacotar .../8-mariadb-server-core-10.1_10.1.26-0+deb9u1_amd64.deb ...
4028A descompactar mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
4029A seleccionar pacote anteriormente não seleccionado socat.
4030A preparar para desempacotar .../9-socat_1.7.3.1-2+deb9u1_amd64.deb ...
4031A descompactar socat (1.7.3.1-2+deb9u1) ...
4032Configurando mysql-common (5.8+1.0.2) ...
4033update-alternatives: a usar /etc/mysql/my.cnf.fallback para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
4034Configurando mariadb-common (10.1.26-0+deb9u1) ...
4035update-alternatives: a usar /etc/mysql/mariadb.cnf para disponibilizar /etc/mysql/my.cnf (my.cnf) em modo auto
4036A seleccionar pacote anteriormente não seleccionado mariadb-server-10.1.
4037(Lendo banco de dados ... 64379 ficheiros e directórios actualmente instalados.)
4038A preparar para desempacotar .../mariadb-server-10.1_10.1.26-0+deb9u1_amd64.deb ...
4039A descompactar mariadb-server-10.1 (10.1.26-0+deb9u1) ...
4040A seleccionar pacote anteriormente não seleccionado libmariadbclient18:amd64.
4041A preparar para desempacotar .../libmariadbclient18_10.1.26-0+deb9u1_amd64.deb ...
4042A descompactar libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
4043A seleccionar pacote anteriormente não seleccionado libdbd-mysql-perl.
4044A preparar para desempacotar .../libdbd-mysql-perl_4.041-2_amd64.deb ...
4045A descompactar libdbd-mysql-perl (4.041-2) ...
4046A seleccionar pacote anteriormente não seleccionado libterm-readkey-perl.
4047A preparar para desempacotar .../libterm-readkey-perl_2.37-1_amd64.deb ...
4048A descompactar libterm-readkey-perl (2.37-1) ...
4049A seleccionar pacote anteriormente não seleccionado mariadb-server.
4050A preparar para desempacotar .../mariadb-server_10.1.26-0+deb9u1_all.deb ...
4051A descompactar mariadb-server (10.1.26-0+deb9u1) ...
4052Configurando libjemalloc1 (3.6.0-9.1) ...
4053Configurando socat (1.7.3.1-2+deb9u1) ...
4054Configurando libmariadbclient18:amd64 (10.1.26-0+deb9u1) ...
4055Configurando libterm-readkey-perl (2.37-1) ...
4056A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
4057Configurando libaio1:amd64 (0.3.110-3) ...
4058Configurando galera-3 (25.3.19-2) ...
4059A processar 'triggers' para systemd (232-25+deb9u4) ...
4060A processar 'triggers' para man-db (2.7.6.1-2) ...
4061Configurando libdbi-perl (1.636-1+b1) ...
4062Configurando mariadb-server-core-10.1 (10.1.26-0+deb9u1) ...
4063Configurando mariadb-client-core-10.1 (10.1.26-0+deb9u1) ...
4064Configurando libdbd-mysql-perl (4.041-2) ...
4065Configurando mariadb-client-10.1 (10.1.26-0+deb9u1) ...
4066Configurando mariadb-server-10.1 (10.1.26-0+deb9u1) ...
4067Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
4068Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
4069Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
4070Job for mariadb.service failed because the control process exited with error code.
4071See "systemctl status mariadb.service" and "journalctl -xe" for details.
4072mariadb.service couldn't start.
4073Configurando mariadb-server (10.1.26-0+deb9u1) ...
4074A processar 'triggers' para libc-bin (2.24-11+deb9u3) ...
4075A processar 'triggers' para systemd (232-25+deb9u4) ...
4076debian@paracambi:/etc$ sudo mysql_secure_installation
4077
4078NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
4079 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
4080
4081In order to log into MariaDB to secure it, we'll need the current
4082password for the root user. If you've just installed MariaDB, and
4083you haven't set the root password yet, the password will be blank,
4084so you should just press enter here.
4085
4086Enter current password for root (enter for none):
4087ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4088Enter current password for root (enter for none):
4089ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4090Enter current password for root (enter for none):
4091ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4092Enter current password for root (enter for none):
4093ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4094Enter current password for root (enter for none):
4095ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4096Enter current password for root (enter for none):
4097ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4098Enter current password for root (enter for none):
4099ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4100Enter current password for root (enter for none):
4101Aborting!
4102
4103Cleaning up...
4104debian@paracambi:/etc$ mysql_secure_installation
4105touch: não foi possÃvel tocar '.my.cnf.1360': Permissão negada
4106touch: não foi possÃvel tocar '.mysql.1360': Permissão negada
4107chmod: não foi possÃvel acessar '.my.cnf.1360': Arquivo ou diretório não encontrado
4108chmod: não foi possÃvel acessar '.mysql.1360': Arquivo ou diretório não encontrado
4109
4110NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
4111 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
4112
4113In order to log into MariaDB to secure it, we'll need the current
4114password for the root user. If you've just installed MariaDB, and
4115you haven't set the root password yet, the password will be blank,
4116so you should just press enter here.
4117
4118Enter current password for root (enter for none):
4119/usr/bin/mysql_secure_installation: 248: /usr/bin/mysql_secure_installation: cannot create .my.cnf.1360: Permission denied
4120/usr/bin/mysql_secure_installation: 249: /usr/bin/mysql_secure_installation: cannot create .my.cnf.1360: Permission denied
4121/usr/bin/mysql_secure_installation: 250: /usr/bin/mysql_secure_installation: cannot create .my.cnf.1360: Permission denied
4122/usr/bin/mysql_secure_installation: 252: /usr/bin/mysql_secure_installation: cannot create .my.cnf.1360: Permission denied
4123/usr/bin/mysql_secure_installation: 217: /usr/bin/mysql_secure_installation: cannot create .mysql.1360: Permission denied
4124/usr/bin/mysql_secure_installation: 219: /usr/bin/mysql_secure_installation: cannot open .mysql.1360: No such file
4125OK, successfully used password, moving on...
4126
4127Setting the root password ensures that nobody can log into the MariaDB
4128root user without the proper authorisation.
4129
4130Set root password? [Y/n] ^C
4131Aborting!
4132
4133Cleaning up...
4134debian@paracambi:/etc$ ^C
4135debian@paracambi:/etc$ ^C
4136debian@paracambi:/etc$ ^C
4137debian@paracambi:/etc$ cd /etc/mysql/
4138debian@paracambi:/etc/mysql$ ls
4139conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
4140debian@paracambi:/etc/mysql$ ls -la
4141total 32
4142drwxr-xr-x 4 root root 4096 out 24 17:43 .
4143drwxr-xr-x 101 root root 4096 out 24 17:44 ..
4144drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
4145-rw------- 1 root root 277 out 24 17:43 debian.cnf
4146-rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
4147-rw-r--r-- 1 root root 869 ago 10 2017 mariadb.cnf
4148drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
4149lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
4150-rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
4151debian@paracambi:/etc/mysql$ ls
4152conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
4153debian@paracambi:/etc/mysql$ sudo chown debian:debian .
4154debian@paracambi:/etc/mysql$ ls -la
4155total 32
4156drwxr-xr-x 4 debian debian 4096 out 24 17:43 .
4157drwxr-xr-x 101 root root 4096 out 24 17:44 ..
4158drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
4159-rw------- 1 root root 277 out 24 17:43 debian.cnf
4160-rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
4161-rw-r--r-- 1 root root 869 ago 10 2017 mariadb.cnf
4162drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
4163lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
4164-rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
4165debian@paracambi:/etc/mysql$ sudo chown debian:debian my.cnf
4166debian@paracambi:/etc/mysql$ ls -la
4167total 32
4168drwxr-xr-x 4 debian debian 4096 out 24 17:43 .
4169drwxr-xr-x 101 root root 4096 out 24 17:44 ..
4170drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
4171-rw------- 1 root root 277 out 24 17:43 debian.cnf
4172-rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
4173-rw-r--r-- 1 debian debian 869 ago 10 2017 mariadb.cnf
4174drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
4175lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
4176-rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
4177debian@paracambi:/etc/mysql$ cd /etc/alternatives/
4178debian@paracambi:/etc/alternatives$ l
4179-bash: l: comando não encontrado
4180debian@paracambi:/etc/alternatives$ ls
4181ABORT.7.gz DROP_DOMAIN.7.gz pg_dump.1.gz
4182ALTER_AGGREGATE.7.gz DROP_EVENT_TRIGGER.7.gz pg_dumpall.1.gz
4183ALTER_COLLATION.7.gz DROP_EXTENSION.7.gz pg_isready.1.gz
4184ALTER_CONVERSION.7.gz DROP_FOREIGN_DATA_WRAPPER.7.gz pg_receivexlog.1.gz
4185ALTER_DATABASE.7.gz DROP_FOREIGN_TABLE.7.gz pg_recvlogical.1.gz
4186ALTER_DEFAULT_PRIVILEGES.7.gz DROP_FUNCTION.7.gz pg_resetxlog.1.gz
4187ALTER_DOMAIN.7.gz DROP_GROUP.7.gz pg_restore.1.gz
4188ALTER_EVENT_TRIGGER.7.gz DROP_INDEX.7.gz pg_rewind.1.gz
4189ALTER_EXTENSION.7.gz droplang.1.gz pg_standby.1.gz
4190ALTER_FOREIGN_DATA_WRAPPER.7.gz DROP_LANGUAGE.7.gz pg_test_fsync.1.gz
4191ALTER_FOREIGN_TABLE.7.gz DROP_MATERIALIZED_VIEW.7.gz pg_test_timing.1.gz
4192ALTER_FUNCTION.7.gz DROP_OPERATOR.7.gz pg_upgrade.1.gz
4193ALTER_GROUP.7.gz DROP_OPERATOR_CLASS.7.gz pg_xlogdump.1.gz
4194ALTER_INDEX.7.gz DROP_OPERATOR_FAMILY.7.gz phar
4195ALTER_LANGUAGE.7.gz DROP_OWNED.7.gz phar.1.gz
4196ALTER_LARGE_OBJECT.7.gz DROP_POLICY.7.gz phar.phar
4197ALTER_MATERIALIZED_VIEW.7.gz DROP_ROLE.7.gz phar.phar.1.gz
4198ALTER_OPERATOR.7.gz DROP_RULE.7.gz php
4199ALTER_OPERATOR_CLASS.7.gz DROP_SCHEMA.7.gz php.1.gz
4200ALTER_OPERATOR_FAMILY.7.gz DROP_SEQUENCE.7.gz pico
4201ALTER_POLICY.7.gz DROP_SERVER.7.gz pico.1.gz
4202ALTER_ROLE.7.gz DROP_TABLE.7.gz pinentry
4203ALTER_RULE.7.gz DROP_TABLESPACE.7.gz pinentry.1.gz
4204ALTER_SCHEMA.7.gz DROP_TEXT_SEARCH_CONFIGURATION.7.gz pinentry-x11
4205ALTER_SEQUENCE.7.gz DROP_TEXT_SEARCH_DICTIONARY.7.gz pinentry-x11.1.gz
4206ALTER_SERVER.7.gz DROP_TEXT_SEARCH_PARSER.7.gz postgres.1.gz
4207ALTER_SYSTEM.7.gz DROP_TEXT_SEARCH_TEMPLATE.7.gz postmaster.1.gz
4208ALTER_TABLE.7.gz DROP_TRANSFORM.7.gz PREPARE.7.gz
4209ALTER_TABLESPACE.7.gz DROP_TRIGGER.7.gz PREPARE_TRANSACTION.7.gz
4210ALTER_TEXT_SEARCH_CONFIGURATION.7.gz DROP_TYPE.7.gz psql.1.gz
4211ALTER_TEXT_SEARCH_DICTIONARY.7.gz dropuser.1.gz rcp
4212ALTER_TEXT_SEARCH_PARSER.7.gz DROP_USER.7.gz rcp.1.gz
4213ALTER_TEXT_SEARCH_TEMPLATE.7.gz DROP_USER_MAPPING.7.gz README
4214ALTER_TRIGGER.7.gz DROP_VIEW.7.gz REASSIGN_OWNED.7.gz
4215ALTER_TYPE.7.gz editor REFRESH_MATERIALIZED_VIEW.7.gz
4216ALTER_USER.7.gz editor.1.gz REINDEX.7.gz
4217ALTER_USER_MAPPING.7.gz END.7.gz reindexdb.1.gz
4218ALTER_VIEW.7.gz ex RELEASE_SAVEPOINT.7.gz
4219ANALYZE.7.gz ex.1.gz rename
4220aptitude EXECUTE.7.gz rename.1.gz
4221aptitude.8.gz ex.fr.1.gz RESET.7.gz
4222aptitude.cs.8.gz ex.it.1.gz REVOKE.7.gz
4223aptitude.de.8.gz ex.ja.1.gz rlogin
4224aptitude.es.8.gz ex.pl.1.gz rlogin.1.gz
4225aptitude.fi.8.gz EXPLAIN.7.gz rmt
4226aptitude.fr.8.gz ex.ru.1.gz rmt.8.gz
4227aptitude.gl.8.gz faked.1.gz ROLLBACK.7.gz
4228aptitude.it.8.gz faked.es.1.gz ROLLBACK_PREPARED.7.gz
4229aptitude.ja.8.gz faked.fr.1.gz ROLLBACK_TO_SAVEPOINT.7.gz
4230aptitude.pl.8.gz faked.sv.1.gz rsh
4231awk fakeroot rsh.1.gz
4232awk.1.gz fakeroot.1.gz rview
4233BEGIN.7.gz fakeroot.es.1.gz rvim
4234builtins.7.gz fakeroot.fr.1.gz sar
4235c++ fakeroot.sv.1.gz sar.1.gz
4236c89 FETCH.7.gz SAVEPOINT.7.gz
4237c89.1.gz from SECURITY_LABEL.7.gz
4238c99 from.1.gz SELECT.7.gz
4239c99.1.gz ftp SELECT_INTO.7.gz
4240cc ftp.1.gz SET.7.gz
4241CHECKPOINT.7.gz GRANT.7.gz SET_CONSTRAINTS.7.gz
4242CLOSE.7.gz IMPORT_FOREIGN_SCHEMA.7.gz SET_ROLE.7.gz
4243CLUSTER.7.gz infobrowser SET_SESSION_AUTHORIZATION.7.gz
4244clusterdb.1.gz infobrowser.1.gz SET_TRANSACTION.7.gz
4245COMMENT.7.gz initdb.1.gz SHOW.7.gz
4246COMMIT.7.gz INSERT.7.gz start-here-16.png
4247COMMIT_PREPARED.7.gz java start-here-22.png
4248COPY.7.gz javac start-here-24.png
4249cpp lft start-here-256.png
4250CREATE_ACCESS_METHOD.7.gz lft.1.gz start-here-32.png
4251CREATE_AGGREGATE.7.gz libtxc-dxtn-x86_64-linux-gnu start-here-48.png
4252CREATE_CAST.7.gz LISTEN.7.gz start-here.svg
4253CREATE_COLLATION.7.gz LOAD.7.gz START_TRANSACTION.7.gz
4254CREATE_CONVERSION.7.gz locate TABLE.7.gz
4255CREATE_DATABASE.7.gz locate.1.gz tcptraceroute
4256createdb.1.gz LOCK.7.gz tcptraceroute.8.gz
4257CREATE_DOMAIN.7.gz lzcat telnet
4258CREATE_EVENT_TRIGGER.7.gz lzcat.1.gz telnet.1.gz
4259CREATE_EXTENSION.7.gz lzcmp traceproto
4260CREATE_FOREIGN_DATA_WRAPPER.7.gz lzcmp.1.gz traceproto.1.gz
4261CREATE_FOREIGN_TABLE.7.gz lzdiff traceroute
4262CREATE_FUNCTION.7.gz lzdiff.1.gz traceroute.1.gz
4263CREATE_GROUP.7.gz lzegrep traceroute6
4264CREATE_INDEX.7.gz lzegrep.1.gz traceroute6.1.gz
4265createlang.1.gz lzfgrep traceroute.sbin
4266CREATE_LANGUAGE.7.gz lzfgrep.1.gz TRUNCATE.7.gz
4267CREATE_MATERIALIZED_VIEW.7.gz lzgrep UNLISTEN.7.gz
4268CREATE_OPERATOR.7.gz lzgrep.1.gz unlzma
4269CREATE_OPERATOR_CLASS.7.gz lzless unlzma.1.gz
4270CREATE_OPERATOR_FAMILY.7.gz lzless.1.gz UPDATE.7.gz
4271CREATE_POLICY.7.gz lzma updatedb
4272CREATE_ROLE.7.gz lzma.1.gz updatedb.8.gz
4273CREATE_RULE.7.gz lzmore VACUUM.7.gz
4274CREATE_SCHEMA.7.gz lzmore.1.gz vacuumdb.1.gz
4275CREATE_SEQUENCE.7.gz mail vacuumlo.1.gz
4276CREATE_SERVER.7.gz Mail VALUES.7.gz
4277CREATE_TABLE.7.gz mail.1.gz vi
4278CREATE_TABLE_AS.7.gz Mail.1.gz vi.1.gz
4279CREATE_TABLESPACE.7.gz mailx view
4280CREATE_TEXT_SEARCH_CONFIGURATION.7.gz mailx.1.gz view.1.gz
4281CREATE_TEXT_SEARCH_DICTIONARY.7.gz MOVE.7.gz view.fr.1.gz
4282CREATE_TEXT_SEARCH_PARSER.7.gz mt view.it.1.gz
4283CREATE_TEXT_SEARCH_TEMPLATE.7.gz mt.1.gz view.ja.1.gz
4284CREATE_TRANSFORM.7.gz my.cnf view.pl.1.gz
4285CREATE_TRIGGER.7.gz nawk view.ru.1.gz
4286CREATE_TYPE.7.gz nawk.1.gz vi.fr.1.gz
4287createuser.1.gz nc vi.it.1.gz
4288CREATE_USER.7.gz nc.1.gz vi.ja.1.gz
4289CREATE_USER_MAPPING.7.gz netcat vim
4290CREATE_VIEW.7.gz netcat.1.gz vimdiff
4291DEALLOCATE.7.gz netrc.5.gz vi.pl.1.gz
4292DECLARE.7.gz NOTIFY.7.gz vi.ru.1.gz
4293DELETE.7.gz oid2name.1.gz w
4294DISCARD.7.gz pager w.1.gz
4295DO.7.gz pager.1.gz WITH.7.gz
4296DROP_ACCESS_METHOD.7.gz pftp write
4297DROP_AGGREGATE.7.gz pftp.1.gz write.1.gz
4298DROP_CAST.7.gz pg_archivecleanup.1.gz www-browser
4299DROP_COLLATION.7.gz pg_basebackup.1.gz www-browser.1.gz
4300DROP_CONVERSION.7.gz pgbench.1.gz x-terminal-emulator
4301DROP_DATABASE.7.gz pg_controldata.1.gz x-terminal-emulator.1.gz
4302dropdb.1.gz pg_ctl.1.gz
4303debian@paracambi:/etc/alternatives$ ls l-a
4304ls: não foi possÃvel acessar 'l-a': Arquivo ou diretório não encontrado
4305debian@paracambi:/etc/alternatives$ ls -la
4306total 152
4307drwxr-xr-x 2 root root 20480 out 24 17:43 .
4308drwxr-xr-x 101 root root 4096 out 24 17:44 ..
4309lrwxrwxrwx 1 root root 45 out 24 11:33 ABORT.7.gz -> /usr/share/postgresql/9.6/man/man7/ABORT.7.gz
4310lrwxrwxrwx 1 root root 55 out 24 11:33 ALTER_AGGREGATE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_AGGREGATE.7.gz
4311lrwxrwxrwx 1 root root 55 out 24 11:33 ALTER_COLLATION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_COLLATION.7.gz
4312lrwxrwxrwx 1 root root 56 out 24 11:33 ALTER_CONVERSION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_CONVERSION.7.gz
4313lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_DATABASE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_DATABASE.7.gz
4314lrwxrwxrwx 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
4315lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_DOMAIN.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_DOMAIN.7.gz
4316lrwxrwxrwx 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
4317lrwxrwxrwx 1 root root 55 out 24 11:33 ALTER_EXTENSION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_EXTENSION.7.gz
4318lrwxrwxrwx 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
4319lrwxrwxrwx 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
4320lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_FUNCTION.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_FUNCTION.7.gz
4321lrwxrwxrwx 1 root root 51 out 24 11:33 ALTER_GROUP.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_GROUP.7.gz
4322lrwxrwxrwx 1 root root 51 out 24 11:33 ALTER_INDEX.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_INDEX.7.gz
4323lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_LANGUAGE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_LANGUAGE.7.gz
4324lrwxrwxrwx 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
4325lrwxrwxrwx 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
4326lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_OPERATOR.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_OPERATOR.7.gz
4327lrwxrwxrwx 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
4328lrwxrwxrwx 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
4329lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_POLICY.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_POLICY.7.gz
4330lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_ROLE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_ROLE.7.gz
4331lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_RULE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_RULE.7.gz
4332lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_SCHEMA.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_SCHEMA.7.gz
4333lrwxrwxrwx 1 root root 54 out 24 11:33 ALTER_SEQUENCE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_SEQUENCE.7.gz
4334lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_SERVER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_SERVER.7.gz
4335lrwxrwxrwx 1 root root 52 out 24 11:33 ALTER_SYSTEM.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_SYSTEM.7.gz
4336lrwxrwxrwx 1 root root 51 out 24 11:33 ALTER_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TABLE.7.gz
4337lrwxrwxrwx 1 root root 56 out 24 11:33 ALTER_TABLESPACE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TABLESPACE.7.gz
4338lrwxrwxrwx 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
4339lrwxrwxrwx 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
4340lrwxrwxrwx 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
4341lrwxrwxrwx 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
4342lrwxrwxrwx 1 root root 53 out 24 11:33 ALTER_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TRIGGER.7.gz
4343lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_TYPE.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_TYPE.7.gz
4344lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_USER.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_USER.7.gz
4345lrwxrwxrwx 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
4346lrwxrwxrwx 1 root root 50 out 24 11:33 ALTER_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/ALTER_VIEW.7.gz
4347lrwxrwxrwx 1 root root 47 out 24 11:33 ANALYZE.7.gz -> /usr/share/postgresql/9.6/man/man7/ANALYZE.7.gz
4348lrwxrwxrwx 1 root root 24 ago 26 2016 aptitude -> /usr/bin/aptitude-curses
4349lrwxrwxrwx 1 root root 40 ago 26 2016 aptitude.8.gz -> /usr/share/man/man8/aptitude-curses.8.gz
4350lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.cs.8.gz -> /usr/share/man/cs/man8/aptitude-curses.8.gz
4351lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.de.8.gz -> /usr/share/man/de/man8/aptitude-curses.8.gz
4352lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.es.8.gz -> /usr/share/man/es/man8/aptitude-curses.8.gz
4353lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.fi.8.gz -> /usr/share/man/fi/man8/aptitude-curses.8.gz
4354lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.fr.8.gz -> /usr/share/man/fr/man8/aptitude-curses.8.gz
4355lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.gl.8.gz -> /usr/share/man/gl/man8/aptitude-curses.8.gz
4356lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.it.8.gz -> /usr/share/man/it/man8/aptitude-curses.8.gz
4357lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.ja.8.gz -> /usr/share/man/ja/man8/aptitude-curses.8.gz
4358lrwxrwxrwx 1 root root 43 ago 26 2016 aptitude.pl.8.gz -> /usr/share/man/pl/man8/aptitude-curses.8.gz
4359lrwxrwxrwx 1 root root 13 out 24 16:18 awk -> /usr/bin/gawk
4360lrwxrwxrwx 1 root root 29 out 24 16:18 awk.1.gz -> /usr/share/man/man1/gawk.1.gz
4361lrwxrwxrwx 1 root root 45 out 24 11:33 BEGIN.7.gz -> /usr/share/postgresql/9.6/man/man7/BEGIN.7.gz
4362lrwxrwxrwx 1 root root 38 ago 1 2017 builtins.7.gz -> /usr/share/man/man7/bash-builtins.7.gz
4363lrwxrwxrwx 1 root root 12 out 5 11:07 c++ -> /usr/bin/g++
4364lrwxrwxrwx 1 root root 16 out 5 11:06 c89 -> /usr/bin/c89-gcc
4365lrwxrwxrwx 1 root root 32 out 5 11:06 c89.1.gz -> /usr/share/man/man1/c89-gcc.1.gz
4366lrwxrwxrwx 1 root root 16 out 5 11:06 c99 -> /usr/bin/c99-gcc
4367lrwxrwxrwx 1 root root 32 out 5 11:06 c99.1.gz -> /usr/share/man/man1/c99-gcc.1.gz
4368lrwxrwxrwx 1 root root 12 out 5 11:06 cc -> /usr/bin/gcc
4369lrwxrwxrwx 1 root root 50 out 24 11:33 CHECKPOINT.7.gz -> /usr/share/postgresql/9.6/man/man7/CHECKPOINT.7.gz
4370lrwxrwxrwx 1 root root 45 out 24 11:33 CLOSE.7.gz -> /usr/share/postgresql/9.6/man/man7/CLOSE.7.gz
4371lrwxrwxrwx 1 root root 47 out 24 11:33 CLUSTER.7.gz -> /usr/share/postgresql/9.6/man/man7/CLUSTER.7.gz
4372lrwxrwxrwx 1 root root 49 out 24 11:33 clusterdb.1.gz -> /usr/share/postgresql/9.6/man/man1/clusterdb.1.gz
4373lrwxrwxrwx 1 root root 47 out 24 11:33 COMMENT.7.gz -> /usr/share/postgresql/9.6/man/man7/COMMENT.7.gz
4374lrwxrwxrwx 1 root root 46 out 24 11:33 COMMIT.7.gz -> /usr/share/postgresql/9.6/man/man7/COMMIT.7.gz
4375lrwxrwxrwx 1 root root 55 out 24 11:33 COMMIT_PREPARED.7.gz -> /usr/share/postgresql/9.6/man/man7/COMMIT_PREPARED.7.gz
4376lrwxrwxrwx 1 root root 44 out 24 11:33 COPY.7.gz -> /usr/share/postgresql/9.6/man/man7/COPY.7.gz
4377lrwxrwxrwx 1 root root 12 out 5 11:06 cpp -> /usr/bin/cpp
4378lrwxrwxrwx 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
4379lrwxrwxrwx 1 root root 56 out 24 11:33 CREATE_AGGREGATE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_AGGREGATE.7.gz
4380lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_CAST.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_CAST.7.gz
4381lrwxrwxrwx 1 root root 56 out 24 11:33 CREATE_COLLATION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_COLLATION.7.gz
4382lrwxrwxrwx 1 root root 57 out 24 11:33 CREATE_CONVERSION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_CONVERSION.7.gz
4383lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_DATABASE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_DATABASE.7.gz
4384lrwxrwxrwx 1 root root 48 out 24 11:33 createdb.1.gz -> /usr/share/postgresql/9.6/man/man1/createdb.1.gz
4385lrwxrwxrwx 1 root root 53 out 24 11:33 CREATE_DOMAIN.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_DOMAIN.7.gz
4386lrwxrwxrwx 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
4387lrwxrwxrwx 1 root root 56 out 24 11:33 CREATE_EXTENSION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_EXTENSION.7.gz
4388lrwxrwxrwx 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
4389lrwxrwxrwx 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
4390lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_FUNCTION.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_FUNCTION.7.gz
4391lrwxrwxrwx 1 root root 52 out 24 11:33 CREATE_GROUP.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_GROUP.7.gz
4392lrwxrwxrwx 1 root root 52 out 24 11:33 CREATE_INDEX.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_INDEX.7.gz
4393lrwxrwxrwx 1 root root 50 out 24 11:33 createlang.1.gz -> /usr/share/postgresql/9.6/man/man1/createlang.1.gz
4394lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_LANGUAGE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_LANGUAGE.7.gz
4395lrwxrwxrwx 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
4396lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_OPERATOR.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_OPERATOR.7.gz
4397lrwxrwxrwx 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
4398lrwxrwxrwx 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
4399lrwxrwxrwx 1 root root 53 out 24 11:33 CREATE_POLICY.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_POLICY.7.gz
4400lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_ROLE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_ROLE.7.gz
4401lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_RULE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_RULE.7.gz
4402lrwxrwxrwx 1 root root 53 out 24 11:33 CREATE_SCHEMA.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_SCHEMA.7.gz
4403lrwxrwxrwx 1 root root 55 out 24 11:33 CREATE_SEQUENCE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_SEQUENCE.7.gz
4404lrwxrwxrwx 1 root root 53 out 24 11:33 CREATE_SERVER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_SERVER.7.gz
4405lrwxrwxrwx 1 root root 52 out 24 11:33 CREATE_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TABLE.7.gz
4406lrwxrwxrwx 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
4407lrwxrwxrwx 1 root root 57 out 24 11:33 CREATE_TABLESPACE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TABLESPACE.7.gz
4408lrwxrwxrwx 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
4409lrwxrwxrwx 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
4410lrwxrwxrwx 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
4411lrwxrwxrwx 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
4412lrwxrwxrwx 1 root root 56 out 24 11:33 CREATE_TRANSFORM.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TRANSFORM.7.gz
4413lrwxrwxrwx 1 root root 54 out 24 11:33 CREATE_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TRIGGER.7.gz
4414lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_TYPE.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_TYPE.7.gz
4415lrwxrwxrwx 1 root root 50 out 24 11:33 createuser.1.gz -> /usr/share/postgresql/9.6/man/man1/createuser.1.gz
4416lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_USER.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_USER.7.gz
4417lrwxrwxrwx 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
4418lrwxrwxrwx 1 root root 51 out 24 11:33 CREATE_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/CREATE_VIEW.7.gz
4419lrwxrwxrwx 1 root root 50 out 24 11:33 DEALLOCATE.7.gz -> /usr/share/postgresql/9.6/man/man7/DEALLOCATE.7.gz
4420lrwxrwxrwx 1 root root 47 out 24 11:33 DECLARE.7.gz -> /usr/share/postgresql/9.6/man/man7/DECLARE.7.gz
4421lrwxrwxrwx 1 root root 46 out 24 11:33 DELETE.7.gz -> /usr/share/postgresql/9.6/man/man7/DELETE.7.gz
4422lrwxrwxrwx 1 root root 47 out 24 11:33 DISCARD.7.gz -> /usr/share/postgresql/9.6/man/man7/DISCARD.7.gz
4423lrwxrwxrwx 1 root root 42 out 24 11:33 DO.7.gz -> /usr/share/postgresql/9.6/man/man7/DO.7.gz
4424lrwxrwxrwx 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
4425lrwxrwxrwx 1 root root 54 out 24 11:33 DROP_AGGREGATE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_AGGREGATE.7.gz
4426lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_CAST.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_CAST.7.gz
4427lrwxrwxrwx 1 root root 54 out 24 11:33 DROP_COLLATION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_COLLATION.7.gz
4428lrwxrwxrwx 1 root root 55 out 24 11:33 DROP_CONVERSION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_CONVERSION.7.gz
4429lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_DATABASE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_DATABASE.7.gz
4430lrwxrwxrwx 1 root root 46 out 24 11:33 dropdb.1.gz -> /usr/share/postgresql/9.6/man/man1/dropdb.1.gz
4431lrwxrwxrwx 1 root root 51 out 24 11:33 DROP_DOMAIN.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_DOMAIN.7.gz
4432lrwxrwxrwx 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
4433lrwxrwxrwx 1 root root 54 out 24 11:33 DROP_EXTENSION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_EXTENSION.7.gz
4434lrwxrwxrwx 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
4435lrwxrwxrwx 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
4436lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_FUNCTION.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_FUNCTION.7.gz
4437lrwxrwxrwx 1 root root 50 out 24 11:33 DROP_GROUP.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_GROUP.7.gz
4438lrwxrwxrwx 1 root root 50 out 24 11:33 DROP_INDEX.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_INDEX.7.gz
4439lrwxrwxrwx 1 root root 48 out 24 11:33 droplang.1.gz -> /usr/share/postgresql/9.6/man/man1/droplang.1.gz
4440lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_LANGUAGE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_LANGUAGE.7.gz
4441lrwxrwxrwx 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
4442lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_OPERATOR.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_OPERATOR.7.gz
4443lrwxrwxrwx 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
4444lrwxrwxrwx 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
4445lrwxrwxrwx 1 root root 50 out 24 11:33 DROP_OWNED.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_OWNED.7.gz
4446lrwxrwxrwx 1 root root 51 out 24 11:33 DROP_POLICY.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_POLICY.7.gz
4447lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_ROLE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_ROLE.7.gz
4448lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_RULE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_RULE.7.gz
4449lrwxrwxrwx 1 root root 51 out 24 11:33 DROP_SCHEMA.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_SCHEMA.7.gz
4450lrwxrwxrwx 1 root root 53 out 24 11:33 DROP_SEQUENCE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_SEQUENCE.7.gz
4451lrwxrwxrwx 1 root root 51 out 24 11:33 DROP_SERVER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_SERVER.7.gz
4452lrwxrwxrwx 1 root root 50 out 24 11:33 DROP_TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TABLE.7.gz
4453lrwxrwxrwx 1 root root 55 out 24 11:33 DROP_TABLESPACE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TABLESPACE.7.gz
4454lrwxrwxrwx 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
4455lrwxrwxrwx 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
4456lrwxrwxrwx 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
4457lrwxrwxrwx 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
4458lrwxrwxrwx 1 root root 54 out 24 11:33 DROP_TRANSFORM.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TRANSFORM.7.gz
4459lrwxrwxrwx 1 root root 52 out 24 11:33 DROP_TRIGGER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TRIGGER.7.gz
4460lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_TYPE.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_TYPE.7.gz
4461lrwxrwxrwx 1 root root 48 out 24 11:33 dropuser.1.gz -> /usr/share/postgresql/9.6/man/man1/dropuser.1.gz
4462lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_USER.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_USER.7.gz
4463lrwxrwxrwx 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
4464lrwxrwxrwx 1 root root 49 out 24 11:33 DROP_VIEW.7.gz -> /usr/share/postgresql/9.6/man/man7/DROP_VIEW.7.gz
4465lrwxrwxrwx 1 root root 9 ago 26 2016 editor -> /bin/nano
4466lrwxrwxrwx 1 root root 29 ago 26 2016 editor.1.gz -> /usr/share/man/man1/nano.1.gz
4467lrwxrwxrwx 1 root root 43 out 24 11:33 END.7.gz -> /usr/share/postgresql/9.6/man/man7/END.7.gz
4468lrwxrwxrwx 1 root root 18 out 11 11:02 ex -> /usr/bin/vim.basic
4469lrwxrwxrwx 1 root root 28 out 11 11:02 ex.1.gz -> /usr/share/man/man1/vim.1.gz
4470lrwxrwxrwx 1 root root 47 out 24 11:33 EXECUTE.7.gz -> /usr/share/postgresql/9.6/man/man7/EXECUTE.7.gz
4471lrwxrwxrwx 1 root root 31 out 11 11:02 ex.fr.1.gz -> /usr/share/man/fr/man1/vim.1.gz
4472lrwxrwxrwx 1 root root 31 out 11 11:02 ex.it.1.gz -> /usr/share/man/it/man1/vim.1.gz
4473lrwxrwxrwx 1 root root 31 out 11 11:02 ex.ja.1.gz -> /usr/share/man/ja/man1/vim.1.gz
4474lrwxrwxrwx 1 root root 31 out 11 11:02 ex.pl.1.gz -> /usr/share/man/pl/man1/vim.1.gz
4475lrwxrwxrwx 1 root root 47 out 24 11:33 EXPLAIN.7.gz -> /usr/share/postgresql/9.6/man/man7/EXPLAIN.7.gz
4476lrwxrwxrwx 1 root root 31 out 11 11:02 ex.ru.1.gz -> /usr/share/man/ru/man1/vim.1.gz
4477lrwxrwxrwx 1 root root 35 out 5 11:06 faked.1.gz -> /usr/share/man/man1/faked-sysv.1.gz
4478lrwxrwxrwx 1 root root 38 out 5 11:06 faked.es.1.gz -> /usr/share/man/es/man1/faked-sysv.1.gz
4479lrwxrwxrwx 1 root root 38 out 5 11:06 faked.fr.1.gz -> /usr/share/man/fr/man1/faked-sysv.1.gz
4480lrwxrwxrwx 1 root root 38 out 5 11:06 faked.sv.1.gz -> /usr/share/man/sv/man1/faked-sysv.1.gz
4481lrwxrwxrwx 1 root root 22 out 5 11:06 fakeroot -> /usr/bin/fakeroot-sysv
4482lrwxrwxrwx 1 root root 38 out 5 11:06 fakeroot.1.gz -> /usr/share/man/man1/fakeroot-sysv.1.gz
4483lrwxrwxrwx 1 root root 41 out 5 11:06 fakeroot.es.1.gz -> /usr/share/man/es/man1/fakeroot-sysv.1.gz
4484lrwxrwxrwx 1 root root 41 out 5 11:06 fakeroot.fr.1.gz -> /usr/share/man/fr/man1/fakeroot-sysv.1.gz
4485lrwxrwxrwx 1 root root 41 out 5 11:06 fakeroot.sv.1.gz -> /usr/share/man/sv/man1/fakeroot-sysv.1.gz
4486lrwxrwxrwx 1 root root 45 out 24 11:33 FETCH.7.gz -> /usr/share/postgresql/9.6/man/man7/FETCH.7.gz
4487lrwxrwxrwx 1 root root 17 ago 26 2016 from -> /usr/bin/bsd-from
4488lrwxrwxrwx 1 root root 33 ago 26 2016 from.1.gz -> /usr/share/man/man1/bsd-from.1.gz
4489lrwxrwxrwx 1 root root 19 ago 1 2017 ftp -> /usr/bin/netkit-ftp
4490lrwxrwxrwx 1 root root 35 ago 1 2017 ftp.1.gz -> /usr/share/man/man1/netkit-ftp.1.gz
4491lrwxrwxrwx 1 root root 45 out 24 11:33 GRANT.7.gz -> /usr/share/postgresql/9.6/man/man7/GRANT.7.gz
4492lrwxrwxrwx 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
4493lrwxrwxrwx 1 root root 13 ago 26 2016 infobrowser -> /usr/bin/info
4494lrwxrwxrwx 1 root root 29 ago 26 2016 infobrowser.1.gz -> /usr/share/man/man1/info.1.gz
4495lrwxrwxrwx 1 root root 46 out 24 11:33 initdb.1.gz -> /usr/share/postgresql/9.6/man/man1/initdb.1.gz
4496lrwxrwxrwx 1 root root 46 out 24 11:33 INSERT.7.gz -> /usr/share/postgresql/9.6/man/man7/INSERT.7.gz
4497lrwxrwxrwx 1 root root 30 out 24 12:02 java -> /opt/jdk/jdk1.8.0_191/bin/java
4498lrwxrwxrwx 1 root root 31 out 24 12:03 javac -> /opt/jdk/jdk1.8.0_191/bin/javac
4499lrwxrwxrwx 1 root root 15 ago 1 2017 lft -> /usr/bin/lft.db
4500lrwxrwxrwx 1 root root 31 ago 1 2017 lft.1.gz -> /usr/share/man/man1/lft.db.1.gz
4501lrwxrwxrwx 1 root root 47 ago 26 2016 libtxc-dxtn-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0
4502lrwxrwxrwx 1 root root 46 out 24 11:33 LISTEN.7.gz -> /usr/share/postgresql/9.6/man/man7/LISTEN.7.gz
4503lrwxrwxrwx 1 root root 44 out 24 11:33 LOAD.7.gz -> /usr/share/postgresql/9.6/man/man7/LOAD.7.gz
4504lrwxrwxrwx 1 root root 16 ago 1 2017 locate -> /usr/bin/mlocate
4505lrwxrwxrwx 1 root root 32 ago 1 2017 locate.1.gz -> /usr/share/man/man1/mlocate.1.gz
4506lrwxrwxrwx 1 root root 44 out 24 11:33 LOCK.7.gz -> /usr/share/postgresql/9.6/man/man7/LOCK.7.gz
4507lrwxrwxrwx 1 root root 14 ago 26 2016 lzcat -> /usr/bin/xzcat
4508lrwxrwxrwx 1 root root 30 ago 26 2016 lzcat.1.gz -> /usr/share/man/man1/xzcat.1.gz
4509lrwxrwxrwx 1 root root 14 ago 26 2016 lzcmp -> /usr/bin/xzcmp
4510lrwxrwxrwx 1 root root 30 ago 26 2016 lzcmp.1.gz -> /usr/share/man/man1/xzcmp.1.gz
4511lrwxrwxrwx 1 root root 15 ago 26 2016 lzdiff -> /usr/bin/xzdiff
4512lrwxrwxrwx 1 root root 31 ago 26 2016 lzdiff.1.gz -> /usr/share/man/man1/xzdiff.1.gz
4513lrwxrwxrwx 1 root root 16 ago 26 2016 lzegrep -> /usr/bin/xzegrep
4514lrwxrwxrwx 1 root root 32 ago 26 2016 lzegrep.1.gz -> /usr/share/man/man1/xzegrep.1.gz
4515lrwxrwxrwx 1 root root 16 ago 26 2016 lzfgrep -> /usr/bin/xzfgrep
4516lrwxrwxrwx 1 root root 32 ago 26 2016 lzfgrep.1.gz -> /usr/share/man/man1/xzfgrep.1.gz
4517lrwxrwxrwx 1 root root 15 ago 26 2016 lzgrep -> /usr/bin/xzgrep
4518lrwxrwxrwx 1 root root 31 ago 26 2016 lzgrep.1.gz -> /usr/share/man/man1/xzgrep.1.gz
4519lrwxrwxrwx 1 root root 15 ago 26 2016 lzless -> /usr/bin/xzless
4520lrwxrwxrwx 1 root root 31 ago 26 2016 lzless.1.gz -> /usr/share/man/man1/xzless.1.gz
4521lrwxrwxrwx 1 root root 11 ago 26 2016 lzma -> /usr/bin/xz
4522lrwxrwxrwx 1 root root 27 ago 26 2016 lzma.1.gz -> /usr/share/man/man1/xz.1.gz
4523lrwxrwxrwx 1 root root 15 ago 26 2016 lzmore -> /usr/bin/xzmore
4524lrwxrwxrwx 1 root root 31 ago 26 2016 lzmore.1.gz -> /usr/share/man/man1/xzmore.1.gz
4525lrwxrwxrwx 1 root root 18 ago 26 2016 mail -> /usr/bin/bsd-mailx
4526lrwxrwxrwx 1 root root 18 ago 26 2016 Mail -> /usr/bin/bsd-mailx
4527lrwxrwxrwx 1 root root 34 ago 26 2016 mail.1.gz -> /usr/share/man/man1/bsd-mailx.1.gz
4528lrwxrwxrwx 1 root root 34 ago 26 2016 Mail.1.gz -> /usr/share/man/man1/bsd-mailx.1.gz
4529lrwxrwxrwx 1 root root 18 ago 26 2016 mailx -> /usr/bin/bsd-mailx
4530lrwxrwxrwx 1 root root 34 ago 26 2016 mailx.1.gz -> /usr/share/man/man1/bsd-mailx.1.gz
4531lrwxrwxrwx 1 root root 44 out 24 11:33 MOVE.7.gz -> /usr/share/postgresql/9.6/man/man7/MOVE.7.gz
4532lrwxrwxrwx 1 root root 11 ago 26 2016 mt -> /bin/mt-gnu
4533lrwxrwxrwx 1 root root 31 ago 26 2016 mt.1.gz -> /usr/share/man/man1/mt-gnu.1.gz
4534lrwxrwxrwx 1 root root 22 out 24 17:43 my.cnf -> /etc/mysql/mariadb.cnf
4535lrwxrwxrwx 1 root root 13 out 24 16:18 nawk -> /usr/bin/gawk
4536lrwxrwxrwx 1 root root 29 out 24 16:18 nawk.1.gz -> /usr/share/man/man1/gawk.1.gz
4537lrwxrwxrwx 1 root root 19 ago 26 2016 nc -> /bin/nc.traditional
4538lrwxrwxrwx 1 root root 39 ago 26 2016 nc.1.gz -> /usr/share/man/man1/nc.traditional.1.gz
4539lrwxrwxrwx 1 root root 19 ago 26 2016 netcat -> /bin/nc.traditional
4540lrwxrwxrwx 1 root root 39 ago 26 2016 netcat.1.gz -> /usr/share/man/man1/nc.traditional.1.gz
4541lrwxrwxrwx 1 root root 37 ago 1 2017 netrc.5.gz -> /usr/share/man/man5/netkit-netrc.5.gz
4542lrwxrwxrwx 1 root root 46 out 24 11:33 NOTIFY.7.gz -> /usr/share/postgresql/9.6/man/man7/NOTIFY.7.gz
4543lrwxrwxrwx 1 root root 48 out 24 11:33 oid2name.1.gz -> /usr/share/postgresql/9.6/man/man1/oid2name.1.gz
4544lrwxrwxrwx 1 root root 9 ago 26 2016 pager -> /bin/less
4545lrwxrwxrwx 1 root root 29 ago 26 2016 pager.1.gz -> /usr/share/man/man1/less.1.gz
4546lrwxrwxrwx 1 root root 19 ago 1 2017 pftp -> /usr/bin/netkit-ftp
4547lrwxrwxrwx 1 root root 35 ago 1 2017 pftp.1.gz -> /usr/share/man/man1/netkit-ftp.1.gz
4548lrwxrwxrwx 1 root root 57 out 24 11:33 pg_archivecleanup.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_archivecleanup.1.gz
4549lrwxrwxrwx 1 root root 53 out 24 11:33 pg_basebackup.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_basebackup.1.gz
4550lrwxrwxrwx 1 root root 47 out 24 11:33 pgbench.1.gz -> /usr/share/postgresql/9.6/man/man1/pgbench.1.gz
4551lrwxrwxrwx 1 root root 54 out 24 11:33 pg_controldata.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_controldata.1.gz
4552lrwxrwxrwx 1 root root 46 out 24 11:33 pg_ctl.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_ctl.1.gz
4553lrwxrwxrwx 1 root root 47 out 24 11:33 pg_dump.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_dump.1.gz
4554lrwxrwxrwx 1 root root 50 out 24 11:33 pg_dumpall.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_dumpall.1.gz
4555lrwxrwxrwx 1 root root 50 out 24 11:33 pg_isready.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_isready.1.gz
4556lrwxrwxrwx 1 root root 54 out 24 11:33 pg_receivexlog.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_receivexlog.1.gz
4557lrwxrwxrwx 1 root root 54 out 24 11:33 pg_recvlogical.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_recvlogical.1.gz
4558lrwxrwxrwx 1 root root 52 out 24 11:33 pg_resetxlog.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_resetxlog.1.gz
4559lrwxrwxrwx 1 root root 50 out 24 11:33 pg_restore.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_restore.1.gz
4560lrwxrwxrwx 1 root root 49 out 24 11:33 pg_rewind.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_rewind.1.gz
4561lrwxrwxrwx 1 root root 50 out 24 11:33 pg_standby.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_standby.1.gz
4562lrwxrwxrwx 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
4563lrwxrwxrwx 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
4564lrwxrwxrwx 1 root root 50 out 24 11:33 pg_upgrade.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_upgrade.1.gz
4565lrwxrwxrwx 1 root root 51 out 24 11:33 pg_xlogdump.1.gz -> /usr/share/postgresql/9.6/man/man1/pg_xlogdump.1.gz
4566lrwxrwxrwx 1 root root 16 out 24 16:14 phar -> /usr/bin/phar7.0
4567lrwxrwxrwx 1 root root 32 out 24 16:14 phar.1.gz -> /usr/share/man/man1/phar7.0.1.gz
4568lrwxrwxrwx 1 root root 21 out 24 16:14 phar.phar -> /usr/bin/phar.phar7.0
4569lrwxrwxrwx 1 root root 37 out 24 16:14 phar.phar.1.gz -> /usr/share/man/man1/phar.phar7.0.1.gz
4570lrwxrwxrwx 1 root root 15 out 24 16:14 php -> /usr/bin/php7.0
4571lrwxrwxrwx 1 root root 31 out 24 16:14 php.1.gz -> /usr/share/man/man1/php7.0.1.gz
4572lrwxrwxrwx 1 root root 9 ago 26 2016 pico -> /bin/nano
4573lrwxrwxrwx 1 root root 29 ago 26 2016 pico.1.gz -> /usr/share/man/man1/nano.1.gz
4574lrwxrwxrwx 1 root root 23 ago 26 2016 pinentry -> /usr/bin/pinentry-gtk-2
4575lrwxrwxrwx 1 root root 39 ago 26 2016 pinentry.1.gz -> /usr/share/man/man1/pinentry-gtk-2.1.gz
4576lrwxrwxrwx 1 root root 23 ago 26 2016 pinentry-x11 -> /usr/bin/pinentry-gtk-2
4577lrwxrwxrwx 1 root root 39 ago 26 2016 pinentry-x11.1.gz -> /usr/share/man/man1/pinentry-gtk-2.1.gz
4578lrwxrwxrwx 1 root root 48 out 24 11:33 postgres.1.gz -> /usr/share/postgresql/9.6/man/man1/postgres.1.gz
4579lrwxrwxrwx 1 root root 50 out 24 11:33 postmaster.1.gz -> /usr/share/postgresql/9.6/man/man1/postmaster.1.gz
4580lrwxrwxrwx 1 root root 47 out 24 11:33 PREPARE.7.gz -> /usr/share/postgresql/9.6/man/man7/PREPARE.7.gz
4581lrwxrwxrwx 1 root root 59 out 24 11:33 PREPARE_TRANSACTION.7.gz -> /usr/share/postgresql/9.6/man/man7/PREPARE_TRANSACTION.7.gz
4582lrwxrwxrwx 1 root root 44 out 24 11:33 psql.1.gz -> /usr/share/postgresql/9.6/man/man1/psql.1.gz
4583lrwxrwxrwx 1 root root 12 ago 26 2016 rcp -> /usr/bin/scp
4584lrwxrwxrwx 1 root root 28 ago 26 2016 rcp.1.gz -> /usr/share/man/man1/scp.1.gz
4585-rw-r--r-- 1 root root 100 mai 2 2016 README
4586lrwxrwxrwx 1 root root 54 out 24 11:33 REASSIGN_OWNED.7.gz -> /usr/share/postgresql/9.6/man/man7/REASSIGN_OWNED.7.gz
4587lrwxrwxrwx 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
4588lrwxrwxrwx 1 root root 47 out 24 11:33 REINDEX.7.gz -> /usr/share/postgresql/9.6/man/man7/REINDEX.7.gz
4589lrwxrwxrwx 1 root root 49 out 24 11:33 reindexdb.1.gz -> /usr/share/postgresql/9.6/man/man1/reindexdb.1.gz
4590lrwxrwxrwx 1 root root 57 out 24 11:33 RELEASE_SAVEPOINT.7.gz -> /usr/share/postgresql/9.6/man/man7/RELEASE_SAVEPOINT.7.gz
4591lrwxrwxrwx 1 root root 20 ago 26 2016 rename -> /usr/bin/file-rename
4592lrwxrwxrwx 1 root root 37 ago 26 2016 rename.1.gz -> /usr/share/man/man1/file-rename.1p.gz
4593lrwxrwxrwx 1 root root 45 out 24 11:33 RESET.7.gz -> /usr/share/postgresql/9.6/man/man7/RESET.7.gz
4594lrwxrwxrwx 1 root root 46 out 24 11:33 REVOKE.7.gz -> /usr/share/postgresql/9.6/man/man7/REVOKE.7.gz
4595lrwxrwxrwx 1 root root 15 ago 26 2016 rlogin -> /usr/bin/slogin
4596lrwxrwxrwx 1 root root 31 ago 26 2016 rlogin.1.gz -> /usr/share/man/man1/slogin.1.gz
4597lrwxrwxrwx 1 root root 17 ago 26 2016 rmt -> /usr/sbin/rmt-tar
4598lrwxrwxrwx 1 root root 32 ago 26 2016 rmt.8.gz -> /usr/share/man/man8/rmt-tar.8.gz
4599lrwxrwxrwx 1 root root 48 out 24 11:33 ROLLBACK.7.gz -> /usr/share/postgresql/9.6/man/man7/ROLLBACK.7.gz
4600lrwxrwxrwx 1 root root 57 out 24 11:33 ROLLBACK_PREPARED.7.gz -> /usr/share/postgresql/9.6/man/man7/ROLLBACK_PREPARED.7.gz
4601lrwxrwxrwx 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
4602lrwxrwxrwx 1 root root 12 ago 26 2016 rsh -> /usr/bin/ssh
4603lrwxrwxrwx 1 root root 28 ago 26 2016 rsh.1.gz -> /usr/share/man/man1/ssh.1.gz
4604lrwxrwxrwx 1 root root 18 out 11 11:02 rview -> /usr/bin/vim.basic
4605lrwxrwxrwx 1 root root 18 out 11 11:02 rvim -> /usr/bin/vim.basic
4606lrwxrwxrwx 1 root root 20 out 24 11:33 sar -> /usr/bin/sar.sysstat
4607lrwxrwxrwx 1 root root 36 out 24 11:33 sar.1.gz -> /usr/share/man/man1/sar.sysstat.1.gz
4608lrwxrwxrwx 1 root root 49 out 24 11:33 SAVEPOINT.7.gz -> /usr/share/postgresql/9.6/man/man7/SAVEPOINT.7.gz
4609lrwxrwxrwx 1 root root 54 out 24 11:33 SECURITY_LABEL.7.gz -> /usr/share/postgresql/9.6/man/man7/SECURITY_LABEL.7.gz
4610lrwxrwxrwx 1 root root 46 out 24 11:33 SELECT.7.gz -> /usr/share/postgresql/9.6/man/man7/SELECT.7.gz
4611lrwxrwxrwx 1 root root 51 out 24 11:33 SELECT_INTO.7.gz -> /usr/share/postgresql/9.6/man/man7/SELECT_INTO.7.gz
4612lrwxrwxrwx 1 root root 43 out 24 11:33 SET.7.gz -> /usr/share/postgresql/9.6/man/man7/SET.7.gz
4613lrwxrwxrwx 1 root root 55 out 24 11:33 SET_CONSTRAINTS.7.gz -> /usr/share/postgresql/9.6/man/man7/SET_CONSTRAINTS.7.gz
4614lrwxrwxrwx 1 root root 48 out 24 11:33 SET_ROLE.7.gz -> /usr/share/postgresql/9.6/man/man7/SET_ROLE.7.gz
4615lrwxrwxrwx 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
4616lrwxrwxrwx 1 root root 55 out 24 11:33 SET_TRANSACTION.7.gz -> /usr/share/postgresql/9.6/man/man7/SET_TRANSACTION.7.gz
4617lrwxrwxrwx 1 root root 44 out 24 11:33 SHOW.7.gz -> /usr/share/postgresql/9.6/man/man7/SHOW.7.gz
4618lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-16.png -> /usr/share/icons/gnome/16x16/places/debian-swirl.png
4619lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-22.png -> /usr/share/icons/gnome/22x22/places/debian-swirl.png
4620lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-24.png -> /usr/share/icons/gnome/24x24/places/debian-swirl.png
4621lrwxrwxrwx 1 root root 54 ago 1 2017 start-here-256.png -> /usr/share/icons/gnome/256x256/places/debian-swirl.png
4622lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-32.png -> /usr/share/icons/gnome/32x32/places/debian-swirl.png
4623lrwxrwxrwx 1 root root 52 ago 1 2017 start-here-48.png -> /usr/share/icons/gnome/48x48/places/debian-swirl.png
4624lrwxrwxrwx 1 root root 55 ago 1 2017 start-here.svg -> /usr/share/icons/gnome/scalable/places/debian-swirl.svg
4625lrwxrwxrwx 1 root root 57 out 24 11:33 START_TRANSACTION.7.gz -> /usr/share/postgresql/9.6/man/man7/START_TRANSACTION.7.gz
4626lrwxrwxrwx 1 root root 45 out 24 11:33 TABLE.7.gz -> /usr/share/postgresql/9.6/man/man7/TABLE.7.gz
4627lrwxrwxrwx 1 root root 26 ago 1 2017 tcptraceroute -> /usr/sbin/tcptraceroute.db
4628lrwxrwxrwx 1 root root 41 ago 1 2017 tcptraceroute.8.gz -> /usr/share/man/man8/tcptraceroute.db.8.gz
4629lrwxrwxrwx 1 root root 22 ago 26 2016 telnet -> /usr/bin/telnet.netkit
4630lrwxrwxrwx 1 root root 38 ago 26 2016 telnet.1.gz -> /usr/share/man/man1/telnet.netkit.1.gz
4631lrwxrwxrwx 1 root root 22 ago 1 2017 traceproto -> /usr/bin/traceproto.db
4632lrwxrwxrwx 1 root root 38 ago 1 2017 traceproto.1.gz -> /usr/share/man/man1/traceproto.db.1.gz
4633lrwxrwxrwx 1 root root 22 ago 1 2017 traceroute -> /usr/bin/traceroute.db
4634lrwxrwxrwx 1 root root 38 ago 1 2017 traceroute.1.gz -> /usr/share/man/man1/traceroute.db.1.gz
4635lrwxrwxrwx 1 root root 23 ago 1 2017 traceroute6 -> /usr/bin/traceroute6.db
4636lrwxrwxrwx 1 root root 39 ago 1 2017 traceroute6.1.gz -> /usr/share/man/man1/traceroute6.db.1.gz
4637lrwxrwxrwx 1 root root 22 ago 1 2017 traceroute.sbin -> /usr/bin/traceroute.db
4638lrwxrwxrwx 1 root root 48 out 24 11:33 TRUNCATE.7.gz -> /usr/share/postgresql/9.6/man/man7/TRUNCATE.7.gz
4639lrwxrwxrwx 1 root root 48 out 24 11:33 UNLISTEN.7.gz -> /usr/share/postgresql/9.6/man/man7/UNLISTEN.7.gz
4640lrwxrwxrwx 1 root root 13 ago 26 2016 unlzma -> /usr/bin/unxz
4641lrwxrwxrwx 1 root root 29 ago 26 2016 unlzma.1.gz -> /usr/share/man/man1/unxz.1.gz
4642lrwxrwxrwx 1 root root 46 out 24 11:33 UPDATE.7.gz -> /usr/share/postgresql/9.6/man/man7/UPDATE.7.gz
4643lrwxrwxrwx 1 root root 25 ago 1 2017 updatedb -> /usr/bin/updatedb.mlocate
4644lrwxrwxrwx 1 root root 41 ago 1 2017 updatedb.8.gz -> /usr/share/man/man8/updatedb.mlocate.8.gz
4645lrwxrwxrwx 1 root root 46 out 24 11:33 VACUUM.7.gz -> /usr/share/postgresql/9.6/man/man7/VACUUM.7.gz
4646lrwxrwxrwx 1 root root 48 out 24 11:33 vacuumdb.1.gz -> /usr/share/postgresql/9.6/man/man1/vacuumdb.1.gz
4647lrwxrwxrwx 1 root root 48 out 24 11:33 vacuumlo.1.gz -> /usr/share/postgresql/9.6/man/man1/vacuumlo.1.gz
4648lrwxrwxrwx 1 root root 46 out 24 11:33 VALUES.7.gz -> /usr/share/postgresql/9.6/man/man7/VALUES.7.gz
4649lrwxrwxrwx 1 root root 18 out 11 11:02 vi -> /usr/bin/vim.basic
4650lrwxrwxrwx 1 root root 28 out 11 11:02 vi.1.gz -> /usr/share/man/man1/vim.1.gz
4651lrwxrwxrwx 1 root root 18 out 11 11:02 view -> /usr/bin/vim.basic
4652lrwxrwxrwx 1 root root 28 out 11 11:02 view.1.gz -> /usr/share/man/man1/vim.1.gz
4653lrwxrwxrwx 1 root root 31 out 11 11:02 view.fr.1.gz -> /usr/share/man/fr/man1/vim.1.gz
4654lrwxrwxrwx 1 root root 31 out 11 11:02 view.it.1.gz -> /usr/share/man/it/man1/vim.1.gz
4655lrwxrwxrwx 1 root root 31 out 11 11:02 view.ja.1.gz -> /usr/share/man/ja/man1/vim.1.gz
4656lrwxrwxrwx 1 root root 31 out 11 11:02 view.pl.1.gz -> /usr/share/man/pl/man1/vim.1.gz
4657lrwxrwxrwx 1 root root 31 out 11 11:02 view.ru.1.gz -> /usr/share/man/ru/man1/vim.1.gz
4658lrwxrwxrwx 1 root root 31 out 11 11:02 vi.fr.1.gz -> /usr/share/man/fr/man1/vim.1.gz
4659lrwxrwxrwx 1 root root 31 out 11 11:02 vi.it.1.gz -> /usr/share/man/it/man1/vim.1.gz
4660lrwxrwxrwx 1 root root 31 out 11 11:02 vi.ja.1.gz -> /usr/share/man/ja/man1/vim.1.gz
4661lrwxrwxrwx 1 root root 18 out 11 11:02 vim -> /usr/bin/vim.basic
4662lrwxrwxrwx 1 root root 18 out 11 11:02 vimdiff -> /usr/bin/vim.basic
4663lrwxrwxrwx 1 root root 31 out 11 11:02 vi.pl.1.gz -> /usr/share/man/pl/man1/vim.1.gz
4664lrwxrwxrwx 1 root root 31 out 11 11:02 vi.ru.1.gz -> /usr/share/man/ru/man1/vim.1.gz
4665lrwxrwxrwx 1 root root 17 ago 26 2016 w -> /usr/bin/w.procps
4666lrwxrwxrwx 1 root root 33 ago 26 2016 w.1.gz -> /usr/share/man/man1/w.procps.1.gz
4667lrwxrwxrwx 1 root root 44 out 24 11:33 WITH.7.gz -> /usr/share/postgresql/9.6/man/man7/WITH.7.gz
4668lrwxrwxrwx 1 root root 18 ago 26 2016 write -> /usr/bin/bsd-write
4669lrwxrwxrwx 1 root root 34 ago 26 2016 write.1.gz -> /usr/share/man/man1/bsd-write.1.gz
4670lrwxrwxrwx 1 root root 12 ago 26 2016 www-browser -> /usr/bin/w3m
4671lrwxrwxrwx 1 root root 28 ago 26 2016 www-browser.1.gz -> /usr/share/man/man1/w3m.1.gz
4672lrwxrwxrwx 1 root root 15 ago 26 2016 x-terminal-emulator -> /usr/bin/lxterm
4673lrwxrwxrwx 1 root root 31 ago 26 2016 x-terminal-emulator.1.gz -> /usr/share/man/man1/lxterm.1.gz
4674debian@paracambi:/etc/alternatives$ cd /etc/mysql/
4675debian@paracambi:/etc/mysql$ cd mariadb.conf.d/
4676debian@paracambi:/etc/mysql/mariadb.conf.d$ ls -la
4677total 24
4678drwxr-xr-x 2 root root 4096 out 24 17:43 .
4679drwxr-xr-x 4 debian debian 4096 out 24 17:43 ..
4680-rw-r--r-- 1 root root 677 ago 10 2017 50-client.cnf
4681-rw-r--r-- 1 root root 336 ago 10 2017 50-mysql-clients.cnf
4682-rw-r--r-- 1 root root 1032 ago 10 2017 50-mysqld_safe.cnf
4683-rw-r--r-- 1 root root 3719 ago 10 2017 50-server.cnf
4684debian@paracambi:/etc/mysql/mariadb.conf.d$ cd ..
4685debian@paracambi:/etc/mysql$ ls
4686conf.d debian.cnf debian-start mariadb.cnf mariadb.conf.d my.cnf my.cnf.fallback
4687debian@paracambi:/etc/mysql$ ls -la
4688total 32
4689drwxr-xr-x 4 debian debian 4096 out 24 17:43 .
4690drwxr-xr-x 101 root root 4096 out 24 17:44 ..
4691drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
4692-rw------- 1 root root 277 out 24 17:43 debian.cnf
4693-rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
4694-rw-r--r-- 1 debian debian 869 ago 10 2017 mariadb.cnf
4695drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
4696lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
4697-rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
4698debian@paracambi:/etc/mysql$ chmod 777 mariadb.cnf
4699debian@paracambi:/etc/mysql$ ls -la
4700total 32
4701drwxr-xr-x 4 debian debian 4096 out 24 17:43 .
4702drwxr-xr-x 101 root root 4096 out 24 17:44 ..
4703drwxr-xr-x 2 root root 4096 out 24 17:43 conf.d
4704-rw------- 1 root root 277 out 24 17:43 debian.cnf
4705-rwxr-xr-x 1 root root 1509 ago 10 2017 debian-start
4706-rwxrwxrwx 1 debian debian 869 ago 10 2017 mariadb.cnf
4707drwxr-xr-x 2 root root 4096 out 24 17:43 mariadb.conf.d
4708lrwxrwxrwx 1 root root 24 out 24 17:43 my.cnf -> /etc/alternatives/my.cnf
4709-rw-r--r-- 1 root root 839 jul 9 2016 my.cnf.fallback
4710debian@paracambi:/etc/mysql$ mysql_secure_installation
4711Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
4712
4713NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
4714 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
4715
4716In order to log into MariaDB to secure it, we'll need the current
4717password for the root user. If you've just installed MariaDB, and
4718you haven't set the root password yet, the password will be blank,
4719so you should just press enter here.
4720
4721Enter current password for root (enter for none):
4722ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4723Enter current password for root (enter for none):
4724Aborting!
4725
4726Cleaning up...
4727debian@paracambi:/etc/mysql$ ^C
4728debian@paracambi:/etc/mysql$ ^C
4729debian@paracambi:/etc/mysql$ ^C
4730debian@paracambi:/etc/mysql$ ^C
4731debian@paracambi:/etc/mysql$ top
4732
4733top - 17:49:04 up 20 days, 2:31, 1 user, load average: 0,01, 0,03, 0,00
4734Tasks: 140 total, 1 running, 139 sleeping, 0 stopped, 0 zombie
4735%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
4736KiB Mem : 1020384 total, 128120 free, 261272 used, 630992 buff/cache
4737KiB Swap: 1949692 total, 1937032 free, 12660 used. 559048 avail Mem
4738
4739 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4740 1560 debian 20 0 44920 3736 3096 R 6,2 0,4 0:00.02 top
4741 1 root 20 0 204864 6004 4336 S 0,0 0,6 0:20.86 systemd
4742 2 root 20 0 0 0 0 S 0,0 0,0 0:00.24 kthreadd
4743 3 root 20 0 0 0 0 S 0,0 0,0 0:18.17 ksoftirqd/0
4744 5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
4745 7 root 20 0 0 0 0 S 0,0 0,0 2:43.10 rcu_sched
4746 8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
4747 9 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
4748 10 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 lru-add-drain
4749 11 root rt 0 0 0 0 S 0,0 0,0 0:03.98 watchdog/0
4750 12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
4751 13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
4752 14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
4753 15 root 20 0 0 0 0 S 0,0 0,0 0:01.28 khungtaskd
4754 16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
4755 17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
4756 18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcompactd0
4757 19 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
4758 21 root 39 19 0 0 0 S 0,0 0,0 0:00.10 khugepaged
4759 22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
4760 23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
4761 24 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
4762 25 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
4763 26 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 devfreq_wq
4764 27 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 watchdogd
4765 28 root 20 0 0 0 0 S 0,0 0,0 0:03.97 kswapd0
4766 29 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vmstat
4767 41 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
4768 42 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ipv6_addrconf
4769debian@paracambi:/etc/mysql$ ^C
4770debian@paracambi:/etc/mysql$ ^C
4771debian@paracambi:/etc/mysql$ ^C
4772debian@paracambi:/etc/mysql$ ps -aux | grep mysql
4773debian 1567 0.0 0.0 12784 960 pts/0 S+ 17:49 0:00 grep mysql
4774root 26087 0.0 0.3 49328 3692 pts/0 S 16:58 0:00 sudo mysqld_safe --skip-grant-tables
4775root 26088 0.0 0.3 11456 3108 pts/0 S 16:58 0:00 /bin/bash /usr/bin/mysqld_safe --skip-grant-tables
4776mysql 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
4777debian@paracambi:/etc/mysql$ sudo kill -9 26087
4778[1]+ Morto sudo mysqld_safe --skip-grant-tables (wd: ~)
4779(wd agora: /etc/mysql)
4780debian@paracambi:/etc/mysql$ sudo kill -9 26088
4781debian@paracambi:/etc/mysql$ sudo kill -9 26235
4782debian@paracambi:/etc/mysql$ ps -aux | grep mysql
4783debian 1600 0.0 0.0 12784 924 pts/0 S+ 17:49 0:00 grep mysql
4784debian@paracambi:/etc/mysql$ mysql_secure_installation
4785Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
4786
4787NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
4788 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
4789
4790In order to log into MariaDB to secure it, we'll need the current
4791password for the root user. If you've just installed MariaDB, and
4792you haven't set the root password yet, the password will be blank,
4793so you should just press enter here.
4794
4795Enter current password for root (enter for none):
4796ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4797Enter current password for root (enter for none):
4798Aborting!
4799
4800Cleaning up...
4801debian@paracambi:/etc/mysql$ ^C
4802debian@paracambi:/etc/mysql$ ^C
4803debian@paracambi:/etc/mysql$ ^C
4804debian@paracambi:/etc/mysql$ ^C
4805debian@paracambi:/etc/mysql$ cd /var/run/mysqld/
4806debian@paracambi:/var/run/mysqld$ ls
4807debian@paracambi:/var/run/mysqld$ ls -la
4808total 0
4809drwxr-xr-x 2 mysql root 40 out 24 17:43 .
4810drwxr-xr-x 26 root root 960 out 24 17:43 ..
4811debian@paracambi:/var/run/mysqld$ ls -la
4812total 0
4813drwxr-xr-x 2 mysql root 40 out 24 17:43 .
4814drwxr-xr-x 26 root root 960 out 24 17:43 ..
4815debian@paracambi:/var/run/mysqld$ cd ..
4816debian@paracambi:/var/run$ ls -la
4817total 44
4818drwxr-xr-x 26 root root 960 out 24 17:43 .
4819drwxr-xr-x 22 root root 4096 out 17 06:56 ..
4820-rw-r--r-- 1 root root 4 out 4 15:18 acpid.pid
4821srw-rw-rw- 1 root root 0 out 4 15:18 acpid.socket
4822-rw------- 1 root root 0 out 4 15:18 agetty.reload
4823drwxr-xr-x 2 root root 60 out 24 16:14 apache2
4824-rw-r--r-- 1 root root 4 out 4 15:18 atd.pid
4825drwxr-xr-x 2 root root 60 out 17 06:56 blkid
4826drwxr-xr-x 2 root root 80 out 4 15:18 console-setup
4827-rw-r--r-- 1 root root 4 out 4 15:18 crond.pid
4828---------- 1 root root 0 out 4 15:18 crond.reboot
4829drwxr-xr-x 2 root root 60 out 4 15:18 dbus
4830prw------- 1 root root 0 out 4 15:18 dmeventd-client
4831prw------- 1 root root 0 out 4 15:18 dmeventd-server
4832drwxr-x--- 2 Debian-exim Debian-exim 60 out 4 15:18 exim4
4833drwxr-xr-x 2 root root 140 out 4 15:18 fsck
4834lrwxrwxrwx 1 root root 25 out 4 15:18 initctl -> /run/systemd/initctl/fifo
4835drwxr-xr-x 2 root root 100 out 4 15:18 initramfs
4836drwxrwxrwt 5 root root 120 out 8 15:03 lock
4837drwxr-xr-x 3 root root 60 out 4 15:18 log
4838drwx------ 2 root root 80 out 4 15:18 lvm
4839-rw-r--r-- 1 root root 4 out 4 15:18 lvmetad.pid
4840-rw-r--r-- 1 root root 0 out 5 06:25 mlocate.daily.lock
4841-rw-r--r-- 1 root root 81 out 24 16:57 motd.dynamic
4842drwxr-xr-x 2 root root 60 out 4 15:18 mount
4843drwxr-xr-x 2 mysql root 40 out 24 17:43 mysqld
4844drwxr-xr-x 2 root root 120 out 4 15:18 network
4845-rw-r--r-- 1 root root 3 out 4 15:18 ntpd.pid
4846drwxrwsr-x 3 postgres postgres 120 out 24 11:33 postgresql
4847-rw-r--r-- 1 root root 0 out 17 06:56 reboot-required
4848drwxr-xr-x 2 root root 40 out 4 15:18 rpcbind
4849-r--r--r-- 1 root root 0 out 4 15:18 rpcbind.lock
4850srw-rw-rw- 1 root root 0 out 4 15:18 rpcbind.sock
4851dr-xr-xr-x 11 root root 0 out 4 15:18 rpc_pipefs
4852-rw-r--r-- 1 root root 3 out 4 15:18 rsyslogd.pid
4853drwxr-xr-x 2 root root 40 out 4 15:18 sendsigs.omit.d
4854lrwxrwxrwx 1 root root 8 out 4 15:18 shm -> /dev/shm
4855drwxr-xr-x 2 root root 40 out 4 15:18 sshd
4856-rw-r--r-- 1 root root 4 out 4 15:18 sshd.pid
4857drwxr-xr-x 2 root root 60 out 4 15:18 sysconfig
4858drwxr-xr-x 17 root root 420 out 24 17:43 systemd
4859drwxr-xr-x 2 root root 60 out 4 15:18 tmpfiles.d
4860drwxr-xr-x 7 root root 200 out 17 06:56 udev
4861-rw-r----- 1 root root 0 out 6 06:24 unattended-upgrades.lock
4862-rw-r--r-- 1 root root 48 out 17 06:56 unattended-upgrades.progress
4863drwxr-xr-x 4 root root 80 out 24 16:57 user
4864-rw-rw-r-- 1 root utmp 1920 out 24 16:57 utmp
4865drwxr-xr-x 2 zabbix zabbix 60 out 21 06:25 zabbix
4866debian@paracambi:/var/run$ cd /var/run/mysqld/
4867debian@paracambi:/var/run/mysqld$ ls -lah
4868total 0
4869drwxr-xr-x 2 mysql root 40 out 24 17:43 .
4870drwxr-xr-x 26 root root 960 out 24 17:43 ..
4871debian@paracambi:/var/run/mysqld$ sudo su
4872root@paracambi:/run/mysqld# mvn -version^C
4873root@paracambi:/run/mysqld# exit
4874exit
4875debian@paracambi:/var/run/mysqld$ sudo su
4876root@paracambi:/run/mysqld# mysql_secure_installation
4877Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
4878
4879NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
4880 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
4881
4882In order to log into MariaDB to secure it, we'll need the current
4883password for the root user. If you've just installed MariaDB, and
4884you haven't set the root password yet, the password will be blank,
4885so you should just press enter here.
4886
4887Enter current password for root (enter for none):
4888ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4889Enter current password for root (enter for none):
4890ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4891Enter current password for root (enter for none):
4892Aborting!
4893
4894Cleaning up...
4895root@paracambi:/run/mysqld# ^C
4896root@paracambi:/run/mysqld# ^C
4897root@paracambi:/run/mysqld# ^C
4898root@paracambi:/run/mysqld# ^C
4899root@paracambi:/run/mysqld# ^C
4900root@paracambi:/run/mysqld# ^C
4901root@paracambi:/run/mysqld# mysql -u root
4902Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
4903ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
4904root@paracambi:/run/mysqld# systemctl status
4905â— paracambi
4906 State: degraded
4907 Jobs: 0 queued
4908 Failed: 1 units
4909 Since: Thu 2018-10-04 15:18:08 -03; 2 weeks 6 days ago
4910 CGroup: /
4911 ├─user.slice
4912 │ ├─user-1004.slice
4913 │ │ ├─session-1546.scope
4914 │ │ │ └─7072 /usr/bin/java -Djava.util.logging.config.file=/home/dspace/apache-tomcat-9.0.12/conf/logging.propertie
4915 │ │ └─user@1004.service
4916 │ │ └─init.scope
4917 │ │ ├─6603 /lib/systemd/systemd --user
4918 │ │ └─6604 (sd-pam)
4919 │ └─user-1001.slice
4920 │ ├─session-1570.scope
4921 │ │ ├─ 1727 sudo su
4922 │ │ ├─ 1728 su
4923 │ │ ├─ 1729 bash
4924 │ │ ├─ 1784 systemctl status
4925 │ │ ├─25966 sshd: debian [priv]
4926 │ │ ├─25975 sshd: debian@pts/0
4927 │ │ └─25976 -bash
4928 │ └─user@1001.service
4929 │ └─init.scope
4930 │ ├─25968 /lib/systemd/systemd --user
4931 │ └─25969 (sd-pam)
4932 ├─init.scope
4933 │ └─1 /sbin/init
4934 └─system.slice
4935 ├─lvm2-lvmetad.service
4936 │ └─313 /sbin/lvmetad -f
4937 ├─dbus.service
4938 │ └─536 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
4939 ├─system-postgresql.slice
4940
4941root@paracambi:/run/mysqld# ^C
4942root@paracambi:/run/mysqld# ^C
4943root@paracambi:/run/mysqld# ^C
4944root@paracambi:/run/mysqld# systemctl mysql status
4945Unknown operation mysql.
4946root@paracambi:/run/mysqld# systemctl status mysql
4947â— mariadb.service - MariaDB database server
4948 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
4949 Active: failed (Result: exit-code) since Wed 2018-10-24 17:43:53 -03; 10min ago
4950 Main PID: 1214 (code=exited, status=1/FAILURE)
4951 Status: "MariaDB server is down"
4952
4953out 24 17:43:50 paracambi systemd[1]: Starting MariaDB database server...
4954out 24 17:43:51 paracambi mysqld[1214]: 2018-10-24 17:43:51 140344999359040 [Note] /usr/sbin/mysqld (mysqld 10.1.26-MariaDB-0+
4955out 24 17:43:53 paracambi systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
4956out 24 17:43:53 paracambi systemd[1]: Failed to start MariaDB database server.
4957out 24 17:43:53 paracambi systemd[1]: mariadb.service: Unit entered failed state.
4958out 24 17:43:53 paracambi systemd[1]: mariadb.service: Failed with result 'exit-code'.
4959lines 1-12/12 (END)
4960root@paracambi:/run/mysqld# ^C
4961root@paracambi:/run/mysqld# ^C
4962root@paracambi:/run/mysqld# ^C
4963root@paracambi:/run/mysqld# systemctl start mysql
4964root@paracambi:/run/mysqld# systemctl status
4965â— paracambi
4966 State: running
4967 Jobs: 0 queued
4968 Failed: 0 units
4969 Since: Thu 2018-10-04 15:18:08 -03; 2 weeks 6 days ago
4970 CGroup: /
4971 ├─user.slice
4972 │ ├─user-1004.slice
4973 │ │ ├─session-1546.scope
4974 │ │ │ └─7072 /usr/bin/java -Djava.util.logging.config.file=/home/dspace/apache-tomcat-9.0.12/conf/logging.propertie
4975 │ │ └─user@1004.service
4976 │ │ └─init.scope
4977 │ │ ├─6603 /lib/systemd/systemd --user
4978 │ │ └─6604 (sd-pam)
4979 │ └─user-1001.slice
4980 │ ├─session-1570.scope
4981 │ │ ├─ 1727 sudo su
4982 │ │ ├─ 1728 su
4983 │ │ ├─ 1729 bash
4984 │ │ ├─ 1860 systemctl status
4985 │ │ ├─ 1861 pager
4986 │ │ ├─25966 sshd: debian [priv]
4987 │ │ ├─25975 sshd: debian@pts/0
4988 │ │ └─25976 -bash
4989 │ └─user@1001.service
4990 │ └─init.scope
4991 │ ├─25968 /lib/systemd/systemd --user
4992 │ └─25969 (sd-pam)
4993 ├─init.scope
4994 │ └─1 /sbin/init
4995 └─system.slice
4996 ├─lvm2-lvmetad.service
4997 │ └─313 /sbin/lvmetad -f
4998 ├─dbus.service
4999 │ └─536 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
5000 ├─system-postgresql.slice
5001
5002root@paracambi:/run/mysqld# ^C
5003root@paracambi:/run/mysqld# ^C
5004root@paracambi:/run/mysqld# ^C
5005root@paracambi:/run/mysqld# systemctl start mysql
5006root@paracambi:/run/mysqld# systemctl status msyql
5007Unit msyql.service could not be found.
5008root@paracambi:/run/mysqld# systemctl status mysql
5009â— mariadb.service - MariaDB database server
5010 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
5011 Active: active (running) since Wed 2018-10-24 17:54:42 -03; 14s ago
5012 Process: 1852 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
5013 Process: 1850 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
5014 Process: 1812 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -e
5015 Process: 1808 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
5016 Process: 1804 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
5017 Main PID: 1823 (mysqld)
5018 Status: "Taking your SQL requests now..."
5019 Tasks: 26 (limit: 4915)
5020 CGroup: /system.slice/mariadb.service
5021 └─1823 /usr/sbin/mysqld
5022
5023out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] InnoDB: Highest supported file format is Ba
5024out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] InnoDB: 128 rollback segment(s) are active.
5025out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] InnoDB: Waiting for purge to start
5026out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] InnoDB: Percona XtraDB (http://www.percona
5027out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] Plugin 'FEEDBACK' is disabled.
5028out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140718559422208 [Note] InnoDB: Dumping buffer pool(s) not yet star
5029out 24 17:54:41 paracambi mysqld[1823]: 2018-10-24 17:54:41 140719269810752 [Note] Server socket created on IP: '::'.
5030out 24 17:54:42 paracambi mysqld[1823]: 2018-10-24 17:54:42 140719269810752 [Note] /usr/sbin/mysqld: ready for connections.
5031out 24 17:54:42 paracambi mysqld[1823]: Version: '10.1.26-MariaDB-0+deb9u1' socket: '/var/run/mysqld/mysqld.sock' port: 3306
5032out 24 17:54:42 paracambi systemd[1]: Started MariaDB database server.
5033
5034root@paracambi:/run/mysqld# ^C
5035root@paracambi:/run/mysqld# ^C
5036root@paracambi:/run/mysqld# ^C
5037root@paracambi:/run/mysqld# ^C
5038root@paracambi:/run/mysqld# mysql -u root
5039Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
5040Welcome to the MariaDB monitor. Commands end with ; or \g.
5041Your MariaDB connection id is 2
5042Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
5043
5044Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
5045
5046Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
5047
5048MariaDB [(none)]> Bye
5049root@paracambi:/run/mysqld# mysql_secure_installation
5050Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
5051
5052NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
5053 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
5054
5055In order to log into MariaDB to secure it, we'll need the current
5056password for the root user. If you've just installed MariaDB, and
5057you haven't set the root password yet, the password will be blank,
5058so you should just press enter here.
5059
5060Enter current password for root (enter for none):
5061OK, successfully used password, moving on...
5062
5063Setting the root password ensures that nobody can log into the MariaDB
5064root user without the proper authorisation.
5065
5066Set root password? [Y/n] n
5067 ... skipping.
5068
5069By default, a MariaDB installation has an anonymous user, allowing anyone
5070to log into MariaDB without having to have a user account created for
5071them. This is intended only for testing, and to make the installation
5072go a bit smoother. You should remove them before moving into a
5073production environment.
5074
5075Remove anonymous users? [Y/n] n
5076 ... skipping.
5077
5078Normally, root should only be allowed to connect from 'localhost'. This
5079ensures that someone cannot guess at the root password from the network.
5080
5081Disallow root login remotely? [Y/n] n
5082 ... skipping.
5083
5084By default, MariaDB comes with a database named 'test' that anyone can
5085access. This is also intended only for testing, and should be removed
5086before moving into a production environment.
5087
5088Remove test database and access to it? [Y/n] n
5089 ... skipping.
5090
5091Reloading the privilege tables will ensure that all changes made so far
5092will take effect immediately.
5093
5094Reload privilege tables now? [Y/n] n
5095 ... skipping.
5096
5097Cleaning up...
5098
5099All done! If you've completed all of the above steps, your MariaDB
5100installation should now be secure.
5101
5102Thanks for using MariaDB!
5103root@paracambi:/run/mysqld# n
5104bash: n: comando não encontrado
5105root@paracambi:/run/mysqld#
5106root@paracambi:/run/mysqld#
5107root@paracambi:/run/mysqld#
5108root@paracambi:/run/mysqld#
5109root@paracambi:/run/mysqld#
5110root@paracambi:/run/mysqld# mysql -u root -p
5111Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
5112Enter password:
5113Welcome to the MariaDB monitor. Commands end with ; or \g.
5114Your MariaDB connection id is 4
5115Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
5116
5117Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
5118
5119Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
5120
5121MariaDB [(none)]> CREATE DATABASE joomla_db;
5122Query OK, 1 row affected (0.00 sec)
5123
5124MariaDB [(none)]> CREATE USER joomla@localhost;
5125Query OK, 0 rows affected (0.00 sec)
5126
5127MariaDB [(none)]> SET PASSWORD FOR 'joomla'@'localhost' = PASSWORD("123456");
5128Query OK, 0 rows affected (0.00 sec)
5129
5130MariaDB [(none)]> GRANT ALL PRIVILEGES ON joomla_db.* TO 'joomla'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
5131Query OK, 0 rows affected (0.00 sec)
5132
5133MariaDB [(none)]> FLUSH PRIVILEGES;
5134Query OK, 0 rows affected (0.00 sec)
5135
5136MariaDB [(none)]> exit
5137Bye
5138root@paracambi:/run/mysqld#