User:Knowledgebattle/mycloud
Assuming that you have MyCloud OS operating properly on your NAS drive
[edit]Do not Update your MyCloud firmware, or else you’ll have to start over. This is to replace MyCloud OS with OpenMediaVault.
- Enter http://wdmycloud.local into your browser.
- Click Settings.
- Click Utilities.
- Under System Factory Restore, click Full Restore.
- Enter http://wdmycloud.local into your browser.
- Agree to the Agreement, and cancel the next pop-up.
- Click Settings.
- Click Network.
- Switch FTP Access to “On”.
- Exit the browser.
- Open the Terminal.
- $ ssh root@192.168.x.xx (whatever your MyCloud’s DHCP address is)
- 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.
- 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.
- 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.
- 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.
- Type yes and hit Enter.
- Enter the password. The default password is welc0me. That’s a zero there, instead of a capital letter O.
- $ reboot
- Quit the Terminal.
Change the password
[edit]- After the NAS drive has rebooted, open the Terminal back up.
- $ ssh root@192.168.x.xx
- Type yes and hit Enter.
- Enter the password.
- $ passwd
- Type in a new password, so that your NAS isn't exposed.
Fetch the files you'll need
[edit]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
[edit]- From your main computer, open the Terminal.
- $ ssh root@192.168.x.xx
- Enter your password.
- $ apt-get install wget
- $ wget http://anionix.ddns.net/WDMyCloud/WDMyCloud-Gen1/OpenMediaVault/omv_1.17.tar.gz
- 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.
- $ tar -xvzf omv_1.17.tar.gz
Option 2: Download and move
[edit]- 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.
- Extract omv_1.17.tar.gz to get the the files: kernel.img, rootfs.img, and rootfs.md5
- Open Nautilus (or whatever file explorer you use).
- Click Connect to Server
- Type smb://192.168.x.xx
- Double-click the Public folder.
- The username is "root" and the password is either "welc0me" or whatever you changed it to.
Get the autoinstaller
[edit]- $ wget http://anionix.ddns.net/WDMyCloud/WDMyCloud-Gen1/Autoinstall/Autoinstall.zip --no-check-certificate
- $ unzip Autoinstall.zip
Begin the installation
[edit]- $ chmod +x install.sh
- $ ./install.sh
- Let the beast do its thing.
Reboot and re-login
[edit]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.
- $ ssh root@192.168.x.xx
- You'll probably get "Host key verification failed" right here...
- $ 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)
- $ ssh root@192.168.x.xx
- $ yes
- The default password now should be mycloud. Change the password.
- $ passwd
- Enter your own password for the MyCloud.
Initial setup
[edit]- $ cd /
- $ ./run_me_after_reboot.sh
- $ "Do you want to change system language [y/n]?"
- $ y
- Scroll down with the Down Arrow to "ru_RU" and "ru_UA", press the Space bar to uncheck them, and press Enter.
- Press the Down Arrow to select "en_US.UTF-8", press the Right Arrow to select "Ok", and press Enter.
- $ "Do you want to change system timezone [y/n]?"
- $ y
- Select your region, press the Right Arrow to select "Ok", and press Enter.
- Choose your timezone from there.
Initial Web UI setup
[edit]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).
- Enter your MyCloud's DHCP address (or use mycloud.local ... using wdmycloud.local doesn't work anymore ... remove the "wd")
- Choose English for your language.
- Username: admin
- Password: mycloud
- 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
[edit]- Under System → Certificates ... click "Add". Create your certificate. I'd prefer setting it to "20 years". Save and Apply.
- 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.
- It might tell you that an error has occurred. That's good.
- 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
- 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
[edit]Have fun with your new OS on MyCloud.
Plugins
[edit]ownCloud
[edit]I hope you made sure to set up that SSL certificate above...
- System → Plugins → openmediavault-owncloud 1.4 ... checkmark and click Install.