Installing Redis On CentOS 7

To install Redis on CentOS, run yum install redis Start redis with

Set redis to start on boot

Verify redis is running with

[…]

Read More…

InnoDB: space header page consists of zero bytes in tablespace

On a server, starting MySQL i get following error

This was because the server used InnoDB database engine and my.cnf was not configured properly. First i removed the log files.

Now i edit /etc/my.cnf as follows

This MySQL config is based on /usr/share/doc/mysql-server-5.1.73/my-innodb-heavy-4G.cnf provided my MySQL.

You can also see this […]

Read More…

huawei e8231 usb modeswitch

By default, device work in Mass Storage mode

Create file

With following content

To switch to Modem Mode, run

If it worked, device will change to modem mode

Notice it changed name, also device ID changed to 14dc. ifconfig will list a new network interface usb0

[…]

Read More…

getting huawei e8231 work on ubuntu 14.04

After connecting, i get following in lsusb

It says “Mass storage mode”. If you check demesg, you will see

Last line says, device mounted as “/dev/sr1”

Changing Device Mode to Modem I found some information about the device in file

It says device can operate as products “14db” and “14dc”. […]

Read More…

set default view to list in nemo file manager

By default files are displayed with “Icon View” I prefer list view. To set default view in Nemo, go to

[…]

Read More…

redmine

upgrade redmine upgrade redmine using svn install redmine redmine init script start mongrel on server boot install thin web server redmine server move Redmine Tips redmine refresh repository on commit […]

Read More…

Can’t locate File/Type.pm in @INC

Xpanel FTP not deleting .exe file uploads.

To fix, install File::Type cpan module.

See Errors […]

Read More…

Apache Permission Denied

On a newly installed Apache server, when I visit the website, I get permission denied error. On Apache error log (/var/log/httpd/error_log), i found

I tried changing the folder permission to 755, but it did not fix it. The problem was caused by SELinux. Solution I disabled SELinux.

To make it permanent, edit file […]

Read More…

modinfo radeon

radeon is the open source driver.

[…]

Read More…