Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
Practical-Cryptdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhaozhen
Practical-Cryptdb
Commits
6c458959
Commit
6c458959
authored
Jul 17, 2020
by
Ryan Dang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new scripts to install proxy and server separately
parent
9982c341
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
1 deletion
+53
-1
.gitignore
.gitignore
+0
-1
INSTALL_CRYPTDB.sh
INSTALL_CRYPTDB.sh
+23
-0
INSTALL_PROXY.sh
INSTALL_PROXY.sh
+30
-0
No files found.
.gitignore
View file @
6c458959
...
@@ -15,7 +15,6 @@ tags
...
@@ -15,7 +15,6 @@ tags
readFile
readFile
writeFile
writeFile
*CMakeFiles*
*CMakeFiles*
*all*
*back1.sql
*back1.sql
*back.sql
*back.sql
*load.sql
*load.sql
...
...
INSTALL_CRYPTDB.sh
0 → 100644
View file @
6c458959
sudo
apt update
-y
sudo
apt remove bison libbison-dev
-y
sudo
apt upgrade
-y
sudo
apt
install
g++-4.7 gawk liblua5.1-0-dev libntl-dev libmysqlclient-dev libssl-dev libbsd-dev libevent-dev libglib2.0-dev libgmp-dev mysql-server libaio-dev automake gtk-doc-tools flex cmake libncurses5-dev make ruby lua5.1 libmysqld-dev exuberant-ctags cscope
-y
cd
packages
;
sudo
dpkg
-i
libbison-dev_2.7.1.dfsg-1_amd64.deb
;
sudo
dpkg
-i
bison_2.7.1.dfsg-1_amd64.deb
;
cd
..
echo
=============
COMPILE
MYSQL
================================
rm
-rf
mysql-src
tar
-xvf
packages/mysql-src.tar.gz
export
CXX
=
g++-4.7
cd
mysql-src
;
mkdir
build
;
cd
build
;
cmake
-DWITH_EMBEDDED_SERVER
=
on
-DENABLE_DTRACE
=
off ..
;
make
;
cd
../..
;
echo
===============
OK
========================================
echo
=============
INSTALL
Cryptdb
=============================
make
sudo
make
install
chmod
0660 mysql-proxy.cnf
echo
============
Enjoy it!!!
=====================================
INSTALL_PROXY.sh
0 → 100644
View file @
6c458959
sudo
apt update
-y
sudo
apt remove bison libbison-dev
-y
sudo
apt upgrade
-y
sudo
apt
install
g++-4.7 gawk liblua5.1-0-dev libntl-dev libmysqlclient-dev libssl-dev libbsd-dev libevent-dev libglib2.0-dev libgmp-dev mysql-server libaio-dev automake gtk-doc-tools flex cmake libncurses5-dev make ruby lua5.1 libmysqld-dev exuberant-ctags cscope
-y
cd
packages
;
sudo
dpkg
-i
libbison-dev_2.7.1.dfsg-1_amd64.deb
;
sudo
dpkg
-i
bison_2.7.1.dfsg-1_amd64.deb
;
cd
..
echo
=============
COMPILE
MYSQL
================================
rm
-rf
mysql-src
tar
-xvf
packages/mysql-src.tar.gz
export
CXX
=
g++-4.7
cd
mysql-src
;
mkdir
build
;
cd
build
;
cmake
-DWITH_EMBEDDED_SERVER
=
on
-DENABLE_DTRACE
=
off ..
;
make
;
cd
../..
;
echo
===============
OK
========================================
echo
=============
INSTALL MYSQL-proxy
=========================
tar
-xvf
packages/mysql-proxy-0.8.5.tar.gz
-C
mysql-src/
binpath
=
`
pwd
`
/mysql-src/mysql-proxy-0.8.5/bin
echo
" "
>>
~/.bashrc
echo
PATH
=
'$'
PATH:
${
binpath
}
>>
~/.bashrc
source
~/.bashrc
chmod
0660 mysql-proxy.cnf
echo
============
Enjoy it!!!
=====================================
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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