watchguard, openvpn server / client

server yum install net-tools yum install wget cd /tmp wget http://swupdate.openvpn.org/as/openvpn-as-2.0.10-CentOS7.x86_64.rpm rpm -Uvh openvpn-as-2.0.10-CentOS7.x86_64.rpm enter “passwd openvpn” to set the initial administrative password, then login as “openvpn” to continue configuration here: https://10.0.1.113:943/admin client yum install epel-release yum install openvpn -y download client.ovpn from TTA site   create password.txt file with username / password add auth-user-pass […]

Read More

wireshark

X11 yum install xclock yum install xorg-x11-font* yum install xauth Wireshark yum install wireshark yum install wireshark-gnome uninstall sudo rm -Rf /Applications/Wireshark.app/ sudo rm -Rf /Library/Wireshark sudo rm -Rf /Library/StartupItems/ChmodBPF sudo dscl . -delete /Groups/access_bpf

Read More

.bashrc

#set WASHOME export WASHOME=/opt/IBM/WebSphere/AppServer #set profileNames dmgrProfile=Dmgr01 appSrvProfile=AppSrv01 alias dmgrBin=’cd $WASHOME/profiles/$dmgrProfile/bin’ alias nodeBin=’cd $WASHOME/profiles/$appSrvProfile/bin’ alias wsadmin=’cd $WASHOME/profiles/$dmgrProfile/bin/; ./wsadmin.sh -lang jython -user wasadmin -password Passw0rd -port 8879′ alias startDmgr=’$WASHOME/bin/startManager.sh’ alias startNode=’$WASHOME/profiles/$appSrvProfile/bin/startNode.sh’ alias startCNX=’$WASHOME/profiles/$appSrvProfile/bin/startServer.sh IC5_server1′ alias startAPPL=’$WASHOME/profiles/$appSrvProfile/bin/startServer.sh APPL_server1′ alias stopNode=’$WASHOME/profiles/$appSrvProfile/bin/stopNode.sh’ alias stopDmgr=’$WASHOME/bin/stopManager.sh’ alias stopCNX=’$WASHOME/profiles/$appSrvProfile/bin/stopServer.sh IC5_server1′ alias stopAPPL=’$WASHOME/profiles/$appSrvProfile/bin/stopServer.sh APPL_server1′ alias logDmgr=’tail -f $WASHOME/profiles/$dmgrProfile/logs/dmgr/SystemOut.log’ alias logNode=’tail -f $WASHOME/profiles/$appSrvProfile/logs/nodeagent/SystemOut.log’ alias […]

Read More

timezone

sudo timedatectl list-timezones sudo timedatectl set-timezone Europe/Zurich sudo timedatectl

Read More

firewall

CentOS 7: firewalld systemctl disable firewalld systemctl stop firewalld systemctl status firewalld systemctl start firewalld sudo firewall-cmd –permanent –add-service=ssh sudo firewall-cmd –permanent –remove-service=ssh sudo firewall-cmd –permanent –add-port=4444/tcp sudo firewall-cmd –permanent –add-service=http sudo firewall-cmd –permanent –add-service=https SELINUX vi /etc/sysconfig/selinux  

Read More

nfs server, mac OS

sudo vi /etc/exports /Volumes/DATACUBE -alldirs -network 10.0.29.0 -mask 255.255.255.0 Once /etc/exports has been created, nfsd(8) will automatically start up and start serving the exports. sudo nfsd checkexports sudo nfsd status sudo nfsd restart nfsd service is enabled nfsd is running (pid 70334, 8 threads)   sudo vim /etc/fstab mmac.hensler.net:/Volumes/DATACUBE/ /mnt nfs defaults 0 0 mmac.hensler.net:/Volumes/DATACUBE/Media/Movies […]

Read More

nfs client

yum install nfs-utils nfs-utils-lib showmount mmac.hensler.net vi /etc/fstab mmac.hensler.net:/Volumes/DATACUBE /mnt         nfs     defaults        0 0

Read More