scp -P 23 user@HOST:indexg.html /home/backup/
[File to get]
[To send file]
touch /usr/local/vesta/bin/v-change-server-ip chmod 0755 /usr/local/vesta/bin/v-change-server-ip nano /usr/local/vesta/bin/v-change-server-ip
#!/bin/sh
#script to change ips on a VestaCP server.
#usage:
# $0 <oldip> <newip>
se a partição já existe adicione-a ao arquivo /etc/fstab e reinicie o PC, exemplo:
$ sudo nano /etc/fstab
ou
$ sudo gedit /etc/fstab
e use uma entrada parecida com essas abaixo, repeitando é lógico, o tipo do sistema de arquivos:
`
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <title>Demo Máscara Telefone</title> | |
| </head> | |
| <body> | |
| Telefone: <input onkeypress="mascaraTelefone(this)"/><br /> | |
| <script> | |
| /* |
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
| teste | |
| dsafsdfsafs |
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
| Solution: Error executing "PutObject" on AWS HTTP error: cURL error 60 localhost site:stackoverflow.com | |
| Folder: vendor\guzzlehttp\guzzle\src\Client.php | |
| Change verify to false. | |
| $defaults = [ | |
| 'allow_redirects' => RedirectMiddleware::$defaultSettings, | |
| 'http_errors' => true, | |
| 'decode_content' => true, |
Solution: Error executing "PutObject" on AWS HTTP error: cURL error 60 localhost
Folder: vendor\guzzlehttp\guzzle\src\Client.php
Change verify to false.
$defaults = [ 'allow_redirects' => RedirectMiddleware::$defaultSettings, 'http_errors' => true, 'decode_content' => true,
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
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| /* CSS */ | |