LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-04-2007, 04:38 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
Smile Beginner questions


OK, I just installed Solaris 10 (Developer) on my desktop. A few interesting things I noticed:

1. How do you actually shut down? I only have noted "Log Out".

2. What kind of package manager is used? And if I wanted to install say, Enlightenment, how would I do it?

3. Another one, I need something called "vob" to play a DVD. What is it and where do I get it?

These may seem like ultra-simple questions, but this is the first time I've used Solaris. Another question, it is my understanding that Solaris is "closer" to UNIX than Linux is. Is this a correct assumption?

Thanks!

Last edited by phantom_cyph; 06-04-2007 at 05:35 PM.
 
Old 06-04-2007, 08:15 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,978
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
You can shutdown by typing init 0
 
Old 06-04-2007, 10:14 PM   #3
ADxD_7
Member
 
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

Rep: Reputation: 23
Ok well ...

Shutdown is init 5 because init 0 is halt and can cause data corruption.

Then you should man pkgadd, pkginfo, and pkgrm
Or go to docs.sun.com (great guides)

And then go to sunfreeware.com

I really think if you read some on suns website and go to sunfreeware you will learn what you want and get what you want ... but that just me
 
Old 06-05-2007, 02:28 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,746

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
You are correct the "init 5" command is the right command to shutdown a machine, however, "init 0" doesn't cause data corruption.

"init 0" is just shutting down the O/S without powering off. What may corrupt the system is using either the "halt" or the "poweroff" command on a system not in single user mode.
 
Old 06-06-2007, 11:04 AM   #5
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
I always do my shutdowns via "shutdown -g0 -y -i5" as my understanding is that init doesn't enforce file system sync before shutdown occurs.
 
Old 06-06-2007, 05:30 PM   #6
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,978
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
I forgot to mention....I type sync (twice) before I init 0...this is how I shutdown:

Code:
# sync
# sync
# init 0
 
Old 06-07-2007, 10:55 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,746

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
Quote:
Originally Posted by Dox Systems - Brian
I always do my shutdowns via "shutdown -g0 -y -i5" as my understanding is that init doesn't enforce file system sync before shutdown occurs.
While it doesn't hurt using "shutdown", the last statement is incorrect. "init 0" does sync before shutdown.
 
Old 06-07-2007, 10:57 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,746

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
Quote:
Originally Posted by custangro
I forgot to mention....I type sync (twice) before I init 0...this is how I shutdown:

Code:
# sync
# sync
# init 0
These syncs are useless as the filesystem is still alive and will be updated by various commands during the services shutdown.
 
Old 06-08-2007, 07:55 AM   #9
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by jlliagre
These syncs are useless as the filesystem is still alive and will be updated by various commands during the services shutdown.
I always wondered about that. Seemed kind of pointless, but that's what pops up in all the documentation that I read... "Use sync;sync;init or use shutdown to maintain filesystem integrity" :-) To avoid any potential issues, I decided to choose the shutdown method and stick with it! :-)
 
Old 06-08-2007, 09:16 AM   #10
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
Well, I'm not using Solaris anymore, it didn't exactly meet up to my specifications, so I came back to linux.
 
Old 06-08-2007, 09:33 AM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,746

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
By curiosity, what are these specifications that aren't met ?
 
Old 06-08-2007, 09:36 AM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,746

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
Quote:
Originally Posted by Dox Systems - Brian
but that's what pops up in all the documentation that I read... "Use sync;sync;init or use shutdown to maintain filesystem integrity" :-)
Have you some pointers to (official) documentation recommending that ?
 
Old 06-08-2007, 11:15 AM   #13
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
Easy installation of given programs, higher number of users, and the fact they haven't figured out the power off button yet. I want something configurable, not something that I have to feel like I'm running pure UNIX in just to power down.
 
Old 06-08-2007, 11:54 AM   #14
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by jlliagre
Have you some pointers to (official) documentation recommending that ?
Not off the top of my head. If I remember, I'll post up when I run across it though.
 
Old 06-08-2007, 11:55 AM   #15
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by phantom_cyph
Easy installation of given programs, higher number of users, and the fact they haven't figured out the power off button yet. I want something configurable, not something that I have to feel like I'm running pure UNIX in just to power down.
Hmmm. The power button on my Blade 150 (and 100) keyboard work fine... Give it a push and the system asks if you'd like to shutdown or logout.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
couple beginner questions. Userong Ubuntu 4 09-24-2006 09:23 PM
Questions from a beginner... Firebar Slackware 13 05-10-2006 09:34 AM
Two Beginner questions: Installation and Fuzzy Font treble54 Linux - Newbie 6 08-29-2005 08:03 PM
More questions from a beginner weng Linux - General 3 12-20-2003 01:01 PM
Definite Beginner Questions yisi Linux - Newbie 7 03-24-2002 10:45 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration