add install-deps.sh
This commit is contained in:
parent
26f2be55fc
commit
d3049e01ea
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
*.*\~
|
||||
*.*~
|
||||
*.*\#
|
||||
*.*#
|
||||
\#*
|
||||
\.\#*
|
||||
~*.*
|
||||
\#*.*
|
21
scripts/install-deps.sh
Normal file
21
scripts/install-deps.sh
Normal file
@ -0,0 +1,21 @@
|
||||
yum install gcc-4.8.5-28.el7_5.1.x86_64
|
||||
yum install gcc-c++-4.8.5-28.el7_5.1.x86_64
|
||||
yum install cmake-2.8.12.2-2.el7.x86_64
|
||||
yum install protobuf-devel-2.5.0-8.el7.x86_64
|
||||
yum install hiredis-0.12.1-1.el7.x86_64
|
||||
yum install hiredis-devel-0.12.1-1.el7.x86_64
|
||||
yum install python34-devel.x86_64 0:3.4.8-1.el7
|
||||
yum install mariadb-devel.x86_64 1:5.5.56-2.el7
|
||||
yum install curl-devel.x86_64 0:7.29.0-46.el7
|
||||
yum install jsoncpp-devel.x86_64 0:0.10.5-2.el7
|
||||
yum install php-fpm.x86_64 0:5.4.16-45.el7
|
||||
yum install tinyxml.x86_64 0:2.6.2-3.el7
|
||||
|
||||
yum install php-pdo-5.4.16-45.el7.x86_64
|
||||
yum install php-mysql-5.4.16-45.el7.x86_64
|
||||
yum install php-pecl-redis-2.2.8-1.el7.x86_64
|
||||
|
||||
yum install v8-devel-3.14.5.10-25.el7.x86_64
|
||||
|
||||
yum install cppcheck-1.83-3.el7.x86_64
|
||||
|
8
scripts/publish_cpp/boundle.sh
Executable file
8
scripts/publish_cpp/boundle.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'`
|
||||
dir_name=`basename $PWD`
|
||||
package_name=${dir_name}.tar.gz
|
||||
|
||||
|
||||
tar --exclude=*.git -chzf target/${package_name} webapp config reload.sh restart.sh
|
1
scripts/publish_cpp/reload.sh
Normal file
1
scripts/publish_cpp/reload.sh
Normal file
@ -0,0 +1 @@
|
||||
echo 'success'
|
1
scripts/publish_cpp/restart.sh
Normal file
1
scripts/publish_cpp/restart.sh
Normal file
@ -0,0 +1 @@
|
||||
echo 'success'
|
Loading…
x
Reference in New Issue
Block a user