{"batchcomplete":"","continue":{"lecontinue":"20240407230957|1","continue":"-||"},"query":{"logevents":[{"logid":11,"ns":0,"title":"HowTo/PHP","pageid":11,"logpage":11,"revid":28,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-07-01T23:30:41Z","comment":"Criou p\u00e1gina com '{{SUBHEAD}} Desabilitar o xDebug no terminal:  php -dxdebug.mode=off test.php'"},{"logid":10,"ns":0,"title":"HowTo/GitHub","pageid":10,"logpage":10,"revid":27,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-07-01T23:27:19Z","comment":"Criou p\u00e1gina com '==Site== * https://github.com ** https://github.com/WikiPorto ==Instala\u00e7\u00e3o== ===Ubuntu===  sudo apt install git ===Configura\u00e7\u00e3o SSH=== * [https://docs.github.com/en/authentication/connecting-to-github-with-ssh Connecting to GitHub with SSH] ** [https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent Generating a new SSH key and adding it to the ssh-agent]  ssh-keygen -t rsa -C \"your_email@example...'"},{"logid":9,"ns":10,"title":"Predefini\u00e7\u00e3o:NOHEAD","pageid":9,"logpage":9,"revid":26,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-07-01T22:25:18Z","comment":"Criou p\u00e1gina com '<includeonly> {{#css: .action-view .firstHeading { display: none; } }} </includeonly>'"},{"logid":8,"ns":10,"title":"Predefini\u00e7\u00e3o:SUBHEAD","pageid":8,"logpage":8,"revid":24,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-07-01T22:22:19Z","comment":"Criou p\u00e1gina com '<includeonly><div style=\"display:none;\"> __NOEDITSECTION__ __NOTOC__ {{NOHEAD}} </div> ={{SUBPAGENAME}}= </includeonly>'"},{"logid":7,"ns":0,"title":"HowTo","pageid":7,"logpage":7,"revid":23,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-07-01T21:04:30Z","comment":"Criou p\u00e1gina com '__NOCACHE__ {{SUBHEAD}} <p>&nbsp;</p>  {{NewPage|/|break={{{break|}}}|buttonlabel={{{buttonlabel|Criar novo manual}}}}}  ----  {{#treesp:}}'"},{"logid":6,"ns":8,"title":"MediaWiki:Sidebar","pageid":6,"logpage":6,"revid":22,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-07-01T12:05:40Z","comment":"Criou p\u00e1gina com ' * navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** HowTo|HowTo ** helppage|help-mediawiki * SEARCH * TOOLBOX * LANGUAGES'"},{"logid":5,"ns":0,"title":"HowTo/MariaDB","pageid":5,"logpage":5,"revid":17,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-06-07T18:40:04Z","comment":"Criou p\u00e1gina com '==Instala\u00e7\u00e3o== <syntaxhighlight lang=\"bash\" style=\"border: 1px solid blue;\"> sudo apt install mariadb-server </syntaxhighlight> ==Configura\u00e7\u00e3o== <syntaxhighlight lang=\"bash\" style=\"border: 1px solid blue;\"> sudo mysql_secure_installation </syntaxhighlight> * Acessar: <syntaxhighlight lang=\"bash\" style=\"border: 1px solid blue;\"> sudo mysql </syntaxhighlight> * Criar o: '''useradmin''' <syntaxhighlight lang=\"bash\" style=\"border: 1px solid blue;\"> CREATE USER 'useradmin...'"},{"logid":4,"ns":0,"title":"HowTo/Apache","pageid":4,"logpage":4,"revid":15,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-06-07T00:13:28Z","comment":"Criou p\u00e1gina com '* Alterar o arquivo: '''/etc/apache2/apache2.conf''' <syntaxhighlight lang=\"bash\" style=\"border: 1px solid blue;\"> #<Directory /var/www/> <Directory /home/*/public_html/> \tOptions Indexes FollowSymLinks \t#AllowOverride None \tAllowOverride All \tRequire all granted </Directory> </syntaxhighlight> * E o arquivo: '''/etc/apache2/sites-enabled/000-default.conf''' <syntaxhighlight lang=\"bash\" style=\"border: 1px solid blue;\"> \t#DocumentRoot /var/www/html \tDocumentRoot /home/<us...'"},{"logid":3,"ns":0,"title":"HowTo/Linux","pageid":3,"logpage":3,"revid":5,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-06-01T20:11:19Z","comment":"Criou p\u00e1gina com '==Geral== * Obter o IP:  ip a * Desligar a m\u00e1quina:  sudo systemctl poweroff * Atualizar pacotes:  sudo apt update  sudo apt upgrade * Remover dependencias de pacotes que j\u00e1 n\u00e3o s\u00e3o mais necess\u00e1rios:  sudo apt autoremove * Limpar o reposit\u00f3rio local de pacotes baixados:  sudo apt autoclean * Instalar pacotes: ** vim  sudo apt install vim * Criar usu\u00e1rio:  adduser '''''<username>''''' ==Debian== * sudo:  su -l  apt install sudo  usermod -aG sudo '''''<username>''''''"},{"logid":2,"ns":10,"title":"Predefini\u00e7\u00e3o:NewPage","pageid":2,"logpage":2,"revid":3,"params":{},"type":"create","action":"create","user":"Porto","timestamp":"2024-06-01T15:20:49Z","comment":"Criou p\u00e1gina com '<includeonly><div style=\"display:none;\"> __NOCACHE__ </div><loggedin>{{#tag:inputbox| type=create width={{{width|}}} break={{{break|no}}} buttonlabel={{{buttonlabel|}}} prefix={{#ifeq:{{{1|}}}|/|{{PAGENAME}}/|{{{1|}}}/}} preload={{#ifeq:{{{1|}}}|/|Template:{{SUBPAGENAME}}Preload}} }}</loggedin> </includeonly>'"}]}}