๋น์ด์๋ ๋๋ฐ์ด์ค ํน์ ํํฐ์ ์ด ์ต์ ํ๋๊ฐ ์กด์ฌํด์ผ ํ๋ค.
sudo cfdisk /dev/sdX
#!/bin/bash | |
# Fix: League of Legends 9.10 Crash after champ select | |
# Reddit: https://www.reddit.com/r/leagueoflinux/comments/bpjxg0/a_proofofconcept_hack_makes_post910_playable_again/ | |
# WineHQ: https://bugs.winehq.org/show_bug.cgi?id=47198 | |
# Assert no files *here* | |
PWD=`pwd` | |
if [ "$(ls -al | wc -l)" -gt "4" ] | |
then | |
echo "Please make current directory clean (no files)" |
#!/bin/bash | |
cd ~/Desktop | |
# --------------------------- | |
## 0. Requirements | |
# --------------------------- | |
sudo apt-get update | |
sudo apt-get install -y build-essential git pkg-config cmake make \ | |
gcc curl wget unzip \ |
apt-get update && apt-get install gcc make dkms apt-utils pciutils -y | |
wget https://www.mellanox.com/downloads/MFT/mft-4.21.0-99-x86_64-deb.tgz | |
tar xf ./mft-4.21.0-99-x86_64-deb.tgz | |
pushd mft-4.21.0-99-x86_64-deb | |
./install.sh | |
popd | |
rm mft-4.21.0-99-x86_64-deb* |
#!/usr/bin/env | |
# Copyright (c) 2022 Ho Kim ([email protected]). All rights reserved. | |
# Use of this source code is governed by a MIT license. | |
# define a macro function | |
function interfaces_do() { | |
# get all ethernet interfaces | |
declare -a INTERFACES_ALL=$(show interfaces status | grep -Po '^ *Ethernet\K(\d+)') | |
# get command line arguments |
#!/bin/bash | |
# Copyright (c) 2023 Ho Kim ([email protected]). All rights reserved. | |
# Install X11VNC | |
docker run -d \ | |
--name x11vnc \ | |
--restart always \ | |
--net host \ | |
-e DISPLAY=":0" \ | |
-e X11VNC_ARGS="-cursor most -noscr -nowcr -nowf -noxdamage -auth /root/.Xauthority" \ |
# Copyright (c) 2023 Ho Kim ([email protected]). All rights reserved. | |
# Configure environment variables | |
ARG ROCKYLINUX_VERSION="8" | |
# Be ready for serving | |
FROM "quay.io/rockylinux/rockylinux:${ROCKYLINUX_VERSION}" as base | |
# Install desktop environment dependencies | |
RUN dnf install -y \ |
podman run --name isaac-sim --entrypoint bash -it --device nvidia.com/gpu=all -e "ACCEPT_EULA=Y" --rm --network=host \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-e DISPLAY \ | |
-v ~/docker/isaac-sim/cache/kit:/isaac-sim/kit/cache/Kit:rw \ | |
-v ~/docker/isaac-sim/cache/ov:/root/.cache/ov:rw \ | |
-v ~/docker/isaac-sim/cache/pip:/root/.cache/pip:rw \ | |
-v ~/docker/isaac-sim/cache/glcache:/root/.cache/nvidia/GLCache:rw \ | |
-v ~/docker/isaac-sim/cache/computecache:/root/.nv/ComputeCache:rw \ | |
-v ~/docker/isaac-sim/logs:/root/.nvidia-omniverse/logs:rw \ | |
-v ~/docker/isaac-sim/data:/root/.local/share/ov/data:rw \ |
# ๊ฐ๋นก์น๋ค ์ VPN์ ๋ง์๋๋๊ฑฐ์ง? | |
# ํ์ง๋ง ์ฟ ๋ฒ๋คํฐ์ค์ ํจ๊ป๋ผ๋ฉด ์กฐ๊ธ์ ๋ฒํธ ์ ์์ด.. | |
# | |
# ์ฌ์ฉ๋ฒ: | |
# 1. ์๋ ์ฝ๋์์ ๋ค์ ๋ฌธ์์ด์ ์ฉ๋์ ๋ง๊ฒ ์นํ: __ADMIN_PASSWORD__, __LOADBALANCER_IP__ | |
# 2. ๋ฐฐํฌ ใฑใฑ | |
# | |
# ์ฃผ์์ฌํญ: | |
# 1. ์๋ ์ฝ๋๋ ์ฌ๋ฌ๋ฒ์ ํ ์คํธ์ ์์ญ๋ฒ์ ๋ณด์ ๊ฐํ๋ฅผ ํตํด์ผ ์ฌ๋ฌ๋ช ์ด ๋๋ ค์ฐ๊ธฐ์ ์ถฉ๋ถํ ๋ฏ. | |
# 2. ํนํ, ๊ด๋ฆฌ์ ๋น๋ฐ๋ฒํธ (HPW, SPW)์ Resource Limits๋ฅผ ์ฅ๋น ์ํฉ์ ๋ง๊ฒ ์ ์กฐ์ ํด์ฃผ๋๋ก ํ๋ค. |