全文検索:
- 2021.04.15 GAS hangoutLinkを取得 @50_dialy:2021:04
- = 取得スクリプト ===== <code> function myFunction() { var calendarId = "primary"; var now = new Date(); var twoHoursFromNow = new Date(now.getTime() + (2 * 60 * 60 * 1000)); var events = CalendarApp.getEvents(now, twoHoursFromN
- 2024.10.04 lsyncd @50_dialy:2024:10
- 題を軽減できる可能性があるでしょう。 ===== 相互同期設定 ===== 下記のサーバで、/var/www/htmlを相互同期する方法 Aサーバ: 192.168.10.11 Bサーバ: ... cd/lsyncd.conf.lua> settings { logfile = "/var/log/lsyncd.log", statusFile = "/var/log/lsyncd-status.log", statusInterval = 1, -- ステータスロ... 検出 } sync { default.rsyncssh, source = "/var/www/html/", host = "root@192.168.10.12",
- 2022.10.01 Nextcloud @50_dialy:2022:10
- OW restart: always volumes: - ./db:/var/lib/mysql environment: - MYSQL_ROOT_PAS... restart: always volumes: - ./nextcloud:/var/www/html environment: - MYSQL_HOST=db ... restart: always volumes: - ./nextcloud:/var/www/html:ro environment: - VIRTUAL_HOST... restart: always volumes: - ./nextcloud:/var/www/html entrypoint: /cron.sh depends_on:
- 2017.11.13 GlusterFS 3.12 @50_dialy:2017:11
- sterFS 3.12だと、NFSが起動できなかった。 ログには、下記のようなメッセージ /var/log/glusterfs/glusterd.log [2017-11-13 00:46:03... /usr/lib64/glusterfs/3.12.9/xlator/nfs/server.so /var/lib/glusterd/nfs /var/lib/glusterd/nfs/nfs-server.vol /var/lib/glusterd/nfs/run /var/lib/glusterd/nfs/run/nfs.pid </code> {
- 2021.04.29 Docker dokuwiki linuxserver @50_dialy:2021:04
- olumes: - ./config:/config # - /tmpfs:/var/caceh/nginx #ports: # - 80:80 # - 4... /nginx/nginx.conf> http { fastcgi_cache_path /var/caceh/nginx levels=1:2 keys_zone=cache-zone:30m m... # With php5-fpm: #fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.ph... data、conf、tplのコピー <code> rsync hoge@hogehoge.com:/var/www/html/dokuwiki/data/ config/dokuwiki/data/ rsy
- 2022.05.26 Kubernetes Podで名前解決できない @50_dialy:2022:05
- k 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... k 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
- 2024.03.06 VBA Selenium OnClick @50_dialy:2024:03
- うになっていて普通にクリックできない。。。 <code> <a href="#" onclick="var a=function(){return doPaging('next', true);};var b=function(){if(typeof jsfcljs == 'function'){jsfcljs... ttps://hogehoge.com" Driver.Wait 1000 OnClick = "var a=function(){return doPaging('next', true);};var b=function(){if(typeof jsfcljs == 'function'){jsfcljs
- 2014.09.25 Bash脆弱性 @50_dialy:2014:09
- n:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:... alt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin ・ ・ ・ ・ </code> {{tag>日
- 2023.01.02 GAS Parser @50_dialy:2023:01
- ]).iterate() 例: <code> url = "https://fl8.jp/"; var response = UrlFetchApp.fetch(url); var content = response.getContentText(); var text = Parser.data(content).from('<script id="__NEXT_DATA__"
- 2024.05.02 Amazon Linux 2023 Zabbix @50_dialy:2024:05
- agentd </code> ==== ログフォルダ用意 ==== <code> mkdir /var/log/zabbix chown zabbix:zabbix /var/log/zabbix </code> ==== conf修正 ==== <code> # cat /usr/local/etc/zabbix_agentd.conf | grep -v -e ^# -e ^$ LogFile=/var/log/zabbix/zabbix_agentd.log Server=XXX.XXX.XXX.X
- 2016.10.06 うるう秒対策 @50_dialy:2016:10
- pdを修正 <key>-x</key>を付ける OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g -I 172.16.XX.XX" ↓ OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid -g -I 172.16.XX.XX" {{tag>日記}}
- 2023.02.05 Ubuntu ディスクサイズ変更 @50_dialy:2023:02
- -------------------------------------- vda /var/lib/libvirt/images/vm001.qcow2 # cd /var/lib/libvirt/images/ # qemu-img resize -f qcow2 vm001.qcow2
- 2024.07.27 dovecot Out of Memory @50_dialy:2024:07
- 2270A90028D: to=<hoge@fl8.jp>, relay=hoge.fl8.jp[/var/run/dovecot/lmtp], delay=2.3, delays=0.37/0.01/0.... tatus=deferred (lost connection with hoge.fl8.jp[/var/run/dovecot/lmtp] while sending end of data -- me
- 2024.12.11 Cockpitディスク追加エラー @50_dialy:2024:12
- m-x86_64: -blockdev {"driver":"file","filename":"/var/lib/libvirt/images/testvm_data","node-name":"libv... d-only":true,"discard":"unmap"}: Could not open '/var/lib/libvirt/images/testvm_data': Permission denie
- 2017.01.24 Memcacheでセッション管理 @50_dialy:2017:01
- andler = files // コメントアウト ; session.save_path = "/var/lib/php/session" // コメントアウト # vi /etc/php.d/memc