差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| linux:samba:pkg_install [2021/05/23 13:29] – [パッケージインストール] ともやん | linux:samba:pkg_install [2024/02/02 23:02] (現在) – [Firewallの設定] ともやん | ||
|---|---|---|---|
| 行 2: | 行 2: | ||
| ===== パッケージインストール ===== | ===== パッケージインストール ===== | ||
| - | **Fedora & CentOS 7 ~**\\ | + | Fedora & CentOS 7 ~ |
| - | < | + | < |
| - | <code> | + | <WRAP color_command>< |
| - | $ sudo dnf install samba samba-client | + | <b class=GRN> |
| - | </code> | + | </pre></ |
| - | </ | + | < |
| - | < | + | メタデータの期限切れの最終確認: 1:53:47 時間前の 2022年08月20日 10時25分41秒 に実施しました。 |
| - | <code> | + | パッケージ samba-client-2:4.16.4-0.fc36.x86_64 |
| - | Fedora 33 - x86_64 | + | 依存関係が解決しました。 |
| - | Fedora Modular 33 - x86_64 | + | |
| - | Fedora 33 - x86_64 | + | |
| - | Fedora 33 - x86_64 - Updates | + | |
| - | Fedora Modular 33 - x86_64 - Updates | + | |
| - | Fedora Modular 33 - x86_64 | + | |
| - | Dependencies resolved. | + | |
| ==================================================================================================== | ==================================================================================================== | ||
| - | Package | + | パッケージ |
| ==================================================================================================== | ==================================================================================================== | ||
| - | Installing: | + | インストール: |
| - | | + | <b class=GRN> |
| - | samba-client | + | 依存関係のインストール: |
| - | Installing dependencies: | + | <b class=GRN> |
| - | | + | <b class=GRN> |
| - | cups-libs x86_64 | + | <b class=GRN> |
| - | libldb | + | <b class=GRN> |
| - | libsmbclient | + | <b class=GRN> |
| - | | + | <b class=GRN> |
| - | | + | <b class=GRN> |
| - | libtevent | + | <b class=GRN> |
| - | | + | <b class=GRN> |
| - | libwbclient | + | <b class=GRN> |
| - | samba-client-libs | + | <b class=GRN> |
| - | samba-common | + | <b class=GRN> |
| - | | + | <b class=GRN> |
| - | | + | |
| - | | + | |
| - | Installing weak dependencies: | + | |
| - | | + | |
| - | Transaction Summary | + | トランザクションの概要 |
| ==================================================================================================== | ==================================================================================================== | ||
| - | Install | + | インストール |
| - | Total download size: 8.5 M | + | ダウンロードサイズの合計: 6.8 M |
| - | Installed size: 30 M | + | インストール後のサイズ: 32 M |
| - | Is this ok [y/N]: y | + | これでよろしいですか? |
| - | Downloading Packages: | + | パッケージのダウンロード: |
| - | (1/17): libtalloc-2.3.1-5.fc33.x86_64.rpm | + | (1/14): lmdb-0.9.29-3.fc36.x86_64.rpm |
| - | (2/17): libtdb-1.4.3-5.fc33.x86_64.rpm | + | (2/14): python3-dns-2.2.0-1.fc36.noarch.rpm 812 kB/s | 335 kB |
| - | (3/17): libtevent-0.10.2-5.fc33.x86_64.rpm | + | (3/14): libkadm5-1.19.2-11.fc36.x86_64.rpm |
| - | (4/17): avahi-libs-0.8-7.fc33.x86_64.rpm | + | (4/14): python3-ldb-2.5.2-1.fc36.x86_64.rpm |
| - | (5/17): logrotate-3.17.0-3.fc33.x86_64.rpm | + | (5/14): python3-talloc-2.3.4-1.fc36.x86_64.rpm |
| - | (6/17): cups-libs-2.3.3op2-7.fc33.x86_64.rpm | + | (6/14): python3-samba-dc-4.16.4-0.fc36.x86_64.rpm |
| - | (7/17): libsmbclient-4.13.9-0.fc33.x86_64.rpm | + | (7/14): python3-tdb-1.4.7-1.fc36.x86_64.rpm |
| - | (8/17): libldb-2.2.1-1.fc33.x86_64.rpm | + | (8/14): python3-tevent-0.12.1-1.fc36.x86_64.rpm |
| - | (9/17): liburing-0.7-3.fc33.x86_64.rpm | + | (9/14): python3-samba-4.16.4-0.fc36.x86_64.rpm |
| - | (10/17): libwbclient-4.13.9-0.fc33.x86_64.rpm | + | (10/14): samba-common-tools-4.16.4-0.fc36.x86_64.rpm |
| - | (11/17): samba-4.13.9-0.fc33.x86_64.rpm | + | (11/14): samba-dc-libs-4.16.4-0.fc36.x86_64.rpm |
| - | (12/17): samba-client-4.13.9-0.fc33.x86_64.rpm | + | (12/14): samba-4.16.4-0.fc36.x86_64.rpm |
| - | (13/17): samba-common-4.13.9-0.fc33.noarch.rpm | + | (13/14): samba-libs-4.16.4-0.fc36.x86_64.rpm |
| - | (14/17): samba-common-libs-4.13.9-0.fc33.x86_64.rpm | + | (14/14): tdb-tools-1.4.7-1.fc36.x86_64.rpm |
| - | (15/17): samba-libs-4.13.9-0.fc33.x86_64.rpm | + | |
| - | (16/17): samba-common-tools-4.13.9-0.fc33.x86_64.rpm | + | |
| - | (17/17): samba-client-libs-4.13.9-0.fc33.x86_64.rpm | + | |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
| - | Total 1.0 MB/s | 8.5 MB 00:08 | + | 合計 |
| - | Running transaction check | + | トランザクションの確認を実行中 |
| - | Transaction check succeeded. | + | トランザクションの確認に成功しました。 |
| - | Running transaction test | + | トランザクションのテストを実行中 |
| - | Transaction test succeeded. | + | トランザクションのテストに成功しました。 |
| - | Running transaction | + | トランザクションを実行中 |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | インストール中 |
| - | | + | インストール中 |
| - | | + | |
| - | | + | インストール中 |
| - | Created symlink | + | |
| + | インストール中 | ||
| + | | ||
| + | インストール中 | ||
| + | scriptletの実行中: samba-2:4.16.4-0.fc36.x86_64 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| + | 検証 | ||
| - | Running scriptlet: samba-common-2: | + | インストール済み: |
| - | | + | |
| - | Running scriptlet: samba-common-2: | + | |
| - | Installing | + | |
| - | | + | |
| - | Installing | + | |
| - | Installing | + | samba-common-tools-2:4.16.4-0.fc36.x86_64 |
| - | Installing | + | samba-libs-2:4.16.4-0.fc36.x86_64 |
| - | | + | |
| - | Installing | + | |
| - | Running scriptlet: samba-client-2: | + | |
| - | Installing | + | |
| - | Running scriptlet: | + | |
| - | Running scriptlet: libwbclient-2:4.13.9-0.fc33.x86_64 | + | |
| - | Running scriptlet: samba-2:4.13.9-0.fc33.x86_64 | + | |
| - | Verifying | + | |
| - | | + | |
| - | Verifying | + | |
| - | Verifying | + | |
| - | Verifying | + | |
| - | Verifying | + | |
| - | Verifying | + | |
| - | | + | |
| - | Verifying | + | |
| - | Verifying | + | |
| - | | + | |
| - | Verifying | + | |
| - | Verifying | + | |
| - | | + | |
| - | Verifying | + | |
| - | Verifying | + | |
| - | Verifying | + | |
| - | Installed: | + | 完了しました! |
| - | avahi-libs-0.8-7.fc33.x86_64 | + | </pre></ |
| - | libldb-2.2.1-1.fc33.x86_64 | + | |
| - | libtalloc-2.3.1-5.fc33.x86_64 | + | |
| - | libtevent-0.10.2-5.fc33.x86_64 | + | |
| - | libwbclient-2: | + | |
| - | samba-2: | + | |
| - | samba-client-libs-2: | + | |
| - | samba-common-libs-2: | + | |
| - | samba-libs-2: | + | |
| - | + | ||
| - | Complete! | + | |
| - | </code> | + | |
| </ | </ | ||
| **CentOS 6**\\ | **CentOS 6**\\ | ||
| - | <code> | + | <WRAP color_term> |
| + | <WRAP color_command>< | ||
| $ sudo yum install samba samba-client | $ sudo yum install samba samba-client | ||
| - | </code> | + | </pre></ |
| + | </WRAP> | ||
| ===== サービス自動起動設定 ===== | ===== サービス自動起動設定 ===== | ||
| - | Fedora & CentOS 7 | + | Fedora & CentOS 7 ~ |
| - サービス自動起動設定を行う。< | - サービス自動起動設定を行う。< | ||
| $ sudo systemctl enable smb.service | $ sudo systemctl enable smb.service | ||
| 行 146: | 行 118: | ||
| </ | </ | ||
| - サービス自動起動設定を確認する。< | - サービス自動起動設定を確認する。< | ||
| - | $ systemctl | grep [sn]mb | + | $ systemctl |
| nmb.service | nmb.service | ||
| smb.service | smb.service | ||
| 行 162: | 行 134: | ||
| ===== Firewallの設定 ===== | ===== Firewallの設定 ===== | ||
| - | Fedora & CentOS 7 | + | Fedora & CentOS 7 ~ |
| - | <code> | + | <WRAP color_term> |
| - | $ sudo firewall-cmd --permanent --add-service=samba | + | <WRAP color_command>< |
| + | <span style=" | ||
| + | </ | ||
| + | <WRAP color_result>< | ||
| success | success | ||
| - | </code> | + | </pre></ |
| + | <WRAP color_command>< | ||
| + | <span style=" | ||
| + | </ | ||
| + | <WRAP color_result>< | ||
| + | success | ||
| + | </ | ||
| + | </ | ||
| ===== サービスの起動 ===== | ===== サービスの起動 ===== | ||
| - | Fedora & CentOS 7 | + | Fedora & CentOS 7 ~ |
| < | < | ||
| $ sudo systemctl start smb.service | $ sudo systemctl start smb.service | ||