Recent Posts

Installing VirtualBox Guest Addition on CentOS 7 server – no GUI

Naveen Nayak January 19, 2016 3 Comments Linux , ,

I am doing this on VirtualBox 5.0.12 Windows 8.1 64 bit Host CentOS 7 server 64 bit guest up to date Steps Start CentOS 7 guest From the Devices Menu,go to Optical Drives and remove previous CD/DVD using the Remove Disk from VirtualDrive Then click on Devices and select Insert Guest AdditionsCD Image. This will […]

Disabling SELinux on CentOS 7

Naveen Nayak January 14, 2016 No Comments Linux

Security-Enhanced Linux (SE Linux) is a Linux kernel security module that provides a mechanism for supporting access control security policies. It controls which applications can access what directories in the system For example, the default rules for apache is to only be allowed to access /var/www and /var/logs/httpd and some other configuration directories. If apache […]

Adding a Self Signed Certificate to Trusted Certificate on Linux

Naveen Nayak January 14, 2016 No Comments Linux, Web Development , ,

Some times, when we generate self signed certificates, some libraries need it to be a part of the operating systems trusted certificates I am doing this on CentOS 7 and for openSSL This will only work for apps/libraries that use OpenSSLs trusted certificate list I already have my self signed certificate in /etc/pki/tls/certs/my-self-signed-cert.crt cp /etc/pki/tls/certs/devinviteright.crt […]

Better Putty Color Scheme for existing Sessions on Windows

Naveen Nayak December 18, 2015 No Comments Tips and Tricks ,

Putty is a versatile tool for remote SSH access – however the color schemes are not too impressive. The blue especially is really bad. You can change the blue color in the settings but what if you already have a ton of putty Saved Sessions. You will have to painfully modify each. There is a […]

PHP 5.6 and Self Signed Certificates for Soap, file_get_contents

Naveen Nayak November 18, 2015 No Comments LAMP, Web Development ,

Operating System: CentOS 7 PHP: 5.6 This is only for local machine and local development – use at your own risk I a using a self signed SSL certificate on my local development machine and many functions in PHP refuse to work with self signed certificates. Some of the functions are file_get_contents() fopen() SoapClient() my […]

Increasing File Descriptors and Open Files Limit CentOS 7

Naveen Nayak September 17, 2015 4 Comments Linux, MySQL , ,

PS: See Andy Dyrcz answer in the comments for a better way to do this Some programs like Apache and MySQL require a higher number of file descriptors. This is how you can increase that limit for all users in CentOS 7 Commands require root access # Find the default limit – check the open files […]

Changing SSH Ports CentOS 7

Naveen Nayak September 17, 2015 No Comments Linux

Here is how to change the SSH port in CentOS 7 All commands require root privileges SSH into the server with the default SSH port 22 edit /etc/ssh/sshd_config  un-comment #Port and put your new SSH port number there for example, if you choose 9898 as your new port, the file should look like # If […]

Page 2 of 13