/var/log/apache2/error.logを確認したところ以下のエラーが出ていた
client denied by server configuration: /home/sneezy2k/public_html/index.php
どうやら、/etc/apache2/mods-available/php8.4.confを修正する必要があるらしい
# Running PHP scripts in user directories is disabled by default
#
# To re-enable PHP in user directories comment the following lines
# (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
# prevents .htaccess files from disabling it. This also disables
# serving the files, as the webserver would otherwise serve them
# as plaintext, and many software packages still put passwords in
# .php files. Comment out or remove the FilesMatch directive if
# you really want to serve php as plaintext from user dirs.
ということで、/etc/apache2/mods-available/php8.4.confに記載の
<IfModule ...>から</IfModule>をコメントアウトしてApacheを再起動したところ元に戻りました
$sudo apt install ibus-mozc
$sudo shutdown -r now
DiscoverからFlatsealのインストール
Flatsealを起動しChromeを選択
"Environment"セクションに以下を追加
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus
"Session Bus"セクションに以下を追加
org.freedesktop.IBus.*
LAN内に作成したのでスマホ(外のネットワークから)から保存が出来ないと思う・・・
「gpedit.msc」でローカルグループポリシーエディタ」を起動します。
起動後の画面で、「コンピュータの構成」⇒「管理用テンプレート」⇒「ネットワーク」⇒「Lanman ワークステーション」の順に開きます。
「安全でないゲスト ログオンを有効にする」を選択して、この画面を開きます。
「有効」をチェックします
詳しくは「sambaサーバにパスワードなしでアクセスできない」を参照
$sudo vi /usr/share/polkit-1/rules.d/03-allow-wifi.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.NetworkManager.wifi.scan" &&
subject.isInGroup("ユーザーグループ名")) {
return polkit.Result.YES;
}
});
$sudo vi /usr/share/polkit-1/rules.d/04-allow-network-control.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.NetworkManager.network-control" &&
subject.isInGroup("ユーザーグループ名")) {
return polkit.Result.YES;
}
});
$sudo vi /usr/share/polkit-1/rules.d/05-allow.system-sources-refresh.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.packagekit.system-sources-refresh" &&
subject.isInGroup("ユーザーグループ名")) {
return polkit.Result.YES;
}
});
$sudo systemctl restart polkit.service