sudo apt-get install libapache2-mod-proxy-html
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
#!/bin/bash | |
# shellcheck disable=SC1091,SC2164,SC2034,SC1072,SC1073,SC1009 | |
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS, Amazon Linux 2, Fedora, Oracle Linux 8, Arch Linux, Rocky Linux and AlmaLinux. | |
# https://github.com/angristan/openvpn-install | |
function isRoot() { | |
if [ "$EUID" -ne 0 ]; then | |
return 1 | |
fi |
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
File ---> application\controllers\admin\Authentication.php: | |
23: hooks()->do_action('admin_auth_init'); | |
80: hooks()->do_action('after_staff_login'); | |
107: hooks()->do_action('after_staff_login'); | |
117: hooks()->do_action('after_staff_login'); | |
219: hooks()->do_action('after_user_logout'); | |
File ---> application\controllers\admin\Auto_update.php: | |
14: hooks()->do_action('before_perform_update', $latest_version); |
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
Salve Salve Pessoal! | |
Neste post vou mostrar como podemos configurar um pendrive e expandir o nosso sistema de arquivos no OpenWrt, logicamente que para isso precisamos que o nosso dispositivo, tenha uma interface usb. 😉 | |
Vamos entender um pouco mais sobre o sistema de arquivos do OpenWrt, o sistema de arquivos é formado basicamente por duas partições: | |
/ (partição raiz, somente leitura) | |
/overlay (partição de leitura/escrita) |
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
Installation | |
For the easiest installation, have a wired ethernet upstream internet connection to boot-strap this process. You will need: the router, your tethering phone, necessary cables, a laptop and an upstream internet connection via ethernet for initial setup. Instead of a wired upstream connection to plug into the router WAN port, is also possible to download necessary packages below, through your laptop while tethered to your phone, the same way you can get the OpenWrt distribution for your router. That is not covered in this guide. | |
Once OpenWRT is installed on the router, | |
Install some Kernel packages to get USB tethering support: Go to http://192.168.1.1 and log in to the router. Click on System, Administration, and SSH. Set the 'Interface' to 'LAN', then click 'Save & Apply'. You can now use an SSH client like Putty to connect to the router and issue commands. SSH into the router on 192.168.1.1 and log in. | |
Enter the commands: | |
opkg update |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
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
{"lastUpload":"2020-07-07T02:54:07.432Z","extensionVersion":"v3.4.3"} |