Chit chat

=======

Did a fresh install of Debian Jessie and I noticed that the apache2 web document root has changed from /var/www/ to /var/www/html. Actually I did a wipe of the machine, Installed a guiless wheezy and then upgraded to jessie.

Been using the Sony usb 2x floppy disk drive to make to make pxe boot disks. Faster than the standard usb floppy. Yes, some of us still use floppies when you do not have nic cards that support ipxe scripts.

Always did pxeboot from the web server to boot linux installs, Decided to do it the old fashoined way.  Messed with tftp-hpa and isc-dhcp-server seem to be more trouble than they are worth. Just used Dnsmasq and everything worked well.

—————————————————-

Many people will disagree with me when I say the cloud is just a server. Clouds can be classified as public, private or hybrid, but that is what it really boils down to it is a machine or set of machines providing services over the web. Certainly you can argue that cloud can provide infrastructure, platform, and the traditional application services. Talked about some of these services in earlier articles.

However the internet is a network of systems that can be clearly defined. In the systems on the network can be can be described sort of like a road map or a set of telephone lines connected like below.

It may not be important exactly how they are put together, except that we know they are there. To know who is where either by what is known as a web address or an ipaddress (sort of phone number) allows you to access part of the cloud that you wish to connect to. It is impossible to know every phone number or ipaddress by heart, so the internet has a built in phonebook known as a Domain name server (aka dns). So when you type in http://www.google.com the dns translates that name into 74.125.227.238 and the networking equipment connects to Google for you. The dns can also assign phone numbers.  Why is that important?

Since a cloud can be as simple as one server, you could actually have a cloud in your own home or office with just a desktop and another computer. Generally the device that hooks you to the internet sort of acts like a local dns or telephone book.You can actually have several computers work together without having to actually access the larger real world internet.

You can have your own mini internet, but it is usually known as an intranet. With in that intranet you can set up your own server or servers just like the real internet. With your local servers, you might not even know the difference. You can use fancy expensive equipment to be your cloud servers, but to be honest, most any home computer like the one below will work just right.

Older computers are perfect for being a web server. In fact, on our web server, it has several sites that can be accessed from just one machine, just like they do in the real world. Those are known as virtual sites. For more information see: http://www.instructables.com/id/Uses-for-your-own-private-cloud/

Today many people use what is known as embedded devices to act as servers. They have a smaller foot print and use a lot less energy. We use the Cisco Linksys NSLU2 converted to run linux.

The Raspberry Pi, Beablebone Black, Pogoplug, and a variety of devices can also be used. It is not how big your system is, it is how you use it.

—————————————————-

Touchpads are great. The super portable computer.

You can spend several hundred dollars for the Microsoft  surface or save yourself some money if you have access to a Microsoft Windows desktop machine. All you need is a remote desktop software.  Accessing my old XP box with a touchpad.

Then again you can also access a linux server with the same software.

What is below the surface of your touchpad?

—————————————————-

Looks like the Chumby web site is back up again!

Other goodies:
http://www.instructables.com/id/Cheap-touchpad/
http://www.instructables.com/id/Cheap-touchpad-part-II/

—————————————————-

If you are only using command line systems, you have to use the keyboard as part of copying file method.

But there is actually, sort of an easier method. You will need to have the  following installed on the systems: openssh-server, fuser, and sshfs for starters.

The easiest way to set up a share is to go to the browser and use the sftp protocol (vs ftp or http) to point to the share.  Notice there are not shares set up yet. and again the file we want to copy is servers.txt.

Now you should see the share in the lower left hand side window.

Now you want to drag and drop the file.

—————————————————-

Ever copy code into vim and realize that the line numbers were also copied. Here is a quick easy way to get rid of the line numbers.

Original code:

We want to remove the first 5 characters from every line so then we need to use the normal option:

:%normal 5x

Press return and the line numbers are gone!

—————————————————-

A simple table using html

<table border="1" style="margin-left: auto; margin-right: auto; text-align: left; width: 500px;">
<tr> <th align="center" colspan="4">System parts</th></tr>
<tr align="center">
<td>
<b>Component</b></td> <td>
People
</td>
<td>
Hardware
</td>
<td>
Data
</td>
</tr>
<tr align="center">
<td>
<b>
Instructions
</b>
</td>
<td>
Procedures
</td>
<td>
Software
</td>
<td>
Information
</td>
</tr>
</table>
System parts
Component
People
Hardware
Data
Instructions Procedures Software Information

—————————————————-

Put old machines back to work as starter systems.
Yes Virginia, Slackware does run on a Pentium I with 256 meg ram.

# uname -a
Linux slacky 3.10.17 #2 Wed Oct 23 17:46:52 CDT 2013 i586 Pentium MMX GenuineIntel GNU/Linux
root@slacky:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 233.886
cache size : 0 KB
fdiv_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mmx
bogomips : 467.77
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:

bootfloppy ==> local web server ==> slackware site (ftp://ftp.slackware.com/pub/slackware/slackware-14.1) ==> install

Local web server needs initrd.img and bzImage in an accessible directory. Dowloaded directly from Slackware. You could use the Slackware site locations instead.

Used a pxeboot floppy to point to the web server to get the install started. Of course, you can go to Romomatic.net to make the boot floppy. Use your own script, but this was the template to use for the script.

#!ipxe
dhcp any
initrd http://192.168.3.88/slack/initrd.img
chain http://192.168.3.88/slack/bzImage load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=huge.s

—————————————————-

Amazing what can be done with the NSLU2, A raid setup for the little unit!

—————————————————-

Rice, spinach, tuna, and Mandarin oranges for sweetness.

SUNP0025

Good day.

Advertisements