Skip to content
Snippets Groups Projects
Unverified Commit 2f768411 authored by tamaina's avatar tamaina Committed by GitHub
Browse files

v3.2.0

parent 1884dcbe
No related branches found
No related tags found
No related merge requests found
# v3
For Misskey v13 production and later RC (since 13.0.0-rc.10)
## v3.2.0
- systemd環境ではjemallocを使用するようにしました。
- インストール時にdefault.ymlで`proxyRemoteFiles: true`を指定するようになりました。
- アップデート時に`-r`オプションで`apt full-upgrade`する際、確認画面が出ないように(未検証)
## v3.1.0
Node.js v20をインストールするように変更しました。
......
# Misskey install shell script v3.1.0
# Misskey install shell script v3.2.0
Install Misskey with one shell script!
You can install misskey on an Ubuntu server just by answering some questions.
......
# Misskey install shell script v3.1.0
# Misskey install shell script v3.2.0
Misskeyを簡単にインストールするためのシェルスクリプトができました!
......
......@@ -18,7 +18,7 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
version="3.0.0";
version="3.2.0";
tput setaf 4;
echo "";
......@@ -485,6 +485,10 @@ redis:
# ID type
id: 'aid'
# Proxy remote files (default: true)
# Proxy remote files by this instance or mediaProxy to prevent remote files from running in remote domains.
proxyRemoteFiles: true
# Sign to ActivityPub GET request (default: true)
signToActivityPubGet: true
......@@ -570,7 +574,7 @@ tput setaf 3;
echo "Process: apt install #2;"
tput setaf 7;
apt -qq update -y;
apt -qq install -y$([ $method == "systemd" ] && echo " nodejs" || echo " docker-ce docker-ce-cli containerd.io")$($redis_local && echo " redis")$($nginx_local && echo " nginx");
apt -qq install -y$([ $method == "systemd" ] && echo " nodejs libjemalloc-dev" || echo " docker-ce docker-ce-cli containerd.io")$($redis_local && echo " redis")$($nginx_local && echo " nginx");
if [ $method == "systemd" ]; then
tput setaf 3;
......@@ -887,6 +891,7 @@ User=$misskey_user
ExecStart=$(command -v npm) start
WorkingDirectory=/home/$misskey_user/$misskey_directory
Environment="NODE_ENV=production"
Environment="LD_PRELOAD=/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2"
TimeoutSec=60
StandardOutput=journal
StandardError=journal
......
......@@ -18,7 +18,7 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
version="3.0.0";
version="3.2.0";
tput setaf 2;
echo "Check: root user;";
......@@ -113,7 +113,7 @@ if [ $# == 1 ] && [ $1 == "-r" ]; then
echo "Process: apt upgrade;";
tput setaf 7;
apt update -y;
apt full-upgrade -y;
DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt full-upgrade -y;
tput setaf 3;
echo "reboot;";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment