Technology Blog
Browsing Category

Linux

Linux FAQ resource and tutorials.Basic Linux tutorials. Contains usual commands,scripts, installations instructions and configuration examples.

CentOS – setup utility

For RH based distros, the “setup” utility is a must. With this tool you can easily maintain basic system settings (firewall settings, network, start-up services, etc). If you choose to install minimum system, this tool won’t be available…

Linux Banning IPs

Cpanel has a Deny Manager for banning IP's on each individual account/site. Which is great if you have a handful of domains hosted on the box. But, maybe you have one domain with 100+ subdomains setup as their own account within cpanel or a…

Install flash player in Ubuntu

To install flash player in Ubuntu, follow the steps below:- Start your Terminal Now enter the command below: sudo apt-get remove flashplugin-* --purge This command is to remove all the previous version of flash player (it might be…

Disable ssh root login

If you have ssh service running, make sure you disable the root login. If you didnt disable the ssh root login, you are prone to brute force attack and once it breaks in, your server is owned. To prevent this happen, you can disable the…

Linux: Hide Processes From Other Users

I run a multi-user system. Most users access resources using ssh client. How can I stop leaking process information to all users on Linux operating systems? How do I prevent users from seeing processes that do not belong to them on a…

Enable Root User ( Super User ) in Ubuntu

Question: I’m unable to do su – on Ubuntu. It says “su: Authentication failure”. How do I fix it? Also, is it possible for me to login to Ubuntu using root account directly? Answer: Let us address these two question one by one. …

Rotate Apache Log Files in Linux

Question: I would like to automatically rotate the apache access_log and error_log files. Can you explain with an example on how to do this? Answer: This can be achived using logrotate utility as explained below. Add the following file to…

Update OpenSSL

Please find the below steps to update openssl on your server: 1. Check your openssl version # openssl version You will get an output like this: OpenSSL 1.0.Xx XX Xxx 20XX 2. Download the latest version of openssl from:…