Skip to content

Mattz-P/One-Liner-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One-Liner Scripts Collections

Java 16

wget https://raw.githubusercontent.com/Mattz-P/Java-16-on-ubuntu-one-liner-script/main/ujava16.sh && sudo sh ujava16.sh

Swap

wget https://raw.githubusercontent.com/Mattz-P/One-Liner-Script/main/swap.sh && sudo sh swap.sh 4G

Xray - Proxy

wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/wulabing/Xray_onekey/nginx_forward/install.sh" && chmod +x install.sh && bash install.sh

Docker Install:

apt-get update && apt-get install curl -y
curl -fsSL https://get.docker.com > docker_installer.sh
chmod +x ./docker_installer.sh && ./docker_installer.sh

Add VPN to Ubuntu

sudo apt-get update
sudo apt-get install network-manager-strongswan

openssl pkcs12 -in *.p12 -cacerts -nokeys -out ikev2CA.cer
openssl pkcs12 -in *.p12 -clcerts -nokeys -out ikev2.cer
openssl pkcs12 -in *.p12 -nocerts -nodes  -out ikev2.key

What's my IP (Public)

dig @resolver4.opendns.com myip.opendns.com +short

curl ifconfig.me

Mount to D Drive

account=
targetip=
sudo mount -t cifs $account@//$targetip/d /mnt/d

SSL/HTTPS

openssl req -x509 -sha512 -nodes -extensions v3_ca -newkey rsa:4096 -keyout ca-cert-and-key.pem -days 7320 -out ca-cert-and-key.pem

About

Fast convinient script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published