update
This commit is contained in:
parent
19c41d9e50
commit
dacbe78f7c
@ -135,7 +135,7 @@ services:
|
||||
container_name: grafana
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- prometheus
|
||||
- influxdb
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=admin
|
||||
- GF_SECURITY_ADMIN_PASSWORD=Passing2-Edgy-Vexingly
|
||||
|
11
install.sh
11
install.sh
@ -5,8 +5,9 @@ apt-get install apt-transport-https prometheus-node-exporter ca-certificates tra
|
||||
apt-get -y autoremove
|
||||
apt-get -y clean
|
||||
apt-get -y autoclean
|
||||
localectl set-locale LANG=C.UTF-8
|
||||
|
||||
if [ ! -f "/etc/bash.bashrc.soneium" ]; then
|
||||
localectl set-locale LANG=C.UTF-8
|
||||
echo "export HISTTIMEFORMAT='%F, %T '" >> /etc/bash.bashrc
|
||||
echo "export HISTSIZE=10000" >> /etc/bash.bashrc
|
||||
echo "export HISTFILESIZE=10000" >> /etc/bash.bashrc
|
||||
@ -31,9 +32,17 @@ echo "set backupdir /tmp/" >> ~/.nanorc
|
||||
echo "set locking" >> ~/.nanorc
|
||||
echo "include /usr/share/nano/*.nanorc" >> ~/.nanorc
|
||||
|
||||
touch /etc/bash.bashrc.soneium
|
||||
fi
|
||||
|
||||
|
||||
if ! command -v docker &> /dev/null; then
|
||||
curl -sL https://get.docker.com | sudo sh -
|
||||
else
|
||||
echo "Docker is already installed, skipping installation"
|
||||
fi
|
||||
|
||||
cd /root
|
||||
rm -rf /root/node
|
||||
mkdir /root/node
|
||||
cd /root/node
|
||||
|
Loading…
Reference in New Issue
Block a user