Linux

How to set environment variable globally on Linux - 在Linux 上如何設定環境變數

Set up Environment Variable for all user on Linux

2024-05-01

How to install PostgreSQL Client psql on AWS VM - 在AWS VM 上如何安裝 PostgreSQL Client

How to install PostgreSQL Client on AWS EC2

2024-01-02

Set environment variables on bash

This post share how to set environment on bash

2022-01-12

apt-get update - public key is not available

嘗試在 Raspbian 上加入 Kali Linux Repository Source List 但是在使用 sudo apt-get update 時卻出現以下的 Error The following signatures couldnt be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6 Reading package lists... Done W: GPG error: http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease: The following signatures couldnt be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6 E: The repository http://http.kali.org/kali kali-rolling InRelease is not signed. N: Updating from such a repository cant be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. ![signatures couldnt be verified because the public key is not available](/media/2021/public-key-not-avaliable-error.png “signatures couldnt be verified because the public key is not available)

2021-03-08

RaspberryPi unzip file via 7Zip

在 Linux / Ubuntu 上如何 unzip a Zip file 解決方法 我們可以安裝 7Zip 之後用 command extract 便可 安裝 7Zip sudo apt-get install p7zip-full install 7zip on linux

2021-02-13

upload copy file via ssh

如何從 local machine 經 ssh 去 copy 檔案到 raspberrypi 上 解決方法十分簡單… 我可以使用 scp command scp [File to Copy] [Destination] scp "C:/Users/Chi/Desktop/kali/wordlist.zip" pi@raspberrypi.local:/home/pi/Documents/wordlists copy file from local machine via ssh to remote

2021-02-12

RaspberryPi how to unzip unrar

如何在 raspbian 上 unzip a rar 檔案 / 安裝 unrar 解決方法: 首先我們要更改 sources.list sudo nano /etc/apt/sources.list sudo nano /etc/apt/sources.list uncomment 以下那一行

2021-02-11

'python' no such file or directory

嘗試安裝 wifite 時出現了一個 python 的 error 'python' no such file or directory ‘python’ no such file or directory

2021-02-08

How to resume SSH session - Ubuntu / RaspberryPi

最近最左塊 RaspberryPi4 諗住用黎比屋企人做 Media Center 但係就咁放係度做 media center 好似有 D 浪費 所以便安裝左 D tools 黎玩 發現有 D tools run 既時候需要 一些時間 但係當你個 ssh connection 斷左之後… 你在 terminal 上執行既 command 亦都會被 cancel 怎樣才可以 reconnect / resume ssh session 呢?

2021-02-06

add-apt-repository: command not found

嘗試加入新的 package repository 時出現了以下 error add-apt-repository: command not found fixed - add-apt-repository: command not found 解決方法: 加了software-properties-common 便可

2021-02-05