Day: April 1, 2019

How To Install Remote Desktop on Ubuntu or Centos 7

Ubuntu:sudo apt-get updatesudo apt-get install xrdp xfce4echo xfce4-session >~/.xsessionsudo service xrdp restartCentOS 7:su -vim /etc/yum.repos.d/xrdp.repo-----…

Experimental selinux Settings

enable or disable selinux: vim /etc/sysconfig/selinux   setsebool -P httpd_read_user_content 1   grep nginx /var/log/audit/audit.log |…

Install ScreenConnect on CentOS

If this server is not behind a firewall, then the below instructions would suffice:1. Install…

Install SSL on ScreenConnect

Generate cert & key from startssl.comSave the encrypted private keyDecrypt the private keyDownload files into…

Default Nginx Installation on Centos 7

NGINX as HTTP / HTTPS Proxysudo yum install epel-releasesudo yum install nginxsudo systemctl start nginxsudo…

Manual Compile of NGINX on CentOS 7

Summary:Normal NGINX that has been installed from repositories does not forward raw TCP packets. Since…

Installing Apache on Centos 7

The easy methodsudo yum clean allsudo yum -y updatesudo yum -y install httpd php-pearsudo firewall-cmd…

How to Use Google SMTP Relay with Sendmail

Check to see if TLS is enabled:# sendmail -d0.1 -bv rootMake a certs directory:# mkdir…

A Few Todos while Securing Apache Server

- Install mod_security - Set expose_php = Off in php.ini - Set SecResponseBodyAccess Off in…

How to Remove Apps in CentOS/Redhat

Check the repo directory: [root@localhost ~]# ls /etc/yum.repos.d CentOS-Base.repo CentOS-Sources.repo CentOS-CR.repo CentOS-Vault.repo CentOS-Debuginfo.repo docker-ce.repo CentOS-fasttrack.repo…