u
This commit is contained in:
parent
5d74b46cfa
commit
0ae13bf7ac
@ -1,6 +1,6 @@
|
|||||||
echo Docker and Docker-Compose should be installed in prior.
|
echo Docker and Docker-Compose should be installed in prior.
|
||||||
|
echo [202205] 发现必须下载版本,不能用最新代码,否则无法安装成功。
|
||||||
git clone https://github.com/hyperledger/cello
|
git clone -b v1.0.0-alpha https://github.com/hyperledger/cello
|
||||||
|
|
||||||
cd cello
|
cd cello
|
||||||
|
|
||||||
|
@ -20,8 +20,13 @@ passwd $NewUser
|
|||||||
mkdir /home/$NewUser
|
mkdir /home/$NewUser
|
||||||
chown $NewUser:$NewUser /home/$NewUser
|
chown $NewUser:$NewUser /home/$NewUser
|
||||||
chmod 700 /home/$NewUser
|
chmod 700 /home/$NewUser
|
||||||
# emacs /etc/passwd
|
|
||||||
|
# Set default shell in /etc/passwd
|
||||||
# Debian 10 default to /bin/sh
|
# Debian 10 default to /bin/sh
|
||||||
sed -i "s/\/home\/$NewUser:\/bin\/sh$/\/home\/$NewUser:\/bin\/bash/g" /etc/passwd
|
sed -i "s/\/home\/$NewUser:\/bin\/sh$/\/home\/$NewUser:\/bin\/bash/g" /etc/passwd
|
||||||
# Debian 9 default to empty
|
# Debian 9 default to empty
|
||||||
sed -i "s/\/home\/$NewUser:$/\/home\/$NewUser:\/bin\/bash/g" /etc/passwd
|
sed -i "s/\/home\/$NewUser:$/\/home\/$NewUser:\/bin\/bash/g" /etc/passwd
|
||||||
|
|
||||||
|
# Allow sudo
|
||||||
|
echo "$NewUser ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/$NewUser
|
||||||
|
chmod a-w /etc/sudoers.d/$NewUser
|
@ -108,9 +108,9 @@ popd
|
|||||||
mkdir tuc-ext
|
mkdir tuc-ext
|
||||||
pushd tuc-ext
|
pushd tuc-ext
|
||||||
git clone https://git.faronear.org/tuc-ext/ext
|
git clone https://git.faronear.org/tuc-ext/ext
|
||||||
git clone https://git.faronear.org/tuc-ext/ext.blog.hexo
|
git clone https://git.faronear.org/tuc-ext/ext-blog-hexo
|
||||||
git clone https://git.faronear.org/tuc-ext/ext.server.torm
|
git clone https://git.faronear.org/tuc-ext/ext-server-torm
|
||||||
git clone https://git.faronear.org/tuc-ext/ext.user.uniapp
|
git clone https://git.faronear.org/tuc-ext/ext-user-uniapp
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir tuc-log
|
mkdir tuc-log
|
||||||
|
@ -46,8 +46,6 @@ git clone https://git.faronear.org/npm/corend-i18n
|
|||||||
git clone https://git.faronear.org/npm/corend-toolkit
|
git clone https://git.faronear.org/npm/corend-toolkit
|
||||||
git clone https://git.faronear.org/npm/corend-rpcsocket
|
git clone https://git.faronear.org/npm/corend-rpcsocket
|
||||||
|
|
||||||
git clone https://git.faronear.org/npm/template.user.uniapp
|
|
||||||
|
|
||||||
git clone https://git.faronear.org/npm/tic-crypto
|
git clone https://git.faronear.org/npm/tic-crypto
|
||||||
git clone https://git.faronear.org/npm/tic-chaintool
|
git clone https://git.faronear.org/npm/tic-chaintool
|
||||||
git clone https://git.faronear.org/npm/tic-traction
|
git clone https://git.faronear.org/npm/tic-traction
|
||||||
@ -109,9 +107,9 @@ popd
|
|||||||
mkdir tuc-ext
|
mkdir tuc-ext
|
||||||
pushd tuc-ext
|
pushd tuc-ext
|
||||||
git clone https://git.faronear.org/tuc-ext/ext
|
git clone https://git.faronear.org/tuc-ext/ext
|
||||||
git clone https://git.faronear.org/tuc-ext/ext.blog.hexo
|
git clone https://git.faronear.org/tuc-ext/ext-blog-hexo
|
||||||
git clone https://git.faronear.org/tuc-ext/ext.server.torm
|
git clone https://git.faronear.org/tuc-ext/ext-server-torm
|
||||||
git clone https://git.faronear.org/tuc-ext/ext.user.uniapp
|
git clone https://git.faronear.org/tuc-ext/ext-user-uniapp
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir tuc-log
|
mkdir tuc-log
|
||||||
|
Loading…
Reference in New Issue
Block a user