User contributions
From DevOps Notebook
- 13:16, 8 October 2020 diff hist +46 Restore single MySQL table from a full database mysqldump backup file current
- 13:15, 8 October 2020 diff hist +96 N Restore single MySQL table from a full database mysqldump backup file Created page with "<pre> # sed -n -e '/DROP TABLE.*`mytable`/,/UNLOCK TABLES/p' mydatabase.sql > mytable.sql </pre>"
- 13:14, 8 October 2020 diff hist +78 MySQL Commands snippets
- 10:14, 6 October 2020 diff hist +39 Install apache-commons-daemon-jsvc on centos 8 current
- 10:13, 6 October 2020 diff hist +455 N Install apache-commons-daemon-jsvc on centos 8 Created page with "Currently there is no binary for centos 8 for jsvc so it needs to be built. <pre> # yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel.x86_64 # wget https://downloads...."
- 10:11, 6 October 2020 diff hist +56 Linux How To
- 14:01, 5 October 2020 diff hist +1,397 N Subnet mask cheat sheet Created page with "{| class="wikitable" style="margin: 1em auto 1em auto;" |- ! Slash !! Netmask !! Wildcard Mask |- | /32 || 255.255.255.255 || 0.0.0.0 |- | /31 || 255.255.255.254 || 0.0.0.1 |-..."
- 13:58, 5 October 2020 diff hist +31 N Networking Created page with "Subnet mask cheat sheet<br>"
- 13:57, 5 October 2020 diff hist +19 Main Page
- 12:21, 27 September 2020 diff hist +1,624 N Linux software RAID Created page with "== Replace failing drive in software raid 1 == Check which drive is failing <pre> # cat /proc/mdstat Personalities : [raid1] md3 : active raid1 sda4[0] 1822442815 block..." current
- 12:10, 27 September 2020 diff hist +29 Linux Filesystem
- 14:42, 16 September 2020 diff hist +74 N Shred Created page with "=== Zero out drives in linux === <pre> # shred -n 2 -z -v /dev/sdX </pre>" current
- 14:40, 16 September 2020 diff hist +76 Linux commands
- 09:56, 15 September 2020 diff hist +616 N MySQL all databases backup in separate files Created page with "<syntaxhighlight lang="bash"> #! /bin/bash TIMESTAMP=$(date +"%F") BACKUP_DIR="/backup/mysql/$TIMESTAMP" # mkdir -p /backup/mysql if you don't have it MYSQL_USER="root" # use..."
- 09:54, 15 September 2020 diff hist +53 MySQL Commands snippets
- 16:46, 30 August 2020 diff hist +23 Setting up MySQL Master-Master replication
- 16:44, 30 August 2020 diff hist +675 Setting up MySQL Master-Master replication
- 11:50, 30 August 2020 diff hist +1,726 N Setting up MySQL Master-Master replication Created page with "=== Prepare mysql setup === After installation, depending on distribution, find my.cnf and under mysqld add (or uncomment) : <br> '''Server 1:''' <pre> [mysqld] server_id..."
- 11:50, 30 August 2020 diff hist +1 MySQL
- 11:50, 30 August 2020 diff hist -1,726 Setting up MySQL Master-Slave replication Blanked the page current Tag: Blanking
- 11:49, 30 August 2020 diff hist +512 Setting up MySQL Master-Slave replication
- 11:45, 30 August 2020 diff hist +1,214 N Setting up MySQL Master-Slave replication Created page with "After installation, depending on distribution, find my.cnf and under mysqld add (or uncomment) : <br> '''Server 1:''' <pre> [mysqld] server_id = 1 log_bin..."
- 10:13, 30 August 2020 diff hist +51 MySQL
- 09:34, 29 August 2020 diff hist +179 N Windows Command Line snippets Created page with "=== Search and replace string from windows command line === <pre> c:\ powershell -Command "(gc somefile.txt) -replace 'foo', 'bar' | Out-File -encoding ASCII somefile.txt" </..." current
- 09:32, 29 August 2020 diff hist +39 PowerShell
- 12:58, 28 August 2020 diff hist +51 MySQL
- 21:35, 26 August 2020 diff hist +342 AWS Tools for PowerShell - Amazon EC2 Container Service current
- 21:33, 26 August 2020 diff hist +190 N AWS Tools for PowerShell - Amazon EC2 Container Service Created page with "=== Update ECS number of tasks === <pre> Update-ECSService -Cluster <cluster name> -DesiredCount <number of wanted tasks> -TaskDefinition <task definition> -Service <name of..."
- 21:31, 26 August 2020 diff hist +59 N Amazon ECS Created page with "AWS Tools for PowerShell - Amazon EC2 Container Service" current
- 21:30, 26 August 2020 diff hist +20 Amazon AWS current
- 21:54, 29 June 2020 diff hist +150 Linux cli snippets
- 17:13, 15 June 2020 diff hist +6 Linux cli snippets
- 17:10, 15 June 2020 diff hist +2 Linux cli snippets
- 17:10, 15 June 2020 diff hist +168 Linux cli snippets
- 17:01, 15 June 2020 diff hist +75 Linux cli snippets
- 18:41, 9 June 2020 diff hist +1 Linux cli snippets →= Start all vm's with autostart set with virsh
- 18:40, 9 June 2020 diff hist +135 Linux cli snippets
- 18:23, 7 June 2020 diff hist -9 Rename multiple files with powershell
- 18:21, 7 June 2020 diff hist +350 N Rename multiple files with powershell Created page with "Example:<br> Rename files named image.1.jpg, image.3.jpg... into 1.jpg, 3.jpg <br> <pre> <pre> Get-ChildItem image.*.jpg|ForEach-Object { $NewName = $_.Name -replace "^(i..."
- 18:19, 7 June 2020 diff hist +10 PowerShell
- 18:17, 7 June 2020 diff hist +36 PowerShell
- 18:14, 7 June 2020 diff hist +216 Run command or script on linux startup current
- 18:06, 7 June 2020 diff hist +112 Linux cli snippets
- 18:05, 7 June 2020 diff hist +42 N Run command or script on linux startup Created page with "There are few ways. 1. With /etc/rc.local"
- 14:05, 7 June 2020 diff hist +48 Linux How To
- 06:35, 14 May 2020 diff hist +184 Create a custom systemd service current
- 06:33, 14 May 2020 diff hist +213 N Create a custom systemd service Created page with "<pre> # vim /etc/systemd/system/myservice.service </pre> <pre> [Unit] Description=My systemd service. [Service] Type=simple ExecStart=/bin/bash /usr/bin/my_service.sh [Inst..."
- 06:29, 14 May 2020 diff hist +41 Linux How To
- 06:16, 14 May 2020 diff hist +27 Installing Python 3 with virtualenv on Amazon Linux v2 current
- 06:15, 14 May 2020 diff hist +37 Installing Python 3 with virtualenv on Amazon Linux v2