Jenkins Slave Service
# Fix Locales sudo locale-gen “uk_UA.UTF-8” sudo locale-gen “ru_RU.UTF-8” sudo locale-gen “ru_UA.UTF-8” # Remove any java dpkg-query -W -f=’${binary:Package}\n’ | … Continue reading Jenkins Slave Service
# Fix Locales sudo locale-gen “uk_UA.UTF-8” sudo locale-gen “ru_RU.UTF-8” sudo locale-gen “ru_UA.UTF-8” # Remove any java dpkg-query -W -f=’${binary:Package}\n’ | … Continue reading Jenkins Slave Service
#!/bin/bash – #title :rabbit_deploy.sh #description :Deploy RabbitMQ #author :totoshko88@gmail.com #date :20180904 #version :1.1 #usage :./rabbit_deploy.sh #notes : #bash_version :4.3.48(1)-release #============================================================================ … Continue reading Ubuntu Deploy RabbitMQ
#!/bin/bash – #title :mongo_deploy.sh #description :Deploy MongoDB Master #author :totoshko88@gmail.com #date :20180622 #version :1.0 #usage :./mongo_deploy.sh #notes : #bash_version :4.3.48(1)-release … Continue reading MongoDB ReplicaSet install script
SWAP_SIZE=2GB fallocate -l ${SWAP_SIZE} /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile swapon –show cp /etc/fstab /etc/fstab.bak echo ‘/swapfile none … Continue reading Ubuntu activate SWAP file
#!/bin/bash #Force sudo execute if [[ $EUID -ne 0 ]]; then exec sudo /bin/bash “$0” “$@” fi NODE_DNS_NAME=${HOSTNAME}.domain.com FQDN=fqdn.cname.com MAIL_USER=Auto_mail_user.com … Continue reading Configure Ubuntu postfix client for office365
@echo off echo Cleaning system junk files, please wait… REM displays a line of text del /f /s /q %systemdrive%\*.tmp … Continue reading Windows cleanup script
ssh-keygen -i -f ssh2.pub | sed ‘s/$/ email@gmail.com/’ > ssh.pub Continue reading Convert SSH2 to SSH (open ssh)
#!/usr/bin/awk -f {sub(/^[ \t]+/,””);idx=0} /\{/{ctx++;idx=1} /\}/{ctx–} {id=””;for(i=idx;i<ctx;i++)id=sprintf(“%s%s”, id, “\t”);printf “%s%s\n”, id, $0} Install sudo cat > /usr/local/bin/nginx_format << EOF #!/usr/bin/awk … Continue reading Nginx configure formatter
Download Command_Line_Tools_macOS_10.13_for_Xcode_9.3.dmg from hdiutil attach Command_Line_Tools_macOS_10.13_for_Xcode_9.3.dmg sudo installer -pkg /Volumes/Command\ Line\ Developer\ Tools/Command\ Line\ Tools\ \(macOS\ High\ Sierra\ version\ 10.13\).pkg … Continue reading MacOS Install Command Line Developer Tools
After upgrading the server to version 10.13.2 we faced with the next issue during connecting by the ssh $ ssh … Continue reading MacOS SSH not working after update