Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
adilr3
RAMCloud
Commits
96e741c5
Commit
96e741c5
authored
Jul 15, 2018
by
Guoze
Browse files
Add install_ramclod.sh to fixed the mistake in install.sh
parent
ac892e73
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
96e741c5
...
...
@@ -27,6 +27,11 @@ cd ramcloud
sudo
su
./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
```
bash
source
/etc/profile
...
...
install_ramcloud.sh
0 → 100755
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
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment