centos

DNS server memo

CentOS5でDNS serverを作った。設定の際に有用だったサイトのリンク リンク 名前解決の仕組みとゾーンファイルの設定 http://www.atmarkit.co.jp/flinux/rensai/bind02/bind02.html はじめての自宅サーバー構築 〜 Fedora/CentOS 〜 http://kajuhome.com/bin…

fds install memo

cd /etc/yum.repos.d wget http://dev.centos.org/centos/5/CentOS-Testing.repo edit CentOS-Testing.repo add line exclude=java-1.7.0-icedtea /usr/sbin/groupadd fds /usr/sbin/useradd fds -g fds -s /sbin/nologin -M -p PasswordHere. yum --enabler…

squid

/etc/squid/squid.conf cache_dir ufs /usr/local/squid/cache 4096 16 256 auth ldap ref http://www.cyberciti.biz/tips/howto-configure-squid-ldap-authentication.htmladd line /etc/squid/squid.conf auth_param basic program /usr/lib64/squid/squid…

shorewall

設定がうまく動くかの確認は /sbin/shorewall restart で /etc/init.d/shorewall restart ではない 各設定は #LAST LINE -- DO NOT REMOVE の前に書かないと反映されないことがある link 参考設定 http://sinensis.plala.jp/mm/823e253083099131afbf56481267…

security

Tripwire Tripwireはepel repositoryからyumでinstallできる yumからinstallしたものの設定方法はfedoraの http://yokensaka.com/fedora/index.php?catid=22&blogid=1 と同じに設定できる chkrootkit http://centossrv.com/chkrootkit.shtml

Yum関係設定

rpmforge http://centossrv.com/rpmforge.shtml http://wiki.linux.duke.edu/YumFaq http://www.phy.duke.edu/~rgb/General/yum_HOWTO/yum_HOWTO/yum_HOWTO.html http://www.atmarkit.co.jp/flinux/rensai/linuxtips/611usefllyum.html yumで古いバージョン…

CentOS Installation Memo

大学の研究室(lab)のような小規模なネットワークでCentOSをサーバー又はクライアントPCとして設定する方法をまとめてみました。以下の設定をしています。 /home はファイルサーバー 192.168.1.2 fileserver に置きます login認証をldapのサーバー 192.168.1.…

git & smart-http

# nano /etc/httpd/conf.d/git.conf SetEnv GIT_PROJECT_ROOT /srv/git SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git /usr/local/libexec/git-core/git-http-backend AuthType Basic AuthName "Git Area" AuthUserFile /srv/.htpasswd require valid-user O…

その他の参考サイト

以下のサイトが参考になる CentOS 5設定メモ http://tmcosmos.org/linux/centos/co5.html wxPythonがinstallできない いろいろなリポジトリをいれているためinstallできなかった。fedra extraのリポジトリのみをenableにしたらinstallできた CentOS5.0から5.…

ルータとして使う場合の設定

echo "1" > /proc/sys/net/ipv4/ip_forwardorvi /etc/sysctl.conf

popfile

yum install perl-DBI perl-HTML-Tagset perl-TimeDate perl-IO-Socket-SSL perl-Net-SSLeay perl-DBD-SQLite perl-DBD-SQLite2 perl-HTML-Template perl-SOAP-Lite ref http://amatubu.skr.jp/index.cgi?action=browse&diff=1&id=POPFile/CentOS http://d.h…

Mondo Rescue

Install # cd /etc/yum.repos.d/ # wget ftp://ftp.mondorescue.org/rhel/5/mondorescue.repo # wget ftp://ftp.mondorescue.org/rhel/5/pb.repo # yum install mondo mindi mondorescue 手順 バックアップの方法は http://www.thinkit.co.jp/cert/article/0…

設定方法

以下の手順で設定します 再起動してusename : rootでloginする /etc/hostsに以下を追加する 192.168.1.3 ldapserver 192.168.1.2 fileserver fileserver:/homeをマウントする インストール時に設定された/homeを/homelocalに以下の手順で移動する labuserのh…

インストール方法

インストール完全ガイド CentOS 5.0 http://itpro.nikkeibp.co.jp/article/COLUMN/20070425/269496/ に従ってインストールを行います。 ただし、このドキュメントの手続を以下のように変更します 「3 言語の選択」 「Japanese(日本語)」を選択したら,「Ne…