Migration VM from XenServer to ProxMox (*.xva to *.raw)
- 2 komentarze
- Cze, 10, 2018
- siwy
- Debian, Linux, ProxMox, Useful programs, XenServer
Source: techblog.jeppson.org XenServer 7.1 MroxMox 5.2 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 – 20GB for system and add size of VM from XenServer. I set 100GB. HDD 2 – like VM on […]
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 MoreRefreshing commands (watch)
- No Comments
- Maj, 26, 2018
- siwy
- Useful commands
watch -n 5 cat /proc/test
Read MoreAOMEI partition assistant (partitioning)
- No Comments
- Maj, 18, 2018
- siwy
- OS, Useful programs
Source: aomeitech.com Very useful program to partitioning and cloning OS to other HDDs. Program is designet for Windows.
Read MoreOwn DNS (PowerDNS + PowerAdmin)
- No Comments
- Maj, 14, 2018
- siwy
- DNS, Linux
Source: zaufanatrzeciastrona.pl blog.crazypi.com I. Install Apache2: sudo aptitude install apache2 II. Install MySQL, PHP and secure: sudo aptitude install mysql-server sudo mysql_install_db sudo mysql_secure_installation sudo aptitude install mysql-client sudo aptitude install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php-pear php5-imap php5-mcrypt php5-mhash php5-ming php5-mysql php5-xmlrpc gettext sudo /etc/init.d/mysql restart sudo /etc/init.d/apache2 restart III. Install PowerDNS: sudo […]
Read MoreCRON – example
- No Comments
- Maj, 11, 2018
- siwy
- Useful commands
minute 0-59 hour 0-23 day of month 1-31 month 1-12 (or names) day of week 0-7 (0 or 7 is Sunday or use names) Every 5 min */5 * * * * root /p/a/t/h/aaaa.sh Every hour, from 9:00 to 18:00 00 09-18 * * * root /p/a/t/h/aaaa.sh Every day, at 9:00 and 18:00 00 09,18 […]
Read Morenetstat – listening ports
- No Comments
- Maj, 11, 2018
- siwy
- Useful commands
netstat -tlp netstat -tlpn
Read Morenmap – port scanning
- No Comments
- Maj, 11, 2018
- siwy
- Useful commands
nmap -sV –script ssl-enum-ciphers www.bujakiewiczpawel.pl
Read More