全文検索:
- 2022.05.26 Kubernetes Podで名前解決できない @50_dialy:2022:05
- ndbox: rpc error: code = Unknown desc = failed to setup network for sandbox "5b729fceffd1ec702b1040dd85... " failed (add): failed to delegate add: failed to set bridge addr: "cni0" already has an IP address dif... ndbox: rpc error: code = Unknown desc = failed to setup network for sandbox "10304b386803230d68d2cf54df... " failed (add): failed to delegate add: failed to set bridge addr: "cni0" already has an IP address dif
- 2023.12.14 React-adminとDjangoの連携 @50_dialy:2023:12
- let_s_encrypt_proxy]] でSSL化している想定で説明します。 ==== 1. settings.py 修正 ==== rest_frameworkを追加と 後のCORS (オリジン間... ce Sharing) の為、corsheadersを追加。 <code|testproject/settings.py> INSTALLED_APPS = [ ... ... .... | +----------------------------+ 11 rows in set (0.00 sec) mysql> desc testproject_product; +---... -----+-----+---------+----------------+ 3 rows in set (0.01 sec) </code> ==== 3. 管理画面での確認 ==== === 管
- 2021.04.29 Docker dokuwiki linuxserver @50_dialy:2021:04
- real_ipとしてセットする。 <code|config/nginx/nginx.conf> set_real_ip_from 172.18.0.0/16; real_ip_header ... php; include /etc/nginx/fastcgi_params; set $do_not_cache 0; # -- POST or HEAD ? if ($request_method != "GET") { set $do_not_cache 1; } fastcgi_cache cache-... cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""
- 2025.09.06 Chromeでログアウトしない @50_dialy:2025
- この2つが必要そう * サードパーティのCookie許可 * [[chrome://settings/cookies|chrome://settings/cookies]] * デバイスへのデータの保存を許可する * [[chrome://settings/content/siteData|chrome://settings/content/siteData]] {{tag>日記 Chrome}}
- 2023.06.03 Django アプリ追加 @50_dialy:2023:06
- c web python manage.py startapp testapp ===== 2 setting.py修正 ===== アプリ作成時点だと下記のようになってます。 プロジェクト名は「t... _ │ │ ├── __init__.cpython-38.pyc │ │ ├── settings.cpython-38.pyc │ │ ├── urls.cpython-38.p... └── wsgi.cpython-38.pyc │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py └── testa... .py </code> アプリインストールの設定を追加 <code|test_project/settings.py> INSTALLED_APPS = [ 'django.contrib.a
- 2025.05.02 KVM ホットマイグレーション終わらない @50_dialy:2025:05
- られてても3秒に収まれば、最終切り替えが実施されます。 <code> virsh migrate-setmaxdowntime [ドメインID] 3000 </code> ===== 終わらない時のロ... pu-throttle-percentage": 60, "status": "active", "setup-time": 18, "total-time": 630524, "ram": {"total... pu-throttle-percentage": 60, "status": "active", "setup-time": 18, "total-time": 631028, "ram": {"total... pu-throttle-percentage": 70, "status": "active", "setup-time": 18, "total-time": 631532, "ram": {"total
- 2017.10.31 Windows7 ネットワークが遅い時 @50_dialy:2017:10
- e> netsh interface tcp show global netsh int tcp set global chimney=disabled netsh int tcp set global rss=disabled netsh int tcp set global netdma=disabled </code> ===== Nicのオフロードを無効化 ===== 下記を無効
- 2021.09.25 PCS NFS @50_dialy:2021:09
- auth nfsserv01 nfsserv02 <> /dev/tty pcs cluster setup --name pcs_cluster nfsserv01 nfsserv02 --transp... tmp-cib.xml.deltasrc pcs -f tmp-cib.xml property set stonith-enabled=false pcs -f tmp-cib.xml property set no-quorum-policy=ignore pcs -f tmp-cib.xml \ re
- 2024.04.02 Homebrewを入れる @50_dialy:2024:04
- <code> $ anyenv versions phpenv: 7.3.8 * 8.3.1 (set by /home/ubuntu/.php-version) pyenv: system 2.7.18 * 3.12.1 (set by /home/ubuntu/.python-version) rbenv: 2.6.1 2.7.0 * 3.2.3 (set by /home/ubuntu/.ruby-version) </code> {{tag>日記
- 2024.04.12 MySQL bitフィールド @50_dialy:2024:04
- -----+-----+---------+----------------+ 3 rows in set (0.00 sec) mysql> insert into test (name,enabled... BB | | +----+------+---------+ 2 rows in set (0.00 sec) </code> ===== 表示を見るには ===== <code> ... 1 | | 2 | BBB | 0 | +----+------+---------+ 2 rows in set (0.01 sec) </code> {{tag>日記 mysql}}
- 2025.05.23 WinSCPで同期 @50_dialy:2025:05
- いとエラーになりました。</color> <code|upload.bat> @rem sync set LOCAL="C:\Users\hogehoge\" set REMOTE="sync" set SESSION="sftp://matsui@hogehoge.com" "C:\Program Files (x86)\WinSCP\winscp.exe" /scr
- 2016.01.13 Glusterfs @50_dialy:2016:01
- 001 is already part of a volume == 対処 == <code> setfattr -x trusted.glusterfs.volume-id $brick_path setfattr -x trusted.gfid $brick_path rm -rf $brick_pat
- 2020.05.20 Windows Terminal @50_dialy:2020:05
- の権限にする。(下記の場合だとhogeユーザのみにする。) Windows Terminalの[Settings]をクリック、又は「 Ctrl + , 」ショートカット操作で、既定のエディタで開くことができます。 ちなみに「 Alt 」キーを押下しながら[Settings]をクリックすると、既定の設定である defaults.json を開くことができます。
- 2021.06.19 Ceph HEALTH_WARN mon is allowing insecure global_id reclaim @50_dialy:2021:06
- ceph004 has auth_allow_insecure_global_id_reclaim set to true バージョンアップで出るようになる。 <code> # ceph version... reclaim": "true" # ceph daemon mon.ceph004 config set auth_allow_insecure_global_id_reclaim false {
- 2023.01.11 Mastodon メディア削除 @50_dialy:2023:01
- (0 Bytes local) Backups: 0 Bytes Imports: 0 Bytes Settings: 0 Bytes </code> 7日以前のメディア(画像と動画)削除 <code>... 17 GB (0 Bytes local) Backups: 0 Bytes Imports: 0 Bytes Settings: 0 Bytes </code> {{tag>日記 Mastodon}}