other:storj_centos7
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | other:storj_centos7 [2022/02/11 11:36] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== [HOWTO] storj in centos7 ====== | ||
+ | |||
+ | Setup disk. | ||
+ | |||
+ | |||
+ | Patch firewalld: | ||
+ | <code bash> | ||
+ | mv / | ||
+ | mv / | ||
+ | cp / | ||
+ | </ | ||
+ | |||
+ | Download path: | ||
+ | <file patch ipXtables.patch> | ||
+ | index 68f14a5203db..2b3d6e4c58be 100644 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -541,6 +541,8 @@ class ip4tables(object): | ||
+ | | ||
+ | rules = [] | ||
+ | for table in BUILT_IN_CHAINS.keys(): | ||
+ | + if not self.get_available_tables(table): | ||
+ | + continue | ||
+ | # Flush firewall rules: -F | ||
+ | # Delete firewall chains: -X | ||
+ | # Set counter to zero: -Z | ||
+ | @@ -552,6 +554,8 @@ class ip4tables(object): | ||
+ | rules = [] | ||
+ | | ||
+ | for table in BUILT_IN_CHAINS.keys(): | ||
+ | + if not self.get_available_tables(table): | ||
+ | + continue | ||
+ | if table == " | ||
+ | | ||
+ | for chain in BUILT_IN_CHAINS[table]: | ||
+ | @@ -598,12 +602,13 @@ class ip4tables(object): | ||
+ | def build_default_rules(self, | ||
+ | | ||
+ | |||
+ | - default_rules[" | ||
+ | - self.our_chains[" | ||
+ | - for chain in BUILT_IN_CHAINS[" | ||
+ | - default_rules[" | ||
+ | - default_rules[" | ||
+ | - self.our_chains[" | ||
+ | + if self.get_available_tables(" | ||
+ | + default_rules[" | ||
+ | + self.our_chains[" | ||
+ | + for chain in BUILT_IN_CHAINS[" | ||
+ | + default_rules[" | ||
+ | + default_rules[" | ||
+ | + self.our_chains[" | ||
+ | |||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | Apply patch: | ||
+ | <code bash> | ||
+ | patch / | ||
+ | </ | ||
+ | |||
+ | |||
+ | Follow official instructions to setup docker and pull the data. | ||
+ | \\ | ||
+ | The running docker line is something like this: | ||
+ | <code bash> | ||
+ | docker run -d --restart unless-stopped -p 28967:28967 \ | ||
+ | -p 127.0.0.1: | ||
+ | -e WALLET=" | ||
+ | -e EMAIL=" | ||
+ | -e ADDRESS=" | ||
+ | -e BANDWIDTH=" | ||
+ | -e STORAGE=" | ||
+ | --mount type=bind, | ||
+ | --mount type=bind, | ||
+ | --name storagenode storjlabs/ | ||
+ | </ | ||
+ | |||
+ | Note that the **destination** parameters inside '' | ||
+ | |||
+ | |||
other/storj_centos7.txt · Last modified: 2022/02/11 11:36 by 127.0.0.1