Category Archives: how-to

HP Proliant ML 110 G5, CentOS 7 and Smart Array P400

Recently i had to reinstall my old (but still working) server. I have bought Smart Array P400 instead of my old Smart Array E200, added new harddrives (WD Caviar Black 1TB x 2). And there was an issue regarding that on CentOS 7.x (RHEL 7.x) there is no more drivers for that controller. This was bad for me.

I have started to google the internet and have found a solution for this:
https://www.centos.org/forums/viewtopic.php?f=49&t=47011&start=20
and
https://www.centos.org/forums/viewtopic.php?f=49&t=51302&sid=850e80707bfb3db598f2c5be00ae5e51&start=10

Solution was simple:

  1. Download drivers from here http://elrepo.org/people/akemi/testing/el7/isos/
  2. Add above driver for CentOS 7 during boot process
  3. Install CentOS 7

Continue reading

Google Chrome in CentOS 7

First we have to create entry in yum.repos.d

After that we need to enter following information into that file

Now we are ready to go 🙂

 

Adding Windows partition to grub menu after installing CentOS 7

After installing CentOS 7 on my laptop there was no entry pointing to Windows in the grub menu. Here is what i have done:

I have found entry:

So first i have created copy of old grub.cfg in /boot/grub2/grub.cfg like this:

and then i have done this:

After above operations I was able to enter my Windows OS 😉

WordPress on home.pl hosting

Recently i had a simple task which was – “My wordpress site on home.pl does’nt work – there is no theme”.
Solution was very easy:

  1. log via ftp to your home.pl account
  2. go to directory with your site
  3. go to wp-content/ dir
  4. open .htaccess file
  5. change

    to
  6. that’s all

How-to upgrade ownCloud 7 to 8 on CentOS 6.x

Since php on CentOS 6.x is on version 5.3.x (that was on my machine) i have to add remi repository to my CentOS to do the upgrade of ownCloud server

After that i done this:

Now I was ready to upgrade my ownCloud server to 8.1.1.

Now I can enjoy ownCloud in the newest version. Cheers 🙂

VirtualBox problem with kernel headers on Fedora 21

Yesterday i have moved from Ubuntu 14.04 to Fedora 21. I have installed all software needed including VirtualBox (for Windows 7).
When I was trying to start

I have got this error

The solution for that was to install kernel-devel which solved the problem.

CentOS 6.5 and OpenFire

Yesterday i have installed OpenFire on one of my CentOS servers. First I had to download it from here, and then install it via yum:

Because i had 64 bit version of CentOS I had to install also glibc.i686

After that i had to do some things in MySQL:

After that:

Ok, now we have to allow some ports on firewall:

And add those lines

After that we have to start the openfire service and make it run through server restart

OK, last thing is to go to your http://your.ip.address:9090 and install it 🙂

ClearOS OpenVPN routing problem

I have a two routers based on ClearOS. On both of them i have OpenVPN service running. One of them connects with no problem but on the second one a cannot ping any device/server/printer on “the other side”.

I executed route command and got this:

So i figured out that there is no route to the remote place. As root I executed this command:

And finally i could access servers from “the other side”. The problem was in router/server which was running openvpn service.

I have had to edit /etc/openvpn/clients.conf and /etc/openvpn/clients-tcp.conf files and add this line at the end of both files:

After restarting the OpenVPN service on the server and connecting to the remote place via openvpn command everything goes right

The route command gave me this output:

which was good and everything was working as it was planned.