1 line
9.3 KiB
JavaScript
1 line
9.3 KiB
JavaScript
"use strict";(self.webpackChunkthreetwo_docs=self.webpackChunkthreetwo_docs||[]).push([[115],{3905:function(e,t,n){n.d(t,{Zo:function(){return u},kt:function(){return m}});var a=n(7294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var s=a.createContext({}),p=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},u=function(e){var t=p(e.components);return a.createElement(s.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,s=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),c=p(n),m=i,k=c["".concat(s,".").concat(m)]||c[m]||d[m]||r;return n?a.createElement(k,o(o({ref:t},u),{},{components:n})):a.createElement(k,o({ref:t},u))}));function m(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,o=new Array(r);o[0]=c;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l.mdxType="string"==typeof e?e:i,o[1]=l;for(var p=2;p<r;p++)o[p]=n[p];return a.createElement.apply(null,o)}return a.createElement.apply(null,n)}c.displayName="MDXCreateElement"},93:function(e,t,n){n.r(t),n.d(t,{assets:function(){return s},contentTitle:function(){return o},default:function(){return d},frontMatter:function(){return r},metadata:function(){return l},toc:function(){return p}});var a=n(3117),i=(n(7294),n(3905));const r={sidebar_position:2,id:"unraid_install",title:"Install ThreeTwo! on unRaid"},o=void 0,l={unversionedId:"unraid_install",id:"unraid_install",title:"Install ThreeTwo! on unRaid",description:"Notes",source:"@site/docs/unraid_install.md",sourceDirName:".",slug:"/unraid_install",permalink:"/threetwo-docs/docs/unraid_install",draft:!1,editUrl:"https://github.com/facebook/docusaurus/edit/main/website/docs/unraid_install.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2,id:"unraid_install",title:"Install ThreeTwo! on unRaid"},sidebar:"tutorialSidebar",previous:{title:"Install ThreeTwo! on unRAID with the docker-compose plugin",permalink:"/threetwo-docs/docs/unRAID_dockercompose"},next:{title:"Resources & Help",permalink:"/threetwo-docs/docs/resources"}},s={},p=[{value:"Notes",id:"notes",level:3},{value:"Pre-requisites",id:"pre-requisites",level:3},{value:"Getting the VM up and running",id:"getting-the-vm-up-and-running",level:3},{value:"Installing Debian on the VM",id:"installing-debian-on-the-vm",level:3},{value:"Docker pre-requisites",id:"docker-pre-requisites",level:3},{value:"Installation",id:"installation",level:3},{value:"Post-install checks",id:"post-install-checks",level:3}],u={toc:p};function d(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,a.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h3",{id:"notes"},"Notes"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Currently, ",(0,i.kt)("inlineCode",{parentName:"li"},"ThreeTwo!")," is installed along with its dependencies using ",(0,i.kt)("inlineCode",{parentName:"li"},"docker-compose"),". The easiest way to install it on ",(0,i.kt)("inlineCode",{parentName:"li"},"unRAID")," is to use a VM."),(0,i.kt)("li",{parentName:"ul"},"Skip the VM creation steps, if you already have a Debian VM")),(0,i.kt)("h3",{id:"pre-requisites"},"Pre-requisites"),(0,i.kt)("p",null,"This guide assumes the following is installed or readily available:"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"unRaid 6.9.2")," (this version was tested against ",(0,i.kt)("inlineCode",{parentName:"li"},"6.9.2"),")"),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("inlineCode",{parentName:"li"},"Debian 10.x")," (Grab the install ",(0,i.kt)("inlineCode",{parentName:"li"},".iso")," ",(0,i.kt)("a",{parentName:"li",href:"https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.1.0-amd64-netinst.iso"},"here"),")")),(0,i.kt)("h3",{id:"getting-the-vm-up-and-running"},"Getting the VM up and running"),(0,i.kt)("ol",null,(0,i.kt)("li",{parentName:"ol"},"Download the ",(0,i.kt)("inlineCode",{parentName:"li"},"Debian")," install ",(0,i.kt)("inlineCode",{parentName:"li"},".iso")),(0,i.kt)("li",{parentName:"ol"},"Place it in a folder accessible by the VM"),(0,i.kt)("li",{parentName:"ol"},"Go to the ",(0,i.kt)("inlineCode",{parentName:"li"},"VM")," tab in your ",(0,i.kt)("inlineCode",{parentName:"li"},"unRaid")," navigation"),(0,i.kt)("li",{parentName:"ol"},"Click ",(0,i.kt)("inlineCode",{parentName:"li"},"Add VM")),(0,i.kt)("li",{parentName:"ol"},"From the list presented to you, click ",(0,i.kt)("inlineCode",{parentName:"li"},"Debian")," under ",(0,i.kt)("inlineCode",{parentName:"li"},"Linux")),(0,i.kt)("li",{parentName:"ol"},"On the VM configration page, enter the desired options for memory, CPU cores, vdisk allocation"),(0,i.kt)("li",{parentName:"ol"},"Make sure that you have set the volume containing the comics correctly for ",(0,i.kt)("inlineCode",{parentName:"li"},"Unraid Share")),(0,i.kt)("li",{parentName:"ol"},"Make sure that you have also set the ",(0,i.kt)("inlineCode",{parentName:"li"},"Unraid Mount tag")," option"),(0,i.kt)("li",{parentName:"ol"},"Make sure that the network bridge is set to ",(0,i.kt)("inlineCode",{parentName:"li"},"br0")),(0,i.kt)("li",{parentName:"ol"},"Set a password for ",(0,i.kt)("inlineCode",{parentName:"li"},"VNC")," so you can follow through with a graphical install if you so wish")),(0,i.kt)("h3",{id:"installing-debian-on-the-vm"},"Installing Debian on the VM"),(0,i.kt)("ol",null,(0,i.kt)("li",{parentName:"ol"},"Launch the VM via ",(0,i.kt)("inlineCode",{parentName:"li"},"VNC Remote")," option"),(0,i.kt)("li",{parentName:"ol"},"Follow the steps of the graphical installer"),(0,i.kt)("li",{parentName:"ol"},"Create a ",(0,i.kt)("inlineCode",{parentName:"li"},"root")," user and a normal ",(0,i.kt)("inlineCode",{parentName:"li"},"user")," and set the passwords for both")),(0,i.kt)("h3",{id:"docker-pre-requisites"},"Docker pre-requisites"),(0,i.kt)("ol",null,(0,i.kt)("li",{parentName:"ol"},(0,i.kt)("a",{parentName:"li",href:"https://unix.stackexchange.com/questions/354928/bash-sudo-command-not-found"},"Make sure you have")," ",(0,i.kt)("inlineCode",{parentName:"li"},"sudo")),(0,i.kt)("li",{parentName:"ol"},"Make sure you have ",(0,i.kt)("inlineCode",{parentName:"li"},"ssh")," access for the user you created earlier"),(0,i.kt)("li",{parentName:"ol"},(0,i.kt)("inlineCode",{parentName:"li"},"ssh")," into the VM as the non-root user"),(0,i.kt)("li",{parentName:"ol"},"Install ",(0,i.kt)("a",{parentName:"li",href:"https://docs.docker.com/engine/install/debian/"},"Docker Engine")),(0,i.kt)("li",{parentName:"ol"},"Install ",(0,i.kt)("a",{parentName:"li",href:"https://docs.docker.com/compose/install/#install-compose-on-linux-systems"},"docker-compose")),(0,i.kt)("li",{parentName:"ol"},"Verify that ",(0,i.kt)("inlineCode",{parentName:"li"},"docker")," and ",(0,i.kt)("inlineCode",{parentName:"li"},"docker-compose")," commands work")),(0,i.kt)("h3",{id:"installation"},"Installation"),(0,i.kt)("ol",null,(0,i.kt)("li",{parentName:"ol"},(0,i.kt)("p",{parentName:"li"},"Clone the repo: ",(0,i.kt)("inlineCode",{parentName:"p"},"git clone https://github.com/rishighan/threetwo.git"))),(0,i.kt)("li",{parentName:"ol"},(0,i.kt)("p",{parentName:"li"},"Change the directory: ",(0,i.kt)("inlineCode",{parentName:"p"},"cd threetwo"))),(0,i.kt)("li",{parentName:"ol"},(0,i.kt)("p",{parentName:"li"},"Create directories within ",(0,i.kt)("inlineCode",{parentName:"p"},"threetwo")),(0,i.kt)("pre",{parentName:"li"},(0,i.kt)("code",{parentName:"pre",className:"language-bash"},"mkdir comics userdata\n\nmkdir userdata/covers userdata/temporary userdata/expanded\n"))),(0,i.kt)("li",{parentName:"ol"},(0,i.kt)("p",{parentName:"li"},"Create an external docker network using ",(0,i.kt)("inlineCode",{parentName:"p"},"sudo docker network create proxy"))),(0,i.kt)("li",{parentName:"ol"},(0,i.kt)("p",{parentName:"li"},"Run ",(0,i.kt)("inlineCode",{parentName:"p"},"sudo docker-compose up --build -d"))),(0,i.kt)("li",{parentName:"ol"},(0,i.kt)("p",{parentName:"li"},"Wait for a hot minute"))),(0,i.kt)("h3",{id:"post-install-checks"},"Post-install checks"),(0,i.kt)("ol",null,(0,i.kt)("li",{parentName:"ol"},"Once the ",(0,i.kt)("inlineCode",{parentName:"li"},"docker-compose up")," command successfully completes, you can check the spun-up containers using ",(0,i.kt)("inlineCode",{parentName:"li"},"docker ps")),(0,i.kt)("li",{parentName:"ol"})))}d.isMDXComponent=!0}}]); |