Edit sources.list
nano /etc/apt/sources.list
Replace it with:
deb http://ftp.debian.org/debian jessie main contrib
deb http://ftp.debian.org/debian jessie-updates main contrib
deb http://security.debian.org jessie/updates main contrib
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Home</title> | |
<style> | |
body{ | |
margin:0; | |
padding:0; | |
overflow-y:hidden |
<?php | |
// Debug | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
// Connect | |
$conn = mysqli_connect("IP", "USERNAME", "PASSWORD", "DBNAME"); |
Edit sources.list
nano /etc/apt/sources.list
Replace it with:
deb http://ftp.debian.org/debian jessie main contrib
deb http://ftp.debian.org/debian jessie-updates main contrib
deb http://security.debian.org jessie/updates main contrib
Install rclone:
curl https://rclone.org/install.sh | sudo bash
Configure rclone remote:
rclone config
https://console.aws.amazon.com/iam/home#/users
For example, user is arn:aws:iam::AccountA-ID:user/Dave
.
Add as JSON, under permission
tab:
The Oracle Cloud Ubuntu images come with somewhat restrictive iptables rules by default. Docker manages the instance firewall and we have the Oracle Cloud firewall in front, so let's remove the current firewall to avoid trouble:
apt purge netfilter-persistent iptables-persistent
Create the user, replacing example_user with your desired username. You’ll then be asked to assign the user a password:
adduser ubuntu
Add the user to the sudo group so you’ll have administrative privileges:
#!/usr/bin/env bash | |
#Blog:https://www.moerats.com/ | |
Green="\033[32m" | |
Font="\033[0m" | |
Red="\033[31m" | |
#root权限 | |
root_need(){ | |
if [[ $EUID -ne 0 ]]; then |
#! /bin/bash | |
#Block-IPs-from-countries | |
#Github:https://github.com/iiiiiii1/Block-IPs-from-countries | |
#Blog:https://www.moerats.com/ | |
Green="\033[32m" | |
Font="\033[0m" | |
#root权限 | |
root_need(){ |