Category: My Linux Journey

Accompany me on my journey to understanding everything Linux.

Holy Moly!

We are officially back in business!  Phew, that took a little while, but thankfully this Raspberry Pi gave me a nice little quick and dirty development environment to load up a LAMP server and upload/finesse my old WordPress 2.3 SQL

Linux: device manager corollary

In Ubuntu, my distribution, run: sudo lshw This is quite a long command for some of us, so if you’d like to put it in a file and then look at it after it’s already ran, do: sudo lshw >>

Tagged with: , , ,

Make Menuconfig / XConfig Error

First you need make: sudo apt-get install make Then you try make menuconfig or make xconfig and you get this: /usr/src/linux# make menuconfig HOSTCC scripts/basic/fixdep /bin/sh: line 1: gcc: command not found make[1]: *** [scripts/basic/fixdep] Error 127 make: *** [scripts_basic]

Tagged with: , , , , , , , , , ,

Kernel Location Ubuntu 7.1

Kernel’s aren’t included by default in Ubuntu, but you can grab them easily with the following command: sudo apt-get install linux-source This will grab the most recent kernel release and put it in /usr/src, which is the default location.

Tagged with: , ,

How to download a remote file in php and then save it

So, I found a site with all the lolcat images named cat1.jpg, cat2.jpg, cat3.jpg, etc. I wanted to know how many were there as I saw cat389.jpg. As it turns out, it’s only 390, so that’s all I need to

Tagged with: , , , , , ,