James John – Software Engineer

Archives

Linux

Recovering Deleted Files From An NTFS Drive Partition in Linux

Lately I mistakenly deleted my pending movies directory where movies I’ve not watched are, this was so painful to me how I was about to loose all those movies 🙁 . Lucky me it was on another partition which was NTFS, Ubuntu  comes with a package called ntfsundelete or you install it with: RPM: DEB: […]

Using Remmina as GUI SSH Client for Linux

Back there in Windows I have Putty which is cool and works with no issues, but here in Linux I enjoy everything in CLI. I found out some user of Linux distro ain’t actually using it as servers, some use it as their primary OS and work on it which makes them not that good […]

John the Ripper: Detect Weak Unix Passwords and Hashes

First time I used this tool, I was amazed because it got my root and user password easily (it wasn’t that strong though). About John the Ripper John the Ripper is a fast password cracker, currently available for many flavors of Unix, Windows, DOS, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix […]

Disable WordPress Cron and Use Real Cron Job

Normally, there is no way PHP can run without a page being loaded or without it being executed from CLI. So your WordPress cron how does it go about? Firstly what’s WordPress cron? What is Cron? Cron Jobs are software utility that can trigger a defined function based on time given to it, when you […]

Installing and Using Webmin in Ubuntu Linux – Web-based System Administration

Webmin is Web-based tool for making System Administration in Linux easier not editing those codes and config files all the time. I am a great fan of this tool because I’ve used it and it helped me alot especially in config files, this tool is also light and doesn’t need much RAM memory to run. […]

Using and Configuring Virtual Hosts (Addon Domain) in Apache for Ubuntu 14.04

If you’ve got a VPS or your own private server, of course you won’t want to use it for a site only, you would want to add more sites because it’s a private server and you do your stuffs the way you want it. Apache offers this which is so easy, hosting multiple websites in […]

Using Nginx as Reverse Proxy for Apache in Ubuntu 14.04

For sure Apache is a cool Web Server because of mods being available to tweak to anything you want as long as you provide it’s food which is memory! But the evolving of Nginx seem to start knocking of Apache because it’s less memory consuming and faster, what if your site already run Apache and […]

Setting Recursively Different File Permissions on Directories and Files in Linux

In the directory your Web Server is serving, you might need some permission on files and directories for security purposes. As www-data is the common user for Web Servers and it has to own a file for it to have access to it, sometimes we don’t create a file or directory with the www-data guy […]

Setting Python3 as your Default Shell Python in Ubuntu

Default Ubuntu Python package version is 2.7, while in my Python class I use 3.4 and everything I keep typing python3 whenever I want to run python. Want to turn 3.4 to your default? Easy, BASH made this available by providing space for aliases in the config. Aliases is not only for this function, I […]

Reducing Apache Memory Consumption – Process PHP with FastCGI

What is FastCGI? CGI are programme written to help the processing of Perl Language that has been written for the web and they also help the Web Server in processing requests and handling Webpages.