物理PC や KVM で何台もインストールしていると 32bit か 64bit か忘れてしまいます。 CentOS5.x では環境変数 HOSTTYPE を見ればわかります。(他のディストリは知りません)
◆準備ができていないときのエラー [root@localhost ~]# mount -t smbfs //192.168.0.6/share /mnt/nas mount: unknown filesystem type ‘smbfs’ [root@localhost ~]# mount -t smbfs //192.168.0.6/share /mnt/nas mount: unknown filesystem type ‘smbfs’ CIFS VFS: cifs_mount failed w/return code = -22 ◆準備する [root@localhost ~]# yum install samba-client ◆マウントする [root@localhost ~]# mount -t cifs -o username=share,iocharset=utf8 //1
CentOS 7上で動かしていたZabbix 4.0を、Ubuntu 22.04に移行しつつZabbix 6.0系にアップグレードしました。Zabbixのインストール自体はなんてことはないのですが、データベースのアップグレードですこし難儀したため、その記録です。 移行元のLAMP環境 OS: CentOS 7.9.2009 Webサーバー: 2.4.6 DB: MariaDB 5.5.68 PHP: 5.4.16 Zabbix: 4.0.42 CentOS 7自体はまだサポート中ですが、新しいZabbixでは新しめのPHPを要求されるため、Ubuntu 22.04で再構築してDBを移行することとしました。 DBは、文字コードがlatin1で作られていたため、今回を期にUTF-8に移行します。これが今回の罠ポイントです。 移行先のLAMP環境 OS: Ubuntu 22.04 Webサーバー
サーバ仮想化ソフトウェアといえばVMware社の製品が有名で、その安定感や管理ツールは定評があり、エンタープライズ用途では大きなシェアを占めています。 が、近年はオープンソースのサーバ仮想化ソフトウェア"Xen"が、性能などの技術評価が高く、様々なLinuxディストリビュータが取り込みを始めたり、Xenをベースとした商用製品が出てきたりしています。 私も、以前「Xenによる仮想化環境構築ログ」でXenの環境構築について紹介しましたが、基本的に全てコマンドラインでの作業で、やや敷居が高いことは否めません。 Xenそのものだけでは、誰でも簡単に・・・というわけにはいかず、使いやすいGUIベースのXenの運用管理ツールは需要があるのではないかと思っています。 で、これまた以前「オープンソースベースのXenの管理ツール」で、いくつかの管理ツールを少しだけ紹介しましたが、そのうちの1つ「Virtua
SOHOや自宅で,Red Hat Enterprise Linux(RHEL)を導入したサーバーを2台使う。ぜいたくな使い方だが,これに近いことは簡単に実現できる。RHELのクローンOS(互換OS)で無償で入手できる「CentOS」と,オープンソースの仮想化ソフト「Xen」を組み合わせる手法だ。 ここでは,CentOS上でXenを使用して,「仮想マシン・サーバー」を構築する方法を具体的に説明する。 目次
October 2, 2008 – 2:42 pm PHP5でウェブアプリケーションやウェブサービスの開発をする際、Zend Framework(ZF)が役に立つ、強く推奨されるとの話を聞いた(Google Web ServiceのYou-tube上のデモだったと思う)。早速、我がサーバにも、これをインストールすることにし、マニュアル(プログラマ向けリファレンスガイド)を読んで見ると、その「1.2 インストール」の冒頭に、 Zend FrameworkはPHP 5.1.4以降でないと動作しません。しかし、Zendとしては5.2.3以降を使うことを強く推奨します。というのも、5.2.3より前のバージョンと比べて安全性やパフォーマンスが劇的に向上しているからです。 と記述されている。これを受けて、我がサーバもPHPバージョンを最新の安定版5.2.6にアップグレードすることにしなければ、と作業を
[root@centos ~]# wget http://jaist.dl.sourceforge.net/sourceforge/mediatomb/mediatomb-0.12.1.tar.gz ← MediaTombダウンロード ※最新版のURLはダウンロードページで確認すること [root@centos ~]# tar zxvf mediatomb-0.12.1.tar.gz ← MediaTomb展開 [root@centos ~]# mkdir -p rpmbuild/{SOURCES,SPECS} ← RPM作成用ディレクトリ作成 [root@centos ~]# cp mediatomb-0.12.1/mediatomb.spec rpmbuild/SPECS/ ← mediatomb.specを所定のディレクトリへコピー [root@centos ~]# cp media
そのままマウントは出来ない。 # mount system.img /mnt/ mount: system.img is not a block device (maybe try `-o loop'?) # mount -o loop system.img /mnt/ mount: you must specify the filesystem type # file system.img system.img: x86 boot sector; partition 1: ID=0x83, active, starthead 1, startsector 63, 208782 sectors; partition 0x8e, starthead 0, startsector 208845, 12370050 sectors, code offset 0x48開いているループバックデバイス
■ はじめに 当サイトは FedoraCore や CentOS で自宅サーバを構築する手順を自宅の構成に沿って紹介しています。 自宅サーバの利点はプロバイダで用意されているホームページ制限(容量やPerl(CGI)の制限)、メールボックス容量等々に束縛されない所にあります。 この点を補う為に、自宅サーバを構築しようとしている方々に当サイトが参考程度になれば幸いです。 ここでご紹介している設定方法やパッケージのバージョン・サポートが終了している物等があるかもしれませんのでご了承下さい。 間違った設定や誤字・脱字、リンク切れ等がありましたら送信フォームでお知らせください。 また、疑問点やLinuxに関する質問等は質問掲示板をご利用ください。そのほか、雑談など気晴らしに雑談掲示板へお越し下さい。 ■ 自宅サーバ公開の前提条件 ■ ハードウェアについて 現在サポートされているディストリビューショ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く