Solaris - VI Terminal too wide

You may receive the following error when using VI within Solaris: Terminal too wide You can solve this increasing the number of columns with the command stty columns 120

5 September 2014 @ 22:13 · Updated: 29 June 2026 @ 04:47 · leo

Solaris - Add swap to ZFS disk

I installed Solaris 10 05/09 on a machine and I used whatever the default swap space setting when I built the box. Now I need to increase the swap space and I can’t add a swap file, like was possible under UFS. If your swap device is in use, then you might not be able to delete it. Check to see if the swap area is in use. For example: ...

11 February 2010 @ 09:38 · Updated: 30 June 2026 @ 03:28 · leo

Vim - Fix arrow keys that display A B C D on remote shell

A little fix for arrow keys in Vim, that display A B C D on remote terminal if in the system you don’t wanna declare “TERM” just insert into yout ~/.vimrc the terminal type like this: set term=xterm

22 July 2009 @ 10:57 · Updated: 30 June 2026 @ 03:28 · leo

Cool Tools for OpenSPARC

Optimized Applications for Solaris OS and OpenSparc computing. Simple and very useful example is “Cool Stack” a web deployment packge include most commonly used free and open source applications, recompiled to deliver a 30 to 200 percent performance improvement over standard binaries compiled with GCC. Cool Tools.

21 July 2009 @ 03:09 · leo

CSW packaging

Memo: Solaris package. CSW packaging home.

21 July 2009 @ 02:52 · leo

Solaris - Zones, In the Beginning

Uso Solaris da quasi un anno ma non mi sono mai cimentato nell’uso delle famose Zones riassumendo i poche parole giusto per capire di cosa si parla dico: “operating system level virtualization” bash-3.00# zonecfg -z Z01 Z01: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:Z01create -b zonecfg:Z01set zonepath=/zones/Z01 zonecfg:Z01exit bash-3.00# zoneadm -z Z01 install Preparing to install zone <Z01>. Creating list of files to copy from the global zone. Copying <115072files to the zone. Initializing zone product registry. Determining zone package initialization order. Preparing to initialize <792packages on the zone. Initialized <792packages on zone. Zone <Z01is initialized. The file </zones/Z01/root/var/sadm/system/logs/install\_logcontains a log of the zone installation. bash-3.00# bash-3.00# zonecfg -z Z01 zonecfg:Z01add net zonecfg:Z01set address=10.0.0.1 zonecfg:Z01set physical=hme0 zonecfg:Z01end zonecfg:Z01verify zonecfg:Z01commit zonecfg:Z01exit > bash-3.00# zoneadm -z Z01 boot > bash-3.00# zlogin -C Z01

4 December 2008 @ 00:36 · Updated: 30 June 2026 @ 03:28 · leo

Sorry, I don't know anything about your "xterm-color" terminal.

Oggi durante una serie di comandi con un senso ben preciso Solaris mi ha parlato in questo modo: Sorry, I don't know anything about your "xterm-color" terminal. La perplessità generale mi ha fatto lanciare questo comando: bash-3.00# export TERM=vt100 Ma molto probabilmente sarebbe stato meglio un terminale “ansi”

24 November 2008 @ 02:58 · Updated: 30 June 2026 @ 03:28 · leo

Export

Memo, questo e’ solo per ricordarmi l’export del profile: export PATH=$PATH:/opt/csw/bin:/usr/sfw/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/ccs/bin

27 October 2008 @ 01:10 · Updated: 30 June 2026 @ 03:28 · leo

Solaris - Inetd SVC

Breve memo sull’attivazione del servizio tftpd su solaris. #svcs tftp/udp6 svcs: Pattern ‘tftp/udp6′ doesn’t match any instances STATE STIME FMRI #grep tftp /etc/inetd.conf #tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot Decommentare “#tftp dgram udp6 …” nel file /etc/inetd.conf # grep tftp /etc/inetd.conf # TFTPD - tftp server (primarily used for booting) tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot # inetconv inetconv: Notice: Service manifest for 100235/1 already generated as /var/svc/manifest/network/rpc/100235\_1-rpc\_ticotsord.xml, skipped inetconv: Notice: Service manifest for 100083/1 already generated as /var/svc/manifest/network/rpc/100083\_1-rpc\_tcp.xml, skipped inetconv: Notice: Service manifest for 100068/2-5 already generated as /var/svc/manifest/network/rpc/100068\_2-5-rpc\_udp.xml, skipped tftp -/var/svc/manifest/network/tftp-udp6.xml Importing tftp-udp6.xml …Done server # svcs tftp/udp6 STATE STIME FMRI online 12:56:05 svc:/network/tftp/udp6:default

8 September 2008 @ 00:55 · Updated: 30 June 2026 @ 03:28 · leo

Solaris - Patch It

Un piccolo memo sul sistema di gestione delle patch in Solaris, patch ID 121118(SPARC version) o 121119(x86 version) Questi sono i comandi principali: Analyze: /usr/sadm/bin/smpatch analyze Download: /usr/sadm/bin/smpatch download Add Patch: /usr/sadm/bin/smpatch add Bisogna registrare il sistema con questo comando: # /usr/sbin/sconadm register -a -r /tmp/registrationprofile.properties Il file /tmp/registrationprofile.properties deve essere una cosa simile a questo: userName=newuser password=newpassword hostName= subscriptionKey= portalEnabled=false proxyHostName= proxyPort= proxyUserName= proxyPassword=

20 August 2008 @ 09:42 · Updated: 30 June 2026 @ 03:28 · leo