2023-03-08 04:55:38 +09:00
|
|
|
# spliti
|
|
|
|
|
|
|
|
mixi向けプライバシーUI。
|
|
|
|
|
|
|
|
## 設置方法
|
|
|
|
|
|
|
|
### すべてのOS
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$domain="example.com"
|
|
|
|
cd /var/www/htdocs
|
2023-03-29 23:23:52 +09:00
|
|
|
git clone https://gitler.moe/suwako/spliti.git && cd spliti
|
2023-03-08 04:55:38 +09:00
|
|
|
mv config.example.php config.php
|
2023-03-22 12:04:13 +09:00
|
|
|
find . -type f -name "config.php" -exec sed -i 's/mixi.owacon.moe/$domain/g'
|
2023-03-08 04:55:38 +09:00
|
|
|
```
|
|
|
|
|
|
|
|
### Linux
|
|
|
|
|
|
|
|
```sh
|
|
|
|
cp srv/nginx.conf /etc/nginx/sites-enabled/spliti.conf
|
|
|
|
find . -type f -name "/etc/nginx/sites-enabled/spliti.conf" -exec sed -i 's/ドメイン名/$domain/g'
|
|
|
|
/etc/init.d/nginx restart
|
|
|
|
```
|
|
|
|
|
|
|
|
### FreeBSD
|
|
|
|
|
|
|
|
```sh
|
|
|
|
cp srv/nginx.conf /usr/local/etc/nginx/sites-enabled/spliti.conf
|
|
|
|
find . -type f -name "/usr/local/etc/nginx/sites-enabled/spliti.conf" -exec sed -i 's/ドメイン名/$domain/g'
|
|
|
|
service nginx restart
|
|
|
|
```
|
|
|
|
|
|
|
|
### OpenBSD
|
|
|
|
|
|
|
|
```sh
|
|
|
|
cat /etc/httpd.conf srv/httpd.conf > /etc/httpd.conf
|
|
|
|
find . -type f -name "/etc/httpd.conf" -exec sed -i 's/ドメイン名/$domain/g'
|
|
|
|
rcctl restart httpd
|
|
|
|
```
|