sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager
sudo systemctl enable libvirtd.service
https://www.microsoft.com/nb-no/software-download/windows10ISO
Install Python 3.7.0 on CentOS/RHEL 7 | |
1.Requirements: | |
yum install gcc openssl-devel bzip2-devel | |
2.Download Python 3.7: | |
cd /usr/src | |
wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz |
[global] | |
read raw = Yes | |
write raw = Yes | |
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072 | |
min receivefile size = 16384 | |
use sendfile = true | |
aio read size = 16384 | |
aio write size = 16384 | |
protocol = SMB3 |
sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager
sudo systemctl enable libvirtd.service
https://www.microsoft.com/nb-no/software-download/windows10ISO
# WELCOME TO SQUID 2.7.STABLE9 | |
# ---------------------------- | |
# | |
# This is the default Squid configuration file. You may wish | |
# to look at the Squid home page (http://www.squid-cache.org/) | |
# for the FAQ and other documentation. | |
# | |
# The default Squid config file shows what the defaults for | |
# various options happen to be. If you don't need to change the |
# Colors | |
end="\033[0m" | |
black="\033[0;30m" | |
blackb="\033[1;30m" | |
white="\033[0;37m" | |
whiteb="\033[1;37m" | |
red="\033[0;31m" | |
redb="\033[1;31m" | |
green="\033[0;32m" | |
greenb="\033[1;32m" |
#!/bin/bash | |
sudo add-apt-repository -y ppa:git-core/ppa | |
sudo apt-get update | |
sudo apt-get install git -y |
let regex; | |
/* matching a specific string */ | |
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello" | |
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO" | |
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes... | |
/* wildcards */ | |
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo" | |
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo" |
# Modify this file accordingly for your specific requirement. | |
# http://www.thegeekstuff.com | |
# 1. Delete all existing rules | |
iptables -F | |
# 2. Set default chain policies | |
iptables -P INPUT DROP | |
iptables -P FORWARD DROP | |
iptables -P OUTPUT DROP |