Fedora DNF Proxy

Fedora’s Package manager DNF requires proxy if you are behind a company network. To enter the details: sudo nano /etc/dnf/dnf.conf add the below line and replace it with your settings and credentials: proxy=http://URL:PORT/ proxy_username=OPTIONAL-IF-NOT-MANDATORY proxy_password=OPTIONAL-IF-NOT-MANDATORY save the file and give it a shot. For troubleshooting you can always tail -f /var/log/dnf.log For my Setup Fedora

Extracting Oracle Java installation from exe

This has been tested in JDK 7. Please download 7Zip application. WinRAR does not assist along this process 1.Download a desired JDK version from prior downloads at http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html 2.Create a folder in where you want to keep the jdk, 3.Copy the downloaded .exe file in here, 4.Right click on exe and 7-Zip>>Extract Here, 5.Right click on

Post centos installation after a minimal installation

1. Auto network discovery there is an app called dhclient. It will easily discovery ip address and launch network right away dhclient -v 2.  install Gnome gui yum -y groupinstall “X Window System” “Desktop” “General Purpose Desktop” 3.start gui on startup nano /etc/inittab change id to 5 # Default runlevel. The runlevels used by RHS are:

Creating and converting an ssl certificate in numerous formats

Creating a key file  openssl genrsa -des3 -out tugrul.key 1024 Creating CSR(Certificate Signing Request) file openssl req -new -key tugrul.key -out tugrul.csr Creating a CRT  Self-Signed SSL Certificate openssl x509 -req -days 365 -in tugrul.csr -signkey tugrul.key -out tugrul.crt Converting a Certificate File to PKCS#12(PFX) Format openssl pkcs12 -export -out tugrul.p12 -inkey tugrul.key -in tugrul.crt -certfile

LAMP Stack on Windows

Apache 2.4 Installation Download Apache 2.4.16 win32 from Apache lounge – http://www.apachelounge.com/download/ Unzip entire content to C: and keep the folder name as given Visual C++ Redistributable for Visual Studio 2015 package for Win32 and install it – https://www.microsoft.com/en-us/download/details.aspx?id=48145 Go to unzipped Apache folder –> conf edit httpd.conf and edit those lines; Listen *:80 remove #