Skip to content

Instantly share code, notes, and snippets.

View vnc service
# https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7#step-4-%E2%80%94-configuring-vnc-service-for-two-clients
systemctl status vncserver@:.service
systemctl is-enabled vncserver@.service
systemctl enable vncserver@:.service
systemctl is-enabled vncserver@.service
View mingw git
mingw git
tar -I zstd -xvf archive.tar.zst
View oracle
database security guide
View mount CIFS nologin user.sh
[root@server01 ~]# sudo -u apache bash
bash-4.1$ whoami
apache
bash-4.1$
mount Windows share on Red Hat Enterprise Linux system using CIFS?
setsebool -P httpd_use_cifs on
ls -dZ /mnt/ecpmnt
View burp suit
burp suit
penetration testin
View devtoolset-8
# https://stackoverflow.com/questions/53310625/how-to-install-gcc8-using-devtoolset-8-gcc
# rpm -ivh http://mirror.centos.org/centos/7/extras/x86_64/Packages/centos-release-scl-rh-2-3.el7.centos.noarch.rpm
# yum install devtoolset-8
Here is the rpm from http://mirror.centos.org/centos/7/extras/x86_64/Packages/ that might be needed to be updated accordingly.
How to use it?
$ scl enable devtoolset-8 bash