Category: Linux

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

Upgrade Fedora 20 to Fedora 21 using Fedup

One of the best things I love from Linux, is the fact that I don’t need to reinstall the system once a new version is out, in my case the chosen distribution is Fedora Linux. I’ve been using Fedora since it was ‘Fedora Core 3′, that

SSH2 extension for PHP on CentOS 6

Before we can build and install ssh2 extension, we’ll need a few packages yum install gcc php-devel php-pear libssh2 libssh2-devel make Install the extension via pecl pecl install -f ssh2 On CentOS, PHP will not load extension automatically. To “fix” this, create ssh2.ini file inside /etc/php.d/

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 and you’ll need to add it manually. yum

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. Men, maybe you have one domain with 100+ subdomains setup as their own account within cpanel or a ton of

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 old flash player that doesn’t work anymore)

Enable personal file sharing in Ubuntu 10.04

I just have some difficulties in enable personal file sharing in Ubuntu 10.04. When the Personal File Sharing Preference window pop up, i’ve a grayed out section for “Share files over the Network”. After some help from the forum, and i notice this is a bug

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 root

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 Debian/Ubuntu/RHEL/CentOS Linux server? If

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. Warning: Enabling

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 /etc/logrotate.d directory. # vi /etc/logrotate.d/apache /usr/local/apache2/logs/access_log

Setup Samba as Primary Domain Controller in Linux

Samba is used by sysadmin to overcome the problem of interoperability in a mixed environment where you have both Linux and Windows. It provides a common platform for both Windows and Linux to have a common sharing space. Domain controller is a service which is used

Vi bruker cookies for å gi deg den beste online opplevelse. Ved å godta aksepterer du bruk av informasjonskapsler i henhold til vår informasjonskapsel politikk.