Fedora 41 now uses Valkey instead of Redis due to their shift to a proprietary license. This should be ready for you on a new install, but here is a guide for moving to Valkey if you don't have it yet.
➡️ https://fedoramagazine.org/how-to-move-from-redis-to-valkey/
#Fedora #Valkey #Redis #Linux #OpenSource
検索
"75% of #Redis users are either testing, considering, or have already adopted #Valkey"
https://www.computing.co.uk/news/4358678/database-dust-redis-users-switching-valkey
DevOps.com: Valkey is Rapidly Overtaking Redis
https://devops.com/valkey-is-rapidly-overtaking-redis/
#opensource #redis #valkey
As an addendum, this isn't the first time #redis has given us all a clue of their intentions to do this.
They switched to a Commons Clause for some things around 8 years ago and gave given passing derisive statements throughout the years.
When people tell you who they are, believe them.
https://redis.com/blog/redis-labs-modules-license-changes/
If you're using #redis 6 on #EPEL and want to try out #KeyDB, here's a quick way to switch:
sudo dnf copr enable jonathanspw/keydb && sudo dnf swap redis keydb && sudo systemctl enable --now keydb
Keep in mind that you may need to port over any custom redis config to /etc/keydb and persistent data to /var/lib/keydb.
Thanks @[email protected] for getting this going!
#opensource
@[email protected]
Instead of closed silo GitHub, the #FreeSoftware fork of #Redis is already up: https://codeberg.org/redict/redict
#Redict #Copyleft #NeverSignCLA
Do you know a thing or two about #redis internals? #KeyDB from #SnapChat is looking for contributors to help them rebase to the last BSD release of redis 7. If you want a multi-threaded #opensource drop-in his replacement to be a reality for redis v7 users, please report for duty over on their git repo:
https://github.com/Snapchat/KeyDB/issues/798
Do you need the v7 #redis features or #KeyDB won't work for you for some other reason? Check out #redict, an up and coming #opensource v7 fork of redis.
https://codeberg.org/redict/redict
Are you a #redis user? Unless there's something specific you need from redis-7, #SnapChat has a drop-in #opensource replacement for you called #KeyDB. Coming very soon to a #Linux distribution near you!
https://github.com/Snapchat/KeyDB
<center> WindowsでMisskey環境作成(WSL2編) </center>
作成日:2023年3月12日
OS: Windows11
前提:Visual Studio Codeをインストール済み
参考サイト:https://hide.ac/articles/t6Gdoxdfh / https://misskey-hub.net/docs/install/manual.html
1. WSL2、Ubuntuをインストール
①PowerShellを管理者で開き、下記を実行
※デフォルト設定でWSL2、Ubuntuの環境となる
2. WSLにlocalhostで接続できるようにする設定
①%USERPROFILE%\.wslconfig ファイルを作成し、下記を記述
設定したら再起動
3. Ubuntuの環境設定
※スタートメニューにUbuntuが追加されているのでクリックして開く
①パッケージのアップグレードのため、下記を実行
②Ubuntuを再起動:Powershellで下記を実行
③Ubuntuに諸々インストールのため、下記を実行
# build-essential
# Node.js
# PostgreSQL
# Redis
# DB起動 ※このコマンドはUbuntu再起動のたびに必要
# PostgreSQLの設定
# ユーザー misskey、パスワード misskey、DB名 mk1 としている
4. Misskeyをフォークする
①一応設定
②クローンなど
5. VS Codeでセットアップ
①拡張機能「WSL」をインストール
②Ctrl+Shift+P「WSL でフォルダーを開く」でクローンしたフォルダを選択
③.configフォルダのexample.ymlをコピペし、default.ymlを同フォルダに作成して開く
④とりあえず修正するのは下記ぐらい
6. ビルド、初期設定、起動
①Misskeyのビルド
VS Codeのコンソールから、下記を実行
②DB初期化
③開始
http://localhost:3000/ を開いて管理者アカウント作成画面が表示されたら、成功!
1. WSL2、Ubuntuをインストール
①PowerShellを管理者で開き、下記を実行
> wsl --install
※デフォルト設定でWSL2、Ubuntuの環境となる
2. WSLにlocalhostで接続できるようにする設定
①%USERPROFILE%\.wslconfig ファイルを作成し、下記を記述
localhostForwarding=True
設定したら再起動
3. Ubuntuの環境設定
※スタートメニューにUbuntuが追加されているのでクリックして開く
①パッケージのアップグレードのため、下記を実行
$ sudo apt update; sudo apt upgrade -y
②Ubuntuを再起動:Powershellで下記を実行
> wsl -t Ubuntu
③Ubuntuに諸々インストールのため、下記を実行
# build-essential
$ sudo apt install build-essential -y
# Node.js
$ curl -sL https://deb.nodesource.com/setup_current.x | sudo -E bash -
$ sudo apt install -y nodejs
# PostgreSQL
$ wget https://salsa.debian.org/postgresql/postgresql-common/raw/master/pgdg/apt.postgresql.org.sh
$ sudo sh apt.postgresql.org.sh -i -v 13
# Redis
$ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
$ echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
$ sudo apt update
$ sudo apt install redis -y
# DB起動 ※このコマンドはUbuntu再起動のたびに必要
$ sudo /etc/init.d/postgresql restart
$ sudo service redis-server start
# PostgreSQLの設定
# ユーザー misskey、パスワード misskey、DB名 mk1 としている
$ sudo -u postgres psql
# CREATE ROLE misskey LOGIN CREATEDB PASSWORD 'misskey';
# CREATE DATABASE mk1 OWNER misskey;
# exit
4. Misskeyをフォークする
①一応設定
$ git config --global user.name "名前"
$ git config --global user.email "メールアドレス"
$ git config --global core.editor 'code --wait'
$ git config --global merge.tool 'code --wait "$MERGED"'
②クローンなど
$ git clone --recursive https://github.com/misskey-dev/misskey.git
$ cd misskey
$ git checkout master
$ git submodule update --init
5. VS Codeでセットアップ
①拡張機能「WSL」をインストール
②Ctrl+Shift+P「WSL でフォルダーを開く」でクローンしたフォルダを選択
③.configフォルダのexample.ymlをコピペし、default.ymlを同フォルダに作成して開く
④とりあえず修正するのは下記ぐらい
url: http://localhost:3000/
db:
db: mk1
user: misskey
pass: misskey
6. ビルド、初期設定、起動
①Misskeyのビルド
VS Codeのコンソールから、下記を実行
# corepack enable
# NODE_ENV=production pnpm install --frozen-lockfile
# NODE_ENV=production pnpm run build
②DB初期化
# pnpm run init
③開始
# NODE_ENV=production pnpm run start
http://localhost:3000/ を開いて管理者アカウント作成画面が表示されたら、成功!


