Linux this week

April 29, 2008

Well, my geekyness is getting the better of me. I have been linuxing my self very good.
This weekend I did two full xp, ubuntu Hardy Heron installs. One DSL linux, One Pud and one slack install. These were physical boxes. I am also starting to work on my novell desktop administrator course. And looking hard in the linux lab at work.

The Pud linux has a place on a small USB Stick it has a good kernal and can be used in little space and can use the ubuntu respositories. Linux seems to be really catching on in China because I have looked at two linux distros this week Pud and CleanCD linux both have the Traditional Chinese. Lets hope. Still holding out on a Slug, Nokia 770,800 or 810, popcorn or EEEPC no real need for them as we speak.
I have been really surprised the last few weeks how my life has really changed with the use of portable aps. Going 100% opensource aps has really changed the way I do things. Everything is there. Also since nothing gets installed on the machine for the first time in my life I am really following the Corp IT standards. We still use IE 6.0 and that is no fun in the real world of tabs. But such is life. The only one that I do not use the open office on the stick it is too bing for my 1GB stick really. I do use sc for the spreadsheet or google aps as much as possible and I use the MS products as needed. But everything else is open source or pure linux off my 10.3 open suse box. Great happenings with that portable aps for sure especially with that backup product they have.

Advertisements
I really like that are pushing vitural box.
clipped from lifehacker.com

Run Windows XP and other systems inside Ubuntu with VirtualBox


ieinubuntu_cropped.jpgFew people can comfortably leave the Windows world behind entirely, whether due to web sites that only play nice Internet Explorer or Outlook/Office requirements of the job. Luckily, getting Windows up and running inside Linux has never been easier than with VirtualBox, a free virtualization tool that makes running one system inside another as easy as can possibly be. I used VirtualBox to create seamless XP windows inside Linux, and found that, in most cases, if you can install XP, you can get it running in VirtualBox.
  blog it

from the also very popular Debian, is one of the most important
candidates to be a replacement for Microsoft products, specially in the
Desktop arena.

Ubuntu is every time more and more user-friendly, it installs
automatically the codecs needed to watch movies, or listen to music,
detect automatically printers and cameras attached to it, and I am not
saying some others also did this, but Ubuntu also did this, and has
some other points as advantage, like the Free CDs, like aptitude as a
package manager, and who can’t deny… a lot and I mean a lot of
marketing.

In the server arena, I have not personally tested Ubuntu, but any
server I can install will perform the same with any Linux distro, as
Linux is by itself very stable, I do not know how Ubuntu performs in
real big and loaded servers, but coming from Debian, should be one of
the best, maybe together with Debian itself, CentOS, SUSE, RedHat.

As anything famous Ubuntu as lovers and haters, but all that
controversy only increase its popularity, so if you are one of the
lovers, go to Ubuntu.com and download the latest versions.

A note from go2linux

April 22, 2008

Run Levels of Debain or ubuntu with Cent or Fedora

There are six different runlevels in Linux, there could be more than six, but for compatibility reasons six are the default.

I have used RedHat and Debian based Linux, more specifically Fedora
and Ubuntu and Debian itself, I have noticed that there is a difference
in the runlevels on this different Linux distributions.

Well but first let’s define the runlevels:

Runlevels in Linux are seven and they are:

– 0 = halt
– 1 = single user
– 2 = CLI, multi-user, no net
– 3 = CLI, multi-user, networked
– 4 = open
– 5 = GUI, multi-user, networked
– 6 = reboot

You can define more of them if you want, but whit this should be
enough, a runlevel will define which software to start when you enter
in that specific runlevel.

For example if you go to runlevel 0, the computer will halt, and probable turn off (If it is a modern computer).

When you enter a specific runlevel, Linux will run some scripts that are located at:

/etc/rc0.d Run level 0
/etc/rc1.d Run level 1
/etc/rc2.d Run level 2
/etc/rc3.d Run level 3
/etc/rc4.d Run level 4
/etc/rc5.d Run level 5
/etc/rc6.d Run level 6

So you can (If you know what you are doing) modify the way each runlevel works, you can add new scripts to any runlevel using update-rc.d command.

Now if you are switching from RedHat to Debian or the other way, you
should know about a little difference (I do not know why) in the way
the manage runlevels.

In Debian the default is 2, and it is usually a CLI multiuser mode,
and 5 is the Graphical runlevel, in Redhat systems the runlevel 3 is
the multiuser CLI, and the graphical is also 5 as in Debian.

Debian Define its runlevels this way

0 — System Halt
1 — Single user
2 — Full multi-user mode (Default)
3-5 — Same as 2
6 — System Reboot

And RedHat defines its runlevels this way.

0 — Halt
1 — Single-user mode
2 — Not used (user-definable)
3 — Full multi-user mode
4 — Not used (user-definable)
5 — Full multi-user mode (with an X-based login screen)
6 — Reboot

So, as you can see 2 is unused, and it is user-definable, actually anyone are user-definable.

To change from one runlevel to another, use the telinit command, read the man page for more info, and use with care.

siag

April 21, 2008

I had some questions and got some answers about siag.
It does not work well with windows but can work from a non x part.

I am running slack on a very old box and I had written you
before about using Siag without X. Just from the prompt is that
still possible? I went to the FTP and could not decided which
version I needed.

You need a widget library which may already be installed by the
Linux distribution, otherwise get and install
neXtaw-0.15.1.tar.gz.

You also need to get and install Mowitz-0.3.1.tar.gz.

Finally, you need the siag-3.6.1.tar.gz file.

The console spreadsheet is called “tsiag”.

Hi Igot the the scribe fire addon and it worked out a little better than the tripod web interphase.

free Displays the amount of used and free system memory does not work in net bsd

shutdown -r minutes

-w shows which users are on. (does work in net bsd)

man -t man | ps2pdf – > man.pdf

I found this and thought how useful it would be.

And tried and now I can make a pdf book on my memory stick of commands I use but not enough to really know all the options.

Why learn about open VMS?

http://itmanagement.earthweb.com/erp/article.php/3380341

Intereting project place:

http://unixsadm.blogspot.com/search/label/OpenVMS

BC, Info 
http://www.gnu.org/software/bc/manual/html_mono/bc.html 
http://www.oreillynet.com/linux/cmd/cmd.csp?path=b/bc 
http://www.basicallytech.com/blog/index.php?/archives/23-command-line-calculations-using-bc.html
BC Script example from the internet link above:
print "\nConvert Fahrenheit to Celsius\n\n"
print "Temperature in Fahrenheit: " ; fah = read()
print "\n"
print "Equivalent Temperature in Celsius is: "
(fah - 32.0) * 5.0 / 9.0
quit
My own script that I built for Currency changing.
print "\dollar to euro program\n\n"
print "Amount of Dollars to convert: " ; dollar = read()
print "The Conversion Rate For Today Is: "; convert = read()
print "\n"
print "Your Dollars Purchased this many Euros: "
(dollar) * (convert)
quit
 
print "\Euro to Dollar Program\n\n"
print "Amount of Euros to convert: " ; euro = read()
print "The Conversion Rate For Today Is: "; convert = read()
print "\n"
print "Your Dollars Purchased this many Euros: "
(euro) * (convert)
quit

A bit of running around the SDF account

Linux command uptime.

Interesting

Type uptime you get days hours minutes seconds and average CPU time.

alpha-netbsd 2.1.0_stable

Is what I get when I type uname -r

Uname -m It says Alpha

Wow not linux but net bsd

http://www.osdata.com/oses/netbsd.htm

http://wiki.netbsd.se/mv

helped with the moving of the file

http://wiki.netbsd.se/index.php/Category:Shell_Commands

Great started learning it.

signed up for an SDF account.

http://sdf.lonestar.org/index.cgi

I went ahead gave the 36 membership fee.

I got access to BC and SC commands which were important to me.

Learning about elm and pine and trying real hard to run my internet life through a shell.

I am using putty but there is no reason not to use an SSH in Linux either.

But I am having trouble coping and pasting sing MC.

I have to read up on it.

So the geek in me is getting a look about in the openvms. It seems
it is a even more hardy operating system than unix or linux. Its
commands seem to be more common sense.

So far the command line
runs off something called DCL which controls the operating system. I
have a shell account athe Openvms hobby site on a Vax server named
mason.

To run Open VMS on a vax station the 4000 series seems the
best with the 60 model being the most practical and the VAXstation 4000
VLC being the most portable.

It seems HP provideds some free were and there is hobby LTU program.

http://h71000.www7.hp.com/openvms/freeware/index.html?jumpid=/go/openvms/freeware

I
looked at linux console distro. I have not heard of it but it seems to
be a live version CD product. http://linuxconsole.org/about.php

Seems French and cutting edge. Did not down load it. But it looked nice.

Well I had a look into some shell acounts today.

Also had a look into open vms something I have not looked into for a long time.

http://deathrow.vistech.net/account-info.shtml

Is the open vms link. I wonder can you do email in open vms. would you want to really really.

I
got into some pine on the Garo unix shell server. For a one time 10
euro fee you get a for real shell account for a long time on Debian.
It did not do BC which is a real shame.

Have a look it only
holds the first 250 if you are the last then it will be on you to do as
you like. But it is gone the account. But you can use the same
password again

http://jaguar.garofil.be/index.php#ssh


Hello world!

April 20, 2008

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!