業務用エアコン関連の技術情報、エラーコード、環境問題対策に関する別サイト「エアコンの安全な修理・適切なフロン回収」

nuy

LinuxTips(RedHat系)

カーネルモジュールの詳細情報を表示する

カーネルモジュールの詳細情報を表示するロードされている各モジュールの詳細情報を表示するには、modinfoコマンドを使用...
LinuxTips(RedHat系)

RPMパッケージの情報を表示

Display RPM package informationTo find out what features a particular package provides, use the -q option to make a query, and the -i sub-option in combination to display that information.Specify the package name of the package for which you want to display information as an argument.
LinuxTips(RedHat系)

RPMパッケージがインストールされたディレクトリを表示する

Display the directory where the RPM package is installed.To find out where the relevant files are when you install a particular package, run the rpm command with theTo check where the related files are located after installing a particular package, run the rpm command with the "-ql" option. Specify the package name as an argument.
LinuxTips(RedHat系)

特定のプログラムがどのRPMパッケージに含まれているかを確認する

Check which RPM package a particular program is included in.To check which RPM package a particular program is included in, add the "-qf" option to the rpm command and specify the program (executable file) as an argument.[root@Lion ~]# rpm -qf /usr/sbin/dovecotdovecot-2.2.36-3.el7.x86_64
LinuxTips(RedHat系)

RPMパッケージのインストールテストを行う

Test the installation of RPM packages.Sometimes, due to dependencies, conflicts, or other problems, an error message will be displayed when executing the install command and the installation will fail.It is possible to test for such problems before installation.To do so, run the rpm command with the "--test" option and execute the installation.[root@Lion ~]# rpm -ivh --test zlib-devel-1.2.3-4vl5.i386.rpm↑Test the installation of the rpm package
LinuxTips(RedHat系)

RPM依存パッケージを表示する

Show RPM dependent packagesDependencies are often a problem when manipulating packages, such as installing, upgrading, or removing RPM packages.So to avoid these problems, it is important to check the dependencies in advance.To check what package a particular package depends on, run the rpm command with the "-q" option in combination with the "-R" option to display the name of the dependent package.
LinuxTips(RedHat系)

RPMパッケージをインストールする

RPMパッケージをインストールするrpmパッケージをインストールするには、rpmコマンドにオプション「-i」を付けてコマ...
LinuxTips(RedHat系)

YUMによるパッケージ管理

YUMによるパッケージ管理CentOSや、Fedoraには、RPMパッケージの依存関係を自動的に解消してインストールする...
LinuxTips(RedHat系)

公開鍵をインポートする

公開鍵をインポートするにはrpmコマンドでパッケージをインストールする際、下記のような警告メッセージが表示される場合があ...
LinuxTips(RedHat系)

RPMデータベース

RPM Database●Rebuild the RPM database.Information about RPM packages is stored in the RPM database.When searching for information about a package, this RPM database plays an important role, but sometimes it gets corrupted.In such a case, the RPM database can be rebuilt by running the rpm command with the "--rebuilddb" option.[root@Lion ~]# rpm --rebuilddb[root@Lion ~]#●Create a new RPM package database.To create a new RPM package database, run the rpm command with the "--initdb" option.
LinuxTips(RedHat系)

ファイルシステムの一貫性をチェックする

ファイルシステムの一貫性をチェックするext2(Linux第2拡張ファイルシステム)及び、ext3(ジャーナル、自動記録...
LinuxTips(RedHat系)

接続デバイスのIRQを表示する

接続デバイスのIRQを表示する/proc/interruptsファイルは、IRQ(InterruptReQuest:割り...
LinuxTips(RedHat系)

PCIデバイスの情報を表示する

Display PCI device informationTo check the information of a PCI device in Linux, use the lspci command.This lspci command can be executed with the option "-v" to display more detailed information.You will need super user (root) privileges to run this command.
LinuxTips(RedHat系)

不要サービスを停止する

Linux starts many unnecessary services (programs) that are not used immediately after installation.Services that are not used consume server resources unnecessarily just by being started and running, which is not desirable for security measures.There are two commands to stop services: service and chkconfig, but the service command will cancel the settings and start the stopped service when the server is restarted.Stop the service with the chkconfig command, which will keep the service stopped even after restarting the server.
LinuxTips(RedHat系)

CPUの各種情報を表示する

CPUの各種情報を表示する●PCに搭載されているCPU情報を表示するPCに搭載されているCPU情報を表示する場合、「/p...