curl -s http://php-osx.liip.ch/install.sh | bash -s 7.1
apachectl -k restart
Month: April 2020
Infect all your system with viruses
Want to test an antivirus?
Use this repo
https://github.com/ytisf/theZoo
setup CentOS7 as dns forwarding
yum install bind
vi /etc/named.conf
found
———–
zone “.” IN {
type hint;
file “named.ca”;
};
———–
replace with
———–
zone “.” IN {
type forward;
forward only;
forwarders { 8.8.8.8; 8.8.4.4; };
};
———–
service named start
also change the ip address to the server’s ip address, and make sure to set the allow-query settings properly
options {
listen-on port 53 { 192.168.5.100; };
allow-query { localhost;any; };
downgrade redhat-release
First, install the kernel for the release
Then
# yum downgrade redhat-release
Activate all subscribed repos
for repo in $(subscription-manager repos | grep ID| cut -d: -f 2);do subscription-manager repos --enable=$repo;done
install same packages as another server
In server a
# rpm -qa –queryformat “%{NAME}\n” > pkgs
In server b
# xargs yum -y install < pkgs
OR
in source server: rpm -qa > installed-software.log
in target server: yum -y install $(cat /home/user/installed-software.log)