Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dgiot/dgiot
Browse files Browse the repository at this point in the history
  • Loading branch information
dawnwinterLiu committed Aug 11, 2023
2 parents f8a22e8 + df0696b commit 9d984d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dgiot_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ function pre_install() {
echo -e "$(date +%F_%T) $LINENO: ${GREEN} installing tools${NC}"
yum -y install vim net-tools wget ntpdate &>/dev/null
yum -y groupinstall "Development Tools" &>/dev/null
yum install -y wget git &>/dev/null

## 1.7 时间同步
echo "*/10 * * * * /usr/sbin/ntpdate ntp.aliyun.com > /dev/null 2>&1" >>/etc/crontab
Expand Down Expand Up @@ -386,8 +387,6 @@ set_host() {
### 2.1.1 环境准备,根据自身需要,减少或者增加
function yum_install_postgres() {
echo -e "$(date +%F_%T) $LINENO: ${GREEN} yum install postgres${NC}"
#yum_install_git #占用资源较多,先去除
yum install -y wget git &>/dev/null
${csudo} yum install -y gcc gcc-c++ epel-release &>/dev/null
# ${csudo} yum install -y llvm llvm-devel &> /dev/null
${csudo} yum install -y clang libicu-devel perl-ExtUtils-Embed &>/dev/null
Expand Down

0 comments on commit 9d984d3

Please sign in to comment.