WEBメーラーのRAINLOOPをインストール

無料のWEBメーラーで代表的なのは、「SquirrelMail」、「roundcube」、「RAINLOOP」などがありますが、インストールが簡単でマルチアカウント ...
ファイルシステム(fstab)をLABELで管理する

ext2/ext3/ext4のファイルシステムで、fstab を「/dev/sda1」等で管理するのではなく「LABEL=home /home〜〜」と記述する方法 ...
CentOS 6.8にPHP5.1をインストール(RPMパッケージ)

前回の記事でソースからCentOS 6.xにPHP5.1をインストールしましたが、結局はMakeでエラーになりインストールは駄目でしたので、今回はRPMパッケージをダウンロードしてインストールしてみたいと思います
PHP5. ...CentOS 6.8 PHP5.1をソースからインストール

CentOS 5がサポート期間終了で、CentOS 6.8に移行する案件で、以前のPHPのバージョン(PHP 5.1)のままで移行する必要がありましたその際にソースからインストールした記 ...
Apacheのバージョンを上げたら「Internal Server Error」

最近、CentOS 5系のサポート期間終了で、CentOS 6への移行作業の依頼が多くW ...
ApacheでSSLが有効にならない(Invalid command ‘SSLEngine’, perhaps misspelled〜)

概要
サーバーの移設作業でApacheをインストールして設定してSSLの設定を有効にして起動すると、下記のエラーになって起動しないケースがありました。
Invalid command 'SSLEng ...
圧縮しないZIPファイル作成 | CentOS

サーバーの移設でWEBコンテンツなどで細かなファイルが多く、転送速度が遅くなるので圧縮して転送しようと思いましたが画像ファイル中心のWEBコンテンツだったので圧縮しても意味が無いので、圧縮しない ...
DISKのマウント状態確認 | Cent 0S

マウントしているDISKの状態やどのようなオプションでマウントしているか確認する方法を紹介します
DISKマウント状態を確認するどのようなマウントポジションで確認したり、 ...
Apacheの再起動の違い(restart,reload,graceful)

Apacheで設定ファイルを変更した後の再起動ですが、大きく分けると「restart」、「reload」、「graceful」があります。このオプションの違いですが、以前の職場では以下のようなルールでした ...
VirtualHostを設定時にIP直打ちでアクセスした場合の対処

ApacheでVirtualHostを設定して、VirtualHost毎にWEBページを設定しても、サーバー自体のIPアドレスを直打ちされると意図しないVirtualHost毎にWEBページが表示されます。
これは名前 ...
tarで圧縮する時に特定のディレクトリは除外する方法

このサーバーのバックアップですが、cronでWEBコンテンツがあるディレクトリをtarで圧縮しています。owncloudを入れたので容量が大きくなってバックアップのダウンロードに時間をかかるようになりました。owncloudの領域 ...
DISKの使用率が規定値以上になるとメールするスクリプト

DISKの使用率が90%以上になるまで気付かなかったケースがありました。
監視ソフトでDISKの使用率・CPU負荷などは監視していて、DISKの使用率が90%を超えるアラートメールが届いていましたが、他のメール多すぎて ...
VPSのベンチ比較(お名前COM、さくら、カゴヤ、Serverman)

ServersMan@VPSのCentOS7で、このサイトを運営してきましたが、yum updateするとネットワークが繋がらない障害が改善しないので、別のサーバーに移設する事にしました。
クラウドも考えましたは、アク ...
dateコマンドで一日前を取得する方法

ログファイルの操作をするシェルスクリプトを作っている時に、ファイル名が日付で生成されていて、一日前の日付のログファイルを操作する参考にしたりするスクリプトを作っている時に、dateコマンドで一日前の日付を取得する方法です
d ...無料のSSL証明書 Let’s EncryptでApacheをSSL化

ownCloudをサーバーに導入しましたが、暗号化したいのでSSL証明書をインストールします。SSL証明書は無料の「Let’s Encrypt」を利用します。
Let’s Encryptは、20 ...