vim /etc/sysctl.conf

vm.max_map_count=524288
fs.file-max=131072

vim /etc/security/limits

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

image

ubuntu 20

安裝prometheus prometheus-node-exporter prometheus-alertmanager

apt install prometheus

apt install prometheus-node-exporter

apt install prometheus-alertmanager

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

image

1.line developers

建立帳號選擇Messaging API

創建後點選MessagingAPI,產生token

點選Basic setting, 記住secret

建立config.ini並貼上剛剛記下的

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

image

Create resource

Create VM

to the networking tab

public ip none

public inbound ports none

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

官網

https://dev.maxmind.com/?lang=en

geoipupdate 安裝

https://github.com/maxmind/geoipupdate

GeoIP2 php api

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

Linux wireguard vpn

Wireguard vpn setting

ubuntu linux

Server side

apt install wireguard

cd /etc/wireguard/

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

Screen Shot 2020-04-23 at 4.40.30 PM.png

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

Screen Shot 2020-04-23 at 4.27.05 PM.png

{

    "Version": "2012-10-17",

    "Id": "VPCe and SourceIP",

    "Statement": [

        {

你不懂的宅 發表在 痞客邦 留言(0) 人氣()


/etc/neutron/plugins/ml2/linuxbridge_agent.ini

[linux_bridge]
physical_interface_mappings = provider:eno2,provider2:eno3,provider3:eno4

eno2 mapping to provider(自己命名)這個name

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

openstack 移除次要compute node所造成的機器無法正常建立

openstack compute service list

openstack compute service delete <id>

先備份

mysqldump --all-databases > openstack_backup.sql

你不懂的宅 發表在 痞客邦 留言(0) 人氣()


all bucket files no public access

s3 bucket host restrict setting

{
    "Version": "2012-10-17",
    "Id": "http referer policy example",

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

Screen Shot 2018-12-24 at 6.23.47 PM.png

1.vpn service

2.create customer

3.create viturl private gateway

4.attach vpg to vpc

5.create vpn connection

你不懂的宅 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。