Showing posts with label OpenSolaris. Show all posts
Showing posts with label OpenSolaris. Show all posts

Monday, November 11, 2013

screen - screen manager with VT100/ANSI terminal emulation

Ctrl a c - New window
Ctrl a n - Next window
Ctrl a p - Previous window
Ctrl a d - detach
Ctrl a k - Kill window

screen -ls - List sessions
screen -r <number> reattach

Tuesday, December 13, 2011

Comparison of Solaris OS and Linux for Application Developers

Comparison of Solaris OS and Linux for Application Developers

http://developers.sun.com/solaris/articles/solaris_linux_app.html

Many developers are writing applications to run under the Linux operating system. With the many new features of the Solaris 10 OS, and with the new emphasis Sun has placed on supporting the Solaris OS on AMD and Intel processor-based machines, developers are becoming interested in being able to develop their applications on the Solaris platform. This article examines similarities and differences in the development environments of both operating systems. Someone responsible for porting applications from Linux to the Solaris OS, or programmers with prior Linux experience that want to learn development on the Solaris OS, should benefit from this article.

In this article, the term "Solaris" refers to the Solaris 10 OS (and OpenSolaris), and "Linux" refers to Linux 2.6. Many of the details covered will also apply to earlier versions of Solaris and Linux. The Linux distribution is meant to be generic, though examples have been tested on SuSe 9.1. Also, the article concentrates on applications written using the C programming language, though C++ should behave the same. Since Java technology-based applications should not be making function calls specific to Linux or the Solaris OS, they should be portable as is.

Thursday, June 16, 2011

Brief Notes on Enabling Samba in OpenSolaris

I've been experimenting with OpenSolaris again. I figured out how to enable my broken samba package: I discovered that, after installing the package with

pfexec pkg install SUNWsmbs SUNWsmba

I had to execute:

svccfg import /var/svc/manifest/network/samba.xml

I then copied /etc/sfw/smb.conf-example and modified appropriate values, and created a configuration file that was saved to:

/etc/sfw/smb.conf

Finally, I could enable the SAMBA server:

svcadm enable samba
(taken from: http://baitisj.blogspot.com/2008/07/quick-notes-on-enabling-samba-in.html)

Friday, May 14, 2010

Flash Player installation instructions for OpenSolaris


Installation instructions for Solaris x86


The following assumes that you have unpacked the archive flash_player_10_solaris_x86.tar.bz2 into the top level of your user directory. Your user directory is referred to as $HOME.The Adobe Flash Player can be installed in two ways:
A. Install Adobe Flash Player system-wide, making it available to all users of the computer
-or-
B. Install Adobe Flash Player in a user account, making it available only to that user.
A. Installing Adobe Flash Player System-Wide:
  1. You will need root access to the computer to install Adobe Flash Player system-wide.
  2. Copy Adobe Flash Player (libflashplayer.so) into the Firefox/Mozilla plug-in directory (/usr/lib/firefox/plugins).
  3. Restart Firefox/Mozilla.
  4. Verify the installation by typing about:plugins in the location bar or by choosing Help > About Plugins. You should see Adobe Flash Player listed as "Shockwave Flash Player 10.0"
  5. To test Adobe Flash Player go to: http://www.adobe.com/go/flashplayerversion
B. Installing the Adobe Flash Player in a User Account:
  1. If you have not already used Firefox/Mozilla from the user account, launch Netscape/Mozilla and close it. This will create a preferences directory (/.mozilla) in your home directory.
  2. Create a directory named "plugins" in the Firefox/Mozilla preferences directory. If the mkdir command reports the error "cannot make directory: File exists", this means that the directory was already present and did not need to be created.
  3. Copy libflashplayer.so and flashplayer.xpt into the plug-in directory.
  4. Restart Firefox/Mozilla
  5. Verify the installation by typing about:plugins in the location bar or by choosing Help > About Plugins. You should see Adobe Flash Player listed as "Shockwave Flash Player 10.0"
  6. To test Adobe Flash Player go to: http://www.adobe.com/go/flashplayerversion

Wednesday, April 21, 2010

tcpdump in OpenSolaris

tcpdump -s 0 -w file.pcap -i e1000g0 port 10689