Skip to main content

Posts

Showing posts with the label CentOS

Remi and EPEL repositories in CentOS

There are 2 common repositories that come nowdays for centos. They contain tasty things, while they are absent in official repositories. CentOS 5: wget http : //dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http : //rpms.famillecollet.com/enterprise/remi-release-5.rpm sudo rpm - Uvh remi - release - 5 * . rpm epel - release - 5 * . rpm CentOS 6: wget http : //dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http : //rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm - Uvh remi - release - 6 * . rpm epel - release - 6 * . rpm You can check you are successful like so: ls - 1 / etc / yum . repos . d / epel * / etc / yum . repos . d / remi . repo / etc / yum . repos . d / epel . repo / etc / yum . repos . d / epel - testing . repo / etc / yum . repos . d / remi . repo Now you are only left to activate Remi repository: sudo vi / etc / yum . repos . d / remi . repo In [remi] section we need to change enable...

CentOS Install SSH server and configure for VirtualBox testing

I have had some tasks to configure and install a CentOS distribution for my bug-tracking needs. Hope to help out someone with similar problems and or tasks. I'll be using a fresh install of a CentOS Minimal 6.5.  And a Mac Book Pro with VirtualBox installed (as my testing environment). First after install of a clean CentOS you need an SSH server to work in your usual environment. So to connect to a Linux, installed in a VirtualBox you will need basically 2 things: openssh-server install disable firewall VirtualBox Port configuration/Access configuration OpenSSH server install To install server you need to run in your VirtualBox Guest system (CentOS VM): yum -y install openssh-server And start and add it to auto launch at system startup: chkconfig sshd on service sshd start Also make sure port 22 is opened in your VM. type: netstat -tulpn | grep :22 Firewall settings Because it's a VM you can simply disable the firewall. But be sure not to do this a...