User Tools

Site Tools


Sidebar

school:acm_competition

ACM 2007/2008 -- Pasi facuti

The following have been updated 2008. See change log for details.

Pentru clienti

  • Am instalat urmatoarele programe, ca administrator:
    • 7zip (keeping things free)
    • JDK, Documentatie Java (JDK, 'not' JRE)
    • Mozilla Firefox
    • Crimson Editor (trebuie rulat intai ca administrator, ca sa isi creeze fisiere globale de configurare)
    • Notepad++
    • gVim
    • emacs
    • JCreator LE; 'TODO:' Cum setam auto-completion?
    • Eclipse
    • Microsoft Visual C++ 2008 Express (de pe site-ul lor)
    • MSDN Library for Visual C++ 2005 (de pe MSDNAA – nu am gasit si pentru 2008)
    • PC2, cu tot cu documentate
    • Cygwin minimal, cu tot cu ssh. Instructiuni [http://pigtail.net/LRP/printsrv/cygwin-sshd.html aici].
  • Am creat utilizatorul 'acm', si pentru administrator am pus parola grea.
  • Pe Desktop am creat diretorul acm.
  • IDE-urile au ca spatiu de lucru
  • <s>Am creat fisierul readme.txt pe Desktop.</s> (Daca il cream din nou, ar trebui sa folosim limba engleza)
  • <s>Am creat fisierul java.bat in home-ul utilizatorului, care seteaza path-ul pentru a rula un command prompt java-enabled.</s>
  • In loc de fisierele astea, am schimbat variabilele de sistem (see below).
  • Directorul de kit-uri, cel de cygwin trebuiesc ascunse de utilizatorul acm (remember to disable simple sharing).

Setarea variabilelor de sistem

Am cautat prin fisierele batch ale Visual Studio si am modificat urmatoarele variabile de sistem (merge si pentru Visual C++ si pentru Java): INCLUDE = C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE LIB = C:\Program Files\Microsoft Visual Studio 8\VC\LIB;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib LIBPATH = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 PATH = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;C:\Program Files\Java\jdk1.6.0_03\bin Pentru PATH, se adauga la valoarea deja existenta.

2008 comment: path-urile sunt obsolete. Le-am luat pe cele noi din fisierul 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat', dar trebuie adaugata si calea (caile) pentru JDK.

De asemenea, sunt unele lucruri pe care le-am scapat. Specifically, add this to %lib%: C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib

'Better idea': open the Visual Studio prompt and use 'echo %var%' to see what we need to set. Possible variables are INCLUDE, LIB, LIBPATH, and PATH. NB: some paths appear more than once in a variable.

Permisiuni pc<sup>2</sup>

Doar urmatoarele pot fi citite/executate/scrise de catre studenti:

  • pc2team.bat
  • pc2team.log
  • *.ini (read-only!)
  • toate clasele din pc2 (nu am apucat sa testez daca se pot face si ele inaccesibile)
  • pc2\conntest, pc2\team, pc2\ex (tot ce e in directoarele astea)
  • pc2\server\Server_Stub.class

Problema conectare server:

Tue Oct 23 18:06:30 EEST 2007 |9| AWT-EventQueue-0 TeamFrame.initialize() begin Tue Oct 23 18:06:31 EEST 2007 |11| AWT-EventQueue-0 TeamFrame.initialize() end Tue Oct 23 18:06:31 EEST 2007 || AWT-EventQueue-0 Contacting server: 10.38.2.50 port 50002 Tue Oct 23 18:06:31 EEST 2007 || AWT-EventQueue-0 pc2.team.TeamFrame using 10.38.2.47. Tue Oct 23 18:06:33 EEST 2007 || AWT-EventQueue-0 Invalid Login (Exception)Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused: connect Tue Oct 23 18:06:33 EEST 2007 || AWT-EventQueue-0 Invalid login

school/acm_competition.txt · Last modified: 2020/07/20 09:16 (external edit)