🌐 AI搜索 & 代理 主页
Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit 834c4ca

Browse files
authored
Update setup.md: Add RedHat6 install instructions
Installs everything for me except: https://github.com/atom/node-keytar Not exhaustive though as I've only done this once on RHEL 6.7 to try to support Compass on RHEL 6.x, and it's probably a lot easier on RHEL 7.3 or later, but better to get the broad strokes out there and incrementally refine if I need to do this again. The rest which I may have missed should be the typical "LMGTFY" type of error, like the "return binding.open(" one for electron-prebuilt. Still getting things like: https://www.centos.org/forums/viewtopic.php?t=5807 e.g. [mongouser@localhost compass]$ npm start > mongodb-compass@1.6.0-dev start /home/mongouser/Projects/compass > hadron-build develop /home/mongouser/Projects/compass/node_modules/electron-prebuilt/dist/electron: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/mongouser/Projects/compass/node_modules/electron-prebuilt/dist/electron) /home/mongouser/Projects/compass/node_modules/electron-prebuilt/dist/electron: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by /home/mongouser/Projects/compass/node_modules/electron-prebuilt/dist/electron) /home/mongouser/Projects/compass/node_modules/electron-prebuilt/dist/electron: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/mongouser/Projects/compass/node_modules/electron-prebuilt/dist/electron) /home/mongouser/Projects/compass/node_modules/electron-prebuilt/dist/electron: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/mongouser/Projects/compass/node_modules/electron-prebuilt/dist/libnode.so) But it's a start to work the problem and see if it's resolvable.
1 parent ba0a030 commit 834c4ca

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/setup.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ on GitHub's website for instructions to get started with git and GitHub.
5959

6060
## Linux Setup
6161

62+
63+
## Debian / Ubuntu
64+
6265
### 1. Install dependencies
6366

6467
```
@@ -80,7 +83,38 @@ See [Setting up Git][git-setup]
8083
on GitHub's website for instructions to get started with git and GitHub.
8184

8285

86+
## CentOS / Fedora / Red Hat
87+
88+
### 1. Install VirtualBox Guest Additions
89+
90+
This will get you some useful things like `gcc`, otherwise you may need to install other dependencies:
91+
92+
```
93+
1. Install RHEL 6 minimal installation
94+
2. Do a full `yum update`
95+
3. `yum install kernel-devel gcc make patch`
96+
4. Reboot
97+
5. Mount VirtualBox Tools iso and try to install the Guest additions
98+
```
99+
https://access.redhat.com/discussions/1519903#comment-942153
100+
101+
### 2. Install node v6 LTS
102+
103+
`curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -`
104+
105+
https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora
106+
107+
### 3. Install git and GitHub
108+
109+
See [Setting up Git][git-setup]
110+
on GitHub's website for instructions to get started with git and GitHub.
111+
112+
Note: RHEL v6 is so far behind that you may prefer to build your own from the source, which is not hard to do:
113+
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git#Installing-from-Source
114+
115+
83116
[install-linux]: https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories
84117
[node-download]: https://nodejs.org/download/
85118
[node-wiki-install]: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
86119
[git-setup]: https://help.github.com/articles/set-up-git/#setting-up-git
120+

0 commit comments

Comments
 (0)