User:Knowledgebattle/mycloud

Assuming that you have MyCloud OS operating properly on your NAS drive
Do not Update your MyCloud firmware, or else you’ll have to start over. This is to replace MyCloud OS with OpenMediaVault.


 * 1) Enter http://wdmycloud.local into your browser.
 * 2) Click Settings.
 * 3) Click Utilities.
 * 4) Under System Factory Restore, click Full Restore.
 * 5) Enter http://wdmycloud.local into your browser.
 * 6) Agree to the Agreement, and cancel the next pop-up.
 * 7) Click Settings.
 * 8) Click Network.
 * 9) Switch FTP Access to “On”.
 * 10) Exit the browser.
 * 11) Open the Terminal.
 * 12) $ ssh root@192.168.x.xx (whatever your MyCloud’s DHCP address is)
 * 13) If you're using Windows and don't know how to access your router or know what DHCP is, this should help: 10 Useful Options You Can Configure In Your Router’s Web Interface | How-To Geek. Read that page and experiment.
 * 14) If you're using Debian/Ubuntu, open the Terminal, type netstat -nr | awk '$1 == "0.0.0.0"{print$2}' and hit Enter. Type that number into your browser.
 * 15) If you're using iOS, open Settings, go to the Wi-Fi section, click on the blue "Info" button, and look at where it says "Router". Type that number into your browser.
 * 16) Once you've gotten into your router, look for "DHCP", and then look for "MyCloud". You will be using the IP address associated with that, from here on out.
 * 17) Type yes and hit Enter.
 * 18) Enter the password. The default password is welc0me. That’s a zero there, instead of a capital letter O.
 * 19) $ reboot
 * 20) Quit the Terminal.

Change the password

 * 1) After the NAS drive has rebooted, open the Terminal back up.
 * 2) $ ssh root@192.168.x.xx
 * 3) Type yes and hit Enter.
 * 4) Enter the password.
 * 5) $ passwd
 * 6) Type in a new password, so that your NAS isn't exposed.

Fetch the files you'll need
You'll need the files out of omv_1.17.tar.gz. Use whichever method of the two is more convenient, comfortable, or reliable for you.

Option 1: wget and extract

 * 1) From your main computer, open the Terminal.
 * 2) $ ssh root@192.168.x.xx
 * 3) Enter your password.
 * 4) $ apt-get install wget
 * 5) $ wget http://anionix.ddns.net/WDMyCloud/WDMyCloud-Gen1/OpenMediaVault/omv_1.17.tar.gz
 * 6) If the internet connection cuts off before you finish, continue the download with "wget -c https:// ..." adding the "-c" between wget and the url, to "continue" the download.
 * 7) $ tar -xvzf omv_1.17.tar.gz

Option 2: Download and move

 * 1) Go to Fox_exe's Gdrive: https://drive.google.com/drive/folders/0B_6OlQ_H0PxVSHdDUnZXZWJBMUk. On your main computer, download the file: omv_1.17.tar.gz. This is the file that contains OpenMediaVault, the software that you want to operate your NAS.
 * 2) Extract omv_1.17.tar.gz to get the the files: kernel.img, rootfs.img, and rootfs.md5


 * 1) Open Nautilus (or whatever file explorer you use).
 * 2) Click Connect to Server
 * 3) Type smb://192.168.x.xx
 * 4) Double-click the Public folder.
 * 5) The username is "root" and the password is either "welc0me" or whatever you changed it to.

Get the autoinstaller

 * 1) $ wget http://anionix.ddns.net/WDMyCloud/WDMyCloud-Gen1/Autoinstall/Autoinstall.zip --no-check-certificate
 * 2) $ unzip Autoinstall.zip

Begin the installation

 * 1) $ chmod +x install.sh
 * 2) $ ./install.sh
 * 3) Let the beast do its thing.

Reboot and re-login
Once the installer is done, it'll kick you out of the SSH session, and it'll probably mess up the keys. Fix it and back in.
 * 1) $ ssh root@192.168.x.xx
 * 2) You'll probably get "Host key verification failed" right here...
 * 3) $ ssh-keygen -f "/home/MAIN-PC-USERNAME/.ssh/known_hosts" -R 192.168.x.xx (change main-pc-username to your own computer's username and point the DHCP address to your MyCloud)
 * 4) $ ssh root@192.168.x.xx
 * 5) $ yes
 * 6) The default password now should be mycloud. Change the password.
 * 7) $ passwd
 * 8) Enter your own password for the MyCloud.

Initial setup

 * 1) $ cd /
 * 2) $ ./run_me_after_reboot.sh
 * 3) $ "Do you want to change system language [y/n]?"
 * 4) $ y
 * 5) Scroll down with the Down Arrow to "ru_RU" and "ru_UA", press the Space bar to uncheck them, and press Enter.
 * 6) Press the Down Arrow to select "en_US.UTF-8", press the Right Arrow to select "Ok", and press Enter.
 * 7) $ "Do you want to change system timezone [y/n]?"
 * 8) $ y
 * 9) Select your region, press the Right Arrow to select "Ok", and press Enter.
 * 10) Choose your timezone from there.

Initial Web UI setup
It might take a little while (~10 minutes) for the Web UI to be ready, and your browser's cache probably still has the old UI data loaded. Any one of these options could address this: 1) clear your main computer browsers' cache; or 2) open a different web browser and work from there (if you're using Firefox, then use Chromium).


 * 1) Enter your MyCloud's DHCP address (or use mycloud.local ... using wdmycloud.local doesn't work anymore ... remove the "wd")
 * 2) Choose English for your language.
 * 3) Username: admin
 * 4) Password: mycloud
 * 5) Under System → General Settings → Web Administrator Password ... set a new password, so that you're not still using the default one.

Secure your server with an SSL certificate

 * 1) Under System → Certificates ... click "Add". Create your certificate. I'd prefer setting it to "20 years". Save and Apply.
 * 2) Under System → General Settings → Secure Connection ... checkmark "Enable secure connection", choose the Certificate that you just created via the pop-down menu, and checkmark "Force secure connection only." Save and Apply.
 * 3) It might tell you that an error has occurred. That's good.
 * 4) From here on, each time you enter your MyCloud's IP address into your browser, it'll add https:// just before the IP address. It'll look like https://192.168.0.0
 * 5) Refresh the page. It'll tell you that your connection is not secure. That's because you created your own SSL certificate, instead of receiving a permanent one from a certificate authority. Accept it and store the certificate exception - this is your own server, after all.

End
Have fun with your new OS on MyCloud.

ownCloud
I hope you made sure to set up that SSL certificate above...


 * 1) System → Plugins → openmediavault-owncloud 1.4 ... checkmark and click Install.