LoginSignup
0
0

More than 1 year has passed since last update.

【CentOS7】sambaでの共有フォルダへのアクセスが遅いことへの対処法

Last updated at Posted at 2021-06-06

環境

  • CentOS7
  • Sambaを使用したファイルサーバ

対処法

1./etc/samba/smb.confの[global]に以下の設定を追加する

vi /etc/samba/smb.confで編集する。

/etc/samba/smb.conf
[global]
...
dfree cache time = 60
...

2.firewalldに80/tcp(http)ポートの開放設定を追加する

以下コマンドを実行する

# firewall-cmd --add-service=http

以下実行し、httpがservicesに追加されていることを確認する。

# firewall-cmd --list-all
...
services: dhcpv6-client http samba ssh
...
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0