Additions:
Of course, you'll get other failures on libraries, because most of this stuff was compiled to use /lib instead of /usr/local/lib. It's also compiled to use /etc/sfw instead of /usr/local/samba. It wouldn't read my config file, or my password file. So, I symlinked. Now it works.
Deletions:
Additions:
== ** SAMBA **==
Samba was not pleasant at all. I grabbed the required packages from sunfreeware and unpacked them. I ended up moving the samba.server script to /usr/local/sbin (which is in my $PATH). I ended up creating an smb.conf file in /usr/local/samba, and an smbusers file in /usr/local/samba/lib. I symlinked /usr/local/samba/lib/smb.conf to ../smb.conf because of smbpasswd requiring me to have my conf there. I also ended up symlinking /usr/local/lib/libiconv.so.2 to /lib/libiconv.so.2 because of the dependencies (which I found with ldd, wonderful little tool).
So far I can see the machine, but I get consistent session setup failed: NT_STATUS_LOGON_FAILURE. I tried to tell it to log, but apparently the logging doesn't work. I looked at my syslog, but to no avail.
Samba was not pleasant at all. I grabbed the required packages from sunfreeware and unpacked them. I ended up moving the samba.server script to /usr/local/sbin (which is in my $PATH). I ended up creating an smb.conf file in /usr/local/samba, and an smbusers file in /usr/local/samba/lib. I symlinked /usr/local/samba/lib/smb.conf to ../smb.conf because of smbpasswd requiring me to have my conf there. I also ended up symlinking /usr/local/lib/libiconv.so.2 to /lib/libiconv.so.2 because of the dependencies (which I found with ldd, wonderful little tool).
So far I can see the machine, but I get consistent session setup failed: NT_STATUS_LOGON_FAILURE. I tried to tell it to log, but apparently the logging doesn't work. I looked at my syslog, but to no avail.
Additions:
Not quite a term hack, but because I like to have a term show my hostname and not "unknown" I decided to go about the more laborious task of changing /etc/hosts.
~- Edit /etc/hosts and change unknown to your hostname
~- Edit /etc/hostname.interface (ex: hostname.rtls0) and add an entry for yourself
~- as root run hostname newHostName (ex: hostname Sparky)
For some reason Gnome cored on giving me new terms after that, but SSH would work. ctl+alt+backspace fixed that right up.
~- Edit /etc/hosts and change unknown to your hostname
~- Edit /etc/hostname.interface (ex: hostname.rtls0) and add an entry for yourself
~- as root run hostname newHostName (ex: hostname Sparky)
For some reason Gnome cored on giving me new terms after that, but SSH would work. ctl+alt+backspace fixed that right up.
Deletions:
Additions:
I got rid of ""FreeBSD"" as my primary server OS years ago because of a great deal of clunkiness. I love to use Java, which at the time was a major pain in the ass. I also (as it turns out) love the GNU utilities because of their convenience. In fact, I never realized how much I loved Linux until I tried to use ""OpenSolaris"", which doesn't even come with wget or top. Grep is all wrong, ls has no -G (""FreeBSD"") even!.
##
## Export vars
##
export EDITOR=vim
export PATH=.:/opt/bin/:/usr/local/bin/:$PATH
export ANT_HOME=/export/home/kog/ant/
export MANPATH=/opt/man:$MANPATH
##
## Terminal color on local logins
##
##
## Bindings
##
# home key
bind '"\e[1~":beginning-of-line'
# del key
bind '"\e[3~":delete-char'
# end key
bind '"\e[4~":end-of-line'
# pgup key
bind '"\e[5~":history-search-forward'
# pgdn key
bind '"\e[6~":history-search-backward'
##
## Export vars
##
export EDITOR=vim
export PATH=.:/opt/bin/:/usr/local/bin/:$PATH
export ANT_HOME=/export/home/kog/ant/
export MANPATH=/opt/man:$MANPATH
##
## Terminal color on local logins
##
##
## Bindings
##
# home key
bind '"\e[1~":beginning-of-line'
# del key
bind '"\e[3~":delete-char'
# end key
bind '"\e[4~":end-of-line'
# pgup key
bind '"\e[5~":history-search-forward'
# pgdn key
bind '"\e[6~":history-search-backward'
Deletions:
PATH=.:/opt/bin/:/usr/local/bin/:$PATH
MANPATH=/opt/man:$MANPATH
EDITOR=nano
ANT_HOME=/export/home/kog/ant
export ANT_HOME
export MANPATH
My home key still doesn't work, but I'll fix that soon. Then post how.
Additions:
I ended up getting Sun Studio 11, which is a package that contains quite a few compiler options (see the full list at the very bottom). You can find it [[http://www.opensolaris.org/os/community/tools/sun_studio_tools/sun_studio_11_tools/ here]], and it requires a login and is over 300mb.
PATH=.:/opt/bin/:/usr/local/bin/:$PATH
MANPATH=/opt/man:$MANPATH
EDITOR=nano
ANT_HOME=/export/home/kog/ant
export ANT_HOME
export MANPATH
source /etc/profile
I also noticed that my term hacks listed work great with SSHD, but not with local terminals. I went ahead and created a symbolic link from ~/.bashrc -> ~/.bash_profile. I set my bash_profile to run source /etc/profile, and now I have my term running how it should. This is, I'm sure, not the approved Sun way, but it sure does work...
== ** Sun Studio 11 includes:** ==
CC ctc er_src ootags version-5.0
CCadmin ctcr etags ptclean visu
amd64 ctrace f77 rcs-checkin visuroot
analyzer cxref f90 rtc_patch_area whatdir
b2m dbx f95 rxm xdcapture
bcheck dem fbe rxs xdconfig
bil2xd dmake fdumpmod sbcleanup xdesigner
c++filt dumpstabs fpp sbenter xdhelp
c89 dwarfdump fpr sbquery xdrecord
c99 ellcc fsplit sbtags xdreplay
cb er_archive gil2xd smallxd xdroot
cc er_cp gnuattach smctl xdtosj
cc-5.0 er_export gnuclient ss_attach xemacs
cflow er_kernel gnudoit sunstudio xemacs-mule
checkjava er_mv gvim tcov
collect er_print indent uil2xdMachine hardware: i86pc
cscope er_rm lint version
OS version: 5.11
Processor type: i386
Hardware: i86pc
The following components are installed on your system:
Sun Studio 11
Sun Studio 11 C Compiler
Sun Studio 11 C++ Compiler
Sun Studio 11 Tools.h++ 7.1
Sun Studio 11 C++ Standard 64-bit Class Library
Sun Studio 11 Garbage Collector
Sun Studio 11 Fortran 95
Sun Studio 11 Debugging Tools (including dbx)
Sun Studio 11 IDE
Sun Studio 11 Debugger GUI
Sun Studio 11 Performance Analyzer (including collect, ...)
Sun Studio 11 X-Designer
Sun Studio 11 VIM editor
Sun Studio 11 XEmacs editor
Sun Studio 11 Native Connector Tool
Sun Studio 11 Performance Library
Sun Studio 11 Building Software (including dmake)
Sun Studio 11 Documentation Set
version of "/opt/bin//../prod/bin/../../bin/cc": Sun C 5.8 Patch 121016-02 2006/03/31
version of "/opt/bin//../prod/bin/../../bin/CC": Sun C++ 5.8 Patch 121018-02 2006/04/26
version of "/opt/bin//../prod/bin/../../bin/f90": Sun Fortran 95 8.2 Patch 121020-01 2005/11/21
version of "/opt/bin//../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.5 2005/10/13
version of "/opt/bin//../prod/bin/../../bin/analyzer": Sun Performance Analyzer 7.5 2005/10/13
version of "/opt/bin//../prod/bin/../../bin/dmake": Sun Distributed Make 7.7 2005/10/13
PATH=.:/opt/bin/:/usr/local/bin/:$PATH
MANPATH=/opt/man:$MANPATH
EDITOR=nano
ANT_HOME=/export/home/kog/ant
export ANT_HOME
export MANPATH
source /etc/profile
I also noticed that my term hacks listed work great with SSHD, but not with local terminals. I went ahead and created a symbolic link from ~/.bashrc -> ~/.bash_profile. I set my bash_profile to run source /etc/profile, and now I have my term running how it should. This is, I'm sure, not the approved Sun way, but it sure does work...
== ** Sun Studio 11 includes:** ==
CC ctc er_src ootags version-5.0
CCadmin ctcr etags ptclean visu
amd64 ctrace f77 rcs-checkin visuroot
analyzer cxref f90 rtc_patch_area whatdir
b2m dbx f95 rxm xdcapture
bcheck dem fbe rxs xdconfig
bil2xd dmake fdumpmod sbcleanup xdesigner
c++filt dumpstabs fpp sbenter xdhelp
c89 dwarfdump fpr sbquery xdrecord
c99 ellcc fsplit sbtags xdreplay
cb er_archive gil2xd smallxd xdroot
cc er_cp gnuattach smctl xdtosj
cc-5.0 er_export gnuclient ss_attach xemacs
cflow er_kernel gnudoit sunstudio xemacs-mule
checkjava er_mv gvim tcov
collect er_print indent uil2xdMachine hardware: i86pc
cscope er_rm lint version
OS version: 5.11
Processor type: i386
Hardware: i86pc
The following components are installed on your system:
Sun Studio 11
Sun Studio 11 C Compiler
Sun Studio 11 C++ Compiler
Sun Studio 11 Tools.h++ 7.1
Sun Studio 11 C++ Standard 64-bit Class Library
Sun Studio 11 Garbage Collector
Sun Studio 11 Fortran 95
Sun Studio 11 Debugging Tools (including dbx)
Sun Studio 11 IDE
Sun Studio 11 Debugger GUI
Sun Studio 11 Performance Analyzer (including collect, ...)
Sun Studio 11 X-Designer
Sun Studio 11 VIM editor
Sun Studio 11 XEmacs editor
Sun Studio 11 Native Connector Tool
Sun Studio 11 Performance Library
Sun Studio 11 Building Software (including dmake)
Sun Studio 11 Documentation Set
version of "/opt/bin//../prod/bin/../../bin/cc": Sun C 5.8 Patch 121016-02 2006/03/31
version of "/opt/bin//../prod/bin/../../bin/CC": Sun C++ 5.8 Patch 121018-02 2006/04/26
version of "/opt/bin//../prod/bin/../../bin/f90": Sun Fortran 95 8.2 Patch 121020-01 2005/11/21
version of "/opt/bin//../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.5 2005/10/13
version of "/opt/bin//../prod/bin/../../bin/analyzer": Sun Performance Analyzer 7.5 2005/10/13
version of "/opt/bin//../prod/bin/../../bin/dmake": Sun Distributed Make 7.7 2005/10/13
Deletions:
export EDITOR=vim
export PATH= :/usr/local/bin/:$PATH
export ANT_HOME=/export/home/kog/ant
Additions:
<< Please note: to get all the components you'll need (Express, Sun Studio etc) you'll need to register with Sun. It's free, so don't worry too much. << ::c::
Additions:
Oh yes, lastly root has no /root for a home. Your home? It's probably in /export/home if you did the default partitioning.
So, in the meantime I've found [[http://www.sunfreeware.com/indexintel10.html]] which provides me with x86 packages. I keep a repository in **/opt/pckg/** (pckg so that nothing else writes to it... convention is pkg) of all my packages, in case I want to remove one. Interestingly enough, if you install one for the wrong arch (say: SPARC), you'll get a weird error saying //Invalid arguments//. Remove the package (pkgrm packagename). Also of use is the notion that packages have an 8 letter identifier, all caps, that have ryhme and reason to them. And they're not the filenames, they're things like SMCirssi (Sun Microsystems package irssi. I'm not sure if Sun is the vendor or what their role is). My current list of packages I borrowed:
So, in the meantime I've found [[http://www.sunfreeware.com/indexintel10.html]] which provides me with x86 packages. I keep a repository in **/opt/pckg/** (pckg so that nothing else writes to it... convention is pkg) of all my packages, in case I want to remove one. Interestingly enough, if you install one for the wrong arch (say: SPARC), you'll get a weird error saying //Invalid arguments//. Remove the package (pkgrm packagename). Also of use is the notion that packages have an 8 letter identifier, all caps, that have ryhme and reason to them. And they're not the filenames, they're things like SMCirssi (Sun Microsystems package irssi. I'm not sure if Sun is the vendor or what their role is). My current list of packages I borrowed:
Deletions:
Additions:
#I also had to add the \u@ part down there, because I like to see the username anyway... The color will be red, instead of green.
PS1='\[\033[01;31m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'
One weird thing I've noticed is that coming out of Vim, you'll see a 0 in front of your username. After the next command it dissapears. I'll have to look into this, but since it's not colorized it must be some sort of buffer issue.
PS1='\[\033[01;31m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'
One weird thing I've noticed is that coming out of Vim, you'll see a 0 in front of your username. After the next command it dissapears. I'll have to look into this, but since it's not colorized it must be some sort of buffer issue.
Deletions:
Additions:
%%(bash)
%%(bash)
%%(bash)
%%(bash)
%%(bash)
Additions:
===== ""OpenSolaris"" Hackery =====
=== __Getting ""OpenSolaris"" for x86 (or otherwise)__ ===
=== __""OpenSolaris"" from a Linux prospective__ ===
=== __""OpenSolaris"" packages__ ===
=== __""OpenSolaris"" term hackery__ ===
=== __Getting ""OpenSolaris"" for x86 (or otherwise)__ ===
=== __""OpenSolaris"" from a Linux prospective__ ===
=== __""OpenSolaris"" packages__ ===
=== __""OpenSolaris"" term hackery__ ===
Deletions:
== Getting ""OpenSolaris"" for x86 (or otherwise) ==
== ""OpenSolaris"" from a Linux prospective ==
== ""OpenSolaris"" packages ==
== ""OpenSolaris"" term hackery ==