| Both sides previous revision Previous revision Next revision | Previous revision |
| es:kuckucksmuehle:hackerspace:fileserver [2017/01/07 15:21] – [Samba] palmercado | es:kuckucksmuehle:hackerspace:fileserver [2017/01/08 14:26] (current) – [Instalando el Software] palmercado |
|---|
| FIXME **Esta página no está completamente traducida, aún. Por favor, contribuye a su traducción.**\\ //(Elimina este párrafo una vez la traducción esté completa)// | |
| |
| ====== Servidor de archivos ====== | ====== Servidor de archivos ====== |
| Ahora creamos el directorio ''/data'' las acciones deseadas y establecer la propiedad raíz a esos directorios. Agregue un archivo 'HARDISK_NOT_MOUNTED' en cada recurso compartido, para que los usuarios vean que algo está mal cuando se reinicia el pi. | Ahora creamos el directorio ''/data'' las acciones deseadas y establecer la propiedad raíz a esos directorios. Agregue un archivo 'HARDISK_NOT_MOUNTED' en cada recurso compartido, para que los usuarios vean que algo está mal cuando se reinicia el pi. |
| |
| Ahora necesitamos la partición del disco(o usar [[https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)|LVM]]). Cuando el LVM esta en uso, los siguientes comandos son ligeramente diferentes. | Ahora necesitamos la partición del disco(o usar [[https://es.wikipedia.org/wiki/Logical_Volume_Manager|LVM]]). Cuando el LVM esta en uso, los siguientes comandos son ligeramente diferentes. |
| |
| |
| ====== Test ====== | ====== Test ====== |
| |
| Put a file ''test.txt'' into each directory in data and ensure its ownership matches (eg /data/workaway/test should be rw for the workaway group). | Ponga un archivo '' test.txt '' en cada directorio en los datos y asegúrese de que su propiedad coincide (por ejemplo, / data / workaway / test debe ser rw para el grupo workaway). |
| |
| Check using a client-system (eg osx) and connect to the server. Connect with no credentials (guest) and check that you cannot use the shares workaway and core, but you can see the testfile in media (but cannot change anything) and you see the file in public (and you can change it). Repeat this for the workaway and the core user. | Compruebe utilizando un cliet-system (por ejemplo, osx) y conéctese al servidor. Conéctese sin credenciales (invitado) y compruebe que no puede utilizar las comparticiones de trabajo y core, pero puede ver el testfile en multimedia (pero no puede cambiar nada) y ve el archivo en público (y puede cambiarlo). Repita esto para el workaway y el usuario principal. |
| |
| When everything is done you should reboot the system to see that the service is comming up nicely. After the reboot the shares are available but the clients should only see the ''HARDDISK_NOT_MOUNTED'' message. Login and execute the scripts ''/data/unlock_disk.sh'' providing the disk-passphrases and ''/data/mount_disk.sh''. Now the clients should see the test.txt again. | Cuando todo esto se hace, debe reiniciar el sistema para ver que el servicio se está levantando muy bien. Después del reinicio, los recursos compartidos están disponibles, pero los clientes sólo deben ver el mensaje '' HARDDISK_NOT_MOUNTED ''. Inicie sesión y ejecute los scripts '' /data/unlock_disk.sh '' proporcionando las contraseñas del disco y '' /data/mount_disk.sh ''. Ahora los clientes deben ver el test.txt de nuevo. |
| |
| ====== Populate with Data ====== | ====== Poblar con datos ====== |
| | |
| | Transferencia de datos a la PI utilizando wifi puede ser bastante lento. Si usted planea poner un Terabyte del material de aprendizaje en él, considere conectar el disco en un PC real con SATA así usted necesitará un décimo del tiempo: |
| |
| Transfer of data to the PI using wifi can be quite slow. If you plan to put a Terrabyte of learning material on it, consider plugging the disk into a real pc with SATA as you will need a 10th of the time: | |
| <code> | <code> |
| WIFI: 1MB/s -> 3.6GB/h, the terrabyte will take 277h to copy | WIFI: 1MB/s -> 3.6GB/h, the terrabyte will take 277h to copy |
| </code> | </code> |
| |
| ====== Publish ====== | ====== Publicar ====== |
| |
| Now your visitors and workaways need to know that there is a fileserver and what to do with it. Write a enduser documentation of about half a page and put it on the wiki and print it out. | Ahora tus visitantes y workaways necesitan saber que hay un servidor de archivos y qué hacer con él. Escriba una documentación del usuario final de aproximadamente la mitad de una página y póngala en el wiki e imprímala. |
| |
| ====== Costs ====== | ====== Costos ====== |
| | Para la instalación descrita necesitas raspberry pi 2+, un adaptador USB-SATA y un disco duro. |
| |
| For the described installation you need a raspberry pi 2+, a USB-SATA adapter and a harddisk. The costs in 2016 were: 35EUR for the PI, 20EUR for the USB-SATA and 71EUR for the 2TB disk. The system uses about 5W of electrical energy and needs to be always on. | El costo en 2016 fue de: 35EUR por el PI, 20EUR por la USB-SATA y 71EUR para el disco duro de 2TB. |
| | El sistema utiliza 5W de energía eléctrica y debe estar siempre prendido. |
| |
| ===== Fileserver ===== | ===== Servidor de Archivos ===== |
| |
| This hackerspace provides a fileserver when you connect to the ''echo-vpn'' network. It its name is ''file'' and it has the ip-address ''192.168.1.32''. It provides media files and public storage for everyone and stores documents only accessible for workaways and the core members. | Este espacio hacker provee un fileserver cuando te conectas a la red ''echo-vpn''. Su nombre es ''file'' y tiene la siguiente ip-address ''192.168.1.32''. Contiene archivos multimedia, almacenamiento público para todos y documentos que solo son accesibles para voluntarios(workaway) y miembros del core. |
| |
| ==== Windoze ==== | ==== Windoze ==== |
| |
| * Open Explorer | * Abrir el eplorador |
| * Browse network | * Busque en la red |
| * find 'echohackerfarm' and 'file' | * Encuentre 'echohackerfarm' y 'file' |
| * connect to the share you want | * Conecte y comparta |
| |
| ==== OSX ==== | ==== OSX ==== |
| |
| * Open Finder | * Abra Finder |
| * Select Connect to Server | * Seleccione conectar al servidor |
| * Enter <code>smb://file</code> | * Ingrese <code>smb://file</code> |
| * select the share you want | * seleccione lo que desea compartir |
| |
| |
| ==== Ubuntu ==== | ==== Ubuntu ==== |
| |
| * Open Files | * Abra Arvhicos |
| * Select Connect to Server | * Seleccione conectar con el servidor |
| * Enter <code>smb://file</code> | * Ingrese <code>smb://file</code> |
| * select the share you want | * Seleccione y comparta lo que desee |
| |
| As workaway, upload any files (photos, documents or similar) you want to share with other workaways or the core-team into the **workaway** share. Upload any file you want to share with the whole world to the **public** share. | Como workaway, cargue cualquier archivo (fotos, documentos o similar) que desee compartir con otros workaways o el core-team en la acción ** workaway **. Cargue cualquier archivo que desee compartir con todo el mundo en el recurso ** public **. |
| |