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.

QoS on ClearOS 6.5 Community Edition

Today – after struggling from the begining for network speed – i have found a very helpfull piece of software for bandwith management which was QoS (beta).

After only installing it and enabling via webconfig it starts to do its job!

Now my users stop complaining about “why the internet is soooooo sloooow?”

Amazing, really amazing….

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.

How to mount LG Nexus 5 under Fedora 20

I have bought a LG Nexus 5 smartphone, but after plugin in under Fedora (20) there was no response from the OS to mount it automatically. The dmesg | tail command gave me this:

Ok, this is something, now i had to do this:

And add those lines onto that file

OK, almost the last thing was to add to lines into my .bashrc file:

Now i had to restart my Fedora and voila after restart and plugin my Nexus 5 phone i do the nexusmount command from the terminal and it works!

Sources:
http://l33tsource.com/blog/2014/04/19/Mount-Nexus-5-on-Fedora/
http://tacticalvim.wordpress.com/2012/12/08/mounting-nexus-4-via-mtp-in-fedora-17/