Category: Linux

Various posts related to Windows operating system

Photo by Victor Freitas on Unsplash
Posted in Featured on Home Page How To Linux Software Web

How to Upload Huge Images to WordPress

Well, this actually applies not just to WordPress but to most PHP applications, it’s just that with WordPress market share close to 60% this is the platform where you most frequently see the problem to manifest. It looks like this: Maximum upload file size: 2M The problem is not really…

READ MORE
Photo from unsplash
Posted in How To Linux Web Windows

How to migrate ownCloud 6 from sqlite to MySQL

Those who do not know what ownCloud is probably should read about it here: http://owncloud.com. This is an awesome tool that provides functionality similar to dropbox, but uses your own server to host the files. We all know about dropbox’s bad behavior like storing passwords on the server side, accessing…

READ MORE
HDD
Posted in How To Linux Software

Attaching >2Tb disks to Linux

Here is the sequence of commands to make disk space usable in Linux for disks >2Tb (so your regular fdisk won’t help you here).

READ MORE
Posted in How To Linux Web

AWS EC2 ssh not responding in RHEL 6.4 AMI

I was fighting with an AWS bug today seeming just ridiculous for a system that makes ssh the only way to access the server. With no console login EC2 users are completely dependent on flawless sshd operation and Amazon team just did a really bad job preparing the RHEL 6.4…

READ MORE
Posted in Linux Software

rPlay rocks!

I’m currently beta-testing rPlay and this software totally rocks! What’s rPlay? Well, imagine yourself willing to share content of your iPhone or iPad screen with you family. There are couple ways to do this: you can get an Apple TV ($99) or … well, that’s actually it. AirPlay is a…

READ MORE
Posted in Linux Web

Default login and password for JBoss EAP 5.1.2

The default login for the admin user for the JBoss Enterprise Application Platform (EAP) 5.2.1 and other v5 versions is “admin”. The passwords is obviously also “admin”. However if you try those right after the installation they won’t work, because you need to patch two files:

READ MORE
Posted in How To Linux

make: /opt/local/bin/ginstall: No such file or directory

make: /opt/local/bin/ginstall: No such file or directory This happened to me while running bundle install on json v1.7.7. The fix is # sudo if necessary ln -s /usr/bin/install /opt/local/bin/ginstall

READ MORE
Posted in How To Linux

Installing Oracle XE 11g on OpenSuSE 12.2 and similar

Overall the installation is pretty smooth, just follow the instructions on Oracle website. There are two minor hiccups though: 1. cannot touch `/var/lock/subsys/listener’: No such file or directory This error is cause by the fact there is no /var/lock/subsys directory in some Linux distros, so you need to create one….

READ MORE
Posted in Linux Tools

Don’t use valgrind on MacOS!

Subj, It’s buggy and misleading. You will do better by installing Oracle Virtualbox (free) with Linux (free) and running valgrind (free) in the virtual machine.

READ MORE
Posted in How To Linux Other

GIT: ! [remote rejected] master -> master (n/a (unpacker error))

I’m working on multiple machines under multiple accounts on the same project and using git to sync between the codebases. The program by its nature has to run under root account, so no wonder at some point permissions got screwed up and I’ve got stuck with this error: ! [remote…

READ MORE
Posted in Linux

Why on earth make invokes cc instead of gcc!?!

I’m working on my next cool project (subscribe to RTFMS.com to find out details) and got stuck with an interesting problem. Here is a fragment of my Makefile: … SOURCES := $(wildcard *.c) … %.o: %.c %.h $(I_CC) $(I_CCFLAGS) -c $< ... When I run make clean;make the output is...

READ MORE