-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
95 changed files
with
99 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ | |
</code></pre><p>You can also add the entry in “/etc/fstab”, so that it can mount when system start:</p><pre tabindex=0><code>//192.168.1.155/media/WD_90C27F73C27F5C82 /media/WD_90C27F73C27F5C82 cifs user=pi,pass=raspberry,uid=1000,gid=1000 | ||
</code></pre><p>You can use the following command to umount and mount all entries in fstab to validate the configuration:</p><pre tabindex=0><code>sudo mount -a | ||
sudo umount -a | ||
</code></pre><p><strong>Notice: Don’t use the secondary Lomorage service even though it can be found, since we are using the primary one and set redundancy backup to the directory mounted via Samba. Currently we don’t have GUI to set the backup this way, you have to do that manually in commandline, will add GUI later</strong></p><h2 id=option-4-1-usb-drive-one-raspberry-pi-nas>Option 4 (1 USB drive one Raspberry Pi, NAS)</h2><p>You can also reuse your NAS and follow the similar steps above in Option 3 to mount the NAS storage via Samba.</p><p>The parameters needed are:</p><ul><li><p>samba service ip (192.168.1.155)</p></li><li><p>samba shared directory name (WD_90C27F73C27F5C82)</p></li><li><p>local mount root directory (on Raspberry Pi is “/media” if using Lomorage OS image; If not, it and can be changed via “–mount-dir” command line args when running lomod;)</p></li><li><p>username/password for Samba service</p></li></ul><h1 id=restore-from-the-secondary-backup>Restore from the secondary backup</h1><p>If unfortunately the hard drive on your primary device is dead, you can bring up the secondary setup as primary one. The photo and video assets are already backup on the secondary hard drive, as well as the database. You can copy the “assets.db” in the user directory on hard drive to “/opt/lomorage/var/assets.db”, and change the “home_dir” in table “user” for each user in “assets.db”. We promise will let this process less painful, but for now, you have to do that manually, if you have the problem and can’t figure it by yourself, reach us via [email](mailto: <a href=mailto:[email protected]>[email protected]</a>), and we will help you solve it.</p></div><div id=comments><div id=disqus_thread></div><script type=application/javascript>window.disqus_config=function(){},function(){if(["localhost","127.0.0.1"].indexOf(window.location.hostname)!=-1){document.getElementById("disqus_thread").innerHTML="Disqus comments not available by default when the website is previewed locally.";return}var t=document,e=t.createElement("script");e.async=!0,e.src="//lomorage.disqus.com/embed.js",e.setAttribute("data-timestamp",+new Date),(t.head||t.body).appendChild(e)}()</script><noscript>Please enable JavaScript to view the <a href=https://disqus.com/?ref_noscript>comments powered by Disqus.</a></noscript><a href=https://disqus.com class=dsq-brlink>comments powered by <span class=logo-disqus>Disqus</span></a></div></div></div></div></div><div class="footer footer--dark"><div class=container><div class=footer__inner><a href=/ class=footer__textLogo>Lomorage</a><div class=footer__data><div class=footer__data__item><div class=footer__row><a href=https://github.com/lomorage/homepage target=_blank style=opacity:1><i class='fab fa-2x fa-github'></i></a></div></div><div class=footer__data__item></div><div class=footer__data__item><div class=footer__row><a href=mailto:[email protected] target=_blank style=opacity:1><i class='fa fa-2x fa-envelope'></i></a></div></div></div></div><div class=footer__inner></div></div></div><script src=https://code.jquery.com/jquery-3.3.1.slim.min.js integrity=sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo crossorigin=anonymous></script><script src=https://unpkg.com/[email protected]/dist/ionicons.js></script><div class=scripts><script type=text/javascript src=/js/scripts.min.caff6ee377cf7b5bba65c3bf59df8c4cf6195bd8ee6d3a05bd557591a16bac13.js></script></div><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9742347659519137" crossorigin=anonymous></script></body></html> | ||
</code></pre><p><strong>Notice: Don’t use the secondary Lomorage service even though it can be found, since we are using the primary one and set redundancy backup to the directory mounted via Samba. Currently we don’t have GUI to set the backup this way, you have to do that manually in commandline, will add GUI later</strong></p><h2 id=option-4-1-usb-drive-one-raspberry-pi-nas>Option 4 (1 USB drive one Raspberry Pi, NAS)</h2><p>You can also reuse your NAS and follow the similar steps above in Option 3 to mount the NAS storage via Samba.</p><p>The parameters needed are:</p><ul><li><p>samba service ip (192.168.1.155)</p></li><li><p>samba shared directory name (WD_90C27F73C27F5C82)</p></li><li><p>local mount root directory (on Raspberry Pi is “/media” if using Lomorage OS image; If not, it and can be changed via “–mount-dir” command line args when running lomod;)</p></li><li><p>username/password for Samba service</p></li></ul><h1 id=restore-from-the-secondary-backup>Restore from the secondary backup</h1><p>If unfortunately the hard drive on your primary device is dead, you can bring up the secondary setup as primary one. The photo and video assets are already backup on the secondary hard drive, as well as the database. You can copy the “assets.db” in the user directory on hard drive to “/opt/lomorage/var/assets.db”, and change the “home_dir” in table “user” for each user in “assets.db”. We promise will let this process less painful, but for now, you have to do that manually, if you have the problem and can’t figure it by yourself, reach us via [email](mailto: <a href=mailto:[email protected]>[email protected]</a>), and we will help you solve it.</p></div><div id=comments><div id=disqus_thread></div><script>window.disqus_config=function(){},function(){if(["localhost","127.0.0.1"].indexOf(window.location.hostname)!=-1){document.getElementById("disqus_thread").innerHTML="Disqus comments not available by default when the website is previewed locally.";return}var t=document,e=t.createElement("script");e.async=!0,e.src="//lomorage.disqus.com/embed.js",e.setAttribute("data-timestamp",+new Date),(t.head||t.body).appendChild(e)}()</script><noscript>Please enable JavaScript to view the <a href=https://disqus.com/?ref_noscript>comments powered by Disqus.</a></noscript><a href=https://disqus.com class=dsq-brlink>comments powered by <span class=logo-disqus>Disqus</span></a></div></div></div></div></div><div class="footer footer--dark"><div class=container><div class=footer__inner><a href=/ class=footer__textLogo>Lomorage</a><div class=footer__data><div class=footer__data__item><div class=footer__row><a href=https://github.com/lomorage/homepage target=_blank style=opacity:1><i class='fab fa-2x fa-github'></i></a></div></div><div class=footer__data__item></div><div class=footer__data__item><div class=footer__row><a href=mailto:[email protected] target=_blank style=opacity:1><i class='fa fa-2x fa-envelope'></i></a></div></div></div></div><div class=footer__inner></div></div></div><script src=https://code.jquery.com/jquery-3.3.1.slim.min.js integrity=sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo crossorigin=anonymous></script><script src=https://unpkg.com/[email protected]/dist/ionicons.js></script><div class=scripts><script type=text/javascript src=/js/scripts.min.f0ef6736ffc4f86d9e5cc6d9f4a329c897240103c6dd46712338a0a0e0694433.js></script></div><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9742347659519137" crossorigin=anonymous></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,4 +51,4 @@ | |
</code></pre><h2 id=5-setup-plex>5. Setup Plex</h2><pre tabindex=0><code>curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - | ||
sudo apt update | ||
sudo apt install plexmediaserver | ||
</code></pre></div><div id=comments><div id=disqus_thread></div><script type=application/javascript>window.disqus_config=function(){},function(){if(["localhost","127.0.0.1"].indexOf(window.location.hostname)!=-1){document.getElementById("disqus_thread").innerHTML="Disqus comments not available by default when the website is previewed locally.";return}var t=document,e=t.createElement("script");e.async=!0,e.src="//lomorage.disqus.com/embed.js",e.setAttribute("data-timestamp",+new Date),(t.head||t.body).appendChild(e)}()</script><noscript>Please enable JavaScript to view the <a href=https://disqus.com/?ref_noscript>comments powered by Disqus.</a></noscript><a href=https://disqus.com class=dsq-brlink>comments powered by <span class=logo-disqus>Disqus</span></a></div></div></div></div></div><div class="footer footer--dark"><div class=container><div class=footer__inner><a href=/ class=footer__textLogo>Lomorage</a><div class=footer__data><div class=footer__data__item><div class=footer__row><a href=https://github.com/lomorage/homepage target=_blank style=opacity:1><i class='fab fa-2x fa-github'></i></a></div></div><div class=footer__data__item></div><div class=footer__data__item><div class=footer__row><a href=mailto:[email protected] target=_blank style=opacity:1><i class='fa fa-2x fa-envelope'></i></a></div></div></div></div><div class=footer__inner></div></div></div><script src=https://code.jquery.com/jquery-3.3.1.slim.min.js integrity=sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo crossorigin=anonymous></script><script src=https://unpkg.com/[email protected]/dist/ionicons.js></script><div class=scripts><script type=text/javascript src=/js/scripts.min.caff6ee377cf7b5bba65c3bf59df8c4cf6195bd8ee6d3a05bd557591a16bac13.js></script></div><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9742347659519137" crossorigin=anonymous></script></body></html> | ||
</code></pre></div><div id=comments><div id=disqus_thread></div><script>window.disqus_config=function(){},function(){if(["localhost","127.0.0.1"].indexOf(window.location.hostname)!=-1){document.getElementById("disqus_thread").innerHTML="Disqus comments not available by default when the website is previewed locally.";return}var t=document,e=t.createElement("script");e.async=!0,e.src="//lomorage.disqus.com/embed.js",e.setAttribute("data-timestamp",+new Date),(t.head||t.body).appendChild(e)}()</script><noscript>Please enable JavaScript to view the <a href=https://disqus.com/?ref_noscript>comments powered by Disqus.</a></noscript><a href=https://disqus.com class=dsq-brlink>comments powered by <span class=logo-disqus>Disqus</span></a></div></div></div></div></div><div class="footer footer--dark"><div class=container><div class=footer__inner><a href=/ class=footer__textLogo>Lomorage</a><div class=footer__data><div class=footer__data__item><div class=footer__row><a href=https://github.com/lomorage/homepage target=_blank style=opacity:1><i class='fab fa-2x fa-github'></i></a></div></div><div class=footer__data__item></div><div class=footer__data__item><div class=footer__row><a href=mailto:[email protected] target=_blank style=opacity:1><i class='fa fa-2x fa-envelope'></i></a></div></div></div></div><div class=footer__inner></div></div></div><script src=https://code.jquery.com/jquery-3.3.1.slim.min.js integrity=sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo crossorigin=anonymous></script><script src=https://unpkg.com/[email protected]/dist/ionicons.js></script><div class=scripts><script type=text/javascript src=/js/scripts.min.f0ef6736ffc4f86d9e5cc6d9f4a329c897240103c6dd46712338a0a0e0694433.js></script></div><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9742347659519137" crossorigin=anonymous></script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ | |
</code></pre><h2 id=2-install-tmux>2. Install tmux</h2><p>If you are familiar with tmux, please ignore.</p><p>Please install tmux on your Lomorage server using below command:</p><blockquote><p>sudo apt install tmux</p></blockquote><p>then:</p><blockquote><p>tmux</p></blockquote><h2 id=3-start-import-to-lomorage>3. Start import to Lomorage</h2><p>Enter into tmux session,run below:</p><blockquote><p>cd /opt/lomorage/bin</p></blockquote><blockquote><p>./lomoc import -y [lomorage username] [password]</p></blockquote><p><strong>Note</strong>: the username and password here is the info which you used to login Lomorage on Phone APP.</p><p>Then lomoc application will discovering how many Lomorage servers in your home network, please do that as screen messages.</p><p>The log will be print out like below if import success.</p><pre tabindex=0><code>success upload /home/pi/.lomo/links/classfied/2010/09/16/Does a Kangaroo Have a Mother, Too_ Book Read Aloud, written by Eric Carle.mp4 | ||
success upload /home/pi/.lomo/links/classfied/2010/10/07/If the Dinosaurs Came Back.m4v.mp4 | ||
success upload /home/pi/.lomo/links/classfied/2010/10/25/Click, Clack, Moo Cows That Type by - Doreen Cronin.mp4 | ||
</code></pre><h1 id=btw>BTW</h1><p><strong>Lomorage will provide the new API soon for this importing, next time you do this step with your Lomorage phone APP</strong></p><p>Thanks for your reading and enjoy the Lomorage. Welcome comments and feedbacks.</p></div><div id=comments><div id=disqus_thread></div><script type=application/javascript>window.disqus_config=function(){},function(){if(["localhost","127.0.0.1"].indexOf(window.location.hostname)!=-1){document.getElementById("disqus_thread").innerHTML="Disqus comments not available by default when the website is previewed locally.";return}var t=document,e=t.createElement("script");e.async=!0,e.src="//lomorage.disqus.com/embed.js",e.setAttribute("data-timestamp",+new Date),(t.head||t.body).appendChild(e)}()</script><noscript>Please enable JavaScript to view the <a href=https://disqus.com/?ref_noscript>comments powered by Disqus.</a></noscript><a href=https://disqus.com class=dsq-brlink>comments powered by <span class=logo-disqus>Disqus</span></a></div></div></div></div></div><div class="footer footer--dark"><div class=container><div class=footer__inner><a href=/ class=footer__textLogo>Lomorage</a><div class=footer__data><div class=footer__data__item><div class=footer__row><a href=https://github.com/lomorage/homepage target=_blank style=opacity:1><i class='fab fa-2x fa-github'></i></a></div></div><div class=footer__data__item></div><div class=footer__data__item><div class=footer__row><a href=mailto:[email protected] target=_blank style=opacity:1><i class='fa fa-2x fa-envelope'></i></a></div></div></div></div><div class=footer__inner></div></div></div><script src=https://code.jquery.com/jquery-3.3.1.slim.min.js integrity=sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo crossorigin=anonymous></script><script src=https://unpkg.com/[email protected]/dist/ionicons.js></script><div class=scripts><script type=text/javascript src=/js/scripts.min.caff6ee377cf7b5bba65c3bf59df8c4cf6195bd8ee6d3a05bd557591a16bac13.js></script></div><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9742347659519137" crossorigin=anonymous></script></body></html> | ||
</code></pre><h1 id=btw>BTW</h1><p><strong>Lomorage will provide the new API soon for this importing, next time you do this step with your Lomorage phone APP</strong></p><p>Thanks for your reading and enjoy the Lomorage. Welcome comments and feedbacks.</p></div><div id=comments><div id=disqus_thread></div><script>window.disqus_config=function(){},function(){if(["localhost","127.0.0.1"].indexOf(window.location.hostname)!=-1){document.getElementById("disqus_thread").innerHTML="Disqus comments not available by default when the website is previewed locally.";return}var t=document,e=t.createElement("script");e.async=!0,e.src="//lomorage.disqus.com/embed.js",e.setAttribute("data-timestamp",+new Date),(t.head||t.body).appendChild(e)}()</script><noscript>Please enable JavaScript to view the <a href=https://disqus.com/?ref_noscript>comments powered by Disqus.</a></noscript><a href=https://disqus.com class=dsq-brlink>comments powered by <span class=logo-disqus>Disqus</span></a></div></div></div></div></div><div class="footer footer--dark"><div class=container><div class=footer__inner><a href=/ class=footer__textLogo>Lomorage</a><div class=footer__data><div class=footer__data__item><div class=footer__row><a href=https://github.com/lomorage/homepage target=_blank style=opacity:1><i class='fab fa-2x fa-github'></i></a></div></div><div class=footer__data__item></div><div class=footer__data__item><div class=footer__row><a href=mailto:[email protected] target=_blank style=opacity:1><i class='fa fa-2x fa-envelope'></i></a></div></div></div></div><div class=footer__inner></div></div></div><script src=https://code.jquery.com/jquery-3.3.1.slim.min.js integrity=sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo crossorigin=anonymous></script><script src=https://unpkg.com/[email protected]/dist/ionicons.js></script><div class=scripts><script type=text/javascript src=/js/scripts.min.f0ef6736ffc4f86d9e5cc6d9f4a329c897240103c6dd46712338a0a0e0694433.js></script></div><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9742347659519137" crossorigin=anonymous></script></body></html> |
Oops, something went wrong.