Created
December 22, 2021 11:46
-
-
Save otaciobarbosa/1126c00f813f4077a50e6cfa27ded931 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2 cd /var/www/html/intra/sistemas/banco-imagens/uploads | |
| 3 ls | |
| 4 cd folhetos/ | |
| 5 chmod 777 -R . | |
| 6 ls | |
| 7 rm -f 281 | |
| 8 rm 281 | |
| 9 rm 281 | |
| 10 rm -r 281 | |
| 11 ls | |
| 12 rm -r 281 | |
| 13 rm -r TESTE NOVO | |
| 14 rm -r TESTE\ NOVO/ | |
| 15 LS | |
| 16 ls | |
| 17 ls | |
| 18 rm -r TESTE\ NOVO/ | |
| 19 ls | |
| 20 rm -r FOLHETO\ DE\ ANO\ NOVO/ | |
| 21 cd /var/www/html/ | |
| 22 cd intra | |
| 23 cd sistemas/ | |
| 24 cd banco-imagens/ | |
| 25 cd uploads | |
| 26 ls | |
| 27 cd png | |
| 28 ls | |
| 29 ls | |
| 30 cd .. | |
| 31 cd folhetos/ | |
| 32 chmod 777 -R . | |
| 33 cd /var/www/html/bigmais-folheto-ofertas/layout/ | |
| 34 chmod 755 -R . | |
| 35 cd /var/www/html/bigmais-folheto-ofertas/layout/ | |
| 36 ls | |
| 37 npm install jspdf --save | |
| 38 exit | |
| 39 cd /var/www/ | |
| 40 ls | |
| 41 chmod -R 777 python | |
| 42 çs | |
| 43 ls | |
| 44 cd python/ | |
| 45 ls | |
| 46 py authentication.py | |
| 47 python3 authentication.py | |
| 48 pip3 install mysql.connector | |
| 49 pip3 install mysql | |
| 50 python3 authentication.py | |
| 51 pip3 install mysql.connector | |
| 52 Downloading/unpacking mysql.connector | |
| 53 Could not find any downloads that satisfy the requirement mysql.connector | |
| 54 Cleaning up... | |
| 55 No distributions at all found for mysql.connector | |
| 56 Storing debug log for failure in /root/.pip/pip.log | |
| 57 wget https://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.0.3.zip | |
| 58 pip3 install mysql-connector-python | |
| 59 python3 authentication.py | |
| 60 pip3 install mysql | |
| 61 pip3 install requests | |
| 62 pip3 install --upgrade | |
| 63 pip3 --upgrade | |
| 64 sudo -H pip3 install --upgrade pip | |
| 65 pip3 install --upgrade pip | |
| 66 python3 authentication.py | |
| 67 pip3 authentication.py | |
| 68 whereis python | |
| 69 pip3 install --upgrade pip | |
| 70 pip3 authentication.py | |
| 71 LS | |
| 72 ,S | |
| 73 ls | |
| 74 py authentication.py | |
| 75 -bash: py: comando não encontrado | |
| 76 cat /etc/os-release | |
| 77 apt-get update | |
| 78 apt-get install -y make build-essential libssl-dev \ | |
| 79 apt-get install -y make build-essential libssl-dev \ | |
| 80 apt-get install python3.6 python3.6-venv | |
| 81 apt-get install -y software-properties-common curl | |
| 82 add-apt-repository ppa:deadsnakes/ppa | |
| 83 apt-get update | |
| 84 apt-get install -y python3.6 python3.6-venv apt-get install -y python3.6 python3.6-venv | |
| 85 python3 authentication.py | |
| 86 pip3 install mysql | |
| 87 pip3 install mysql.connector | |
| 88 apt-get install python3-dev default-libmysqlclient-dev build-essential | |
| 89 apt-get install python3-dev default-lib mysqlclient-dev build-essential | |
| 90 pip install mysqlclient | |
| 91 pip3 install mysqlclient | |
| 92 python -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org mysql-connector-python | |
| 93 python3 -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org mysql-connector-python | |
| 94 python3 --version | |
| 95 apt-get update | |
| 96 sudo apt-get clean | |
| 97 apt-get clean | |
| 98 apt-get install -f | |
| 99 dpkg –configure -a | |
| 100 ls | |
| 101 python3 -V | |
| 102 apt update | |
| 103 apt-get clean | |
| 104 apt-get install -f | |
| 105 apt update | |
| 106 apt install -y python3-pip | |
| 107 apt install build-essential libssl-dev libffi-dev python3-dev | |
| 108 apt-get clean && sudo apt-get update | |
| 109 apt-get clean && sudo apt-get update | |
| 110 apt-get clean && apt-get update | |
| 111 apt-get -f install && dpkg --configure -a | |
| 112 dpkg --configure -a | |
| 113 apt update | |
| 114 E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar. | |
| 115 cat /etc/apt/sources.list | |
| 116 vim /etc/apt/sources.list | |
| 117 apt update | |
| 118 ppa-remove | |
| 119 rm /etc/apt/sources.list.d/ppaname-ppa-$(lsb_release -sc).list* | |
| 120 rm /etc/apt/sources.list | |
| 121 apt update | |
| 122 apt-get update && upgrade | |
| 123 add-apt-repository --remove ppa:webupd8team/ppa | |
| 124 add-apt-repository --remove ppa:whatever/ppa | |
| 125 ppa-purge | |
| 126 apt-key list | |
| 127 gedit /etc/apt/sources.list | |
| 128 vim /etc/apt/sources.list | |
| 129 whereis sources.list | |
| 130 whereis sources | |
| 131 shutdown -r 0 | |
| 132 cd /var/www/sh | |
| 133 ls | |
| 134 ./mov-entre-locais.sh | |
| 135 cd /var/www/sh | |
| 136 ls | |
| 137 ./count-stock.sh | |
| 138 ./count-stock.sh | |
| 139 ls | |
| 140 apt-get upgrade | |
| 141 apt-get update | |
| 142 cd /var/www/ | |
| 143 ls | |
| 144 cd python/ | |
| 145 pip | |
| 146 pip install mysql | |
| 147 python3.4 install mysql | |
| 148 python3 install mysql | |
| 149 python3 install mysql | |
| 150 python3 -v | |
| 151 python3.4 -v | |
| 152 apt get upgrad | |
| 153 apt get upgrade | |
| 154 apt-get upgrade | |
| 155 apt-get update | |
| 156 exit | |
| 157 apt-get remove --purge python3.4 | |
| 158 add-apt-repository --remove ppa:fkrull/deadsnakes | |
| 159 apt-get update | |
| 160 apt-get autoremove | |
| 161 apt-get remove python3.4 | |
| 162 whereis python | |
| 163 apt-get remove python2.7 | |
| 164 ls | |
| 165 whereis python | |
| 166 ls | |
| 167 cd /var/www | |
| 168 apt-get remove python2 | |
| 169 apt-get remove python | |
| 170 pt-get autoremove | |
| 171 apt-get autoremove | |
| 172 ls | |
| 173 ls | |
| 174 cd python/ | |
| 175 l | |
| 176 ls | |
| 177 grep . /etc/apt/sources.list.d/* | |
| 178 cd /etc/apt/sources.list.d/ | |
| 179 ls | |
| 180 cat deadsnakes-ppa-jessie.list | |
| 181 rm deadsnakes-ppa-jessie.list | |
| 182 ls | |
| 183 apt-get update | |
| 184 apt-get upgrade | |
| 185 cd /var/www/ | |
| 186 l | |
| 187 ls | |
| 188 cd python/ | |
| 189 ls | |
| 190 apt-get update | |
| 191 apt-get upgrade | |
| 192 sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev | |
| 193 apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev | |
| 194 apt install wget build-essential libreadline-gplv2-dev libncursesw5-dev | |
| 195 apt install wget build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev | |
| 196 wget https://www.python.org/ftp/python/3.9.4/Python-3.9.4.tgz | |
| 197 tar xzf Python-3.9.4.tgz | |
| 198 cd Python-3.9.4 | |
| 199 ./configure --enable-optimizations | |
| 200 make altinstall | |
| 201 python3.9 -V | |
| 202 cd .. | |
| 203 ls | |
| 204 mkdir ifood | |
| 205 ls | |
| 206 mv authentication.py ifood/ | |
| 207 cd ifood/ | |
| 208 ls | |
| 209 py authentication.py | |
| 210 python3 authentication.py | |
| 211 python -v | |
| 212 python3.9 authentication.py | |
| 213 pip3.9 requests | |
| 214 pip3.9 install requests | |
| 215 WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. | |
| 216 pip3.9 install openpyxl | |
| 217 yum install python36-pyOpenSSL | |
| 218 apt-get install libssl-dev | |
| 219 python -m pip install --upgrade pip | |
| 220 python3.9 -m pip install --upgrade pip | |
| 221 apt-get install python3.9-pip | |
| 222 apt-get install python3-pip | |
| 223 apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev | |
| 224 apt-get remove python3.9 | |
| 225 apt-get remove python | |
| 226 whereis python | |
| 227 cd .. | |
| 228 ls | |
| 229 ls | |
| 230 rm -rf Python-3.9.4* | |
| 231 cd /usr/lib/ | |
| 232 ls -l py* | |
| 233 rm -rf python* | |
| 234 ls | |
| 235 whereis python | |
| 236 ls | |
| 237 whereis python | |
| 238 cd /usr/local/bin/ | |
| 239 ls | |
| 240 ls | |
| 241 ls -l pip* | |
| 242 rm pip* | |
| 243 ls | |
| 244 rm *python* | |
| 245 ls | |
| 246 rm pydoc3.9 | |
| 247 ls | |
| 248 rm __pycache__ | |
| 249 rm -r __pycache__ | |
| 250 ls | |
| 251 whereis python | |
| 252 cd /usr/local/lib/ | |
| 253 ls | |
| 254 rm -rf python3* | |
| 255 ls | |
| 256 rm -rf libpython3.9.a | |
| 257 ls | |
| 258 whereisp ython | |
| 259 whereis python | |
| 260 cd /etc/ | |
| 261 ls | |
| 262 rm -r python* | |
| 263 ls | |
| 264 whereis python | |
| 265 cd /var/www/ | |
| 266 ls | |
| 267 cd python/ | |
| 268 ls | |
| 269 apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev | |
| 270 apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libffi-dev libsqlite3-dev wget | |
| 271 apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libssl-dev libffi-dev libsqlite3-dev wget | |
| 272 wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz | |
| 273 tar -xf Python-3.10.*.tgz | |
| 274 cd Python-3.10.*/ | |
| 275 ./configure --enable-optimizations | |
| 276 make -j 4 | |
| 277 make altinstall | |
| 278 python3.10 --version | |
| 279 apt install python3-pip | |
| 280 apt install python3.10-pip | |
| 281 Impossível encontrar o pacote python3-pip | |
| 282 apt install python3-pip -y | |
| 283 d .. | |
| 284 cd .. | |
| 285 ls | |
| 286 cd ifood/ | |
| 287 python3.10 authentication.py | |
| 288 cd .. | |
| 289 cd Python-3.10.0/ | |
| 290 ./configure --prefix=$HOME --enable-shared --enable-optimizations --with-system-expat --with-system-ffi --with-ensurepip=yes | |
| 291 cd .. | |
| 292 ls | |
| 293 cd ifood/ | |
| 294 python3.10 authentication.py | |
| 295 cd /var/www/ | |
| 296 ls | |
| 297 cd node-apps/ | |
| 298 ls | |
| 299 cd api-mov-entre-locais/ | |
| 300 ls | |
| 301 npm start | |
| 302 ps -aux |grep node | |
| 303 ps -aux |grep node | |
| 304 netstat -tulp | |
| 305 shutdown -r | |
| 306 shutdown -r 0 | |
| 307 cd /var/www/html | |
| 308 cd sms | |
| 309 ls | |
| 310 chmod 777 -R sms_solicita.sh | |
| 311 chmod 777 -R sms_solicita.php | |
| 312 cd /var/www/node-apps/api-mov-entre-locais/ | |
| 313 ls | |
| 314 npm start & | |
| 315 kill 8105 | |
| 316 npm start | |
| 317 ps -aux |grep node | |
| 318 kill 8122 | |
| 319 ps -aux |grep node | |
| 320 npm start | |
| 321 ps -aux |grep node | |
| 322 ls | |
| 323 node -v | |
| 324 npm i | |
| 325 npm i --save | |
| 326 npm audit | |
| 327 npm fund | |
| 328 npm start | |
| 329 ls | |
| 330 rm -rf node_modules/ | |
| 331 npm i --save | |
| 332 npm start | |
| 333 ls | |
| 334 node -v | |
| 335 apt-get install nodejs | |
| 336 npm cache clean -f | |
| 337 npm install -g n | |
| 338 n stable | |
| 339 sudo n latest | |
| 340 n latest | |
| 341 apt-get install --reinstall nodejs-legacy # fix /usr/bin/node | |
| 342 node -v | |
| 343 add-apt-repository ppa:chris-lea/node.js | |
| 344 apt-get install curl | |
| 345 apt-get update | |
| 346 apt-get install build-essential checkinstall libssl-dev | |
| 347 curl -o https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash | |
| 348 npm cache clean -f | |
| 349 npm cache clean -f --force | |
| 350 npm install -g n | |
| 351 n stable | |
| 352 apt-get install xz-utils | |
| 353 apt update | |
| 354 npm cache clean -f | |
| 355 npm cache clean --force | |
| 356 npm install -g npm@latest | |
| 357 npm cache clean --force | |
| 358 npm install --force | |
| 359 npm start | |
| 360 n latest | |
| 361 nvm use v17.3.0 | |
| 362 nvm install v17.3.0 | |
| 363 nvm use v17.3.0 | |
| 364 node -v | |
| 365 ks | |
| 366 ls | |
| 367 rm -rf node_modules/ | |
| 368 npm i | |
| 369 npm start | |
| 370 cd bin/ | |
| 371 LS | |
| 372 ls | |
| 373 cat app.js | |
| 374 ls | |
| 375 ls -l | |
| 376 cd .. | |
| 377 ls | |
| 378 ./.env | |
| 379 cat ./.env | |
| 380 ls | |
| 381 cd | |
| 382 cd /var/www/node-apps/api-mov-entre-locais | |
| 383 ls | |
| 384 cd src/ | |
| 385 ls | |
| 386 cat app.js | |
| 387 vim app.js | |
| 388 ls | |
| 389 cd .. | |
| 390 ls | |
| 391 cat app.log | |
| 392 tail -f app.log | |
| 393 cd /var/log/ | |
| 394 l | |
| 395 ls | |
| 396 cat syslog | |
| 397 tail -f syslog | |
| 398 df -h | |
| 399 smb status | |
| 400 cd /etc/samba/ | |
| 401 ks | |
| 402 ls | |
| 403 cat smb.conf | |
| 404 smb start | |
| 405 smbstart | |
| 406 cd /etc/init.d/ | |
| 407 ls | |
| 408 ./samba restart | |
| 409 ./samba start | |
| 410 ifconfig | |
| 411 exit | |
| 412 cd /var/log | |
| 413 ls | |
| 414 cd ~ | |
| 415 ls | |
| 416 whereis node | |
| 417 d /usr/local/bin/node | |
| 418 cd /usr/local/bin/node | |
| 419 cd /root/.nvm/versions/node/v17.3.0/bin/node | |
| 420 cd /root/.nvm/versions/node/v17.3.0/bin | |
| 421 ls | |
| 422 cd .. | |
| 423 ls | |
| 424 cd .. | |
| 425 ls | |
| 426 cd .. | |
| 427 ls | |
| 428 cd .. | |
| 429 ls | |
| 430 cd .. | |
| 431 ls | |
| 432 whereis nvm | |
| 433 cd ~ | |
| 434 ls | |
| 435 nvm uninstall-nvm | |
| 436 rm -rf ~/.nvm | |
| 437 rm -rf ~/.npm | |
| 438 rm -rf ~/.bower | |
| 439 node -v | |
| 440 nvm deactivate | |
| 441 rm -Rf ~/.nvm | |
| 442 node -v | |
| 443 nvm unload | |
| 444 node -v | |
| 445 rm -rf $NVM_DIR ~/.npm ~/.bower | |
| 446 rm -rf ~/.bower | |
| 447 rm -rf ~/.npm | |
| 448 rm -rf ~/.nvm | |
| 449 rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*} | |
| 450 rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp | |
| 451 rm -rf /opt/local/bin/node /opt/local/include/node /opt/local/lib/node_modules | |
| 452 rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node.1 /usr/local/lib/dtrace/node.d | |
| 453 port uninstall nodejs | |
| 454 rm -rf /usr/local/lib/node_modules/npm/ | |
| 455 uninstall node | |
| 456 cleanup --prune-prefix | |
| 457 node -v | |
| 458 node | |
| 459 whereisnode | |
| 460 whereis node | |
| 461 rm -rf /usr/local/share/man/man1/npm* | |
| 462 npm cache clean -f | |
| 463 apt install nodejs | |
| 464 apt update | |
| 465 apt install nodejs | |
| 466 apt-get purge nodejs | |
| 467 curl -sL https://deb.nodesource.com/setup_17.x | sudo -E bash - | |
| 468 curl -sL https://deb.nodesource.com/setup_17.x | -E bash - | |
| 469 curl -sL https://deb.nodesource.com/setup_17.x |bash - | |
| 470 apt-get install -y nodejs | |
| 471 apt purge nodejs | |
| 472 apt install lsb-release | |
| 473 apt install -y nodejs | |
| 474 npm install -g n | |
| 475 apt-get install npm | |
| 476 apt-get install node | |
| 477 apt-get install joe | |
| 478 apt-get install vim | |
| 479 apt-get install sublime | |
| 480 apt-cache policy nodejs | |
| 481 apt install curl | |
| 482 curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash | |
| 483 source ~/.profile | |
| 484 nvm install node | |
| 485 node -v | |
| 486 cd /var/www/ | |
| 487 ls | |
| 488 chmod -R node-apps | |
| 489 chmod -R 777 node-apps | |
| 490 cd node-apps/ | |
| 491 ls | |
| 492 cd api-mov-entre-locais | |
| 493 ls | |
| 494 npm start | |
| 495 node ./bin/app.js > app.log 2>&1 | |
| 496 node ./bin/app.js > app.log 2>&1 | |
| 497 ls | |
| 498 rm app.log | |
| 499 ls | |
| 500 exit | |
| 501 history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment