Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Issues I'm having with XP and Red Hat

I got everything setup as needed yesterday, and I'm thoroughly enjoying my seemingly new Windows box. However, I can't get at my data. My data is on my old hard drive and I can't seem to get Windows to recognize it as needed, though it works great as the primary disk. I've posted a question with my issue on experts-exchange.com, so hopefully I'll have it fixed soon enough.

My second issue is very minor. I'm adding a 2nd hard drive to my Red Hat 9 machine, and I'm curious to know where you Linux gurus mount a 2nd hard drive? I currently have it mounted as an NTFS drive at /mnt/windows, thanks to the Linux-NTFS Project. But now I want to format it as a Linux filesystem and share it via Samba.

My third issue is a little wierd. I have Samba setup and running, but I can't login to any of the shared directories. The username/password dialog just keeps prompting me (from my Windows machines). I could probably figure out the problem if I spent more than 10 minutes looking for an answer - but alas, I have not.

Windows is running super fast though, and that makes me happy.

Posted in General at Jul 13 2003, 09:19:53 PM MDT 6 Comments
Comments:

Before you can use your second harddisk as a linux partition you must change the partition type from NTFS to linux using the command fdisk. Afterwards you can format the partition. Afterwards you can mount the partition via mount, e.g. mount /dev/hdb1 /mnt/foobar. In order to make this mount permanent you have to place an entry into /etc/fstab. See man fstab for more details.

Posted by Lars Hoss on July 14, 2003 at 04:14 AM MDT #

re: Samba - use the Samba configuration GUI in RH9. Make sure you create a user using this config GUI. REMEMBER: Unix user/pass != Samba user/pass

Posted by Pratik Patel on July 14, 2003 at 05:45 AM MDT #

You can too map Windows users to Linux users (username map = /etc/samba/smbusers). A few good kinks: Using Samba (the free book); Troubleshooting Techniques for Samba. I think Samba is not the easiest thing to configure on Linux ;)

Posted by Jean-Philippe Leboeuf on July 14, 2003 at 08:38 AM MDT #

Pratik - I'd love to use the Samba GUI, but couldn't find it. Pointers are appreciated. Also, Lars - I was unable to format the drive using fdisk - I can't remember the error, but something to the effect that it had an NTFS partition. How I can I force a format? Thanks!

Posted by Matt Raible on July 14, 2003 at 08:47 AM MDT #

In answer to your second question. I mount my 'weird old harddrive' on /store and use it for all sorts of storage. My PostgreSQL dumps go there, as do my rsynced CVS repositories, basically everything that isn't a program. In a previous installation I mounted the old weird harddrive on /home so that my homedir would survive reinstallations. If you can't find the redhat gui (which is pretty good) just use smbpasswd (http://ie.samba.org/samba/docs/man/smbpasswd.8.html) 1. Add the user #>smbpasswd -a username 2. Set the password #>smbpasswd username 3. voila.

Posted by Michael Koziarski on July 14, 2003 at 04:20 PM MDT #

In answer to the samba gui : /etc/xinetd.d/swat needs to have disable=yes, then http://localhost:901 should work (mozilla may inibit ports below 1024, try lynx -auth root:password http:localhost:901) In answer to the fdisk problem, this is what I did about a month ago: http://www.yolinux.com/TUTORIALS/LinuxTutorialAddionalHardDrive.html

Posted by James on July 15, 2003 at 03:58 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed