install images
set interfaces ethernet eth0 address 10.10.31.200/24
Server 2 sockets,6 cores each, 2.4ghz | |
# Set ixgbe options | |
# Limit RSS queues to the number of physical cores per cpu | |
# Disable offload | |
# When you change this, you need to run the command and reboot for it to take. | |
echo "options ixgbe LRO=0,0 MQ=1,1 RSS=6,6 VMDQ=0,0 vxlan_rx=0,0" > /etc/modprobe.d/ixgbe.conf | |
# Shut down HT cores | |
for i in $(seq 1 2 23); do |
These are some exploits, jailbreaks, tricks, whatever you want to call them I've collected and discovered over time. | |
==== Games and fun stuff ==== | |
== Set up a virtual machine inside GPTs imagination == | |
"I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd." | |
== Play a tabletop RPG with GPT as the dungeon master == | |
"I want you to act as the dungeon master (DM) of a role playing game. Answer and act only in a way that a dungeon master would. | |
You are setting up a role playing game with only one other player. Everything you say as the dungeon master begins with (DM): followed by whatever you want to say. You will regularly ask me, the player, to |
Reference: https://help.ubuntu.com/community/Oracle%20Instant%20Client
Tested on: Ubuntu 18.04, 20.04
Decide which version of the Oracle client to install
Download the Oracle client packages
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).
#!/bin/sh | |
echo 'Installing Oracle Instant Client...' | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get -yq install libaio1 unzip php-dev | |
# See: http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html#ic_x64_inst | |
client_version='12_2' |
#! /bin/bash | |
# Last updated 2018-05-11 | |
# auther: inwdragon | |
APP_VERSION="0.8" | |
echo "# Install TH Sarabun New Font for Ubuntu terminal." | |
echo "# Version $APP_VERSION" | |
echo "" |
Latest revision: 2021-12-05.
Tested on Ubuntu 18.04 Docker container. The Dockerfile is a single line FROM ubuntu:18.04
. Alternatively, you can simply run docker run -it ubuntu:18.04 bash
.
NOTE: stopping services didn't work for me for some reason. That's why there is kill $(pidof <service name>)
after each failed service <service name> stop
to kill it.
คำสั่ง หน้าที่ รายละเอียด | |
File/Directory Basics | |
ls List files แสดงรายชื่อไฟล์และไดเร็คทอรี่ | |
cp Copy files สำเนาไฟล์ | |
mv Rename files เปลี่ยนชื่อไฟล์ | |
rm Delete files ลบไฟล์ | |
ln Link files สร้างไฟล์เชื่อมโยง | |
cd Change directory ย้ายไปยังไดเร็คทอรี่ที่ต้องการ | |
pwd Print current directory name แสดงชื่อไดเร็คทอรี่ปัจจุบัน | |
mkdir Create directory สร้างไดเร็คทอรี่ใหม่ |