Home Server and Nas Using Raspberry PI
Home Server and Nas Using Raspberry PI
Home Server and Nas Using Raspberry PI
Abstract- The growing demand in the market for cloud service providers have benefitted a lot due to
increased storage capacity is mainly because of our this rise in the use of cloud computing services. The
dependency on the Internet. Network Attached Storage cloud service providers have access to a plethora of
(NAS) provides a dedicated file server to manage all data. The access right to this huge amount of data
kinds of files. It is an independent Storage device which comes along with a big risk of the data getting
is connected directly to the network. Due to its exposed either accidentally or purposely.
availability on the network it can be easily accessed by
any number of heterogeneous clients. The proposed approach will provide “Network
Attached Storage” along with functionalities of a
The Network Attached Storage devices readily available Web Server. The main advantage of using a NAS
in the market these days are highly overpriced and do device over a physical storage drive is that, many
not provide much scope for enhancements, another devices can access it at the same time. A USB Disk
aspect which is to be taken into consideration is that in drive provides finite access to only the device to
most instances these devices consume a fair amount of which it is connected; on the other hand the files
power. This proposed approach aims at providing a low which are available on NAS can be accessed by any
cost NAS system which is easy to use and configure. It
computer [3]. In addition to this hosting websites on
also comprises of added security features and Web
the webserver can be done with the help of Apache,
MySQL and PHP.
Server capabilities. It enables you to have round the
clock available storage device which is handy as well as
II. RELATED WORKS
power saving and allows accessibility to data on and off
the network. Due to the exceptional growth of Internet in the past
few years, computing resources are available
Keywords- Network Attached Storage (NAS), everywhere. The existing system uses cloud
heterogeneous clients, web server capabilities, backup computing for data storage. Cloud Computing
destination. Environment consists of two components.
a. Infrastructure Providers: Infrastructure providers
I. INTRODUCTION handle the cloud platforms and rent out resources
Nowadays the storage space in our PCs and Mobile according to usage
devices gets filled up very quickly and the main b. Service Providers: Service providers lease
reasons behind this are high-resolution photos and resources from infrastructure providers and make it
high definition video capture. With the help of an available to end users [4]. In spite of this technology
external storage device we can have a backup of our having many opportunities and applications in
data and also free some space in our hand held today’s world, there still exist a number of challenges
devices by moving data into the external storage. The which need resolution [5].
constraint would to carry the external storage device The biggest challenge faced is the open characteristic
at all times. So if the external storage device is not and multi-tenant nature of the cloud. This technology
available then the data cannot be accessed [1]. has a huge impact in the field of information security.
The various impacts are described in detail below.
Cloud Computing has developed as a new prototype (1) There is no security boundary in this technology
which offers great capabilities to store data remotely. due to features such as dynamic scalability, service
Now a days many companies use cloud for their local abstraction, and location transparency. In addition
data storage [2]. But the use of cloud computing has there is no fixed infrastructure for the applications
also raised some serious concerns on the privacy of and data making it difficult to keep the information
data, as its one of the most important aspects. The secure.
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on November 11,2024 at 06:02:43 UTC from IEEE Xplore. Restrictions apply.
978-1-5090-6367-3/17/$31.00 ©2017 IEEE 2270
(2) There is a need for quick information processing
in this kind of storage because the platform will be
dealing with large amount of data. The security needs
to be in line with this high speed processing.
(3) In this type of system, it is difficult to have a
common security measure as the resources may
belong to multiple providers.
(4) There is a possibility of unauthorized user access
due to the openness of cloud and sharing virtualized
resources by multi-tenant [6].
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on November 11,2024 at 06:02:43 UTC from IEEE Xplore. Restrictions apply.
2271
Network Attached Storage devices work on the micro
kernel operating system. POSIX (Portable Operating
System Interface) standard has provided a level of
commonality to key operating system components
and has become important as NAS devices expand
beyond UNIX [9].
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on November 11,2024 at 06:02:43 UTC from IEEE Xplore. Restrictions apply.
2272
IV. ARCHITECTURE OF PROPOSED SYSTEM
The proposed approach makes use of Raspberry Pi 3
device for the implementation of NAS and Web
Server. It is a very tiny general purpose computer
which can be used to do anything that can be done on
a normal computer.
The features and the specification of the Raspberry Pi
3 are mentioned in the Table I below [10]:
Features Specifications
Release Date 29th February 2016
Operating Systems Raspbian, Ubuntu MATE,
Snappy Ubuntu Core,
Windows 10 IoT Core,
RISC OS, Debian, Arch
Linux ARM
System on- chip used Broadcom BCM2837 Phase II
CPU 1.2GHz 64-/32- bit quad-
core ARM Cortex- A53
Phase I
Memory 1 GB LPDDR2 RAM at
900MHz
Storage MicroSDHC slot Fig. 4: Block Diagram for step by step
Graphics Broadcom VideoCore IV implementation of NAS
Power 800 mA (4.0W)
Phase I: Configuring the Raspberry Pi
The architecture of the proposed system can be
Step 1: Install a Linux based operating system (the
described in mainly two phases:
list of operating systems compatible is mentioned in
• Phase I: Configuring the Raspberry Pi
Table I) on the Raspberry Pi device and assign a
• Phase II: Configuring the Router static IP address to it.
Step by step detail of the Architecture is shown in
Fig. 5. Step 2: Installing and configuring Apache, MySQL
PHP and Owncloud on the Linux Operating System.
• Apache is open source web server software.
• My SQL is an open source database.
• PHP is an open source scripting language
which is widely used for web development.
The combination of these software’s together helps
us in facilitating the web server capabilities. We can
additionally also install phpMyAdmin.
• Owncloud is software which helps us in
syncing our files between the Web Server
and the External Storage. It also provides
universal access to the files through a web
interface.
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on November 11,2024 at 06:02:43 UTC from IEEE Xplore. Restrictions apply.
2273
Step 1: Sign up on No-ip.com. No-ip.com provides us There are various parameters such as bandwidth
with a free desired hostname just by signing up on usage, jitter, traffic congestion on the network, etc.
their website. This will provide us with a domain which have a direct impact on the speed of internet
name which can be accessed from anywhere on the connection.
Internet. The proposed approach provides security to the
physical drive on which data is stored. It allows the
Step 2: Access the Router’s Configuration Page. In user to access and manage their data from any place
order to make the device accessible from outside remotely.
networks Port forwarding has to be done. The files are kept in sync with the actual Storage i.e.
the changes made in the external storage are updated
Step 3: Dynamic DNS entry to be made on the on a timely basis so that the data which is being
Routers configuration page as per the hostname shown is consistent. Security of data is achieved by
which has been created on No-ip.com. using multiple hard disks to keep a backup of the data
using various levels of RAID. In the proposed system
Once both the phases are completed successfully we the files are uploaded, downloaded and synced via
would be able to access our Webserver along with the Internet, so the transfer speed can only be as fast
NAS and also use the storage space available on it as the upload speed of your Internet connection.
from anywhere.
VI. CONCLUSION
V. RESULTS
The main advantage of having a NAS device which is
The access speeds to the data on NAS have been powered-on 24/7 is that, it becomes very easy to have
calculated for two different internet connections in access to the data from any computer irrespective of
order to compare the upload and download speeds. it being within the network or outside it. By making
The upload and download speeds of the internet use of the proposed system the user is also
connection play a vital role as it determines how fast consuming less amount of power for the
the data can be transferred over the internet. For convenience.
experiment purpose internet connection speed of 2
MBps(megabytes per second) and 10 MBps are REFERENCES
considered. The Tables II and III below shows the
[1] Joel Santo Domingo (March, 2017), The Best
time required for uploading and downloading the NAS (Network Attached Storage) Devices of
same set of files on 2 MBps and 10 MBps internet 2017, Available: http://in.pcmag.com/network-
connection respectively. attached-storage-nas-ratings-
compa/52950/guide/the-best-nas-network-
TABLE II. DATA ACCESS SPEED WHILE USING 2 MBPS attached-storage-devices-of-2017
CONNECTION
[2] Mehdi Sookhak, Abdullah Gani, Muhammad
File Size Upload Download Khurram Khan and Rajkumar Buyya, “Dynamic
(Average Speed (Average Speed = remote data auditing for securing big data
= 72.2 KB/sec) 233 KB/sec) storage in cloud computing”, Information
123 KB 2 secs 0.52 secs Sciences, Vol. 380, 20 February 2017, pp. 101-
1.8 MB 26 secs 7.91 secs 116
11.1 MB 2 mins 27 secs 48.78 secs
[3] Mark Kyrnin (April 2016), Do You Need
113.3 MB 24 mins 20 secs 8 mins 29 secs
Network Attached Storage (NAS)?, Available:
TABLE III. DATA ACCESS SPEED WHILE USING 10 MBPS http://www.techforanyone.com/need-
CONNECTION network-attached-storage-nas/
File Size Upload Download [4] Mohiuddin Ahmed, Abu Sina Md. Raju
(Average Speed (Average Speed = Chowdhury, Mustaq Ahmed and Md. Mahmudul
= 636 KB/sec) 1.9 MB/sec) Hasan Rafee, “An Advanced Survey on Cloud
Computing and State-of-the-art Research
123 KB 0.19 secs 0.06 secs
Issues”, International Journal of Computer
1.8 MB 2.89 secs 0.94 secs Science Issues, Vol. 9, Issue 1, No 1, January
11.1 MB 17.87 secs 5.84 secs 2012, ISSN: 1694-0814, pp. 201-207
113.3 MB 3 mins 4 secs 59.63 secs
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on November 11,2024 at 06:02:43 UTC from IEEE Xplore. Restrictions apply.
2274
[5] Gajender Pal, Kuldeep Kumar Barala and
Manish Kumar, “A Review Paper on Cloud
Computing”, International Journal for Research
in Applied Science and Engineering Technology,
Vol. 2 Issue IX, September 2014, ISSN: 2321-
9653, pp. 401-403
Authorized licensed use limited to: MANIPAL INSTITUTE OF TECHNOLOGY. Downloaded on November 11,2024 at 06:02:43 UTC from IEEE Xplore. Restrictions apply.
2275