HoangSon.Io.Vn
  • Trang chủ
  • Smart Home
  • Máy Tính
  • Kiếm Tiền Online
  • Webmaster
  • WordPress
    • Plugin WordPress
    • Theme WordPress
    • Thủ Thuật WordPress
  • Điện Thoại
No Result
View All Result
  • Trang chủ
  • Smart Home
  • Máy Tính
  • Kiếm Tiền Online
  • Webmaster
  • WordPress
    • Plugin WordPress
    • Theme WordPress
    • Thủ Thuật WordPress
  • Điện Thoại
No Result
View All Result
HoangSon.Io.Vn
No Result
View All Result
Trang Chủ IT

Make NAS Driver by Raspberry Pi

Admin by Admin
07/02/2015
in IT
1
0
SHARES
9
VIEWS
Chia sẻ lên FacebookChia sẻ lên Twitter

Once your pi boots up, you can login using “pi” and “raspberry” and then follow these steps to set it up as a NAS:

  1. Update apt-get and install NTFS-3g
    • sudo apt-get update
    • sudo apt-get install ntfs-3g
  2. Find out what path your external drive is located at (ex. /dev/sda1).
    • sudo apt-get update
  3. Mount the external drive to the media folder and then make a shared folder within it.
    • sudo mkdir /media/NASDrive
    • sudo mount -t auto /dev/sda1 /media/NASDrive
    • sudo mkdir /media/NASDrive/shared
  4. Install the Samba software.
    • sudo apt-get install samba-common-bin
  5. Edit the Samba config file.
    • sudo nano /etc/samba/smb.conf
    • Under the “Authentication” header, remove the hash (#) before
      security = user
    • Under the “Share Definitions” header, change
      read only = yes

      to

      read only = yes
    • At the bottom of the page add:
      [Shared]
      comment = Shared Folder
      path = /media/NASDrive/shared
      valid users = @users
      force group = users
      create mask = 0660
      directory mask = 0771
      read only = no
      
  6. Restart Samba
    • sudo /etc/init.d/samba restart
  7. Add a new user to linux
    • sudo useradd [enter new user here] -m -G
    • Create a new password:
      sudo passwd [enter new users name]
  8. Add new user to Samba
    • sudo smbpasswd -a [enter new users name]

Cachs 2 :

USING OPEN MEDIA VAULT

Before we dive into the nerdy method of setting up a NAS on a Raspberry Pi, a super simple alternative is to use Open Media Vault. Open Media Vault is a distribution intended to make it super simple to set up and manage your own NAS.

If you want to give it a try yourself, here are the dead easy steps for setting it up:

      1. Download the most recent OpenMediaVault Raspberry Pi Image (using the button above)
      2. Burn it to an SD card (you can use this guide if you don’t know how)
      3. Plug it into your Raspberry Pi along with a monitor, network cable and power.
      4. When it boots up, the screen will give you your IP Address along with instructions on how to log in.
      5. On a separate computer, open up a browser and type in your Pi’s IP address. On the resulting page, login using the provided credentials (default should be admin and openmediavault).
      6. Use the options provided to set up your networking share and add and manage users!
Đánh giá post
Bài trước

S-Pi Project – Raspberry Pi testing

Bài tiếp theo

Xây dựng NAS bằng Raspberry pi

Admin

Admin

HoangSon.Us

Liên quanBài đăng

Các câu lệnh xóa archive log trong Oracle
IT

Check process ID từ port trong Linux, Solaris

01/11/2024
16
Không cho Chrome tự động redirect sang https
Hệ Điều Hành

Không cho Chrome tự động redirect sang https

24/07/2024
28
8,5 triệu thiết bị chạy windows bị màn hình xanh bởi CrowdStrike update và giải pháp tạm thời
Hệ Điều Hành

8,5 triệu thiết bị chạy windows bị màn hình xanh bởi CrowdStrike update và giải pháp tạm thời

22/07/2024
30
Cách kết nối với PC ở nhà từ xa thông qua ngrok (không cần mở port router)
IT

Cách kết nối với PC ở nhà từ xa thông qua ngrok (không cần mở port router)

10/08/2023
37
Make NAS Driver by Raspberry Pi 1
Docker

Sync time, time zone docker container

19/03/2023
21
GoAccess, Real Time Dashboard monitor for Nginx Proxy Manager – Docker
Docker

GoAccess, Real Time Dashboard monitor for Nginx Proxy Manager – Docker

19/03/2023
43
Bài tiếp theo
Make NAS Driver by Raspberry Pi 2

Xây dựng NAS bằng Raspberry pi

Bình luận 1

  1. Nid says:
    10 năm ago

    0 0 salamagar neiomtnin tooye mohite terminal kar konin ubuntu tweakro download konin ( File deb ) va nasbesh koninaz tariQe oon makhazenetoon ro dorost koninagar nashod begin

    Trả lời

Trả lời Hủy

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

  • Trending
  • Bình luận
  • Mới nhất
Cách Active Windows 10 kích hoạt bản quyền số vĩnh viễn

Cách Active Windows 10 kích hoạt bản quyền số vĩnh viễn

02/09/2020
Khắc phục lỗi Wifi báo No Internet, Secured trên Windows 10 2004

Khắc phục lỗi Wifi báo No Internet, Secured trên Windows 10 2004

11/08/2020
Hướng dẫn cách cài lại Windows 10 từ ổ cứng chi tiết

Hướng dẫn cách cài lại Windows 10 từ ổ cứng chi tiết

30/07/2020
Hướng dẫn tải và cài đặt driver card màn hình VGA NVidia

Hướng dẫn tải và cài đặt driver card màn hình VGA NVidia

29/07/2020
Cách Active Windows 10 kích hoạt bản quyền số vĩnh viễn

Cách Active Windows 10 kích hoạt bản quyền số vĩnh viễn

49
Khắc phục lỗi Wifi báo No Internet, Secured trên Windows 10 2004

Khắc phục lỗi Wifi báo No Internet, Secured trên Windows 10 2004

18
Share plugin Elementor Pro v3.0.3 WordPress update liên tục

Share plugin Elementor Pro v3.0.3 WordPress update liên tục

17
Chia Sẻ Theme Newspaper By Tagdiv Update Liên Tục

Chia Sẻ Theme Newspaper By Tagdiv Update Liên Tục

10
FIX update, INSTALL package sau khi vòng đời CentOS 7 ngừng hỗ trợ

FIX update, INSTALL package sau khi vòng đời CentOS 7 ngừng hỗ trợ

22/04/2025
Code Pzem lên Hass Home Assistant ESPHOME

Code Pzem lên Hass Home Assistant ESPHOME

30/03/2025
Code sunsynk-power-flow-card cho luxpython – Home Assistant

Đưa thông tin Luxpower lên Home Assistant dùng LuxPython

30/03/2025
Cài đặt Home Assistant

Cài đặt Home Assistant

29/03/2025

Cập nhật

FIX update, INSTALL package sau khi vòng đời CentOS 7 ngừng hỗ trợ

FIX update, INSTALL package sau khi vòng đời CentOS 7 ngừng hỗ trợ

22/04/2025
2
Code Pzem lên Hass Home Assistant ESPHOME

Code Pzem lên Hass Home Assistant ESPHOME

30/03/2025
5
Code sunsynk-power-flow-card cho luxpython – Home Assistant

Đưa thông tin Luxpower lên Home Assistant dùng LuxPython

30/03/2025
11
Cài đặt Home Assistant

Cài đặt Home Assistant

29/03/2025
3
Các câu lệnh xóa archive log trong Oracle

Check process ID từ port trong Linux, Solaris

01/11/2024
16
Code pzem cho esphome

Code pzem cho esphome

25/03/2025
55
  • Liên Hệ
  • Giới thiệu
  • Chính sách bảo mật
SON

© 2020 bản quyền thuộc về SON

No Result
View All Result
  • Trang chủ
  • Smart Home
  • Máy Tính
  • Kiếm Tiền Online
  • Webmaster
  • WordPress
    • Plugin WordPress
    • Theme WordPress
    • Thủ Thuật WordPress
  • Điện Thoại

© 2020 bản quyền thuộc về SON