Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid

Install Couch DB under Ubuntu

Installation

wget https://couchdb.apache.org/repo/bintray-pubkey.asc -qO - | sudo apt-key add -
echo "deb https://apache.bintray.com/couchdb-deb $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/couchdb.list
sudo apt update

debconf-set-selections <<\EOF
couchdb couchdb/adminpass string admin
couchdb couchdb/adminpass_again string admin
couchdb couchdb/mode select standalone
couchdb couchdb/bindaddress string 0.0.0.0
EOF

sudo apt-get install -y couchdb

Login
http://SERVER_IP:5984/_utils/
user: admin
pass: admin

Commands

# check connection
curl -X GET http://admin:admin@u1804:5984
# create DB
curl -X PUT http://admin:admin@u1804:5984/store1
# list DBs
curl -X GET http://admin:admin@u1804:5984/_all_dbs
# delete DB
curl -X DELETE http://admin:admin@u1804:5984/store2
# create object to DB
curl -X PUT http://admin:admin@u1804:5984/store1/product1 -d'{ "Name": "foo" , "Size": "5", "Note" : "test1" }'
# get object from DB
curl -X GET http://admin:admin@u1804:5984/store1/product1

Links
https://websiteforstudents.com/install-apache-couchdb-on-ubuntu-16-04-17-10-18-04/
http://docs.couchdb.org/en/latest/install/setup.html
https://wiki.ubuntuusers.de/CouchDB/
http://docs.couchdb.org/en/2.1.2/intro/tour.html

Install SonarQube

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.sonarqube.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

WebGUI
http://172.29.14.185:9000/

Logfile
tail -f /opt/sonar/logs/sonar.log

Links
http://sonar-pkg.sourceforge.net/
http://docs.sonarqube.org/display/SONAR/Requirements
https://github.com/Godin/sonar-native-packages
https://gist.github.com/micheleorsi/bd20912b2489f3432558

Install Vega vulnerability scanner under Ubuntu / Debian

Install
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.vega.sh";

echo "wget -q --no-check-certificate $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Workarround

sudo mkdir -p /usr/share/vega/workspace/
sudo chmod 777 /usr/share/vega/workspace/

Download
https://subgraph.com/vega/download/

Configuration
diff /usr/share/vega/Vega.ini.2015-01-12 /usr/share/vega/Vega.ini
2,5c2,5
< -Xms256m
< -XX:PermSize=128m
< -XX:MaxPermSize=256m
< -Xmx2048m
---
> -Xms1024m
> -XX:PermSize=512m
> -XX:MaxPermSize=1024m
> -Xmx4096m

Install Gnokii (Manage SMS on USB Stick)

# install
sudo apt-get install -y gnokii
# set permissions (TODO set permissions with udev)
sudo chmod o+rw /dev/ttyUSB0
# configure
cat < .gnokiirc

[global]
model = AT
port = /dev/ttyUSB0
connection = serial
EOF

# show sms status

gnokii --showsmsfolderstatus

# show sms

gnokii --getsms MT 0 end

# show sms and filter for "http"

gnokii --getsms MT 0 2> /dev/null | grep http

# delete sms

gnokii --deletesms MT 0

# Links

http://linuxgazette.net/164/tomar.html
http://wiki.gnokii.org/index.php/SMS_options
http://ubuntuforums.org/showthread.php?t=1123538

Ubuntu: Install Nemo file manager

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.nemo.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Links
http://www.webupd8.org/2013/10/install-nemo-with-unity-patches-and.html

Install pipelight (watch Watchever under Linux / Ubuntu)

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.pipelight.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Start Watchever
chromium-browser https://www.watchever.de/login

Links
https://wiki.ubuntuusers.de/Pipelight/
http://fds-team.de/cms/pipelight-installation.html

Install Cinnamon

# add PPA
sudo add-apt-repository -y ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
# install cinnamon
sudo apt-get install -y cinnamon
# OPTIONAL: install nemo
sudo apt-get install -y nemo
# Links

http://wiki.ubuntuusers.de/Cinnamon
http://wiki.ubuntuusers.de/Paketquellen_freischalten/PPA#PPA-hinzufuegen

Install Sun / Oracle Java JDK under Ubuntu

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.java-jdk.sh";

echo "wget -q --no-check-certificate $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_URL, $URL);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Java 10
https://www.linuxuprising.com/2018/04/install-oracle-java-10-in-ubuntu-or.html

Install JDK under Debian 7 (minimal)

echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" > /etc/apt/sources.list.d/webupd8team-java.list

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886

echo 'Acquire::HTTP::Proxy::download.oracle.com "DIRECT";' > /etc/apt/apt.conf.d/99_oracle
apt-get update
echo "oracle-java7-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections
apt-get install -y oracle-java7-installer
apt-get install -y oracle-java7-set-default

Download JDK manually

# v7
URL=http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.tar.gz
# v8
URL=http://download.oracle.com/otn-pub/java/jdk/8u77-b03/jdk-8u77-linux-x64.tar.gz
# download
wget  --continue --no-check-certificate --header "Cookie: oraclelicense=a" ${URL} -O /tmp/${URL##*/}
# http://download.oracle.com/otn-pub/java/jdk/8u77-b03/jdk-8u77-linux-x64.tar.gz?AuthParam=1458983739_a16ec49d4ccc02fd689b10ad958ab0ce
# fix repo key

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886

OPTIONAL: Uninstall OpenJDK

sudo apt-get remove -y openjdk-7-jre-headless

Display your current java version
java -version

Ubuntu: temperature monitoring with TEMPer USB sensor / thermometer

lsusb
Bus 005 Device 012: ID 0c45:7401 Microdia

download already compiled version

sudo wget -q http://dl.panticz.de/pcsensor/pcsensor -O /usr/local/bin/pcsensor
sudo chmod a+x /usr/local/bin/pcsensor
sudo watch /usr/local/bin/pcsensor

compile self

# install libs
sudo apt-get install -y libusb-dev libusb-1.0-0 make #libhid-dev
# get source

#wget http://www.isp-sl.com/pcsensor-0.0.1.tgz -O /tmp/pcsensor-0.0.1.tgz
#tar xzf /tmp/pcsensor-0.0.1.tgz -C /tmp
#cd /tmp/pcsensor-0.0.1

mkdir /tmp/pcsensor
wget -q "http://raw.githubusercontent.com/padelt/pcsensor-temper/master/src/pcsensor.c" -O /tmp/pcsensor/pcsensor.c
wget -q "http://raw.githubusercontent.com/padelt/pcsensor-temper/master/src/Makefile" -O /tmp/pcsensor/Makefile
# compile (optional)

cd /tmp/pcsensor/
make

# install
sudo cp ./pcsensor /usr/local/bin/
sudo cp 99-tempsensor.rules /etc/udev/rules.d
# insert

(re)insert TEMPer device

get teperature
pcsensor

create cron script

echo '*/5 * * * * root /usr/local/bin/pcsensor -c >> /var/log/pcsensor.log' | sudo tee /etc/cron.d/pcsensor

#sudo /etc/init.d/cron restart

compile for OpenWrt

export STAGING_DIR=~/develop/OpenWRT/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin
wget -q http://raw.githubusercontent.com/padelt/pcsensor-temper/master/src/pcsensor.c

~/develop/OpenWRT/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc pcsensor.c -o pcsensor

Errror:
pcsensor.c:33:17: fatal error: usb.h: No such file or directory
compilation terminated.

# ?

DEPENDS:=+libusb

AX88772A Fast Ethernet USB Adapter

Set fixed ethernet device

cat <> /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ATTR{address}=="00:11:22:33:44:55",KERNEL=="eth*", NAME="eth1"

EOF

Configure IP

cat <> /etc/network/interfaces

auto eth1
iface eth1 inet dhcp
EOF

lsusb
...
Bus 002 Device 003: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
...

lsmod | grep asix
asix 27650 0
usbnet 31879 1 asix

Perfomance

scp root@srv:/media/ubuntu-13.04-desktop-amd64.iso /tmp/

ubuntu-13.04-desktop-amd64.iso 100% 785MB 9.9MB/s 01:19

Pagination

  • 1
  • Next page
ubuntu
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung