[ / / / / / / / / / / / / / ] [ dir / random / celep / egytor / pen / ssugoi / svgc / swfriend / tingles / torochan ]

/freekukuku/ - 自由ku岛

临时避难所

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload4 per post.


kaomoji | js | onion | ubo

0bdbea No.12525

建岛教程初版,后续再完善🤔

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

0bdbea No.12527


域名购买和VPS购买略,参考网络教程(切勿使用中国服务商)
域名解析托管CDN推荐cloudflare

【ubuntu+nginx+mysql+php+vichan】
apt update
【nginx】
apt install nginx
systemctl enable nginx
systemctl start nginx
【mysql】
apt install mariadb-server
systemctl enable mariadb
systemctl start mariadb
mysql_secure_installation
【php】(注意检查php运行情况)
apt install php-bcmath php-cli php-common php-curl php-fpm php-gd php-json php-mbstring php-mysql php-opcache php-pdo php-readline php-xml
systemctl enable php7.3-fpm
systemctl start php7.3-fpm
nano /etc/nginx/conf.d/testchan.conf
***
server {
listen 80;
listen [::]:80;
server_name 域名;
root /var/www/html/testchan/;
index index.html index.htm index.php;
location ~ .php$ {
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
***
nginx -t
systemctl restart nginx
【mysql】
mysql -u root
CREATE DATABASE 数据库名称;
CREATE USER 数据库用户@localhost;
SET PASSWORD FOR 数据库用户@localhost= PASSWORD("数据库密码");
GRANT ALL PRIVILEGES ON 数据库名称.* TO 数据库用户@localhost IDENTIFIED BY "数据库密码";
FLUSH PRIVILEGES;
exit
【git】
apt install git
cd /var/www/html/
git clone https://github.com/vichan-devel/vichan.git
mkdir vichan/templates/cache
chmod ugo+w vichan/ vichan/templates/cache/ vichan/tmp/cache/ vichan/inc/ vichan/inc/instance-config.php
mv vichan testchan
【安装】
浏览器打开[ip]/install.php
浏览器打开[ip]/mod.php
【https】
apt install socat
curl https://get.acme.sh | sh
acme.sh --issue -d 域名 --nginx
acme.sh --install-cert -d 域名 --cert-file /etc/nginx/cert/域名/cert.pem --key-file /etc/nginx/cert/域名/key.pem --fullchain-file /etc/nginx/cert/域名/fullchain.pem --reloadcmd "service nginx force-reload"
【备份】
mysqldump -u root 数据库名称 > 数据库名称.sql
tar czvf testchan.tgz testchan
【还原】
mysql -u root 数据库名称 < 数据库名称.sql
tar xzvf testchan.tgz

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a74990 No.12529

我懒狗岛民只会docker compose up咋办🤔

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3df8a2 No.12530

>>12529

你给我们写个docker教程🤔

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a74990 No.12534

>>12530

等我研究下怎么做docker image🤔

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

0bdbea No.12550

没有域名的也可以用洋葱网络🤔


【Tor】
sudo apt install tor
echo -e "HiddenServiceDir /var/lib/tor/hidden_service/nHiddenServicePort 80 127.0.0.1:5000" | sudo tee -a /etc/tor/torrc
nano /etc/nginx/conf.d/testchan-tor.conf
***
server {
listen 127.0.0.1:5000;
listen [::1]:5000;
server_name 洋葱域名;
......
}
***
systemctl start tor
sudo cat /var/lib/tor/hidden_service/hostname

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7765d0 No.13731

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / celep / egytor / pen / ssugoi / svgc / swfriend / tingles / torochan ]