OS
Ubuntu (24) https://opensearch.org/docs/latest/install-and-configure/install-opensearch/debian/ sudo apt-get update && sudo apt-get -y install lsb-release ca-certificates curl gnupg2curl -o- https://artifacts.opensearch.org/publickeys/open…
Ubuntu (24) https://qiita.com/witchcraze/items/8085273d644f1b09f581 -- インストール apt updateapt install -y valkey-server apt info valkey-server valkey-cli --versionvalkey-server --version systemctl enable valkey-serversystemctl restart v…
Ubuntu (24)https://access.redhat.com/ja/solutions/2159401 cat /proc/cpuinfo | grep -e "physical id" -e "cpu cores" | paste - - | sort | uniq Debian (12) cat /proc/cpuinfo | grep -e "physical id" -e "cpu cores" | paste - - | sort | uniq Cen…
Ubuntu (24) https://zenn.dev/kn64872/articles/9d52673d254637 cat /etc/apt/apt.conf.d/20auto-upgrades sudo sed -i 's/APT::Periodic::Unattended-Upgrade "1";/APT::Periodic::Unattended-Upgrade "0";/' /etc/apt/apt.conf.d/20auto-upgrades cat /et…
Ubuntu (24) cat <<-'EOF' > a.conf HOST=("test@192.168.137.149""test@192.168.137.181") COM=("uname -n""pwd") EOF cat <<-'EOF' > a.sh #!/bin/bash SCRIPT_DIR=$(cd $(dirname $0); pwd)echo ${SCRIPT_DIR}source ${SCRIPT_DIR}/a.conf echo ${#HOST[@…
Ubuntu (22)https://groonga.org/ja/docs/install/ubuntu.html sudo apt -V -y install software-properties-commonsudo add-apt-repository -y universe sudo add-apt-repository -y ppa:groonga/ppasudo apt update sudo apt -V -y install groonga sudo a…
Ubuntu (24)https://zenn.dev/uchidaryo/articles/windows-on-ubuntu-kvmhttps://qiita.com/st10/items/dbe6fa9c20a61af690ba grep -e 'vmx' /proc/cpuinfo apt -y install qemu-kvm libvirt-daemon-system bridge-utils virt-manager libvirt-clients bridg…
Ubuntu (24)https://zenn.dev/kyami/articles/0189f25846bbbahttps://zenn.dev/notrogue/articles/1193d0ab8d8eda wget https://github.com/duckdb/duckdb/releases/download/v1.0.0/duckdb_cli-linux-amd64.zip unzip duckdb_cli-linux-amd64.zip cat <<-'E…
Ubuntu (24) https://atmarkit.itmedia.co.jp/flinux/rensai/linuxtips/175autologout.html export TMOUT=10 Debian (12) export TMOUT=10 CentOS (RL9) export TMOUT=10 Windows Server (2022) https://atmarkit.itmedia.co.jp/ait/articles/0602/11/news01…
Ubuntu (22) https://qiita.com/bmt/items/b16d90730e9e398774f8 sudo apt install -y gcc g++ python-is-python3 python3 python3-devsudo apt install -y python3-setuptools git mercurialsudo apt install -y qt5-default mercurialsudo apt install -y …
Ubuntu (24)https://qiita.com/cointoss1973/items/54ce4967ed2d09c3bbc1https://github.com/cli/cli/blob/trunk/docs/install_linux.mdhttps://qiita.com/ryo2132/items/2a29dd7b1627af064d7b (type -p wget >/dev/null || (sudo apt update && sudo apt-ge…
Ubuntu (22)https://genzouw.com/entry/2020/02/04/140039/1912/https://dampgblog.hinohikari291.com/SedTestCommand/ echo 1234567890 | sed -E ':loop; s/^([0-9]+)([0-9]{3})/\1,\2/; t loop;'; Debian (12)https://genzouw.com/entry/2020/02/04/140039…
Ubuntu (22) https://zenn.dev/zuzuzu/articles/squid_setting sudo apt updatesudo apt install squid sudo nl -b a /etc/squid/squid.conf | grep -Pv "^ *?[0-9]+\t *?#|^ *?[0-9]+\t *?$" # http_access denyの上に追加 sudo vim /etc/squid/squid.conf …
Ubuntu (22) wwho Debian (12) wwho CentOS (RL9) wwho Windows Server (2022) quser query user
Ubuntu (22) 前提: 接続先に鍵登録済 sudo apt -y install pdsh pdsh -L export PDSH_RCMD_TYPE='ssh' pdsh -w 192.168.137.182,192.168.137.169 'id;uname -n' pdsh -w 192.168.137.[182,169] 'id;uname -n' pdsh -w 192.168.137.[182,169] 'id;uname -n' |…
Ubuntu (22)https://ja.linux-console.net/?p=12505 journalctl --list-boots Debian (12) journalctl --list-boots CentOS (RL9) journalctl --list-boots Windows Server (2022) https://sp7pc.com/gadget/tips/62379https://tex2e.github.io/blog/powersh…
Ubuntu (22)https://bacchi.me/linux/detecting-virtualization/ sudo dmidecode -s system-product-name Debian (12) dmidecode -s system-product-name CentOS (RL9) dmidecode -s system-product-name Windows Server (2022) https://win2012r2.com/2022/…
Ubuntu (22) https://qiita.com/n_watanabe/items/1ca89c3a3cf5dc650305https://github.com/aliyun/aliyun-clihttps://github.com/aliyun/aliyun-cli/blob/master/README.md sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/aliyun/aliy…
Ubuntu (22) https://www.ashisuto.co.jp/db_blog/article/N0021_OracleCloud_20200626.htmlhttps://qiita.com/shirok/items/e63be9a22158fef10ba9 ※ 一般ユーザで実行 -- 1. インストール bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci…
Ubuntu (22) https://qiita.com/fsdg-adachi_h/items/f4cdc4039158153365fb -- 1. Java インストール sudo add-apt-repository ppa:linuxuprising/javasudo apt updatesudo apt -y install oracle-java17-installer update-alternatives --config java java …
Ubuntu (22) https://qiita.com/fsdg-adachi_h/items/e35d5a237a2ef278ae0b sudo add-apt-repository ppa:linuxuprising/javasudo apt updatesudo apt -y install oracle-java17-installer update-alternatives --config java java -versionjavac -version v…
Ubuntu (20) -> (22) https://tech.uzabase.com/entry/2022/10/05/163458 cat /etc/os-release sudo do-release-upgrade -c sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt autoremove -y sudo apt autoclean -y sudo reboot コンソール…
Ubuntu (22) YYYYMMDD=$(date "+%Y%m%d") echo $YYYYMMDD HHMMSS=$(date "+%H%M%S") echo $HHMMSS mkdir ${YYYYMMDD}_testdir mkdir ${YYYYMMDD}_${HHMMSS}_testdir Debian (12) YYYYMMDD=$(date "+%Y%m%d") echo $YYYYMMDD HHMMSS=$(date "+%H%M%S") echo $…
Ubuntu https://docs.digdag.io/getting_started.htmlhttps://docs.digdag.io/command_reference.html https://qiita.com/shothym/items/cd5700654c01cf0bfd20https://techblog.zozo.com/entry/digdag-dynamic-workflow-starter (22) -- 1. Java 8インストー…
Ubuntu (22) sudo userdel -r user01sudo useradd -m -d /home/user01 user01 sudo passwd user01 !"#$%&'()=-~^|\`@{}+;*:<>,.?/_ su - user01 全32文字使用可能 Debian (11) sudo userdel -r user01sudo useradd -m -d /home/user01 user01 sudo passwd us…
Ubuntu (22)https://centos.bungu-do.jp/archives/25cdC: dd if=/dev/zero of=dummy.1025M bs=1k count=1049600dd if=/dev/zero of=dummy.1G bs=1k count=1048576dd if=/dev/zero of=dummy.1023M bs=1k count=1047552 find /tmp -type f -size +1Gfind /tmp …
Ubuntu (22)https://developer.hashicorp.com/terraform/downloadshttps://zenn.dev/sway/articles/terraform_biginner_helloworld wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyrin…
Ubuntu (20) https://tech-blog.rakus.co.jp/entry/20221005/rundeckhttps://docs.rundeck.com/docs/administration/install/linux-deb.htmlhttps://dev.classmethod.jp/articles/try-rundeck-job/https://github.com/rundeck/rundeck/issues/4813 システム…
Ubuntu (22)https://qiita.com/sawanoboly/items/461605ab86678053dc8fhttps://www.kwbtblog.com/entry/2022/10/29/073259 -- 1. Base64エンコードデコード echo -n "admin:admin" | base64echo -n "YWRtaW46YWRtaW4=" | base64 -d -- 2. URLエンコードデコ…
Ubuntu (22) https://www.karakaram.com/notes-on-jq-command/https://www.karakaram.com/aggregating-with-jq-command/https://qiita.com/yoza/items/c4c732779a5a10fd3b4c sudo apt install jq JSON=$(cat << EOS[{ "id" : "001", "name" : "job001", "pro…