#contents * アンインストール いきなりディレクトリを削除しようとするとWindows2000が落ちた。~ 以下が正解らしい。 # cron cygrunsrv --stop cron cygrunsrv --remove cron # inetd net stop inetd /usr/sbin/inetd --remove-as-service 上に続いて - ファイルの削除 - レジストリの削除 - 環境変数の削除 * cannot find -lpython2.3 ~-L/usr/lib/python2.3/config * cron cygrunsrv --install cron --path /usr/sbin/cron --args -D cygrunsrv --start cron ** cron からネットワークドライブが見られない cronはシステムユーザ権限。~ ネットワークドライブの割り当てはユーザごと。~ つまりネットワークドライブは cron から見られない。~ その他権限周りでもハマれる。 * Apache2 # 準備 cygserver-config export CYGWIN=server net start cygserver /usr/sbin/apachectl2 start # サービスとして起動 cygrunsrv --install apache2 --disp "CYGWIN apache2" \ --path /usr/sbin/httpd2 --args -DFOREGROUND --env "CYGWIN=ntsec binmode server" cygrunsrv --start apache2 * dd のデバイス ls じゃ見られないけど /proc/partitions で見られる。 * 標準入力が入力できない export CYGWIN='glob tty' この設定(tty?) + zshのどこかのバージョンから。~ y/n を聞かれた途端に落とすしかなくなる。