ProxMox – HDD Passthrough
- No Comments
- kwi, 14, 2019
- siwy
- Debian, Linux, ProxMox, virtualization
Source: blog.imnotacyb.org 1. Find disk with you want passthrough I want passthrough all disk, no partition. ls -l /dev/disk/by-id/ In my case is: ls -l /dev/disk/by-id/ lrwxrwxrwx 1 root root 9 kwi 12 20:34 ata-ST9250315AS_5VC36VNP -> ../../sdd 2. Passthrough HDD to VM Add HDD to VM config file. Add to /etc/pve/qemu-server/<vmid>.conf scsi1: /dev/disk/by-id/ata-ST9250315AS_5VC36VNP 3. Accept […]
Read MoreProxMox – GPU Passthrough – Seabios PCI EXPRESS
- One Comments
- kwi, 14, 2019
- siwy
- Debian, Linux, ProxMox, virtualization
Source: pve.proxmox.com techblog.jeppson.org forum.proxmox.com blog.quindorian.org 1. You must know what you want to do! Read line by line: pve.proxmox.com 2. Check what configuration is the best for you Checking if card is UEFI (ovmf) or BIOS (Seabios) compatible: A. Plugin your GPU thich you want passthrough and turn on the hypervisor I have two GPU, […]
Read MoreBacula-client installation (CentOS 7 and Debian 9)
- No Comments
- sty, 13, 2019
- siwy
- Bacula, CentOS, Debian
1. Installation dependence: CentOS 7 sudo yum install gcc gcc-c++ libacl-devel lzo-devel mt-st mtx openssl-devel readline-devel zlib-devel Debian 9 sudo apt install build-essential 2. Installation bacula-client: Download bacula tar from sourceforge.net: bacula-9.4.1.tar.gz and sent tar to server CentOS 7 and Debian 9 tar -xvzf bacula-gui-9.4.1.tar.gz cd bacula-9.4.1/ sudo ./configure –prefix=/usr/local/bacula \ –disable-build-dird […]
Read MoreInstallation Bacula 9 and Baculum on CentOS 7
- 2 komentarze
- sty, 09, 2019
- siwy
- Bacula, CentOS
Source: www.bacula.pl www.bacula.org bacula.us/compilation/ bacula.us/baculum/ This tutorial install DIR and SD on one machine. 1. Download bacula tar from sourceforge.net: bacula-9.4.1.tar.gz and sent tar to server 2. Install PostgreSQL: sudo yum install postgresql-server postgresql-contrib postgresql-devel sudo postgresql-setup initdb sudo systemctl start postgresql sudo systemctl enable postgresql 3. Configuration firewalld: sudo firewall-cmd […]
Read MoreEncrypted zip with hidden files list without compression
- No Comments
- lis, 26, 2018
- siwy
- Useful commands
7z a -p -t7z -mx0 -mhe=on file.7z /path/dir a – Add files to archive -p – Set Password -t7z – Set type of archive -mx0 – Set compression Method 0 – NON 1 – Fastest 3 – Fast 5 – Normal 7 – Maximum 9 – Ultra -mhe=on – Hide files list
Read MoreManual change of URL in WordPress
- No Comments
- paź, 18, 2018
- siwy
- Useful commands, WordPress
First login to database. Check what is the current URL: select * from wp_options where option_name = 'home’ OR option_name = 'siteurl’; SQL to change URL: UPDATE wp_options SET option_value = replace(option_value, 'https://www.old.pl’, 'http://new.home.pl’) WHERE option_name = 'home’ OR option_name = 'siteurl’; UPDATE wp_posts SET guid = replace(guid, 'https://www.old.pl’,’http://new.home.pl’); UPDATE wp_posts SET […]
Read MoreInitialize Docker Swarm in CentOS (Error response from daemon: rpc error: code = Unavailable desc = grpc: the connection is unavailable)
- No Comments
- lip, 09, 2018
- siwy
- CentOS, Docker
Source: training.play-with-docker.com forums.docker.com 1. Initializing Docker Swarm on 1 node: sudo docker swarm init –advertise-addr 192.168.0.1 2. Try add the worker on 2 node: sudo docker swarm join –token SWMTKN-1-3b33jjwsqpkcy2c8og73aorjf2ao9sjm4crvbwg3xpd1ome459-ckfdcxqqahb9gy9s2t9n5mi78 192.168.0.1:2377 I have error:Error response from daemon: rpc error: code = Unavailable desc = grpc: the connection is unavailable 3. Solution: Open […]
Read MoreCreate template for virtualization
- No Comments
- cze, 11, 2018
- siwy
- virtualization
I recommended changes before make template: comment out CD from /etc/apt/sources.list install aptitude install mc install sudo and add user to group set static and DHCP IP – comment out static IP install Guest Agent
Read MoreDebian IP configuration
- No Comments
- cze, 11, 2018
- siwy
- Debian, Linux, Useful programs
Ip configuration example: allow-hotplug eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.0.4 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.4
Read MoreMigration VM from XenServer to ProxMox (*.xva to *.raw)
- 3 komentarze
- cze, 10, 2018
- siwy
- Debian, Linux, ProxMox, Useful programs, XenServer
Source: techblog.jeppson.org XenServer 7.1 xcp-ng 8.2 ProxMox 5.2 ProxMox 6.3 I. Export VM to *.XVA in XenServer. II. Create new VM in ProxMox with parameters: CPU – like VM on XenServer RAM – like VM on XenServer HDD-1 – size 120GB. Temp system (20GB) and size of VM from XenServer (100GB). This drive will […]
Read More