Edit file /etc/dhcp/dhclient.conf
supersede domain-name "ims.mnc001.mcc001.3gppnetwork.org";
prepend domain-name-servers 192.168.0.189, 192.168.0.1;
edit file /etc/systemd/resolved.conf
DNS=192.168.0.189
FallbackDNS=192.168.0.1
####### Global Parameters ######### | |
#debug_mode=yes | |
log_level=3 | |
log_stderror=no | |
log_facility=LOG_LOCAL0 | |
children=8 | |
#tcp_children=32 |
Edit file /etc/dhcp/dhclient.conf
supersede domain-name "ims.mnc001.mcc001.3gppnetwork.org";
prepend domain-name-servers 192.168.0.189, 192.168.0.1;
edit file /etc/systemd/resolved.conf
DNS=192.168.0.189
FallbackDNS=192.168.0.1
I am a lazy person. I have not written it yet. |
This installation procedure is for Debain/Ubuntu
apt install curl
curl https://clickhouse.com/ | sh
this will download a clickhouse file, you need run the following command to install
sudo ./clickhouse install
it will ask following questions
Download the package
wget https://nodejs.org/dist/v21.5.0/node-v21.5.0-linux-x64.tar.xz
untar the files
tar -xvf node-v21.5.0-linux-x64.tar.xz
move it to /usr/local/
go to the directory
cd /usr/local/
git clone https://github.com/metrico/qryn && cd qryn
npm install
Create a Unit file
apt-get install -y apt-transport-https software-properties-common wget
mkdir -p /etc/apt/keyrings/
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
Install vector
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
this will install vector in home directory, move it to /usr/local
mv /root/.vector /usr/local/vector/
create a config file
Go to Grafana agent git repo, and download the altest release or use the following command to download for Debian
wget https://github.com/grafana/agent/releases/download/v0.38.1/grafana-agent-0.38.1-1.amd64.deb
instal the agent
dpkg -i grafana-agent-0.38.1-1.amd64.deb
Edit grafana-agent configuration file /etc/grafana-agent.yaml
Please execute the following commands to resolve the package/libraraies dependencies for package installation in further steps
apt install aptitude build-essential
aptitude install autoconf libtool libtool-bin pkg-config libpq-dev lua5.4 liblua5.4-dev libmariadb-dev git libtiff-dev libsqlite3-dev libcurl4-openssl-dev libcurl4-nss-dev libcurl4-gnutls-dev libpcre3 libpcre3-dev libspeex-dev libspeexdsp-dev libldns-dev yasm uuid-dev uuid libopencore-amrnb-dev libopencore-amrnb0 libopencore-amrwb-dev libopencore-amrwb0 libvo-amrwbenc-dev libvo-amrwbenc0 libswscale-dev libavformat-dev libopus-dev libshout3-dev libmpg123-dev libmp3lame-dev libsndfile-dev libapr1 libapr1-dev libncurses5 libncurses5-dev libsctp-dev libsctp1 libtinfo5 sqlite3 unzip zip libedit-dev cmake
For Rockey Lilnux follow this