いれたいんんだけど、
fping は zabbix-1.4.5-1.el5.i386 に必要とされています
libiksemel.so.3 は zabbix-1.4.5-1.el5.i386 に必要とされています
とでて、インストールできない。

fpingは
http://dag.wieers.com/rpm/packages/fping/
にあるようす。

libiksemel.so.3 は
http://rpm.pbone.net/index.php3/stat/3/limit/3/srodzaj/1/dl/40/search/libiksemel.so.3/field%5B%5D/1/field%5B%5D/2
にあるもよん。

ちなみにRPMじゃなくyumの設定をしました。
http://www.zabbix.jp/modules/bwiki/index.php?yum%A5%EA%A5%DD%A5%B8%A5%C8%A5%EA%A4%CE%CD%F8%CD%D1%CA%FD%CB%A1
を参照。
CentOS 5

# vi /etc/yum.repos.d/zabbix-jp.repo

[zabbix-jp]
name=ZABBIX-JP
baseurl=http://www.zabbix.jp/rpms/rhel5/$basearch/
gpgcheck=0
enabled=1
[PR]
by tenten909 | 2008-07-23 17:27 | PC-Unix等
CentOS5:インストール後にFireWallを無効にするには
system-config-securitylevel-tui コマンドを使用。
a0021920_2056310.jpg

[PR]
by tenten909 | 2008-07-20 20:56 | PC-Unix等
# locate logwatch.conf
で、設定ファイルを探す。
/etc/logwatch/conf/logwatch.conf
/usr/share/logwatch/default.conf/logwatch.conf

一応、念のためということでコピーを作成。
# cp /usr/share/logwatch/default.conf/logwatch.conf /usr/share/logwatch/default.conf/logwatch.conf.org

vimで編集
# vi /usr/share/logwatch/default.conf/logwatch.conf

# The default detail level for the report.
# This can either be Low, Med, High or a number.
# Low = 0
# Med = 5
# High = 10
Detail = High  → ログの詳細の度合いを設定。初期設定はLow

メール転送先変更
(以下引用:CentOSで自宅サーバー構築
[root@centos ~]# sed -i '/^root:/d' /etc/aliases ← 旧root宛メール転送設定削除

[root@centos ~]# echo "root: hoge@nifty.com" >> /etc/aliases
 ← root宛メールを普段使用しているメールアドレス(例:hoge@nifty.com)宛に転送する

[root@centos ~]# newaliases ← 転送設定反映

[root@centos ~]# echo test|mail root ← テストメールをroot宛に送信する

テストメールが転送先メールアドレス宛に届いていることを確認する
[PR]
by tenten909 | 2008-07-17 04:58 | PC-Unix等
# lsmod | grep ipv6
ipv6 258273 17 ip6t_REJECT
xfrm_nalgo 13765 1 ipv6

でIPv6が有効なのを確認。

/etc/modprobe.confに
alias net-pf-10 off
を記入して再起動。

参考URL
Fedora CoreでIPv6を無効にするには
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/872disableipv6.html
[PR]
by tenten909 | 2008-07-16 20:55 | PC-Unix等
CentOS 5 マシンに入ってなかったのでinstall。

# yum -y install tsclient

これで、Windowsマシンをリモートで操れます♪
a0021920_562486.jpg

[PR]
by tenten909 | 2008-04-07 05:14 | PC-Unix等
参照CentOS/Anthy+SCIM

[root@localhost ~]# cd /etc/yum.repos.d
[root@localhost yum.repos.d]# ls
CentOS-Base.repo CentOS-Media.repo
[root@localhost yum.repos.d]# wget http://centos.karan.org/kbsingh-CentOS-Extras.repo
--15:36:46-- http://centos.karan.org/kbsingh-CentOS-Extras.repo
=> `kbsingh-CentOS-Extras.repo'
centos.karan.org をDNSに問いあわせています... 193.28.235.40
centos.karan.org|193.28.235.40|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 617 [text/plain]

100%[====================================>] 617 --.--K/s

15:36:47 (4.86 MB/s) - `kbsingh-CentOS-Extras.repo' を保存しました [617/617]

[root@localhost yum.repos.d]# rpm --import http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
[root@localhost yum.repos.d]# yum install scim scim-libs scim-anthy anthy-7100b kasumi
Setting up Install Process
Setting up repositories
kbs-CentOS-Extras 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 711 kB 00:02
kbs-CentOS: ################################################## 2885/2885
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for scim-libs to pack into transaction set.
scim-libs-1.4.4-1.el4.kb. 100% |=========================| 14 kB 00:00
---> Package scim-libs.i386 0:1.4.4-1.el4.kb set to be updated
---> Downloading header for anthy to pack into transaction set.
anthy-7100b-1.el4.kb.i386 100% |=========================| 7.8 kB 00:00
---> Package anthy.i386 0:7100b-1.el4.kb set to be updated
---> Downloading header for kasumi to pack into transaction set.
kasumi-1.0-1.el4.kb.i386. 100% |=========================| 4.1 kB 00:00
---> Package kasumi.i386 0:1.0-1.el4.kb set to be updated
---> Downloading header for scim-anthy to pack into transaction set.
scim-anthy-0.9.0-1.el4.kb 100% |=========================| 8.0 kB 00:00
---> Package scim-anthy.i386 0:0.9.0-1.el4.kb set to be updated
---> Downloading header for scim to pack into transaction set.
scim-1.4.4-1.el4.kb.i386. 100% |=========================| 17 kB 00:00
---> Package scim.i386 0:1.4.4-1.el4.kb set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
anthy i386 7100b-1.el4.kb kbs-CentOS-Extras 5.0 M
kasumi i386 1.0-1.el4.kb kbs-CentOS-Extras 98 k
scim i386 1.4.4-1.el4.kb kbs-CentOS-Extras 263 k
scim-anthy i386 0.9.0-1.el4.kb kbs-CentOS-Extras 336 k
scim-libs i386 1.4.4-1.el4.kb kbs-CentOS-Extras 727 k

Transaction Summary
=============================================================================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 6.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): scim-libs-1.4.4-1. 100% |=========================| 727 kB 00:03
(2/5): anthy-7100b-1.el4. 100% |=========================| 5.0 MB 00:32
(3/5): kasumi-1.0-1.el4.k 100% |=========================| 98 kB 00:01
(4/5): scim-anthy-0.9.0-1 100% |=========================| 336 kB 00:01
(5/5): scim-1.4.4-1.el4.k 100% |=========================| 263 kB 00:02
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: scim-libs ######################### [1/5]
Installing: scim ######################### [2/5]
Installing: kasumi ######################### [3/5]
Installing: anthy ######################### [4/5]
Installing: scim-anthy ######################### [5/5]

Installed: anthy.i386 0:7100b-1.el4.kb kasumi.i386 0:1.0-1.el4.kb scim.i386 0:1.4.4-1.el4.kb scim-anthy.i386 0:0.9.0-1.el4.kb scim-libs.i386 0:1.4.4-1.el4.kb
Complete!
[root@localhost yum.repos.d]# yum -y install tomoe scim-tomoe libtomoe-gtk
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libtomoe-gtk to pack into transaction set.
libtomoe-gtk-0.1.0-6.el4. 100% |=========================| 3.7 kB 00:00
---> Package libtomoe-gtk.i386 0:0.1.0-6.el4.kb set to be updated
---> Downloading header for tomoe to pack into transaction set.
tomoe-0.2.1-4.el4.kb.i386 100% |=========================| 3.8 kB 00:00
---> Package tomoe.i386 0:0.2.1-4.el4.kb set to be updated
---> Downloading header for scim-tomoe to pack into transaction set.
scim-tomoe-0.2.0-3.el4.kb 100% |=========================| 3.6 kB 00:00
---> Package scim-tomoe.i386 0:0.2.0-3.el4.kb set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
libtomoe-gtk i386 0.1.0-6.el4.kb kbs-CentOS-Extras 68 k
scim-tomoe i386 0.2.0-3.el4.kb kbs-CentOS-Extras 32 k
tomoe i386 0.2.1-4.el4.kb kbs-CentOS-Extras 254 k

Transaction Summary
=============================================================================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 354 k
Downloading Packages:
(1/3): libtomoe-gtk-0.1.0 100% |=========================| 68 kB 00:00
(2/3): tomoe-0.2.1-4.el4. 100% |=========================| 254 kB 00:02
(3/3): scim-tomoe-0.2.0-3 100% |=========================| 32 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: tomoe ######################### [1/3]
Installing: libtomoe-gtk ######################### [2/3]
Installing: scim-tomoe ######################### [3/3]

Installed: libtomoe-gtk.i386 0:0.1.0-6.el4.kb scim-tomoe.i386 0:0.2.0-3.el4.kb tomoe.i386 0:0.2.1-4.el4.kb
Complete!
[root@localhost yum.repos.d]# cd /etc/X11/xinit/xinput.d/
[root@localhost xinput.d]# mv bn_IN bn_IN.org
[root@localhost xinput.d]# mv gu_IN gu_IN.org
[root@localhost xinput.d]# mv kn_IN kn_IN.org
[root@localhost xinput.d]# mv ml_IN ml_IN.org
[root@localhost xinput.d]# mv pa_IN pa_IN.org
[root@localhost xinput.d]# system-switch-im
[PR]
by tenten909 | 2008-03-06 16:23 | PC-Unix等
ディストリビューションによって方言があるのはわかるけど、こゆ一般的なトコは統一してほしいなぁとつくづく思うです。

/etc/sysconfig/network-scripts/ifcfg-eth0

に記載されているので、自分の環境に応じて編集。

以下設定例 MACアドレスは00でつぶしてます。そもそもいらないのかもしれないけど。

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.10.255
HWADDR=00:00:00:00:00:00
IPADDR=192.168.10.254
IPV6ADDR=
IPV6PREFIX=
NETMASK=255.255.255.0
NETWORK=192.168.10.0
ONBOOT=yes

debian -etch- IP固定については過去ログ参照
http://tenten909.exblog.jp/5756801/
[PR]
by tenten909 | 2007-08-25 05:11 | PC-Unix等
CentOSでUPDATEするさい、

#yum -y update

-yを付けると、途中でy/nの選択しなくてすむみたいだ。
[PR]
by tenten909 | 2007-07-05 16:37 | PC-Unix等
#yum install samba でインストール。

#smbpasswd -a tenten909
New SMB password:
Retype new SMB password:
Added user tenten909.
#
でSMB用のアカウント作成。

/etc/samba/smb.conf を書き換え及び追記。
[global]
workgroup = workgroup に変更
hosts allow = 192.168.10. 127. に変更

netbios name =CentOS4 を任意の行に追加。

load printers = no に変更

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd コメントになっていたのを変更
#============================ Share Definitions ==============================

[homes]
comment = Home Directories
browseable = yes
writable = yes に変更
保存してVIを終了。


#etc/rc.d/init.d/smb restart
でSMB再起動。

これでとりあえず、Windowsから読み書きすることができました。

参考URL:http://www.jitaku-server.net/samba_setup.html
[PR]
by tenten909 | 2007-07-01 16:02 | PC-Unix等