# /usr/local/samba-3.4.5/sbin/smbd -D
/usr/local/samba-3.4.5/sbin/smbd: error while loading shared libraries: libtalloc.so.1: cannot open shared object file: No such file or directory
# cd /etc/ld.so.conf.d
# cat smb.conf
/usr/local/samba/lib
# ldconfig
参考)
Sambaインストール
http://d.hatena.ne.jp/clmind/20080709
2010/04/12
Samba 3.4.5 インストール
CentOS5.4 マシンにインストール
% ./configure --prefix=/usr/local/samba-3.4.5
% make
% make instlal
..
..
==============================================================
MO files for pam_winbind are installed.
==============================================================
==============================================================
All MO files for Samba are installed. You can use "make uninstall"
or "make uninstallmo" to remove them.
==============================================================
正常にmakeできた.
% ./configure --prefix=/usr/local/samba-3.4.5
% make
% make instlal
..
..
==============================================================
MO files for pam_winbind are installed.
==============================================================
==============================================================
All MO files for Samba are installed. You can use "make uninstall"
or "make uninstallmo" to remove them.
==============================================================
正常にmakeできた.
Samba 3.5.2 インストール
CentOS5.4 マシンにインストール
% ./configure --prefix=/usr/local/samba-3.5.2
% make
...
...
Compiling client/client.c
Compiling client/clitar.c
Compiling client/dnsbrowse.c
Compiling lib/readline.c
Compiling ../libcli/security/display_sec.c
Linking bin/smbclient
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `PC'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetent'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `UP'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgoto'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetnum'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `BC'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetstr'
collect2: ld はステータス 1 で終了しました
make: *** [bin/smbclient] エラー 1
3.5だから?
% ./configure --prefix=/usr/local/samba-3.5.2
% make
...
...
Compiling client/client.c
Compiling client/clitar.c
Compiling client/dnsbrowse.c
Compiling lib/readline.c
Compiling ../libcli/security/display_sec.c
Linking bin/smbclient
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `PC'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetent'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `UP'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgoto'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetnum'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `BC'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetstr'
collect2: ld はステータス 1 で終了しました
make: *** [bin/smbclient] エラー 1
3.5だから?
sshfs マウントポイントの共有
特定のユーザが sshfs でマウントしたマウントポイントは
rootを含め他のユーザがアクセスすることはできないが,
sshfs に以下のオプションを付けることで可能になる.
-o allow_other (rootを含む他のユーザ)
-o allow_root
何も設定しないで実行すると以下のようなエラーが出る.
% sshfs -o allow_root 192.168.1.1:/home/test /home/test
hoge@192.168.1.1's password:
fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
sshfsの設定を行う.CentOS5.4の場合は新規作成.
# echo 'user_allow_other' >> /etc/fuse.conf
これで,
% sshfs -o allow_root 192.168.1.1:/home/test /home/test
とすることで,root でもアクセスできるようになる.
参考) SSHFSとは
http://wiki.mmj.jp/index.php?Fedora5%2FFUSE-sshfs
rootを含め他のユーザがアクセスすることはできないが,
sshfs に以下のオプションを付けることで可能になる.
-o allow_other (rootを含む他のユーザ)
-o allow_root
何も設定しないで実行すると以下のようなエラーが出る.
% sshfs -o allow_root 192.168.1.1:/home/test /home/test
hoge@192.168.1.1's password:
fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
sshfsの設定を行う.CentOS5.4の場合は新規作成.
# echo 'user_allow_other' >> /etc/fuse.conf
これで,
% sshfs -o allow_root 192.168.1.1:/home/test /home/test
とすることで,root でもアクセスできるようになる.
参考) SSHFSとは
http://wiki.mmj.jp/index.php?Fedora5%2FFUSE-sshfs
DELL Latitude D600 ドライバー
DELL Latitude D600 ドライバー
http://supportapj.dell.com/support/downloads/driverslist.aspx?c=jp&l=ja&s=gen&ServiceTag=&SystemID=LAT_PNT_PM_D600&os=WW1&osl=jp&catid=&impid=
http://support.dell.com/support/downloads/driverslist.aspx?c=us&l=en&s=gen&catid=32&hidlang=AR&hidos=WW1&impid=-1&os=WW1&osl=DU&servicetag=6F6191J&SystemID=LAT_PNT_PM_D600&TabIndex=
http://supportapj.dell.com/support/downloads/driverslist.aspx?c=jp&l=ja&s=gen&ServiceTag=&SystemID=LAT_PNT_PM_D600&os=WW1&osl=jp&catid=&impid=
http://support.dell.com/support/downloads/driverslist.aspx?c=us&l=en&s=gen&catid=32&hidlang=AR&hidos=WW1&impid=-1&os=WW1&osl=DU&servicetag=6F6191J&SystemID=LAT_PNT_PM_D600&TabIndex=
2010/04/11
Solaris10 on Hyper-V
【Hyper-V】Solaris10
http://mklabo.jp/blog/doctor-k/2008/10/hyper-vsolaris10.html
仮想NICをレガシーで構築すれば動くらしい.
http://mklabo.jp/blog/doctor-k/2008/10/hyper-vsolaris10.html
仮想NICをレガシーで構築すれば動くらしい.
2010/04/10
Remote App
ターミナル サービス RemoteApp (TS RemoteApp)
http://technet.microsoft.com/ja-jp/library/cc753844%28WS.10%29.aspx
Virtual PC にインストールしたWindowsXPやWindowsVista上の
アプリケーションをWindows7から起動する場合に必要.
XPModeには最初からインストールされている.
RetemoApp for WindowsXP SP3用
http://www.microsoft.com/downloads/details.aspx?familyid=E5433D88-685F-4036-B435-570FF53598CD&displaylang=ja
RemoteApp for WindowsVista SP1以降用
http://www.microsoft.com/downloads/details.aspx?FamilyID=26a2de17-8355-4e8d-8f33-9211e48651fb&displaylang=ja
http://technet.microsoft.com/ja-jp/library/cc753844%28WS.10%29.aspx
Virtual PC にインストールしたWindowsXPやWindowsVista上の
アプリケーションをWindows7から起動する場合に必要.
XPModeには最初からインストールされている.
RetemoApp for WindowsXP SP3用
http://www.microsoft.com/downloads/details.aspx?familyid=E5433D88-685F-4036-B435-570FF53598CD&displaylang=ja
RemoteApp for WindowsVista SP1以降用
http://www.microsoft.com/downloads/details.aspx?FamilyID=26a2de17-8355-4e8d-8f33-9211e48651fb&displaylang=ja
Microsoft Web 開発 ガイドライン
Microsoft Web 開発 ガイドライン
~ ASP.NET プログラミング エッセンシャル ~
http://msdn.microsoft.com/ja-jp/asp.net/ff602016.aspx
~ ASP.NET プログラミング エッセンシャル ~
http://msdn.microsoft.com/ja-jp/asp.net/ff602016.aspx
MySQLデータバックアップ
MySQL全データのバックアップ.
# mysqldump --all-databases -u root --password="xxx" > /tmp/mysqlbak.sql
# mysqldump --all-databases -u root --password="xxx" > /tmp/mysqlbak.sql
Security Essentials
マイクロソフト製 無料アンチウイルスソフト
http://www.microsoft.com/security_essentials/
http://www.microsoft.com/japan/athome/magazine/special/SecurityEssentials/default.aspx
マイクロソフト製の無料アンチウイルスソフト「Security Essentials」を実際に使ってみた
http://gigazine.net/index.php?/news/comments/20090930_security_essentials/
http://www.microsoft.com/security_essentials/
http://www.microsoft.com/japan/athome/magazine/special/SecurityEssentials/default.aspx
マイクロソフト製の無料アンチウイルスソフト「Security Essentials」を実際に使ってみた
http://gigazine.net/index.php?/news/comments/20090930_security_essentials/
ブロードキャスト スライド ショーを使用して簡単にプレゼンテーションを共有する
PowerPoint 2010のブロードキャストスライドショーでプレゼンテーションを共有する.
招待された人(閲覧者)はWebブラウザだけあれば共有可能.
発表者は Windows Live ID でサインインが必要らしい.
招待者は制限できるのかな.
http://office2010.microsoft.com/ja-jp/msproducts/mspowerpoint/HA101792302.aspx
招待された人(閲覧者)はWebブラウザだけあれば共有可能.
発表者は Windows Live ID でサインインが必要らしい.
招待者は制限できるのかな.
http://office2010.microsoft.com/ja-jp/msproducts/mspowerpoint/HA101792302.aspx
Solaris10 管理 svcadm
SMF(Service Management Facility)によるサービスの有効化・無効化
# svcadm enable [SERVICE]
# svcadm disable [SERVICE]
設定ファイルの再読み込み
# svcadm refresh [SERVICE]
参考)
http://sy2920.s151.xrea.com/solaris/smf.html
# svcadm enable [SERVICE]
# svcadm disable [SERVICE]
設定ファイルの再読み込み
# svcadm refresh [SERVICE]
参考)
http://sy2920.s151.xrea.com/solaris/smf.html
Solaris10管理 scvs
SMF(Service Management Facility)による各サービスの状態を確認.
# svcs -a
disable 以外のサービスを確認.
# svcs
参考)
http://sy2920.s151.xrea.com/solaris/smf.html
# svcs -a
disable 以外のサービスを確認.
# svcs
参考)
http://sy2920.s151.xrea.com/solaris/smf.html
2010/04/09
2010/04/08
Infortrend シリアル接続設定
SunサーバのILOMにシリアル接続する場合の端末設定メモ.
ポートレート:38400
データ:8bit
パリティ:none(無し)
ストップ:1bit
フロー制御:none(無し)
※ぷらっとホーム TrusRAID やニューテック製 UltimateIV など.
ポートレート:38400
データ:8bit
パリティ:none(無し)
ストップ:1bit
フロー制御:none(無し)
※ぷらっとホーム TrusRAID やニューテック製 UltimateIV など.
登録:
投稿 (Atom)