hns - 日記自動生成システム - Version 2.19.9

先月 2024年03月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2024年03月10日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [server] 停電 (瞬電)

留守の間に、多分 18:00 頃 瞬電があって、数多くのサーバが止ってしまった。特に DNS がこまった。 もしかして bios の設定で、通電時に ON の設定にしておけば良いのかな と思う。しかし、それだと、本当に AC を差した瞬間に入るから、自分でちょっとびっくり 実は、 3/14 現在、 mrtg 用の polling がまだ動いていない (と思ったら、それは動いている) 例えば File Server は、それで勝手に上っていたらしい
$ uptime
 7:57AM  up 3 days, 10:22, 2 users, load averages: 0.00, 0.00, 0.00
2021/03/13 の日記


2024年03月03日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [smartos] the second try on bare-metal

beebox-03@makoto 07:59:44/240303(~)% zcat smartos-latest-USB.img.gz | sudo dd of=/dev/rsd2d  bs=64m
[ 9117499.3311046] load: 0.47  cmd: zcat 24884 [pipewr] 0.85u 0.03s 1% 1928k
0+2241 records in
0+2240 records out
146800640 bytes transferred in 23.532 secs (6238340 bytes/sec)
zcat: smartos-latest-USB.img.gz: done 458756/205963348 bytes (0.22%)
0+29603 records in
0+29603 records out
1940000256 bytes transferred in 308.122 secs (6296208 bytes/sec)
beebox-03@makoto 08:05:00/240303(~)% 
[root@smartos ~]# uname -a
SunOS smartos 5.11 joyent_20240222T001232Z i86pc i386 i86pc
[root@smartos ~]# history
    1  uname -a
    2  find / -name pkgsrc
    3  pkgin install cvs
    4  pkgin install git-base
    5  pkgin install gcc13
    6  pkgin install perl
    7  pkgin install cmake
    9  pkgin install python311
   11  pkgin install rsync
   12  pkgin install sudo
[root@smartos ~]# mkdir /opt/pkgsrc
[root@smartos ~]# cd /opt
[root@smartos /opt]# git clone https://github.com/NetBSD/pkgsrc
Cloning into 'pkgsrc'...
remote: Enumerating objects: 4216860, done.
remote: Counting objects: 100% (34918/34918), done.
remote: Compressing objects: 100% (14258/14258), done.
(Above git command did not finish, but I noticed the RAM size was only 1 GB, I have to replace it to 16 GB).

#2 useradd

[root@smartos /opt/pkgsrc/devel/R-Rcpp]# useradd -m -s /bin/sh  makoto 
UX: useradd: ERROR: Cannot update system files - login cannot be created.
By manually edit /etc/passwd and /etc/master, copying root item to user I could bypass above issue.



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、2 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)