Create 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 MoreChange hostname permanent
- No Comments
- cze, 10, 2018
- siwy
- Debian, Linux, Useful commands
sudo hostnamectl set-hostname new.name.1 and change old hostname to new in /etc/hosts.
Read MoreTest GitLab commands
- No Comments
- cze, 09, 2018
- siwy
- GitLab, Linux, Useful commands
sudo gitlab-rake gitlab:check –trace sudo gitlab-rake db:migrate:status –trace gitlab-ctl tail
Read MoreInstall old version GitLab on Debian.
- No Comments
- cze, 09, 2018
- siwy
- GitLab, Linux, Useful commands
Source: GitLab Install GitLab’s repos I. Creating a backup sudo gitlab-rake gitlab:backup:create II. Install and restore backup: sudo aptitude install -y curl openssh-server ca-certificates curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash sudo aptitude install gitlab-ee=10.7.3-ee.0 sudo mv 1526756133_2018_05_19_10.7.3-ee_gitlab_backup.tar /var/opt/gitlab/backups/. sudo gitlab-ctl stop unicorn sudo gitlab-ctl stop sidekiq sudo gitlab-rake gitlab:backup:restore BACKUP=1526756133_2018_05_19_10.7.3-ee sudo gitlab-ctl restart […]
Read More