I just added a big hard drive to my ESXi box and I created a virtual drive of about 3.5 TiB for a virtualized machine. But I had a problem… When I went to format it… using my typical method of using fdisk to create a partition I noticed a problem… If I try to […]
Catégorie: Linux
Openvpn Web Interface
add to /etc/openvpn/server.conf management 127.0.0.1 5555 restart openvpn server systemctl restart openvpn@server.service add an OpenVPN Monitor Python package – this will run via a Gunicorn web server and show active connections, mkdir /opt/openvpn-monitor create a virtual env (not required but good practice with py packages) cd /opt/openvpn-monitor apt install virtualenv python3-virtualenv python3-pip python3-venv apt install […]
Configure Your OpenVPN Server
Configure Your OpenVPN Server First, update your system to the latest version. sudo apt update && sudo apt upgrade -y Next, install OpenVPN and Easy-RSA. OpenVPN is a robust and highly flexible VPN software that uses all of the encryption, authentication, and certification features of the OpenSSL library to implement virtual private network (VPN) techniques. […]
Changing the volume name on an LVM machine
Changing the volume group name on an LVM machine is easy, but doing it so that it doesn’t break everything is hard. Here are some pointers on how to change the volume group name on an Ubuntu LVM machine. First, use vgdisplay to show your current volume groups, choose the one you want to rename […]
How do I access vmdk’s from a foreign datastore
If you ever need a version of vmfs-fuse for vmdks larger than 256 GB, you can use a Linux LiveCD that I made http://sanbarrow.com/livecds/moa64-nogui/MOA64-nogui-incl-src-111014-efi.iso Boot it and log in as root – password is sanbarrow Then do sudo su cd / wget http://perdichizzi.net/files/sbin.tgz tar zxf sbin.tgz Now you can use /standalone/sbin/vmfs-fuse which can handle vmdks […]
Monter une partition LVM en mode secours
Si l’on souhaite accéder à une partition LVM , sans manipulation, il n’est pas possible d’y accéder. Voici donc les lignes de commandes à exécuter en mode secours : Scan de la partition LVM : sudo vgscan Activation de la partition LVM : sudo vgchange -ay <VolName> Affichage du nom logique de la partition LVM […]
Monter une partition Esx avec VMFS
Ce tutoriel explique comment monter une partition ESXI en mode de secours, car le système de fichiers utilisé par cette distribution n’est pas supporté par défaut Une fois le serveur en mode secours, il va y avoir plusieurs étapes à effectuer en super utilisateur, donc pour gagner du temps on passe directement en super user: […]
Forcer la vérification des disques
Lorsque vous ne redémarrez pas votre Dedibox avec la commande reboot, il est possible que votre système de fichier se mette en défaut. Ceci a pour conséquence de ne pas pouvoir démarrer votre Dedibox. Vous pouvez vérifier cela via le KVM/IP de votre serveur (si disponible). Attention, en cas de problème grave sur votre système […]
Diagnostiquer un disque HS
Smartmontools est un outil permettant de contrôler et monitorer un disque via le standard “SMART” (Self-Monitoring, Analysis and Reporting Technology System). Il se compose de deux parties : smartd, un daemon qui vous permettra de vérifier de manière périodique vos disques durs smartctl, un outil en ligne de commande pour visualiser l’état du disque dur […]
Kibana
setcap ‘cap_net_bind_service=+ep’ $(readlink -f « $(which java) »)