投稿

6月, 2023の投稿を表示しています

https://localhost 危険性を承知で続行 #どうすればいいの

雨なので学習の日。 httpをhttpsに変更したいけど、どうすればいいのか? apache2 pic.twitter.com/9UcxsLsVyc — 乖離(*´∀`)🍑😊🐻😾☔🎵🍢🌸💯🗽🇯🇵🗻🏝️🌲🏡🆓🎮🚗🚴💨 (@kai_ri_0001) June 21, 2023 (゚ω゚)インストールしたパッケージ apache2-ssl-dev (゚ω゚)使ったコマンド (apache2の設定) sudo a2enmod ssl sudo a2ensite を実行し、 default-ssl.conf を入力。 sudo service apache2 restart (゚ω゚)使ったコマンド(秘密鍵と証明書の作成。パスフレーズはbaka。作業ディレクトリ/var/log/apache2に作ったファイルが残ったまま) sudo openssl genrsa -des3 -out server.key 2048 sudo openssl req -new -key server.key > server.csr sudo openssl x509 -req -days 3650 -signkey server.key < server.csr > server.crt (゚ω゚)触ったファイル(.20230622付いてるほうが変更前ファイル) ubuntu@u2204:/etc/apache2/sites-available$ diff default-ssl.conf.20230622 default-ssl.conf 32,33c32,35 < SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem < SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key --- > #SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem > #SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key &g

拡大方法 Virtual Disk Image (.vdi) ReSize

イメージ
(゚ω゚) 拡大できました。 https://gparted.org/download.php GParted Live CD/USB/HD/PXE Bootable Image Stable Releases Download gparted-live-1.5.0-1-amd64.iso 今度はFix pic.twitter.com/WwPPGzz7WW — 乖離(*´∀`)🍑😊🐻😾☔🎵🍢🌸💯🗽🇯🇵🗻🏝️🌲🏡🆓🎮🚗🚴💨 (@kai_ri_0001) June 21, 2023 Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 8388608 blocks) or continue with the current setting? Fixを選択した。 エディション Windows 11 Pro バージョン 23H2 インストール日 ‎2023/‎06/‎15 OS ビルド 25393.1 エクスペリエンス Windows Feature Experience Pack 1000.25350.1000.0 ------- 下記は2021/05/17 11:48の内容 ----------- (゚ω゚) 拡大できました。 GParted Live CD/USB/HD/PXE Bootable Image Stable Releases gparted-live-1.3.0-1-amd64.iso エディション Windows 10 Pro バージョン 20H2 インストール日 ‎2020/‎10/‎22 OS ビルド 19042.985 エクスペリエンス Windows Feature Experience Pack 120.2212.2020.0 ------- 下記は- 10/26/2020 09:44:00 午前 の内容 ----------- (゚ω゚) 2020/10/26 再インストールしたWindowsでも同じ操作でパーティションを拡大できました。 エディ

不明ほどリスクの高いものはない。ウクライナの小麦は食べない方がよい。

Bingに聞いてみた。 小麦の生産量の多いウクライナで劣化ウラン弾が使われると、小麦は食べない方が良いでしょうか? 小麦の生産量の多いウクライナで劣化ウラン弾が使われると、小麦は食べない方が良いでしょうか? pic.twitter.com/ITOsXWFzou — 乖離(*´∀`)🍑😊🐻😾☔🎵🍢🌸💯🗽🇯🇵🗻🏝️🌲🏡🆓🎮🚗🚴💨 (@kai_ri_0001) June 16, 2023

debian 12 でsudoが使えるようにする手順

(゚ω゚) このようにsudoグループに入っておく必要があります。 tachibanat@debian12:~$ id uid=1000(tachibanat) gid=1000(tachibanat) groups=1000(tachibanat),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),106(netdev),111(bluetooth),113(lpadmin),116(scanner) tachibanat@debian12:~$ sudo apt-get update [sudo] tachibanat のパスワード: ヒット:1 http://debian-mirror.sakura.ne.jp/debian bookworm InRelease ヒット:2 http://debian-mirror.sakura.ne.jp/debian bookworm-updates InRelease ヒット:3 http://security.debian.org/debian-security bookworm-security InRelease パッケージリストを読み込んでいます... 完了 tachibanat@debian12:~$ uname -a Linux debian12 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux tachibanat@debian12:~$ sudo -V Sudo バージョン 1.9.13p3 sudoers ポリシープラグイン バージョン 1.9.13p3 sudoers ファイル文法バージョン 50 Sudoers I/O plugin version 1.9.13p3 Sudoers audit plugin version 1.9.13p3 tachibanat@debian12:~$ (゚ω゚) sudoグループに入れるコマンドgpasswdは、suしてrootで実行します。 su gpasswd -a tachibanat sudo (゚ω゚) その後に、