全文検索:
- 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.\""
- 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
- 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}}
- 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}}
- 2024.01.18 RailsでSSLエラー @50_dialy:2024:01
- /mirrors.almalinux.org/mirrorlist/9/baseos [error setting certificate file: /etc/pki/tls/certs/ca-bundle.crt] </code> これは下記で実行すると解決 <code> # yum --setopt='sslverify=false' update ca-certificates </cod
- 2024.03.05 VBA Selenium ログイン @50_dialy:2024:03
- ").Click End With ' HTMLDocオブジェクトを作成 Set HTMLDoc = CreateObject("htmlfile") ' クリック後のHT... WebDriverを終了 Driver.Close Driver.Quit Set Driver = Nothing End Sub </code> {{tag>日記 Seleni
- 2006.12.08 Linuxにqmailインストール @50_dialy:2006:12
- ilインストール ====== これを実行するとエラーが表示される。 <code> # make setup check auto-str.c:17: warning: return type of `