Linux

Error cannot open repomd xml file for repository rpmforge

Installation Error cant read repomd xml

While installing package from rpmforge repo, if you receive Error: Cannot open/read repomd.xml file for repository: rpmforge, then it might because of you are unable to reach the specified repo online. In order to reach the repo try adding its fully qualified domain name in reslov.conf Any rpm package installs the  ..

How to use CSF

Commands for using CSF

Before looking more in to CSF firewall, first we must know more on CSF config files. Below are some of the CSF configuration files csf.conf : Configuration file for controlling CSF. csf.allow : All Allowed IP's and CIDR addresses list on the firewall. csf.deny : All Denied IP's and CIDR addresses list on  ..

How to install csf

Config Server Security & Firewall

how to install csf Installing and Uninstalling CSF in Linux. CSF - Config Server Security & Firewall. It is an open source firewall for server. CSF is a software firewall, Software Firewall is a piece of software that is installed on your computer in order to protect it from unauthorized access. Log into  ..

How to test internet speed

How to use Speedtest-cli

Speedtest-cli is application used for testing internet speeds in Linux operating system. # wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py # chmod +x speedtest_cli.py # ./speedtest_cli.py Speedtest is a python script used to test your internet speed, this can be installed by using normal wget and start using it.  ..

How to remove only svn directories

Find and remove .svn folders

Find and remove .svn directories using linux commands I came around this when I was having a need to remove all the svn directories from my development machine. I use Linux box to develope my application and was having all svn directories inside my application directories which was really annoying. below  ..

How to install virtualBox on ubuntu

Linux Mint 15 Installing new VM

Installing virtualbox made very simplar in linux operating system. Ubuntu linux makes it very simple for installing new VM, Follw the simple steps to uninstall and re-install new linux VM Un-install previous VirtualBox version in system # sudo apt-get remove virtualbox-4 Installing VirtualBox 4.3 in system : 32Bit : # wget http://download.virtualbox.org/virtualbox/4.3.0/virtualbox-4.3_4.3.0-89960~Ubuntu~raring_i386.deb #  ..

Block access from specific countires

How to Allow and Deny access to server for Countries

How to Allow and Deny access in server for Countries using CSF. As a admin we will be in a situation to allow and deny Countries using to access our websites or webcontents, this can be easily achieved by using CSF. It is a firewall and to achieve this we must  ..

How to clear cache memory on linux

Clean & empty buffers and cache on a Linux system

Before clearing cache memory on a Linux system? # free -m total used free shared buffers   ..

How to install virtualbox on ubuntu linux mint

Installing VirtualBox 4.3 on Ubuntu 13.04/13.10, Linux Mint 15

First uninistall previous VirtualBox version in system # sudo apt-get remove virtualbox-4 Install VirtualBox 4.3 in system : 32Bit : # wget http://download.virtualbox.org/virtualbox/4.3.0/virtualbox-4.3_4.3.0-89960~Ubuntu~raring_i386.deb # sudo dpkg -i virtualbox-4.3_4.3.0-89960~Ubuntu~raring_i386.deb # sudo apt-get -f install 64Bit : # wget http://download.virtualbox.org/virtualbox/4.3.0/virtualbox-4.3_4.3.0-89960~Ubuntu~raring_amd64.deb # sudo dpkg -i virtualbox-4.3_4.3.0-89960~Ubuntu~raring_amd64.deb # sudo apt-get -f install To Run VirtualBox,type below command in Terminal : # virtualbox   ..

Error connection timed out 110

Solved - Error connection timed out 110 Cant open SMTP stream in webmail

When you receive some error like error connection timed out 110, when you try to sent mail through webmail then probably that is because of firwall which installed on the server is not allowing the connections to the SMTP service. ERROR: Message not sent. Server replied: Connection timed out 110 Cant  ..

How to force logout a user

Force logoff a user

How to force a user to logout from the server? To forcefully logout a user and make required changes on server, First find out how many sessions a user have login and also check wheter he is executing some important task, before force fully logout a user. To find user who  ..

Example to split a file in to small file

Create split input file

Create split input file # for i in {1..1000}; do echo "$i" >> split_input; done First we shall create an input file for splitting a file. With the above command we shall create a large input file for splitting a file which has 1000 lines. File split_input file will be having  ..

How to split large file into small files

Breaking large files into small files

A large file can be splitted into small from linux terminal by using split command in linux. Make sure that required packages are installed in the terminal. To Split large file into number of smaller files from linux console, follow the steps below. To Split the file name example.txt, use split  ..

Smartctl command to find disk info

Smartctl to find HP SmartArray controllers

smartctl is a linux tool which is used to perform disk analysis # smartctl -a -d cciss,0 /dev/cciss/c0d0 The smartctl program also allows for you to view and test SMART attributes of a drive. You can quickly check the overall health of a drive by using # smartctl -H /dev/sda   ..

How to find hd controller module running on linux

Find hp smart array controller used linux

The module used for HP SmartArrays is 'cciss'. In more recent kernel versions they have been moving things over to a newer hpsa driver. To find out what modules are used for which which hardware, you can use below command # lspci -k OUTPUT: 04:00.0 RAID bus controller: Hewlett-Packard Company Smart  ..

Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Next >

Tech Bluff