User contributions
From DevOps Notebook
- 15:59, 13 July 2021 diff hist +213 N Redirect entire website to new url, except few directories Created page with "<pre> RewriteEngine on RewriteCond %{HTTP_HOST} ^myoldwebsite.com$ RewriteCond %{REQUEST_URI}!^/something/ RewriteCond %{REQUEST_URI}!^/some-folder/ RewriteRule (.*) https://w..." current
- 15:58, 13 July 2021 diff hist +67 Apache current
- 14:56, 13 July 2021 diff hist +98 MySQL Commands snippets
- 12:27, 13 July 2021 diff hist +96 N Incrase upload size in apache Created page with "<pre> <Directory "/var/www/example.com/wp-uploads"> LimitRequestBody 5242880 </Directory> </pre>" current
- 12:27, 13 July 2021 diff hist +38 Apache
- 15:34, 12 July 2021 diff hist -30 Mount a qcow2 disk image current
- 15:33, 12 July 2021 diff hist +1 Mount a qcow2 disk image
- 15:33, 12 July 2021 diff hist -7 Mount a qcow2 disk image
- 15:31, 12 July 2021 diff hist -2 Mount a qcow2 disk image
- 15:31, 12 July 2021 diff hist +38 Mount a qcow2 disk image
- 15:29, 12 July 2021 diff hist +242 N Mount a qcow2 disk image Created page with "<pre> # modprobe nbd max_part=8 # qemu-nbd --connect=/dev/nbd0 /var/lib/vz/images/100/vm-100-disk-1.qcow2 # fdisk /dev/nbd0 -l # mount /dev/nbd0p1 /mnt/somepoint/ # umount /..."
- 15:27, 12 July 2021 diff hist +33 QEMU KVM current
- 14:50, 12 July 2021 diff hist +273 N SSHFS Created page with "== Add sshfs to fstab == Simple: <pre> sshfs#root@192.168.1.250:/pathremote /mnt/pathlocal </pre> Advanced: <pre> sshfs#$root@192.168.1.250:/pathremote /mnt/pathlocal fuse def..." current
- 14:48, 12 July 2021 diff hist +14 Linux Filesystem current
- 11:23, 9 July 2021 diff hist +174 Sed
- 12:38, 6 July 2021 diff hist +73 N Convert VMWare vmdk to qcow2 Created page with "<pre> # qemu-img convert -f vmdk disk-0.vmdk -O qcow2 disk-0.qcow2 </pre>" current
- 12:37, 6 July 2021 diff hist +36 N QEMU KVM Created page with "Convert VMWare vmdk to qcow2<br>"
- 12:37, 6 July 2021 diff hist +17 Main Page
- 12:14, 6 July 2021 diff hist +4 MSSQL Database stuck in restore state
- 12:14, 6 July 2021 diff hist -43 MSSQL Database stuck in restore state
- 12:14, 6 July 2021 diff hist +193 N MSSQL Database stuck in restore state Created page with "<syntaxhighlight lang="sql"> USE [master] RESTORE DATABASE [SportifierDB_Restore] FROM DISK = N'D:\BackupFromPRD\AutoRestore\AutoRestoreSpotifierDBFresh.bak' WITH RECOVERY..."
- 12:12, 6 July 2021 diff hist +69 MSSQL
- 10:34, 17 June 2021 diff hist +576 N Load ssh agent on linux boot Created page with "Add to .bash_profile <br> <pre> SSH_ENV="$HOME/.ssh/agent-environment" function start_agent { echo "Initialising new SSH agent..." /usr/bin/ssh-agent | sed 's/^echo/#..." current
- 10:34, 17 June 2021 diff hist +38 Linux How To
- 12:42, 28 May 2021 diff hist +177 N Linux proxmox commands Created page with "=== Restart Proxmox services in correct order === <pre> # service pve-cluster restart && service pvedaemon restart && service pvestatd restart && service pveproxy restart </pre>" current
- 12:41, 28 May 2021 diff hist +26 N Proxmox VE Created page with "Linux proxmox commands" current
- 12:40, 28 May 2021 diff hist +1 Main Page
- 12:40, 28 May 2021 diff hist +18 Main Page
- 12:23, 25 May 2021 diff hist +176 N Rsync Created page with "=== Copy files and directories and removed source with rsync === <pre> $ rsync --remove-source-files -rltv --progress /backup/fullbackup-20210524 /mnt/backup/2021/05/24/ </pre>"
- 12:21, 25 May 2021 diff hist +10 Linux commands current
- 12:21, 25 May 2021 diff hist +68 Linux commands
- 12:06, 5 May 2021 diff hist +2 Sed
- 12:05, 5 May 2021 diff hist +167 N Sed Created page with "== Search and replace string in single file == <pre> sudo sed -i -e "s/upload_max_filesize = \"500M\"/upload_max_filesize = \"1200M\"/g" /etc/php7.4/cli/php.ini </pre>"
- 16:08, 20 March 2021 diff hist +451 Subnet mask cheat sheet current
- 15:11, 15 March 2021 diff hist +276 Linux cli snippets
- 12:53, 10 March 2021 diff hist -23 Nmap current
- 12:50, 10 March 2021 diff hist +125 Nmap
- 13:08, 16 February 2021 diff hist +361 N Error : warning: TLS library problem: 2023 Created page with "PHP fails to verify peer certificate because unknown CA.<br> This can be fixed by adding correct certificate or <br> by removing verify in config.inc.php of roundcoube <br> <..." current
- 13:05, 16 February 2021 diff hist +2 Mail Server current
- 13:05, 16 February 2021 diff hist +118 N Mail Server Created page with "==Postix, Dovecot and Roundcube setup== === Troubleshooting Roundcube === [Error : warning: TLS library problem: 2023]"
- 13:02, 16 February 2021 diff hist +20 Main Page
- 12:20, 25 January 2021 diff hist +124 N Load ssh-agent upon login so key doesn't ask for passphrase everytime Created page with "Add to ~/.bashrc or /etc/profile for all users <pre> eval $(ssh-agent) </pre> Then just: <pre> $ ssh-add .ssh/id_rsa </pre>" current
- 14:29, 31 December 2020 diff hist +81 Linux cli snippets
- 16:02, 25 December 2020 diff hist +101 Linux cli snippets
- 12:04, 16 December 2020 diff hist -4 VMWare current
- 12:04, 16 December 2020 diff hist +192 VMWare
- 12:02, 16 December 2020 diff hist +24 N VMWare Created page with "== ESXi configuration =="
- 12:02, 16 December 2020 diff hist +16 Main Page
- 11:50, 14 December 2020 diff hist +110 N Grep Created page with "=== Search for multiple IP addresses with one grep line === <pre> # grep -iP '2\.2.\2\.2|1\.1\.1\.1' * </pre>" current
- 14:21, 28 November 2020 diff hist +129 Linux How To