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
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
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: ...
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
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.
Memo: Solaris package. CSW packaging home.
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
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”
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
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
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=