$ tar xvfz onscripter-beta20050507.tar.gz $ cd onscripter-beta $ make -f Makefile.Linux |
$ mount /mnt/cdrom $ mkdir ~/higurashi $ cd ~/higurashi $ mkdir WAV $ mkdir WAV/LP $ mkdir WAV/minigame $ cp /mnt/cdrom/fullsrc/* . $ cp /mnt/cdrom/se/* ./WAV/ $ cp /mnt/cdrom/WAV/LP/* ./WAV/LP/ $ cp /mnt/cdrom/WAV/MINIGAME/* ./WAV/minigame/ |
$ ln -s ~/onscripter-beta/onscripter ~/higurashi/ |
$ ln -s /usr/share/fonts/ja/TrueType/mikafont.ttf ~/higurashi/default.ttf |
$ ./onscripter |
# ssh-keygen -t rsa |
# mkdir ~/.ssh/ # chmod 600 ~/.ssh/ |
# cd ~/.ssh/
# cp XXXXX/id_rsa.pub >> authorized_keys
# chmod 600 authorized_keys --> 初回のみ
|
# tar xvzf vnc-4.0-x86_linux.tar.gz # cd xvzf vnc-4.0-x86_linux # ./vncinstall /usr/local/bin # mkdir -p /usr/local/vnc/classes # cp java/* /usr/local/vnc/classes |
# vncserver |
# vncviewer |
# vncserver -kill :1 |
$ cd $ cp /etc/X11/xinit/Xclients .xinitrc $ cd .vnc $ mv xstartup xstartup.org $ ln -s ~/.xinitrc xstartup |
$ vi xstartup |
export XMODIFIERS="@im=kinput2" kinput2 -canna -cannaserver localhost & |
Not FoundThe requested URL notfound.html was not found on this server. Apache/X.X Server at www.domain.tlb Port XX |
#ServerSignature On # コメントアウト ServerSignature Off # 追加 ServerTokens ProductOnly # 追加 |
Not FoundThe requested URL notfound.html was not found on this server. |
# rpm -q gnupg python rpm rpm-python |
# rpm -Uvh http://download.fedoralegacy.org/redhat/7.2/updates/i386/rpm-4.0.4-7x.i386.rpm |
# rpm -ivh http://download.fedoralegacy.org/redhat/7.2/updates/i386/gnupg-1.0.7-13.i386.rpm # rpm -ivh http://download.fedoralegacy.org/redhat/7.2/updates/i386/python-1.5.2-43.72.i386.rpm # rpm -ivh http://download.fedoralegacy.org/redhat/7.2/updates/i386/rpm-python-4.0.4-7x.i386.rpm |
# rpm -ivh http://download.fedoralegacy.org/redhat/7.3/legacy-utils/i386/yum-1.0.3-6.0.7.x.legacy.noarch.rpm |
[main] : : exclude=kernel* apache* php* |
# gpg --import /usr/share/doc/yum-1.0.3/*GPG-KEY |
# yum update |
# chkconfig --add yum # service yum start |
# rpm -Uvh http://download.fedoralegacy.org/redhat/9/updates/i386/gnupg-1.2.1-9.i386.rpm |
# rpm -ivh http://download.fedora.us/fedora/redhat/9/i386/RPMS.stable/yum-2.0.3-0.fdr.1.rh90.noarch.rpm |
# See the yum.conf(5) man page for information the syntax of this file, # including failover setup. [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 exclude=kernel* [base] name=Red Hat Linux $releasever - $basearch - Base baseurl=http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/os/ gpgcheck=1 [updates] name=Red Hat Linux $releasever - $basearch - updates baseurl=http://download.fedora.us/fedora/redhat/$releasever/$basearch/yum/updates/ gpgcheck=1 |
exclude=kernel* apache* php* |
# rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY |
# yum update |
# chkconfig --add yum # service yum start |
recepient_delimiter = + |
ホスト1 | ホスト2 | |
ホスト名 | www.inuinu.com | www.nekoneko.com (実体は www.inuinu.com) |
ドキュメントルート | /var/www/html/inuinu/ | /var/www/html/nekoneko/ |
アクセスログ | /var/log/httpd/inuinu_log | /var/log/httpd/nekoneko_log |
NameVirtualHost * <VirtualHost *> ServerName www.inuinu.com DocumentRoot /var/www/html/html/inuinu/ CustomLog /var/log/httpd/inuinu_log </VirtualHost> <VirtualHost *> ServerName www.nekoneko.com DocumentRoot /var/www/html/html/nekoneko/ CustomLog /var/log/httpd/nekoneko_log </VirtualHost> |
*SeparateConversion.input: false *selectionShell.input: false *auxShell.input: false |
tar xvfz netpbm-10.19.tgz cd netpbm-10.19 ./configure -- いろいろ聞かれるが基本的にデフォルトで。 make su -- root のパスワードが必要 make package |
ppmtowinicon -output 作成するファイル.ico 元画像ファイル.pnm |
#com2sec notConfigUser default public com2sec notConfigUser localhost public #group notConfigGroup v1 notConfigUser #group notConfigGroup v2c notConfigUser group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser group notConfigGroup usm notConfigUser #view systemview included system view all included .1 80 #access notConfigGroup "" any noauth exact systemview none none access notConfigGroup "" any noauth exact all none none load 12 14 14 |
service snmpd start |
snmpwalk localhost public .1 |
chkconfig snmpd on |
mkdir /var/www/html/mrtg/data |
cfgmaker --global 'WorkDir: /var/www/html/mrtg/data' \ --global 'Options[_]: bits,growright' \ --output /etc/mrtg/mrtg.cfg \ public@localhost |
snmpwalk -v1 -c public localhost .1.3.6.1.4.1.2021.4.5 snmpwalk -v1 -c public localhost .1.3.6.1.4.1.2021.4.3 |
Target[cpu]: .1.3.6.1.4.1.2021.10.1.5.1&.1.3.6.1.4.1.2021.10.1.5.2:public@localhost MaxBytes[cpu]: 2000 Title[cpu]: CPU Load Avalage PageTop[cpu]: <H1>CPU Load Avalage</H1> Options[cpu]: nopercent, integer, gauge, absolute, withzeroes, growright YLegend[cpu]: CPU Load Avalage ShortLegend[cpu]: percent Legend1[cpu]: 1 min CPU Load Avalage Legend2[cpu]: 5 min CPU Load Avalage LegendI[cpu]: 1min LegendO[cpu]: 5min Unscaled[cpu]: dwmy Target[mem]: .1.3.6.1.4.1.2021.4.6.0&.1.3.6.1.4.1.2021.4.4.0:public@localhost MaxBytes1[mem]: 513788 <- メモリの値 MaxBytes2[mem]: 1839424 <- スワップの値 Title[mem]: Memory Free PageTop[mem]: <H1>Memory Free</H1> Options[mem]: gauge, absolute, growright YLegend[mem]: Mem Free[kBytes] ShortLegend[mem]: kBytes Legend1[mem]: Real Memory Legend2[mem]: Swap Memory LegendI[mem]: Real LegendO[mem]: Swap Unscaled[mem]: dwmy |
/usr/bin/mrtg /etc/mrtg/mrtg.cfg |
ls /var/www/html/mrtg/data/ |
indexmaker /etc/mrtg/mrtg.cfg > /var/www/html/mrtg/data/index.html |
inuinu: inukai@tcp-ip.or.jp |
nekoneko: "| /etc/smrsh/nekoneko.sh" |
nekoneko: "| /etc/smrsh/nekoneko.sh",inukai |
sutesute: /dev/null |
rsync オプション 送り元 送り先 |
rsync avzou -e ssh --delete root@filesvr.inuinu.co.jp:/home . |
domain inuinu.co.jp |
inukai@tcp-ip.or.jp |
inukai@tcp-ip.or.jp,\oresama |
tecinfo: boss,oresama,shitappa,myhoney@nekoneko.co.jp |
元々のドメイン | inuinu.co.jp |
バーチャルにするサーバー | virt-www.inuinu.co.jp(210.111.222.3) |
バーチャルドメイン | nekoneko.tv |
zone "inuinu.zone" { <-元のドメイン type master; }; zone "nekoneko.zone" { <-追加するバーチャルドメイン type master; }; |
@ 3600 IN SOA ns1.inuinu.co.jp. postmaster.ns1.inuinu.co.jp. (
2003071101
28800 ; Refresh
14400 ; Retry
360000 ; Expire
86400 ) ; Minimum
IN NS ns1.inuinu.co.jp.
IN NS ns2.inuinu.co.jp.
IN MX 10 virt-www.nekoneko.tv.
;
IN A 210.111.222.3 <-※1
virt-www IN A 210.111.222.3
IN MX 10 virt-www.nekoneko.tv.
;
; CNAME
;
localhost IN CNAME localhost.
|
service named restart |
virt-www@inuinu.co.jp virt-www@nekoneko.tv |
inuinu@nekoneko.tv inuinu webmaster@nekoneko.tv inuinu info@nekoneko.tv inuinu@inuinu.co.jp |
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable |
service sendmail resatrt |
/usr/sbin/sendmail -t -f 自分のメールアドレス to:宛先アドレス subject:タイトル 本文 . (.だけ入力すると終了になる。) |
/usr/sbin/sendmail -t -f 自分のメールアドレス -O DeliveryMode=q (後は同じ) |
DAEMON=yes QUEUE=1h |
DAEMON=yes QUEUE=30s |
define(`QUEUE_DIR',`/var/spool/mqueue/dir*')dnl define(`confMAX_QUEUE_CHILDREN', `2')dnl define(`confMAX_QUEUE_RUN_SIZE', `999999')dnl |
myhostname = host.mydomain.co.jp (自分のサーバー名) mydomain = mydomain.co.jp (自分のドメイン名) myorigin = $myhostname inet_interfaces = all (受信を許す) mydestination = $myhostname, localhost.$mydomain (自分の最終受信先) alias_maps = hash:/etc/aliases alaas_database = hash:/etc/aliases mail_spool_directory = /var/mail (/var/spool/mailでも結局同じ) mynetworks_style = subnet |
#!/bin/bash # chkconfig: 2345 80 30 # description: postfix (sendmail compat.) start() { postfix start } stop() { postfix stop } # See how we were called. case "$1" in start) start ;; stop) stop ;; restart|reload) stop start ;; *) echo $"Usage: $0 {start|stop|restart}" exit 1 esac exit 0 |
#
# Version: @(#) /etc/rc.d/init.d/sybase 1.0
#
# chkconfig: 2345 80 20
# description: This script will browse through the /opt/sybase/install \
# directory and launch all servers configured from this location.
なんでこうやらないといけないのかは知りません。(T_T)