User contributions
From DevOps Notebook
- 10:03, 2 August 2022 diff hist +34 MySQL Commands snippets current
- 10:14, 28 July 2022 diff hist 0 Linux How To current
- 20:36, 13 February 2022 diff hist +152 Linux cli snippets
- 13:19, 5 February 2022 diff hist +205 N Set date and time manually in linux shell Created page with "<pre> # date -s "28 JUN 1984 09:30:00" # date +%Y%m%d -s "19830628" # date +%T -s "09:30:00" # timedatectl set-ntp no # timedatectl set-time '1983-06-28' # timedatectl set-tim..." current
- 13:16, 5 February 2022 diff hist +50 Linux How To
- 18:16, 27 January 2022 diff hist +392 N Check ttfb (time to first byte) with bash script Created page with "<syntaxhighlight lang="bash"> #!/bin/bash # file: ttfb.sh # curl command to check the time to first byte # ** usage ** # 1. ./ttfb.sh "https://google.com" # 2. seq 10 | xargs..." current
- 18:15, 27 January 2022 diff hist +57 Linux bash
- 17:51, 27 January 2022 diff hist +1 Get cpu count with bash script current
- 17:50, 27 January 2022 diff hist -16 Get cpu count with bash script
- 17:50, 27 January 2022 diff hist +267 N Get cpu count with bash script Created page with "<syntaxhighlight lang="bash"> #!/bin/bash CPUCOUNT=`cat /proc/cpuinfo |grep processor |wc -l` echo "CPU COUNT IS: " $CPUCOUNT if [ $CPUCOUNT -lt "5" ] then MAXSES..."
- 17:48, 27 January 2022 diff hist +38 N Linux bash Created page with "Get cpu count with bash script<br>"
- 17:48, 27 January 2022 diff hist +20 Linux current
- 12:26, 26 January 2022 diff hist +434 N Port forward mysql on local network with SSH Created page with "Run from server you wanna access to MySQL that is on private network<br> that is not in same network as we are. <pre> $ ssh -v -4 -N -L 3307:<sql_server_private_ip>:3306 root@..." current
- 12:21, 26 January 2022 diff hist +53 Linux How To
- 10:55, 19 January 2022 diff hist +270 N Usefull docker commands Created page with "=== Clean up overlay folder === <pre> # docker system prune -a -f </pre> or <pre> # docker rm -v $(sudo docker ps -a -q -f status=exited) # docker rmi -f $(sudo docker images..."
- 10:54, 19 January 2022 diff hist +31 N Docker Created page with "Usefull docker commands<br>" current
- 10:53, 19 January 2022 diff hist +15 Main Page
- 22:36, 8 January 2022 diff hist +1 MySQL all databases backup in separate files current
- 22:33, 8 January 2022 diff hist +66 MySQL all databases backup in separate files
- 23:54, 16 December 2021 diff hist +166 N "Cannot execute /bin/bash: Permission denied" - solved! Created page with "This happens when selinux is not disabled or configured. <br><br> Easiest way to fix it is login via console and in ``/etc/selinux/config`` set '''selinux=disabled'''" current
- 23:53, 16 December 2021 diff hist +65 Linux How To
- 09:59, 14 December 2021 diff hist +1,160 N Basic iptables firewall template Created page with "<pre> # Flush INPUT/OUTPUT/FORWARD chains iptables -F INPUT iptables -F OUTPUT iptables -F FORWARD # Drop invalid packets iptables -A INPUT -m conntrack --ctstate INVALID -j..." current
- 09:58, 14 December 2021 diff hist +41 Networking current
- 12:59, 11 December 2021 diff hist +155 N SSH login without key auth (force password authentication) Created page with "<pre> ssh -o PasswordAuthentication=yes -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no host.devopsnotebook.com </pre>" current
- 12:58, 11 December 2021 diff hist +67 Linux How To
- 22:00, 2 December 2021 diff hist -5 Update windows active directory password complexity current
- 22:00, 2 December 2021 diff hist +310 N Update windows active directory password complexity Created page with "# Open the group policy management console (Type gpmc.msc in Search or Run) # Expand Domains, your domain, then group policy objects # Right click the default domain policy..."
- 21:58, 2 December 2021 diff hist +55 N Windows Group Policy Management Created page with "Update windows active directory password complexity" current
- 21:57, 2 December 2021 diff hist +40 Windows
- 00:09, 7 November 2021 diff hist +178 Amazon EC2
- 10:09, 29 October 2021 diff hist -4 Test MariaDB MaxScale readwrite current
- 10:09, 29 October 2021 diff hist +1,497 N Test MariaDB MaxScale readwrite Created page with "Check if you are getting always Slave servers id in maxscale '''SELECT''': <syntaxhighlight lang="MySQL"> > SELECT @@server_id AS "Server ID"; </syntaxhighlight> 1. Create te..."
- 10:03, 29 October 2021 diff hist +25 MaxScale current
- 10:02, 29 October 2021 diff hist +51 N MaxScale Created page with "== Tests == Test MariaDB MaxScale readwrite<br>"
- 10:02, 29 October 2021 diff hist +34 MySQL
- 21:33, 9 September 2021 diff hist +258 Amazon EC2
- 09:58, 25 August 2021 diff hist +4 Setup ftp server on linux with VSFTPD current
- 09:58, 25 August 2021 diff hist +9 Setup ftp server on linux with VSFTPD
- 09:58, 25 August 2021 diff hist +565 N Setup ftp server on linux with VSFTPD Created page with "Depending on distro, install it first: CentOS: <pre> # yum install vsftpd # OR # dnf install vsftpd </pre> Debian: <pre> # apt install vsftpd </pre> Edit /etc/vsftpd/vsftpd.c..."
- 09:51, 25 August 2021 diff hist +49 Linux How To
- 15:33, 16 July 2021 diff hist +159 MySQL Commands snippets
- 10:12, 16 July 2021 diff hist +89 Nf conntrack: table full, dropping packet current
- 10:11, 16 July 2021 diff hist +63 N Nf conntrack: table full, dropping packet Created page with "<pre> # sysctl -w net.netfilter.nf_conntrack_max=1000000 </pre>"
- 10:11, 16 July 2021 diff hist +71 Kernel current
- 10:52, 15 July 2021 diff hist +96 N Mount LVM on new system Created page with "<pre> # vgscan # vgchange -ay nameof_lvm_found # lvs # mount /dev/lvm-path/root /mnt/root </pre>" current
- 10:51, 15 July 2021 diff hist +32 LVM current
- 14: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
- 14:58, 13 July 2021 diff hist +67 Apache current
- 13:56, 13 July 2021 diff hist +98 MySQL Commands snippets
- 11: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