間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

Debian

tcpd (TCPwrapper)でsshdアクセスを制限

# apt install tcpd # cat /etc/hosts.allow sshd: 127.0.0.1 [::1] sshd: 192.168. sshd: .jp # cat /etc/hosts.deny sshd: ALL # tcpdchk -v Using network configuration file: (null) >>> Rule /etc/hosts.allow line 10: daemons: sshd clients: 127.0.…

コンソールキーボード設定

# dpkg-reconfigure keyboard-configuration 「Generic 105-key (Intl) PC」を選択 「Japanese」を選択 「Japanese」を選択 「The default for the keyboard layout」を選択 「No compose key」を選択 # setupcon めも、詳細未検証Ubuntu Serverのキーボード…

libc6-dev : Breaks: libgcc-8-dev

Raspberry Pi OS busterをbullseyeへアップグレードしようとしたところ、 https://www.tomshardware.com/how-to/upgrade-raspberry-pi-os-to-bullseye-from-buster の手順中 # apt dist-upgrade (中略) The following packages have unmet dependencies: lib…

Ubuntu,Debianの自動サスペンドの解除

https://qiita.com/ikesama200/items/f595293de82ddc9fa3f1 # ls -l /usr/share/gdm/dconf/90-debian-settings lrwxrwxrwx 1 root root 32 12月 19 2020 /usr/share/gdm/dconf/90-debian-settings -> /etc/gdm3/greeter.dconf-defaults # diff -u /etc/gdm3/…

NetworkManager 設定変更

@Debian 11 systemctl restart NetworkManager /etc/resolv.conf への反映は上記で出来た。

仮想パッケージ一覧

https://www.debian.org/doc/packaging-manuals/virtual-package-names-list.txt めも

Stretch gpg (GnuPG) 2.1.18環境でJessie gpg (GnuPG) 2.0.26の情報が表示されない

DBとなる.gnupgはコピーしたのだが表示が異なる Jessie gpg (GnuPG) 2.0.26: $ gpg --fingerprint /home/user/.gnupg/pubring.gpg --------------------------------- pubStretch gpg (GnuPG) 2.1.18: $ gpg --fingerprint $Jessie gpg (GnuPG) 2.0.26:$ md5…

Debian on Pomera DM200

https://www.ekesete.net/log/?p=9007 arm-hfカスタムカーネルで高速起動(WARP) めも

パッケージ数確認

$ wget https://packages.debian.org/stable/allpackages?format=txt.gz $ gunzip allpackages ; * wc -l allpackages* 57286 $ https://packages.debian.org/unstable/allpackages?format=txt.gz $ gunzip allpackages ; * wc -l allpackages* 102895めも参…

lessで展開せずに内容確認

.bash_profile export LESS=-M export LESSOPEN="| /usr/bin/lesspipe '%s'" export LESSCLOSE="/usr/bin/lesspipe '%s' '%s'"参考 http://tokyodebian.alioth.debian.org/html/debianmeetingresume200609se4.html https://twitter.com/search?q=LESSOPEN&sr…

Apache2 Debian conf どこになにを置けばいいのか

http://qiita.com/hikachan/items/3801c8f1c088817d6d53 設定はavailable置き、a2en---コマンドで適用、a2dis---で解除する (中略) a2ensite filename :sites-avalableの中に入っている filename.conf の設定を適用します。 a2dissite filename :sites-enabl…

debian勉強会 Web gitリポジトリ

http://anonscm.debian.org/cgit/tokyodebian/muse.git/ めも

X: user not authorized to run the X server, aborting.

http://www.yamasita.jp/linkstation/2012/03/120320_x_1.html # dpkg-reconfigure x11-common (略) Anybody を選択して OKめも

android-tools-adb

https://packages.debian.org/ja/jessie/android-tools-adb めも、未検証

faketime

https://packages.debian.org/sid/utils/faketime めも

Package ffmpeg is not available, but is referred to by another package

http://kledgeb.blogspot.jp/2015/11/ubuntu-1510-12-libavffmpeg.html Ubuntuの派生元であるDebianも、次期バージョンであるDebian 9(stretch)でLibavからFFmpegへ移行します。 avconv:ffmpeg相当

debian-handbook

https://debian-handbook.info/ https://debian-handbook.info/browse/stable/ 現状Wheezyで止まっているが充実しているらしい。未検証

Seccomp error -17 (Unknown error -17) adding arch: 2

i386 userland + x86_64 kernelでlxc-startしたときに上記エラー 下記で暫定対処 #sed -i /usr/share/lxc/config/*.common.conf "-e s/^lxc.seccomp/#lxc.seccomp/" #grep "lxc.seccomp" /usr/share/lxc/config/*common.conf /usr/share/lxc/config/centos.c…

no matching cipher found

Jessie update後下記でssh接続出来なかった。 no matching cipher found: client arcfour128,arcfour256,arcfour,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc server aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes…

Editing Debian online with sources.debian.net

http://rgeissert.blogspot.jp/2014/12/editing-debian-online-with.html Debian パッケージのソースコードをsources.debian.net 上のコードをこの拡張機能を使ってシームレスに編集(diff作成)可能 めも、未検証

Flashバージョンの固定

参考 http://server-setting.info/debian/debian-no-apt-upgrade.html # apt-get install flashplugin-nonfree # echo flashplugin-nonfree hold | dpkg --set-selections特定バージョンへの固定(x86_64) $ wget http://fpdownload.macromedia.com/get/flash…

duck

http://duck.debian.net/ DUCK processes several of the fields in the debian/control and debian/upstream files of all Debian source packages on an regular basis, currently once a day. It extracts the URLs found therein and checks if those UR…

インストール出来ない/ビルド出来ないパッケージ

http://qa.debian.org/dose/ 下記で天気図形式で概要が分かる http://qa.debian.org/dose/debcheck/unstable_main/index.html めも、未検証

Multiarch

http://www.gfd-dennou.org/member/uwabami/cc-env/Multiarch.html amd64 環境に i386 のライブラリを導入する場合. $ sudo dpkg --add-architecture i386 とすることで i386 のライブラリが導入可能になる. $ dpkg --print-foreign-architectures i386 とな…

タイムゾーン変更

@wheezy dpkg-reconfigure tzdata 参考 http://www.xmisao.com/2013/07/02/how-to-change-timezone-with-tzdata-in-debian.html

ブート時に/tmpを削除しない方法 http://ambiesoft.fam.cx/blog/archives/178 /etc/default/rcSを編集する (中略)TMPTIME 0にすると、ブートの度ごとに/tmpにあるファイルが削除される。10とすると10日間使われていないファイルが削除される。 めも、未検証

東京エリア勉強会資料のビルド

http://tokyodebian.alioth.debian.org/prework-update.html https://web.archive.org/web/20130721124944/http://tokyodebian.alioth.debian.org/prework-update.html 上記をベースにRasbian(Wheezy)で確認 オリジナル # apt-get install git-core make lv …

etckeeper

http://blog.shin.noor.jp/?eid=32

インストール後にホスト名を変更

http://tatsuyaoiw.hatenablog.com/entry/2012/07/13/003954 # vim /etc/hostnameめも

dhで実行されるコマンド

http://www.debian.org/doc/manuals/maint-guide/dreq.ja.html めも

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。