therealnemis

12/3 electronics

Dec 2nd, 2017
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. win32diskimager
  2. http://sourceforge.net/projects/win32diskimager/
  3.  
  4. Putty into raspberry pi
  5.  
  6. Commands list:
  7.  
  8. first run for raspberry pi
  9.  
  10.  
  11.  
  12. sudo raspi-config
  13. //updates repositories for debian
  14. expand file system
  15.  
  16. reboot and restart session
  17.  
  18.  
  19. sudo apt-get update
  20. installs common files needed to run webmin
  21.  
  22. sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
  23. Downloads webmin from website
  24.  
  25. *** follow video to find the correct download link, or you can try the one below
  26. webmin for debian package, then copy link
  27.  
  28. wget -O webmin.deb http://prdownloads.sourceforge.net/webadmin/webmin_1.760_all.deb
  29. sudo dpkg -i webmin.deb
  30.  
  31. go into web browser: the ip address, port 10000
  32. install samba to server
  33.  
  34.  
  35. sudo apt-get install samba samba-common samba-common-bin
  36. Installs files needed to read and write to ntfs formated drives
  37.  
  38. refresh modules
  39. go into servers, samba windows file sharing
  40. windows networking
  41. workgroup on workgroup
  42. be Wins server
  43. save
  44.  
  45. Create new file share
  46.  
  47. ls /dev/
  48.  
  49. sudo apt-get install ntfs-3g
  50. creates folder to place your hdd mount
  51.  
  52. cd/media
  53. sudo mkdir hdd
  54. mounts external drive to folder
  55. sudo mount /dev/sdaX(1) /media/hdd
  56. ls to check it works
  57.  
  58.  
  59. Share name- pi share
  60. directory to share: media/hdd
  61.  
  62. go into pishare
  63. security and access controls
  64.  
  65. Writable yes
  66. guest access yes
  67.  
  68. \\ip address
Advertisement
Add Comment
Please, Sign In to add comment