+ 2
How to make a webserver on a cloud storage
Hello, I have a storage at my house, the Western Digital My Cloud Home Single, and I want to use that as a web server. How can I do this? I don't mind, if I need to use a language, which one. Thank you, Gleb Koval
8 Antworten
+ 6
Look into SimpleHTTPServer (Python).
https://code.sololearn.com/cN5qyE2lK5Nx/?ref=app
+ 5
Incidentally, I've had one of those WDD personal cloud devices on a network I was monitoring. I wasn't that happy with it but they've had time to work on it; you may only have to deal with the Apache configuration anyway.
If you're seeking help here, we've got a few things that are need-to-know before proceeding.
It may help to access the device's shell (I think the webserver has a "run a single command" shell via a web request)... what's the output of:
uname -a
That will help determine what sort of Linux it is (and how it starts tasks, like initd) and what langs and package manager it supports.
Also,
Are you willing to use ssh or telnet to get a real shell, or do you want to stick to the 1-command web interface (hopefully this has changed)?
What model/version of the drive (there are about a dozen models)
+ 4
Western Digital's site has some answers on configuring their network-attached storage / personal cloud as a webserver:
https://community.wd.com/t/host-web-site-on-mycloud/161116
+ 4
SSH voids the warranty because well, you can modify the OS ... but you need it for the package manager:
https://support.wdc.com/knowledgebase/answer.aspx?ID=14946
LAMP (linux-apache-mysql-php) setup on firmware version 4 (+ Python, some admin tools, perl, etc), includes the steps they ran to get the software installed.
https://community.wd.com/t/repository-with-software-worked-on-v4-firmware/94532
Package manager... I saw "apt-get" there so: apt/aptitude
Distro's probably Debian or similar (Ubuntu).
The top level thread I got these from (my first link) seems to think v2 firmware would have trouble because it's limited in some way. Without actually having access to a shell it's hard for me to tell (I'm hoping you have the v4 firmware in this case).
+ 2
Hi Gleb
You can try installing webserver inside your browser
https://www.sololearn.com/Discuss/1239024/install-local-web-server-in-your-browser
+ 1
I think they have their own thing called CloudOS or something like that
0
counterquestion on what os runs the wd device
0
To be more precise I have this: WD My Cloud Home Single 6 TB. I don't mind how I set it up. I'd rather have a real shell though