How to turn Raspberry Pi into a personal cloud server
Raspberry Pi - A "small but martial" device
The Raspberry Pi is a miniature computer with the power of an inexpensive PC or smartphone, yet powerful enough to let you build custom devices, media centers, and even servers. You can turn your Raspberry Pi into an ubiquitous cloud service, like Dropbox or Google Drive, to access your files remotely and share them with other devices.
The Raspberry Pi is a miniature computer with the power of a low-cost PC or smartphone
Turn Raspberry Pi into a personal cloud server with OwnCloud
OwnCloud is one of the best Raspbian software out there to help you create your own protected cloud storage service. With OwnCloud, you can sync and share your files, and access it from any Internet-connected device.
OwnCloud also offers the ability to encrypt and keep older versions of all changed files, allowing you to return to older versions with ease. Here's how to install and set up OwnCloud on a Raspberry Pi.
1. Open a terminal session and add the OwnCloud repository, then install OwnCloud using the following commands:
wget http://download.opensuse.org/repositories/isv:OwnCloud:community/Debian_7.0/Release.key sudo apt-key add -Release.key sudo apt-get update sudo apt-get install owncloud sudo a2enmod headers rewrite env sudo apachectl restart
( sudo apt-get install owncloud installs the MySQL database as a dependency and will ask you to set a root password).
If you want to upload files larger than 2MB, open the PHP configuration file located at / etc / php5 / apache2 in the text editor, look for the strings upload_max_filesize and post_max_size_variables , then change the value of they go from 2M to the capacity limit you want, for example 2G or 512M.
You can also install an accelerator with sudo apt-get install apc and create an ini file at /etc/php5/cgi/conf.d/apc.ini and then add the following lines to the file:
extension=apc.so apc.enabled=1 apc.shm_size=30
2. Plug the media into the Pi and enter the command sudo blkid in the terminal - the memory will most likely be mounted at / dev / sdXx. Notice the drive's UUID, which should be of the form xxxx-xxxx, and then mount the drive using the following commands. This command assumes that your drive has a FAT32 file system.
sudo mkdir/media/owncloud sudo mount -t vfat -o umask=007,auto,uid=33,gid=33/dev/sdXx/media/owncloud
Enter the command to enable auto-mount:
sudo nano /etc/fstab UUID=6154-F660 /media/owncloud/vfat rw, umask=007,auto,uid=33,gid=33 0 0
3. Launch a web browser and navigate to the OwnCloud service at 192.168.xx / owncloud , where 192.168.xx is the Raspberry Pi's IP address. Since this is a new setting, you will be asked to create a new user account.
4. Configure OwnCloud to use a MySQL database and store files in the connected storage device. Click the Storage & Database menu , then type / media / owncloud / data in the text box next to the Data Folder , then select the MySQL / MariaDB option under Database.
Use localhost as the host, root as the username, and then the password you set earlier when setting up OwnCloud.
At this point, you can start uploading files to your server, install clients, and explore OwnCloud's other features.
You should read it
- How to build your own Raspberry Pi cloud server with Nextcloud
- How to turn a Raspberry Pi into an IRC server
- How does Cloud Hosting work?
- 5 game servers that can run on Raspberry Pi
- How to create a Plex Server on Raspberry Pi 4
- How to install Owncloud server on Windows 10 (WSL)
- How to install ownCloud on Windows
- Turn your Raspberry Pi into a media server with Emby
May be interested
- 4 ways to set up Raspberry Pi as a media serverwhich media center application should you install on the sd card of the raspberry pi? the following article will provide some options and guide you to install them now.
- 9 types of servers that can be hosted on Raspberry Piraspberry pi is a versatile tool. you can use it to light up leds, write work emails, stream movies to old tvs/monitors, or even host game servers.
- How to set up Minecraft server on Raspberry Piwant to play minecraft in your own way? you want to set up servers, build your own world and enjoy them together with friends and family? the good news is that you can do all this on raspberry pi.
- How to change DNS server on Raspberry Pithe process of changing dns servers on raspberry pi is quite simple and involves modifying a single file.
- How to Make a Raspberry Pi Web Serverif you are looking for a way to make a cheap web server, primarily to be used as a testing environment or to store files, then the raspberry pi is perfect for you. what is a raspberry pi? it is an inexpensive mini computer, perfect for...
- What is Cloud Server Linux? Advantages and disadvantages of Cloud Server Linuxcloud server linux is a cloud-based website hosting service using the linux operating system. linux will support websites using programming languages such as php, python, db, mysql,...
- How does Cloud Hosting work?please take a moment to learn more about cloud hosting. how do you turn a server cluster into a complete web hosting environment? how much is this cost? and is cloud really the future solution that we are targeting?
- How to set up Home VPN Server with Raspberry Pidid you know that with raspberry pi and a free afternoon, you can also build your own vpn? the method is very simple.
- How to turn off WiFi of Raspberry Pithere are several reasons why you might want to disable wifi on your raspberry pi. one of the reasons is to reduce system usage. although the wifi module does not consume a lot of memory and cpu, but still uses a certain amount.
- How to turn a Raspberry Pi into a WiFi Bridgetoday, it seems that every device supports wifi, but not all devices actually have wireless internet connectivity. this is where the raspberry pi works. you can turn a raspberry pi into a wifi bridge.