Tuesday, July 21, 2009

Instalando Postgres 8.3 no OpenSolaris 2009.06

Reconhecidamente o Postgres é o banco de dados open source mais robusto do mercado, pois ele vem repleto de recursos extremente úteis em aplicações corporativas. Diferetentemente dos bancos de dados proprietários, os quais vendem licenças por processador(ou core) , o Postgres é enterprise por padrão, pronto para exigências extremas.  Para instalar esse fabuloso gerenciador de banco de dados no OpenSolaris é muito simples, abra uma console  e vamos por a mão na massa:

Primeiramente vamos preparar a intação no pool do ZFS

zfs create -o mountpoint=/var/postgres rpool/postgres

Agora vamos instalar os pacotes necessários:

# pkg install SUNWpostgr-83-server

# pkg install SUNWpostgr-83-client SUNWpostgr-jdbc SUNWpostgr-83-contrib

# pkg install SUNWpostgr-83-docs  SUNWpostgr-83-devel

# pkg install SUNWpostgr-83-tcl SUNWpostgr-83-pl

Não esquecendo de instalar a principal ferramenta de administração

# pkg install SUNWpgadmin3

Configurando o serviço

# svccfg import /var/svc/manifest/application/database/postgresql_83.xml

Habilitando o serviço

svcadm enable postgresql_83:default_32bit

Pronto, agora é acessar o banco com o PgAdminIII ou NetBeans e alterar as configurações iniciais.


Créditos: http://blogs.sun.com/jkshah/entry/opensolaris_2008_11_and_postgresql




Posted by Ronaldo Prass at 01:18:00 | Permalink | No Comments »

Wednesday, October 22, 2008

Student Reviews Contest

Today me and Vitorio Sassi submited our application to the Student Reviews Contest. The application was called JSaw that means Java System Authentication for Wireless Network.

The project’s goal is improve the security of wi-fi networks. With this project we create a mechanism of authentication for wireless networks and increase the security of these networks. With that network administrators might know the hits generated from their networks.
The inspiration started in the Software Freedom Day - Porto Alegre, where SERPRO (the place that event’s happened), need the all logs of everybody who access his network. Ok it’s so far in my opinion, but we are planned to create a wi-fi zone. And the problem is “how we can create an wi-fi zone and logged all access??”. The answer started in a Squid proxy that can logged all access. Ok our problem are solved, and the event happened without problems. And at this point Vitorio talked “maybe we can create an application for save the full name of people that use wi-fi at the PoaOSUG event’s, and with this tool we have the squid’s logs and the full name of guys that generated the log. And put this project on the web to encourage the new java programers of GeJUn“. And I agree and we started the JSaw project.
The JSaw project are hosted at java.net We are using the NetBeans to develop, glassfish as application server, the MySQL as database system and all hosts are running OpenSolaris.
Now we have an stable and tested version of JSaw, but there are a lot of features that will be implemented in the future. We are creating a road-map to organize the new versions. All parts of project are under CDDL license.

If you liked our idea check-out the project’s CVS at https://gejun.dev.java.net/source/browse/gejun/JSaw/?hideattic=1
Here are an screenshot of application running and an diagram that explain the structure of our solution.


Posted by Ronaldo Prass at 21:06:54 | Permalink | Comments (4)

Thursday, June 19, 2008

Instalando Firefox 3 no OpenSolaris 2008.05

Fazendo parte dos mais de 7,9 milhões de downloads do Firefox 3, preferi instalar no OpenSolaris 2008.05 , a instalação não tem nada de complicada, embora não seja feita ainda utilizando o Package Manager. Não encontrei referências sobre atualizar o Firefox que estava instalado, então por precaução removi o que veio por default. Para baixar a versão 3 pode ser feito através do http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0/contrib/solaris_pkgadd/   , concluído o download basta descompactar o arquivo firefox-3.0.en-US.opensolaris-i386-pkg.bz2 ( bunzip2 -d  firefox-3.0.en-US.opensolaris-i386-pkg.bz2 ) , após então o famoso “pkgadd” pkgadd -d firefox-3.0.en-US.opensolaris-i386-pkg ,

bash-3.2# pkgadd -d firefox-3.0.en-US.opensolaris-i386-pkg

The following packages are available:
1  MOZfirefox     firefox 3.0rc2 for Solaris 11
(i386) 3.0,REV=2008.06.05.10.52

Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: all

Processing package instance from

firefox 3.0rc2 for Solaris 11(i386) 3.0,REV=2008.06.05.10.52
Using as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing firefox 3.0rc2 for Solaris 11 as

## Installing part 1 of 1.
/opt/sfw/bin/firefox
/opt/sfw/lib/firefox/.autoreg
/opt/sfw/lib/firefox/README.txt
/opt/sfw/lib/firefox/Throbber-small.gif
/opt/sfw/lib/firefox/application.ini
/opt/sfw/lib/firefox/blocklist.xml
/opt/sfw/lib/firefox/browserconfig.properties
/opt/sfw/lib/firefox/chrome/browser.jar
/opt/sfw/lib/firefox/chrome/browser.manifest
/opt/sfw/lib/firefox/chrome/classic.jar
/opt/sfw/lib/firefox/chrome/classic.manifest
/opt/sfw/lib/firefox/chrome/comm.jar
/opt/sfw/lib/firefox/chrome/comm.manifest
/opt/sfw/lib/firefox/chrome/en-US.jar
/opt/sfw/lib/firefox/chrome/en-US.manifest
/opt/sfw/lib/firefox/chrome/icons/default/default16.png
/opt/sfw/lib/firefox/chrome/icons/default/default32.png
/opt/sfw/lib/firefox/chrome/icons/default/default48.png
/opt/sfw/lib/firefox/chrome/pippki.jar
/opt/sfw/lib/firefox/chrome/pippki.manifest
/opt/sfw/lib/firefox/chrome/reporter.jar
/opt/sfw/lib/firefox/chrome/reporter.manifest
/opt/sfw/lib/firefox/chrome/toolkit.jar
/opt/sfw/lib/firefox/chrome/toolkit.manifest
/opt/sfw/lib/firefox/components/FeedConverter.js
/opt/sfw/lib/firefox/components/FeedProcessor.js
/opt/sfw/lib/firefox/components/FeedWriter.js
/opt/sfw/lib/firefox/components/WebContentConverter.js
/opt/sfw/lib/firefox/components/aboutRobots.js
/opt/sfw/lib/firefox/components/browser.xpt
/opt/sfw/lib/firefox/components/fuelApplication.js
/opt/sfw/lib/firefox/components/jsconsole-clhandler.js
/opt/sfw/lib/firefox/components/libbrowsercomps.so
/opt/sfw/lib/firefox/components/libbrowserdirprovider.so
/opt/sfw/lib/firefox/components/libdbusservice.so
/opt/sfw/lib/firefox/components/libimgicon.so
/opt/sfw/lib/firefox/components/libmozgnome.so
/opt/sfw/lib/firefox/components/libnkgnomevfs.so
/opt/sfw/lib/firefox/components/nsAddonRepository.js
/opt/sfw/lib/firefox/components/nsBlocklistService.js
/opt/sfw/lib/firefox/components/nsBrowserContentHandler.js
/opt/sfw/lib/firefox/components/nsBrowserGlue.js
/opt/sfw/lib/firefox/components/nsContentDispatchChooser.js
/opt/sfw/lib/firefox/components/nsContentPrefService.js
/opt/sfw/lib/firefox/components/nsDefaultCLH.js
/opt/sfw/lib/firefox/components/nsDownloadManagerUI.js
/opt/sfw/lib/firefox/components/nsExtensionManager.js
/opt/sfw/lib/firefox/components/nsFilePicker.js
/opt/sfw/lib/firefox/components/nsHandlerService.js
/opt/sfw/lib/firefox/components/nsHelperAppDlg.js
/opt/sfw/lib/firefox/components/nsLivemarkService.js
/opt/sfw/lib/firefox/components/nsLoginInfo.js
/opt/sfw/lib/firefox/components/nsLoginManager.js
/opt/sfw/lib/firefox/components/nsLoginManagerPrompter.js
/opt/sfw/lib/firefox/components/nsMicrosummaryService.js
/opt/sfw/lib/firefox/components/nsPlacesTransactionsService.js
/opt/sfw/lib/firefox/components/nsProxyAutoConfig.js
/opt/sfw/lib/firefox/components/nsSafebrowsingApplication.js
/opt/sfw/lib/firefox/components/nsSearchService.js
/opt/sfw/lib/firefox/components/nsSearchSuggestions.js
/opt/sfw/lib/firefox/components/nsSessionStartup.js
/opt/sfw/lib/firefox/components/nsSessionStore.js
/opt/sfw/lib/firefox/components/nsSetDefaultBrowser.js
/opt/sfw/lib/firefox/components/nsSidebar.js
/opt/sfw/lib/firefox/components/nsTaggingService.js
/opt/sfw/lib/firefox/components/nsTryToClose.js
/opt/sfw/lib/firefox/components/nsURLFormatter.js
/opt/sfw/lib/firefox/components/nsUpdateService.js
/opt/sfw/lib/firefox/components/nsUrlClassifierLib.js
/opt/sfw/lib/firefox/components/nsUrlClassifierListManager.js
/opt/sfw/lib/firefox/components/nsWebHandlerApp.js
/opt/sfw/lib/firefox/components/pluginGlue.js
/opt/sfw/lib/firefox/components/storage-Legacy.js
/opt/sfw/lib/firefox/components/txEXSLTRegExFunctions.js
/opt/sfw/lib/firefox/crashreporter
/opt/sfw/lib/firefox/crashreporter-override.ini
/opt/sfw/lib/firefox/crashreporter.ini
/opt/sfw/lib/firefox/defaults/autoconfig/platform.js
/opt/sfw/lib/firefox/defaults/autoconfig/prefcalls.js
/opt/sfw/lib/firefox/defaults/pref/channel-prefs.js
/opt/sfw/lib/firefox/defaults/pref/firefox-branding.js
/opt/sfw/lib/firefox/defaults/pref/firefox-l10n.js
/opt/sfw/lib/firefox/defaults/pref/firefox.js
/opt/sfw/lib/firefox/defaults/pref/reporter.js
/opt/sfw/lib/firefox/defaults/profile/bookmarks.html
/opt/sfw/lib/firefox/defaults/profile/chrome/userChrome-example.css
/opt/sfw/lib/firefox/defaults/profile/chrome/userContent-example.css
/opt/sfw/lib/firefox/defaults/profile/localstore.rdf
/opt/sfw/lib/firefox/defaults/profile/mimeTypes.rdf
/opt/sfw/lib/firefox/defaults/profile/prefs.js
/opt/sfw/lib/firefox/dictionaries/en-US.aff
/opt/sfw/lib/firefox/dictionaries/en-US.dic
/opt/sfw/lib/firefox/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
/opt/sfw/lib/firefox/firefox
/opt/sfw/lib/firefox/firefox-bin
/opt/sfw/lib/firefox/greprefs/all.js
/opt/sfw/lib/firefox/greprefs/security-prefs.js
/opt/sfw/lib/firefox/greprefs/xpinstall.js
/opt/sfw/lib/firefox/icons/document.png
/opt/sfw/lib/firefox/icons/mozicon128.png
/opt/sfw/lib/firefox/icons/mozicon16.xpm
/opt/sfw/lib/firefox/icons/mozicon50.xpm
/opt/sfw/lib/firefox/libfreebl3.chk
/opt/sfw/lib/firefox/libfreebl3.so
/opt/sfw/lib/firefox/libjemalloc.so
/opt/sfw/lib/firefox/libmozjs.so
/opt/sfw/lib/firefox/libnspr4.so
/opt/sfw/lib/firefox/libnss3.so
/opt/sfw/lib/firefox/libnssckbi.so
/opt/sfw/lib/firefox/libnssdbm3.so
/opt/sfw/lib/firefox/libnssutil3.so
/opt/sfw/lib/firefox/libplc4.so
/opt/sfw/lib/firefox/libplds4.so
/opt/sfw/lib/firefox/libsmime3.so
/opt/sfw/lib/firefox/libsoftokn3.chk
/opt/sfw/lib/firefox/libsoftokn3.so
/opt/sfw/lib/firefox/libsqlite3.so
/opt/sfw/lib/firefox/libssl3.so
/opt/sfw/lib/firefox/libxpcom.so
/opt/sfw/lib/firefox/libxul.so
/opt/sfw/lib/firefox/modules/DownloadUtils.jsm
/opt/sfw/lib/firefox/modules/ISO8601DateUtils.jsm
/opt/sfw/lib/firefox/modules/JSON.jsm
/opt/sfw/lib/firefox/modules/Microformats.js
/opt/sfw/lib/firefox/modules/PluralForm.jsm
/opt/sfw/lib/firefox/modules/XPCOMUtils.jsm
/opt/sfw/lib/firefox/modules/debug.js
/opt/sfw/lib/firefox/modules/distribution.js
/opt/sfw/lib/firefox/modules/utils.js
/opt/sfw/lib/firefox/mozilla-xremote-client
/opt/sfw/lib/firefox/old-homepage-default.properties
/opt/sfw/lib/firefox/platform.ini
/opt/sfw/lib/firefox/plugins/libnullplugin.so
/opt/sfw/lib/firefox/removed-files
/opt/sfw/lib/firefox/res/EditorOverride.css
/opt/sfw/lib/firefox/res/arrow.gif
/opt/sfw/lib/firefox/res/arrowd.gif
/opt/sfw/lib/firefox/res/broken-image.gif
/opt/sfw/lib/firefox/res/charsetData.properties
/opt/sfw/lib/firefox/res/charsetalias.properties
/opt/sfw/lib/firefox/res/contenteditable.css
/opt/sfw/lib/firefox/res/designmode.css
/opt/sfw/lib/firefox/res/dtd/mathml.dtd
/opt/sfw/lib/firefox/res/dtd/xhtml11.dtd
/opt/sfw/lib/firefox/res/entityTables/html40Latin1.properties
/opt/sfw/lib/firefox/res/entityTables/html40Special.properties
/opt/sfw/lib/firefox/res/entityTables/html40Symbols.properties
/opt/sfw/lib/firefox/res/entityTables/htmlEntityVersions.properties
/opt/sfw/lib/firefox/res/entityTables/mathml20.properties
/opt/sfw/lib/firefox/res/entityTables/transliterate.properties
/opt/sfw/lib/firefox/res/fonts/mathfont.properties
/opt/sfw/lib/firefox/res/fonts/mathfontSTIXNonUnicode.properties
/opt/sfw/lib/firefox/res/fonts/mathfontSTIXSize1.properties
/opt/sfw/lib/firefox/res/fonts/mathfontStandardSymbolsL.properties
/opt/sfw/lib/firefox/res/fonts/mathfontUnicode.properties
/opt/sfw/lib/firefox/res/forms.css
/opt/sfw/lib/firefox/res/grabber.gif
/opt/sfw/lib/firefox/res/hiddenWindow.html
/opt/sfw/lib/firefox/res/html.css
/opt/sfw/lib/firefox/res/html/folder.png
/opt/sfw/lib/firefox/res/langGroups.properties
/opt/sfw/lib/firefox/res/language.properties
/opt/sfw/lib/firefox/res/loading-image.gif
/opt/sfw/lib/firefox/res/mathml.css
/opt/sfw/lib/firefox/res/quirk.css
/opt/sfw/lib/firefox/res/svg.css
/opt/sfw/lib/firefox/res/table-add-column-after-active.gif
/opt/sfw/lib/firefox/res/table-add-column-after-hover.gif
/opt/sfw/lib/firefox/res/table-add-column-after.gif
/opt/sfw/lib/firefox/res/table-add-column-before-active.gif
/opt/sfw/lib/firefox/res/table-add-column-before-hover.gif
/opt/sfw/lib/firefox/res/table-add-column-before.gif
/opt/sfw/lib/firefox/res/table-add-row-after-active.gif
/opt/sfw/lib/firefox/res/table-add-row-after-hover.gif
/opt/sfw/lib/firefox/res/table-add-row-after.gif
/opt/sfw/lib/firefox/res/table-add-row-before-active.gif
/opt/sfw/lib/firefox/res/table-add-row-before-hover.gif
/opt/sfw/lib/firefox/res/table-add-row-before.gif
/opt/sfw/lib/firefox/res/table-remove-column-active.gif
/opt/sfw/lib/firefox/res/table-remove-column-hover.gif
/opt/sfw/lib/firefox/res/table-remove-column.gif
/opt/sfw/lib/firefox/res/table-remove-row-active.gif
/opt/sfw/lib/firefox/res/table-remove-row-hover.gif
/opt/sfw/lib/firefox/res/table-remove-row.gif
/opt/sfw/lib/firefox/res/ua.css
/opt/sfw/lib/firefox/res/unixcharset.properties
/opt/sfw/lib/firefox/res/viewsource.css
/opt/sfw/lib/firefox/run-mozilla.sh
/opt/sfw/lib/firefox/searchplugins/amazondotcom.xml
/opt/sfw/lib/firefox/searchplugins/answers.xml
/opt/sfw/lib/firefox/searchplugins/creativecommons.xml
/opt/sfw/lib/firefox/searchplugins/eBay.xml
/opt/sfw/lib/firefox/searchplugins/google.xml
/opt/sfw/lib/firefox/searchplugins/wikipedia.xml
/opt/sfw/lib/firefox/searchplugins/yahoo.xml
[ verifying class ]

Installation of was successful.

Após a instalação bem sucedida precisei executar o Firefox por linha de comando /opt/sfw/lib/firefox$ ./firefox e então aceitar os termos da licença e correr para o abraço.

Posted by Ronaldo Prass at 02:14:54 | Permalink | Comments (1) »

Sunday, May 25, 2008

Lista de softwares equivalentes aos do Windows

Uma dúvida bem comum de usuários que pretendem migrar do Windows para algum *nix é quais softwares equivalentes estão disponíveis. Nesse site http://www.linuxrsp.ru/win-lin-soft/table-eng.html tem uma lista bem repleta, acho que dá pro gasto. 

Posted by Ronaldo Prass at 20:16:37 | Permalink | Comments Off

Saturday, May 24, 2008

Instalando o PostGre por linha de comando no OpenSolaris 2008.05

Uma das coisas que senti falta num primeiro momento quando passei a utilizar o OpenSolaris 2008.05 foi o PostGreSQL instaladinho pronto para usar, faz sentido em não vir, com isso fica por conta do usuário instalar ou não.

No meu caso preciso muito, aproveitando a oportunidade de testar o Package Manager eu primeiramente instalei pelo modo gráfico, tirando os 4 time outs que enfrentei, no final ai estava o meu banco de dados preferido. Não contente, resolvi remove-lo e instalar via linha de comando, afinal nem sempre terei um servidor com modo gráfico disponível. Até foi bom exercício, pois no final eu preferi instalar dessa maneira.

Receita de bolo:

Como usuário root, primeiramente faça listagem dos pacotes disponíveis no reposítório utilizando o comando pkg search -r postgres , o resultado vai ser algo do tipo

INDEX ACTION VALUE PACKAGE
basename dir usr/postgres pkg:/SUNWpostgr-82-devel@8.2.4-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-devel@8.2.5-0.79
basename dir usr/postgres pkg:/SUNWpostgr-82-devel@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-devel@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-docs@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-docs@8.2.4-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-docs@8.2.5-0.79
basename dir usr/postgres pkg:/SUNWpostgr-82-docs@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-tcl@1.5-0.79
basename dir usr/postgres pkg:/SUNWpostgr-82-tcl@1.5-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-tcl@1.5-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-tcl@1.5-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-pl@8.2.4-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-pl@8.2.5-0.79
basename dir usr/postgres pkg:/SUNWpostgr-82-pl@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-pl@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-libs@8.2.5-0.79
basename dir usr/postgres pkg:/SUNWpostgr-82-libs@8.2.4-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-libs@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-libs@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-client@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-client@8.2.4-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-client@8.2.5-0.79
basename dir usr/postgres pkg:/SUNWpostgr-82-client@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-contrib@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-contrib@8.2.6-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-contrib@8.2.4-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-contrib@8.2.5-0.79
basename file usr/postgres/8.2/bin/postgres pkg:/SUNWpostgr-82-server@8.2.6-0.86
basename file usr/postgres/8.2/bin/postgres pkg:/SUNWpostgr-82-server@8.2.6-0.86
basename file usr/postgres/8.2/bin/postgres pkg:/SUNWpostgr-82-server@8.2.5-0.79
basename file usr/postgres/8.2/bin/postgres pkg:/SUNWpostgr-82-server@8.2.4-0.75
basename dir var/postgres pkg:/SUNWpostgr-82-server-data-root@8.2.5-0.79
basename dir var/postgres pkg:/SUNWpostgr-82-server-data-root@8.2.4-0.75
basename dir var/postgres pkg:/SUNWpostgr-82-server-data-root@8.2.6-0.86
basename dir var/postgres pkg:/SUNWpostgr-82-server-data-root@8.2.6-0.86
basename file usr/bin/postgres pkg:/SUNWpostgr-server@8.1.11-0.86
basename file usr/bin/postgres pkg:/SUNWpostgr-server@8.1.9-0.75
basename file usr/bin/postgres pkg:/SUNWpostgr-server@8.1.10-0.79
basename file usr/bin/postgres pkg:/SUNWpostgr-server@8.1.11-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-jdbc@8.2.504-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-jdbc@8.2.504-0.79
basename dir usr/postgres pkg:/SUNWpostgr-82-jdbc@8.2.504-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-jdbc@8.2.504-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-l10n-ja@0.5.11-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-l10n-ja@0.5.11-0.86
basename dir usr/postgres pkg:/SUNWpostgr-82-l10n-ja@0.5.11-0.75
basename dir usr/postgres pkg:/SUNWpostgr-82-l10n-ja@0.5.11-0.79

Bah, muita tralha né, e agora qual instalar?
Num primeiro momento podes utilizar os seguintes pacotes

SUNWpostgr-82-client SUNWpostgr-82-contrib SUNWpostgr-82-devel SUNWpostgr-82-docs SUNWpostgr-82-jdbc SUNWpostgr-82-libs SUNWpostgr-82-pl SUNWpostgr-82-server-data-root SUNWpostgr-82-server SUNWpostgr-82-tcl SUNWpostgr-server

Para instalar utiliza o pkg install SUNWpostgr-82-client SUNWpostgr-82-contrib SUNWpostgr-82-devel SUNWpostgr-82-docs SUNWpostgr-82-jdbc SUNWpostgr-82-libs SUNWpostgr-82-pl SUNWpostgr-82-server-data-root SUNWpostgr-82-server SUNWpostgr-82-tcl SUNWpostgr-server

Concluída a instalação, se preferir, pode instalar o PgAdminIII pelo comando pkg install SUNWpgadmin3

Posted by Ronaldo Prass at 01:16:58 | Permalink | Comments Off

Thursday, May 22, 2008

Algumas considerações sobre o Netbeans 6.0.1

Há quem diga que o desenvolvedor web fica desprovido de ferramentas quando utiliza sistema operacional open source. Já foi pior, claro isso se o vivente está a procura de alguma IDE, se o cara não liga muito para produtividade usa Vi. Não que não dê para trabalhar, mas não rende. Conheci o Netbeans ainda quando estava na versão 3, ele vinha junto com o cd do livro de Java do Deitel(o verdinho ainda), realmente ficava pesado, ainda mais no meu guerreiro MMXII 333MHZ com 196 Ram. Bom com ele pude escrever alguns “Hello World” , bem verdade que na época não evoluí muito além disso. Mas hoje a história é outra, perceptível a melhora de desenpenho da IDE na versão recém lançada, estou avaliando a ferramenta para que ela seja adotada lá na empresa, onde para o desenvolvimento utilizo o phpEditor, ele é melhor do que bloco de notas, mas está longe de ser uma IDE. Para compensar tenho que utilizar o famigerado JDeveloper, diga-se de passagem uma baita carroça, mas a determinação é de utilizar, quem sou eu para contrariar. Porém em qualquer empresa o que interessa é o negócio, logo, eis a oportunidade para inovar. Estou avaliando o quanto irei ganhar em utilizar o Netbeans, nessa avaliação constatei que entre os inúmeros benefícios destacam-se os plugins para UML, ER, acesso a qualquer banco relacional(Oracle,PostGre,MySQL,DB2, etc..). Sem dúvidas faz jus da reputação de IDE produtiva, pois pude acessar simultâneamente Oracle, PostGre e MySQL, isso apenas navegando entre as abas. Outra funcionalidade que “tirei o chapéu” foi a possibilidade de criar a minha biblioteca personalizada de funções com os comentários referentes a elas e o fato de poder “chama-las” pelo recurso de auto-complete. Tem muito mais, na sequencia irei postando, na verdade este é um rascunho do que irei postar no “student_reviews”.
Posted by Ronaldo Prass at 14:37:23 | Permalink | Comments Off

Time out no repositório do OpenSolaris

Realmente não vai ser fácil configurar Web Stack, só para instalar o Apache utilizando os pacotes do repositório, tive dois time out. A mensagem infame quando isso acontece é a seguinte:

rprass@dv2247:~$ pfexec pkg install SUNWapch22 SUNWapch22d
DOWNLOAD

PKGS FILES XFER (MB)
SUNWapch22d
1/2 1412/1696 18.45/22.13pkg: An unexpected error happened during installation: timed out
The Boot Environment opensolaris failed to be updated. A snapshot was taken before the failed attempt and is mounted here /tmp/tmpFM46Ha. Use ‘beadm activate opensolaris_static:-:2008-05
-21-23:17:44 and reboot if you wish to boot to this BE

Resultado disso, foram mais dois snapshots do kernel relacionados no GRUB, com esses já são 5. Começo a sentir saudades do pkgadd, nesse link http://dlc.sun.com/osol/docs/content/IPS/gggyv.html é que esse recurso é explicado com mais detalhes. Amanhã com um mate amargo companheiro e um pouco mais de calma eu resolvo isso, claro, sem formatar a máquina.

Posted by Ronaldo Prass at 04:16:29 | Permalink | Comments (3)