Follow Slashdot stories on Twitter


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×
Sun Microsystems

Journal Journal: NexentaStor iSCSI Virtual NAS/SAN

I found NexentaStor which is a virtual NAS/SAN product built on solaris. It uses zfs and has a theoretical storage capacity of 16 petabytes. The free version allows up to 6TB of storage. zfs is an amazing filing system and has many features I'm just beginning to grasp, but it is very fault tolerant. Essentially NexentaStor is simply a vmware virtual machine that you can run on anything that vmware server will run on. You use vmware virtual hard drives to create your volumes and then the NexentaStor software to create zpools and targets. It has a great web interface and graphs. Also, if you have another NexentaStor NAS, you can create an autosync connection where only the data that's changed goes over the wire, and other fault tolerance features. Using big boxes offsite could eliminate backups to tape if only for archival purposes. I guess Stanford uses the software for their graphic arts dept. Because the NAS is virtual, moving it to better hardware in the future seems painless, rather than having to rely on an Adaptec warranty.

You could have the free NextentaStor NAS, running on free VMWare Server, running on a free linux box, where the only thing you pay for is hardware. Plus you have a hugely robust web-based software solution probably much better than Adaptec's software.

I see it as a proprietary iscsi killer, but then again, the server is only as good as the hardware it's running on and I'm not sure someone could build the same grade hardware as Adaptec...

User Journal

Journal Journal: Compile PHP5 when Mysql is already installed

How to compile PHP5 when you have installed mysql, but - you can't find the "mysql header files" or - get this error:

Cannot find MySQL header files under /usr/

If you want to use mysql 4.0 (*not* 4.1 or even higher!) just download & extract the latest mysql4.0 binary distribution to e.g. /root/mysql40/

but don't start it (it even should not work, if you have a mysql server already running)

Then use --with-mysql=/root/mysql4 within your php5 configuration.

After compiling/installing (make, make install), you may delete the /root/mysql40/ directory, or keep it for later versions of php5.

User Journal

Journal Journal: samba config

This is the entry for configuring a share in Samba to be mapped in windows:

Remember after creating the share to run the command smbpasswd from the command prompt and create a windows user account on the pc that will connect - basically follow the fricken article above.

User Journal

Journal Journal: custom smiley bash prompt

to change the root prompt:

issue command:

#vi /etc/profile

near bottom of file change

PS1 line to

PS1="\u@\h \[\e[33m\]\W\[\e[0m\] \[\`if [[ \$? = "0" ]]; then echo '\e[32m=)\e[0m'; else echo '\e[31m=(\e[0m' ; fi\`\] \$ "


Journal Journal: LinuxOnLaptop Toshiba Satellite 5105-S501

General Hardware Specifications of [Laptop]:

Toshiba Satelite 5105-S501

Hardware Components

Intel 82845 I/O Controller

USB 1.1 - no USB 2.0

40GB Toshiba MK4019GAX Hard Drive

Nvidia GeForce4 440 Go 32MB

Matshita UJDA730 DVD/CDRW

Toshiba PCI-0804 Smart Media Host Controller

Texas Instruments IEEE 1394 Bus controller

SMC IrCC - Fast Infared Port

Toshiba Software Modem AMR

LCD Monitor max resolution: 1400x1050

Intel Pro/100 VE Network Connection

PCMCIA Toshiba ToPIC100 Cardbus Controller

Processor: Intel Pentium 4 Mobile CPU 1.7GHz

Yamaha AC-XG Audio Device

Harmon/kardon speakers Dolby Digital

3 USB 1.1 ports

1 IEEE 1394 (small) Firewire port

1 Serial Video Out port

1 External Volume control wheel

2 Smart media card slots

1 external IR switch


Status Under Knoppix Linux 3.6 v8-16-04 w/ Kernel 2.6.7

Works Great! - very quick - detected my USB MS Intellimouse and USB keyboard. Mounts my firewire external HD okay also.


I didn't partition my HD for a full Knoppix/Debian-linux hard drive installation (this is my work laptop) so I tested simply with the latest version of Knoppix. Knoppix is a full-featured linux debian distro that boots directly from the CD-ROM. You can download the .iso cd image from (KNOPPIX_V3.6-2004-08-16-EN.iso). I find the Mirrors in Germany (de) are the quickest for downloading the ~700MB file.

This laptop requires you to hit the arrow keys during post to select the CD-Rom for boot (second icon from the left). Upon booting to Knoppix CD, hit F2 (may have to toggle Fn key, or use Ctrl+F2, or Alt+F2) to get to knoppix cheat codes. Enter at prompt "knoppix26 screen=1400x1050"

The LCD Screen and Resolution at 1400x1050 looks beautiful!

Sound, USB, Firewire, CD-RW/DVD, Ethernet are working correctly -modem unable to query with modem setup at /dev/modem (Intel ICH Modem)

Processor (CPU)

processor : 0

vendor_id : GenuineIntel

cpu family : 15

model : 2

model name : Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz

stepping : 4

cpu MHz : 1694.695

cache size : 512 KB

physical id : 0

siblings : 1

fdiv_bug : no

hlt_bug : no

f00f_bug : no

coma_bug : no

fpu : yes

fpu_exception : yes

cpuid level : 2

wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm

bogomips : 3350.52


Knoppix Detects and installs nVidia GeForce4 440 Go 32MB

Works - XINE plays .mov files, mpeg files fine


512MB, SDRAM, 2x256MB DIMMs

40 GB Ultra ATA Hard Drive

Works- Knoppix will mount this volume to the desktop as hda1

No Floppy Drive

Integrated Network Card


Internal 56k Modem

Doesn't Work

16x cd-rw max write speed

Works- didn't test DVD because bootable OS cd in drive

D-LINK AirPlus DWL-G630 802.11G Wireless PCMCIA Card:

Doesn't Work - haven't had time to do a HD install and test the DriverLoader drivers.

In Process

L-ion DC 10.8V 4000mAh Toshiba Battery


Yamaha AC-XG Audio Device

No special procedure required if using Kernel 2.6.7 - no cracks or pops; external volume wheel functions correctly.

Setting up additional features for Knoppix

from penguin menu choose utilities -> install software (while running from CD)


Not tested

Unresolved issues Software Modem drivers, Wireless PCMCIA card, Smart Media (will it read sm cards?), Remote controll (most likely will only work with Toshiba's implimentation of Windows Media Player under Windows XP.

KDE battery meter appears to function correctly.

Contact Information

e-mail address: jasoncoltrinatgmaildotcom

Yahoo! ID: tiwerd - Linux on Laptops

User Journal

Journal Journal: nvidia drivers on linux

Only after finding the the instructions below, was I able to get the drivers running okay (with an additional twist at the end -see below). The thread can be found here:
but I'll go ahead and include them anyway in case someone else finds their way to my thread. Thanks kelmo!!

cp linux-2.6.5.tar.bz2 /usr/src
tar jxvf linux-2.6.5.tar.bz2
rm -f linux
ln -s linux-2.6.5 linux
cp /boot/config-2.6.5 linux/.config
cd linux/include
ln -s asm-i386 asm
cd ..
make oldconfig
patch -p1 ../knoppix-kernel26.patch
make include/linux/version.h (bug in cleaning process of linux-2.6.5)
cd /usr/bin
rm -f gcc (the kernel image was compiled with gcc-2.95 but symlink is to gcc-3.3)
ln -s gcc-2.95 gcc
cd /usr/src
apt-get update
apt-get install nvidia-kernel-common nvidia-kernel-source
tar zxvf nvidia-kernel-source
cd modules/nvidia-kernel
debian/rules KSRC=/usr/src/linux-2.6.5 KVERS=2.6.5 kdist_image
cd ..
dpkg -i nvidia-kernel-2.6.5_1.0.5336-9_i386.deb
apt-get install nvidia-glx
cd /usrbin
rm -f gcc
ln -s gcc-3.3 gcc

Thats the building and installation procedure done, now to let xserver know what driver to use. Edit /etc/X11/XF86Config-4 with your fav text editor and make the following mods:-

Drivers Section
Replace "nv" with "nvidia"

Modules Section
Remove or comment out lines including "dri" and "GLCore"
Ensure there is a line with Load "glx"

After running, this install, I tried to run
# kdm
but the server failed to start. The logs weren't specific, but it said "nvidia" not found, failed to start server.

I then went back to the console and ran
# export CC=/usr/bin/gcc-2.95
# sh

Edited /etc/X11/XF86Config-4 - made necessary changes

The installer finished sucessfully and I finally now have the nvidia drivers running.Yay!! Still the Postal2 demo won't install, I get a greyed-out "Begin Install" button, but oh well I can try to find a different OpenGL game to try.

I got sick of the nvidia logo so I
added this line to the device section of XF86config-4:-

Option "NoLogo" "true"

User Journal

Journal Journal: gtk and glib install madness

in regards to "glib could not be found" when installing GTK, pango, and glib,

To: Subject: [gtk-list] Re: Problems installing GLIB and GTK

Chances are you've installed glib and set your PATH correctly, but your LD_LIBRARY_PATH is still wrong. If this variable is set you should do something like


export LD_LIBRARY_PATH otherwise try (this works for me):



You want to place the /usr/local/lib (or whereever your glib/gtk libraries are) *before* the rest of the LD_LIBRARY_PATH so that the newly installed libraries are detected first ... This usually solves this stuff for me

User Journal

Journal Journal: logcheck, and centerICQ

Using .deb files I downloaded from, I installed the packages using the command dpkg -i "packagename.deb". The installer will let me know if there are dependencies missing. Installed CenterICQ, which is an IM client that allows me to IM over a SSH shell. Also installed logcheck which emails my root account a condensed security log of failed login attempts. logcheck can also be modified to create the mail message on a set schedule through webmin. I have webmin running with OpenSSL module I loaded up and runs via https.
User Journal

Journal Journal: Knoppix/Debian install

Found out how to use apt-get to install gtkrellm and sendmail.

Simply issue the command(s) from the prompt:

apt-get install gtkrellm

apt-get install sendmail

This makes installing apps on Debian a breeze. I got sendmail installed but I've been running into problems sending and receiving mail from different domains. It's worked on a couple occasions, and I can send and receive email too and from work, but we have our own DNS servers here and perhaps the rest of the net is still unaware of my IP. Have to give 3 days for the changes I made to my records permiate the *cloud*. Once sendmail's installed, webmin is a great tool for configuring accounts and mail settings. Still, I can't figure out if my current problem is a DNS problem, I bungled the installation, or has closed my ability to run a webserver. Same with Apache. I can see my websites if I change the default port within apache to :88, but if I leave it at the default, I get a DNS error - cannot find server. I'll install apache on my XP machine to see if it's my Apache installation, or my D-Link firewall/router. I'm thinking of doing a complete install again because of the newer version release of Knoppix 3.24.03. I'm currently running 3.21.03.

User Journal

Journal Journal: Knoppix 3.2 Continued...

Due to the German language popping up in error messages, and other apps, I went ahead and downloaded KNOPPIX_V3.2-2003-03-21b-EN.iso rather than using CD-rip straight from Germany. I know, I know, I'm impatient... Anyhoots, I have the installation down pretty well. I've found that it's best to exactly double the size of the system memory for the swap size. Then I'll subtract that size from the total disk space size and create a primary partition. Then choose Type as # 85 (linux extended). Then I'll choose 'Write', Yes, then toggle the partition bootable. Next I'll create a logical partition with the remaining space, type = 82 linux swap (default). Then 'Write' again.

I'll quit the partition manager, then jump through a couple hoops, tell the installer to use ext3 file system, and next it starts to install to the hard drive. Once the files have been copied to the hard drive, I'll log in as root and hit Ctrl+Alt+F2 and do an

apt-get update ('apt-get upgrade' messed up my last install - won't try that again)

Voila! New Debian installation with all the latest and greatest packages, updates, and all my hardware has been detected and installed.

Next installed webmin, and now I'm going to try to install the cool app 'gkrellm'. Wonder why it didn't come pre-installed with Knoppix...?

User Journal

Journal Journal: Knoppix Installation Continued...

After a good install, I tried apt-get upgrade. This in turn upgraded the Debian install. I made a wrong choice to keep my old mouse configuration which hosed my mouse. Also, the upgrade either moved or overwrote many of the Knoppix apps and the Control Panel on the taskbar wasn't even available. So, back to step one - new install, tried to just "Write" the old partitions, resulting in a IRQ7 error during the copy to the HD and another Kernel Panic upon reboot. Sheesh! Next time, complete re-install and new partitions, then just an 'apt-get update' rather than 'upgrade'.
User Journal

Journal Journal: Knoppix 3.2 installation continued...

Well, 3rd time's a charm - this time I exactly doubled the amount of memory for my swap size, installed LILO, created an ERD, and other than that, the rest of the installation was the same. I now have a complete Debian installation. Now time to apt-get update, install webmin, get FTP running, and then try to tackle setting up a mail server from home. Yee haw!
User Journal

Journal Journal: Knoppix 3.2 Installation continued...

I went through another round of what's written below, and even though it looked like I chose the same options, somehow it got past the error and appeared to install and copy the OS to the hard drive. I chose to install smail, samba, and all the other servers (except the printer server and LILO) and it said it finished successfully.

It put me back to the shell prompt and I entered: shutdown -h now

The machine shutdown and I booted it up again, this time without the CD.

Knoppix started to boot, but ended in a kernel panic:

EXT3-FS 2.4-0.9.19, 19 August 2002 on IDE0(3,1), internal journal

EXT3-fs: recovery complete.

EXT3-fs: mounted filesystem with ordered data mode.

/linuxrc: /static/pivot_root: not found

Freeing unused kernel memory: 128k freed

Kernel panic: No init found. Try passing init= option to kernel.

I have little experience troubleshooting kernel panics. My next try is going to be to do a new clean install, this time with a LILO boot loader and exactly twice the MB of installed memory.

User Journal

Journal Journal: Knoppix 3.2 Hard Drive installation

I downloaded the latest .iso for Knoppix 3.2 from last night, burned a cd and it boots and runs correctly from the CD on my Inspiron 8000 - yay! I was able to use Knoppix 3.1 to install the full version of Debian on my hard drive. Just tried it again with Knoppix 3.2 and it's giving me trouble. At the desktop I press Ctrl+Alt+F1, press enter, then enter again, and get to a command prompt. At the prompt I type


this brings up "Choose a hard disk". By pressing the space bar I select my HD and press enter (ok)

This brings up cfdisk 2.11y. I delete all partitions and then I choose 'new' -> Primary -> Size: 9400 (mb) -> at beginning of free space. I have a 10gb HD and want to leave 600mb for my swap. I then chose 'type - #85 (linux extended) and then chose 'write' partition table to disk and mark it bootable.

Next I select my 600mb partition, chose 'new' -> logical -> type = Linux swap -> write -> yes.


Do you want to use a swap partition? -> yes

choose a swap partition: (x) /dev/hda5 619MB

Do you want to set up /dev/hda5 as a swap? ->yes

Choose root partition: (x) /dev/hda1 8965MB

Filesystem type: (x) ext3

Do you want to create a filesystem -> yes

An error occured while creating the filesystem. Some messages from mkfs: /usr/local/bin/knx0hdinstall: line 845 /sbin/mkfs.ext3: Input/output error

Maybe it's a cd-read problem, or the mkfs cannot use my system bus to create the file system. Next I will try to install without creating the filesystem. I ran into a different problem earlier trying to create a swap but overcame it by choosing to make the swap partition logical rather than a Primary swap partition.

Red Hat Software

Journal Journal: RedHat 7.2

Setup a Redhat box on a AMD 1300 Duron. Set up FTP with multiple user accounts with different rights to different accounts. Next, setup webmin from Great utility and facilitated my setting up FTP with less difficulty. Also was running my site, with php. Ended up selling the box with xp on it - should have kept it for my new Cox Cable connection. Okay, so I set up a box with ftp and webservers, where's my new linux admin job??

Slashdot Top Deals

"We shall reach greater and greater platitudes of achievement." -- Richard J. Daley