I have installed Fedora 16 in my Laptop and found out that there is no Turn Off/Power Off/Shutdown button in the GNOME menu. So I had to select Log Out… and then Power Off. If you are also wonder how to make Power Off menu available, here is what you can do. Open the menu [...]
Recently I have been trying to install the latest version of PHP in my CentOS. But before I do that, I need to install EPEL yum repository on my CentOS. EPEL for i386 http://ftp.riken.jp/Linux/fedora/epel/5/i386/epel-release-5-4.noarch.rpm EPEL for x86_64 http://ftp.riken.jp/Linux/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm If you have any version of PHP installed then you need to remove it using yum remove [...]
If you want to add a user along with his/her full name. Here is how to do it. useradd -s /sbin/nologin -c “Younten Jamtsho” younten With the above command, I am creating a user younten, who’s full name is Younten Jamtsho. Addition to that, I am assigning nologin shell to the user younten so that he [...]
Linux have its own firewall package named iptables. iptables are installed by default. iptables file is located in /etc/sysconfig/iptables. Unfortunately, the /etc/sysconfig/iptables file doesn’t support the loading of modules, so you’ll have to add the statements to your /etc/rc.local file which is run at the end of every reboot. Now lets check what modules are [...]
Before you start installing Clamav Antivirus in your Linux box, please add the extra repository for yum. Install Dag repository, and how to install, go to my post Add Repository for yum. yum – -enablerepo=dag install clamav -y After installing there is few changed needed in configuration file. vim /etc/freshclam.conf #locate the line below and [...]
chown stands for Change Ownership. To change the ownership and group of files and directories Change ownership of a single file chown : eg. chown root:root message.txt Change ownership of a directory and all sub files and directories chown -R : eg. chown -R root:root photo
Your server is venerable to attacks, and you have to time and again monitor. After monitoring you have to block the attackers IP’s. Use Fail2ban package, which would ease you a bit. To install Fail2ban you need to add extra 3rd party repositories – Extra Package for Enterprise Linux (EPEL). After that you can use [...]
Add Dag RPM Repository for yum because that has many useful packages. wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt rpm – -import RPM-GPG-KEY.dag.txt rm -f RPM-GPG-KEY.dag.txt vim /etc/yum.repos.d/dag.repo # create new file like below [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el5/en/$basearch/dag/ gpgcheck=1 enabled=0 When you use DAG repository, Input yum command like below. yum – -enablerepo=dag install [...]
Set DHCP ( Dynamic Host Configuration Protocol ) Server in Linux Box. Lets first install DHCP package in 1. yum -y install dhcp Now that you have installed the dhcp package in your linux box, lets start configuring it. 2. cp /usr/share/doc/dhcp*/dhcpd.conf.sample /etc/dhcpd.conf 3. vim /etc/dhcpd.conf #line 4: specify your network and subnet subnet 192.168.0.0 [...]
In some network where you have to enter the IP Address of the proxy server to access the internet and you are not able to use the yum command to update your system. You normally put the Proxy Server IP and Ports in your browser setting, but in Linux box that doesnot solve the problem. [...]
Thimphu: 6° C
Condition: Mostly Cloudy
Sunrise: 7:12 am
Sunset: 8:46 pm
Time: 11:53:27 am