全文検索:
- 2008.04.16 /etc/passwdのコピー @50_dialy:2008:04
- ====== 2008.04.16 /etc/passwdのコピー ====== ユーザ情報(/etc/passwd)をサーバ間でコピーする時のやり方 ===== コピー元のサーバから、下記のファイルをコピーしてくる ===== <code> # scp 元サーバ:/etc/passwd /etc/passwd # scp 元サーバ:/etc/master.passwd /etc/master.passwd # scp 元サーバ:/etc/group /etc/group <
- 2017.08.22 KSKロールオーバーについて @50_dialy:2017:08
- o/network/dns5.html ・やること トラストアンカーの自動更新 <code> /etc/init.d/unbound stop unbound-anchor -a "/etc/unbound/root.key" # grep auto-trust-anchor-file: /etc/unbound/unbound.conf auto-trust-anchor-file: "/etc/unbound/root.key" /etc/init.d/unbound start </co
- 2022.05.26 Kubernetes Podで名前解決できない @50_dialy:2022:05
- ContainerCreating 0 25s kube-system etcd-linstor-master02 1/1 Ru... elete cni0 ; ip link delete flannel.1; \ rm -rfv /etc/cni ; rm -rvf /var/lib/cni/ ; rm -rvf /var/run/flannel ; \ rm -rfv /etc/containerd/config.toml ; \ systemctl restart cont... elete cni0 ; ip link delete flannel.1; \ rm -rfv /etc/cni ; rm -rvf /var/lib/cni/ ; rm -rvf /var/run/fl
- 2022.10.01 Nextcloud @50_dialy:2022:10
- n.nginx_proxy: "true" volumes: - certs:/etc/nginx/certs:ro - vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx/html - /var/run/... n restart: always volumes: - certs:/etc/nginx/certs - acme:/etc/acme.sh - vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx
- 2021.03.22 GAS Fetching data..から進まない @50_dialy:2021:03
- ====== 2021.03.22 GAS Fetching data..から進まない ====== [[https://ja.stackoverflow.com/questions/56338/%E3%... 1%A4%E3%81%84%E3%81%A6|「データを取得しています…」]] ===== Fetching data..から進まない ===== Deploy as web app Fetching data... {{:50_dialy:2021:03:fetching_data.png?400|}} ==== 対応 ==== ファイルのオーナーでない可能性が高い。 オーナーになったら
- 2022.08.31 ubuntu motd @50_dialy:2022:08
- 1 ubuntu motd ====== ubuntuでmotdを修正する方法 ===== /etc/update-motd.d/以下のスクリプトが実行されている ===== <code> root@regist01:~# ls -al /etc/update-motd.d/ total 68 drwxr-xr-x 2 root root ... == ファイル追加後、実行権限追加 <code> # cat << __EOM__ | tee /etc/update-motd.d/99-test #!/bin/bash echo 'test message: Hello World.' __EOM__ # chmod +x /etc/update-motd.d/99-test </code> これでログインしてみると 「tes
- 2023.12.26 PasswordAuthenticationが効かない。。。 @50_dialy:2023:12
- これで、sshdをリスタートしたが、何故かパスワードログインできてしまう。。。 <code|/etc/ssh/sshd_config> #PasswordAuthentication yes ↓ Pa... いるからでした。 正しいファイルを修正してから、sshdリスタートで解決しました。 <code|/etc/ssh/sshd_config> Include /etc/ssh/sshd_config.d/*.conf </code> <color #ed1c24>このファイルが存在していて、PasswordAuthentication が yes になってるた。</color> <code|/etc/ssh/sshd_config.d/50-cloud-init.conf > PasswordAu
- 2024.05.02 Amazon Linux 2023 Zabbix @50_dialy:2024:05
- </code> ==== conf修正 ==== <code> # cat /usr/local/etc/zabbix_agentd.conf | grep -v -e ^# -e ^$ LogFile=... code> cp misc/init.d/fedora/core5/zabbix_agentd /etc/init.d/ chkconfig --add zabbix_agentd chkconfig z... on 4:on 5:on 6:off </code> ==== 起動 ==== <code> /etc/init.d/zabbix_agentd start /etc/init.d/zabbix_agentd status </code> {{tag>日記 Zabbix}}
- 2008.04.23 freebsd-update @50_dialy:2008:04
- のが簡単。 6.2-RELEASEから標準となった。 # freebsd-update fetch # freebsd-update install portsツリーを最新版にする # portsnap fetch # portsnap extract (/usr/ports/以下に展開される) (2回目以降は) # portsnap fetch # portsnap update portupgradeを使ってアップグレードする
- 2019.03.26 SoftEtherVPN NetworkManagerで起動せず @50_dialy:2019:03
- nmcliで何度も追加したり削除したりしてたら 下記のエラーでnicが起動できなくなった。。。 /etc/sysconfig/network-scripts/ 以下で、NM_CONTROLLED=no に... 原因は分かってないが、NetworkManagerの設定ファイルを直接編集してやると治った。 /etc/NetworkManager/system-connections/vpn_nic03 直接/etc/NetworkManager/system-connections/vpn_nic03を書いてやっ
- 2020.01.17 Windows10高速化 @50_dialy:2020:01
- s://aprico-media.com/posts/3504|参考]] ===== SuperFetchを無効にしてみる ===== バージョン1803まで・・・「SuperFetch」 バージョン1809以降・・・「SysMain」 Windows SuperFetch(ウィンドウズ スーパーフェッチ)とはWindows VistaとWindows 7、Windows 8/8.1、
- 2022.07.23 fork: retry: Resource temporarily unavailable @50_dialy:2022:07
- 利用可能なリソースの制限。ハードリミットまでは増やせる ulimit -Sa ==== /etc/security/limits.conf ==== 「/etc/security/limits.conf」で設定した値はログインしない「デーモンプロセス」には効果がありません。 理由はログイン時や su コマンド実行時に PAM 認証されたタイミングで /etc/security/limits.conf の設定が適用されるため、デーモンプロセスには効かないとい
- 2023.01.02 GAS Parser @50_dialy:2023:01
- code> url = "https://fl8.jp/"; var response = UrlFetchApp.fetch(url); var content = response.getContentText(); var text = Parser.data(content).from('<script id="__NE
- 2023.05.15 Let's Encrypt 証明書削除 @50_dialy:2023:05
- </code> ===== 手動で削除 ===== 手動の場合は下記を削除 <code> /etc/letsencrypt/archive/{ドメイン名} /etc/letsencrypt/renewal/{ドメイン名}.conf /etc/letsencrypt/live/{ドメイン名} </code> {{tag>SSL}}
- 2023.12.14 React-adminとDjangoの連携 @50_dialy:2023:12
- 2:pasted:20231214-150308.png}} <code> Access to fetch at 'https://django.fl8.jp/api/products?filter=%7... ur needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. </code> [[06_... てあげる。 <code> # docker exec -it proxy bash # vi /etc/nginx/vhost.d/django.fl8.jp add_header 'Access-Co