2.9 KiB
Frequently Asked Questions
How do I put files into nginx container?
-
Retrieve the files in required folder structure.
-
Copy them into nginx image.
docker \ cp ./ kemono-nginx:/storage
-
Add required permissions to that folder.
docker \ exec kemono-nginx \ chown --recursive \ nginx /storage
How Do I Install Python 3.12 on Ubuntu 22?
Through a PPA (Personal Package Archives).
-
Install required tooling and add the PPA:
sudo apt install --assume-yes software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa
-
Update local
apt
listing and install required python dependencies:sudo apt update sudo apt install \ python3.12 \ python3.12-dev \ python3.12-distutils
-
Confirm python 3.12 is installed
which python3.12
How Do I Install Node.js 22.14?
For Linux/macOS:
-
Install NVM:
# Using curl curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash # OR using wget wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
-
Add NVM to your shell configuration:
The installer should automatically add the necessary configuration to your shell profile (
.bashrc
,.zshrc
, etc.), but if it doesn't, add these lines manually:export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
-
Either restart your terminal or source your profile:
# For bash source ~/.bashrc # For zsh source ~/.zshrc
-
Verify NVM installation:
nvm --version
-
Install Node.js 22.14:
nvm install 22.14
-
Set it as the default (optional):
nvm alias default 22.14
-
Verify the installation:
node --version # Should output v22.14.0 npm --version # NPM is included with Node.js 10.9.2+
-
If you need to switch between Node.js versions:
nvm ls nvm use 22.14 nvm use default
For Windows:
Windows users can install Node.js directly using the official installer:
-
Go to the Node.js downloads page: https://nodejs.org/en/download/current
-
Download the Windows installer for v22.14.0:
- Look for
node-v22.14.X-x64.msi
(64-bit installer) - The "X" represents the patch version which may change
- Look for
-
Run the downloaded MSI file and follow the installation wizard.
-
Verify the installation by opening Command Prompt or PowerShell and running:
node --version npm --version
-
The installer includes npm, so no separate installation is needed. npm version should be 10.9.2 or newer.