su postgres
psql -U postgres -W Password
database=# \l //show databases
database=# \c database // use database
database=# \dt // show tables;
First Confirm if your Linux machine was created using LVM or not, execute the following commands
pvdisplay
vgdisplay
lvdisplay
if the se commands show som eout then it mean that Vm was created thorugh LVM and you can resize it.
now install GRUB in /dev/sda/
so that when you resize the HDD, BIOS can boot the machine.
Installation Steps Kamailio v5.7.1
wget https://www.kamailio.org/pub/kamailio/latest/src/kamailio-5.7.0_src.tar.gz
tar -xf kamailio-5.7.0_src.tar.gz
cd kamailio-5.7.0
apt install libunistring-dev bison flex
make PREFIX="/opt/kamailio" include_modules="db_mysql tls websocket xmlrpc http_client" cfg
make Q=0 all
make install
cp pkg/kamailio/deb/debian/kamailio.service /etc/systemd/system/
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
git clone https://github.com/freeswitch/spandsp.git
cd spandsp
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
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
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
go to the directory
cd /usr/local/
git clone https://github.com/metrico/qryn && cd qryn
npm install
Create a Unit file