Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RAMCloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
adilr3
RAMCloud
Commits
96e741c5
Commit
96e741c5
authored
7 years ago
by
Guoze
Browse files
Options
Downloads
Patches
Plain Diff
Add install_ramclod.sh to fixed the mistake in install.sh
parent
ac892e73
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-0
5 additions, 0 deletions
README.md
install_ramcloud.sh
+16
-0
16 additions, 0 deletions
install_ramcloud.sh
with
21 additions
and
0 deletions
README.md
+
5
−
0
View file @
96e741c5
...
@@ -27,6 +27,11 @@ cd ramcloud
...
@@ -27,6 +27,11 @@ cd ramcloud
sudo
su
sudo
su
./install.sh
./install.sh
```
```
If it doesn't finish the installing of RAMCloud, please input the command as follow.
```
bash
source
/etc/profile
./install_ramcloud.sh
```
## 3. Update the PATH
## 3. Update the PATH
```
bash
```
bash
source
/etc/profile
source
/etc/profile
...
...
This diff is collapsed.
Click to expand it.
install_ramcloud.sh
0 → 100755
+
16
−
0
View file @
96e741c5
#!/bin/bash
#This is a script to install ramcloud.
export
PATH
=
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
clear
CURRENT_DIR
=
$(
pwd
)
PRPCESSOR_NUM
=
$(
getconf _NPROCESSORS_ONLN
)
echo
"[INFO] Begin to install RAMCloud...."
cd
$CURRENT_DIR
make clean
make
-j
$PRPCESSOR_NUM
DEBUG
=
no
install
INSTALL_DIR
=
/usr/local
sudo echo
"/usr/local/lib/ramcloud/"
>
/etc/ld.so.conf.d/ramcloud.conf
sudo
ldconfig
sudo cp
src/
*
.h /usr/local/include/ramcloud/
echo
"[OK] Install RAMCloud Done!"
exit
0
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment