HackTrade
NEW. Daca vrei sa faci ceva si nu stii posteaza in categoria HELP ce nu stii si o sa te ajutam noi
|
Nou pe simpatie: mariana_n23 pe Simpatie
 | Femeie 24 ani Brasov cauta Barbat 29 - 52 ani |
|
|
HackTradeInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
|
| #1 |
|
|
Installing GNUWorld On RedHat, Mandrake, Suse, Debian, etc.
# /usr/bin/updatedb # locate tclConfig.sh # grep TCL_VERSION /usr/lib/tclConfig.sh wget http://www.phlander.as.ro/tcl8.3.4.tar.gz # tar -xzf tcl8.3.4.tar.gz # cd tcl8.3.4/unix/ # ./configure # make # make install wget http://cesnet.dl.sourceforge.net/source ... 2.4.tar.gz # tar -xzf postgresql-7.2.4.tar.gz # cd postgresql-7.2.4/ # ./configure --with-CXX --with-tcl --without-tk # gmake # gmake install pico /etc/ld.so.conf and add the following line : /usr/local/pgsql/lib *** save the file, then run : # ldconfig *** To check that your PostreSQL installation includes TCL support, check that the following file exists onto your system : # /usr/local/pgsql/bin/pgtclsh *** Add a User & Creating GNUWorld: # adduser gnuworld # mkdir /usr/local/pgsql/data # chown gnuworld /usr/local/pgsql/data # su - gnuworld $ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data *** Then run PostgreSQL : $ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -m smart stop $ /usr/local/pgsql/bin/postmaster -SiD /usr/local/pgsql/data ( pentru conectarea pe ip ) $ /usr/local/pgsql/bin/postmaster -S -B 64 -N 32 -i -D /usr/local/pgsql/data -o -F -h 127.0.0.1 ps auxw | grep postmaster Daca este nevoie de gcc : wget http://www.phlander.as.ro/gcc-2.95.3.tar.gz # tar -zxf gcc-2.95.3.tar.gz # cd gcc-2.95.3 # ./configure # make # make install # su - gnuworld *** To Download The Gnuworld $ cvs -d:pserver: .sourceforge.net:/cvsroot/gnuworld login *** Type as password $ cvs -z3 -d :pserver: .sourceforge.net:/cvsroot/gnuworld co gnuworld $ cvs -z3 -d :pserver: .sourceforge.net:/cvsroot/gnuworld co website # cd gnuworld/ # ./configure --enable-modules=cservice,ccontrol or # ./configure --disable-static # gmake # gmake install # cd .. $ cd gnuworld/doc/ # /usr/local/pgsql/bin/createdb cservice # /usr/local/pgsql/bin/createlang plpgsql cservice -L /usr/local/pgsql/lib or # /usr/local/pgsql/bin/createlang -L /usr/local/pgsql/lib plpgsql cservice # /usr/local/pgsql/bin/psql cservice < cservice.sql $ /usr/local/pgsql/bin/psql cservice < languages.sql # /usr/local/pgsql/bin/psql cservice < language_table.sql # /usr/local/pgsql/bin/psql cservice < greeting.sql # /usr/local/pgsql/bin/psql cservice < cservice.help.sql # /usr/local/pgsql/bin/psql cservice < cservice.web.sql # /usr/local/pgsql/bin/createdb local_db # /usr/local/pgsql/bin/psql local_db < local_db.sql # /usr/local/pgsql/bin/psql cservice < cservice.addme.sql # /usr/local/pgsql/bin/createdb ccontrol # /usr/local/pgsql/bin/psql ccontrol < ccontrol.sql # /usr/local/pgsql/bin/psql ccontrol < ccontrol.help.sql # /usr/local/pgsql/bin/psql ccontrol < ccontrol.addme.sql # /usr/local/pgsql/bin/psql ccontrol < ccontrol.commands.sql # cd ../bin *** Edit the config files then run # /usr/local/pgsql/bin/psql cservice cservice= # update pg_shadow set passwd='passwd' where usename='gnuworld'; pico /usr/local/pgsql/data/pg_hba.conf host all 127.0.0.1 255.255.255.255 trust host all 127.0.0.1 255.255.255.255 crypt # /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data restart # cd gnuworld/bin/ # ./gnuworld -c -f GNUWorld.conf & # cd ../../website/php_includes/ pico /home/gnuworld/website/php_includes/config.inc $ exit # cd /home/gnuworld/gnuworld/doc/cmaster/ # cp -rp regproc/ /usr/local/pgsql/ # chown -R gnuworld /usr/local/pgsql/regproc/ # su - gnuworld pico /usr/local/pgsql/regproc/appjudge-config # Number of days an application has to pass the activity test set MAX_DAYS 99 # Number of unique IP's that must visit a channel during the activity test set UNIQUE_JOINS 99 # Number of supporters that must visit the channel during the activity test set MIN_SUPPORTERS 99 # Duration of the notify period set NOTIFY_DAYS 99 # Number of days supporters have to confirm their support set SUPPORT_DAYS 99 # chmod 755 /usr/local/pgsql/regproc/appjudge # crontab /usr/local/pgsql/regproc/cron-judge.in 3 exit *** Setting up Apache and PHP # wget http://www.phlander.as.ro/apache_1.3.27.tar.gz wget http://www.phlander.as.ro/php-4.2.3.tar.gz tar -xzf apache_1.3.27. tar.gz tar -xzf php-4.2.3.tar.gz # cd apache_1.3.27/ # ./configure --prefix=/usr/local/apache # cd ../php-4.2.3/ # ./configure --with-pgsql=/usr/local/pgsql --enable-track-vars --with apache=../apache_1.3.27 # make # make install # cd ../apache_1.3.27/ # ./configure --prefix=/usr/local/apache --activate module=src/modules/php4/libphp4.a # make # make install # cd ../php-4.2.3/ # cp php.ini-dist /usr/local/lib/php.ini # pico /usr/local/lib/php.ini # cd /usr/local/apache/htdocs/ # chmod 711 ~gnuworld # chmod 711 ~gnuworld/website # chmod 755 ~gnuworld/website/php_includes # chmod 644 ~gnuworld/website/php_includes/config.inc # chmod 755 ~gnuworld/website/docs/gnuworld/ # ln -s /home/gnuworld/website/docs/gnuworld live pico /usr/local/apache/conf/httpd.conf *** Find: <IfModule mod_dir.c> DirectoryIndex index.html </IfModule> *** and replace by : IfModule mod_dir.c <IfModule mod_dir.c> <DirectoryIndex index.php index.html> </IfModule> *** then find (look for example for 'AddType') : # And for PHP 4.x, use: # # AddType application/x-httpd-php .php # AddType application/x-httpd-php-source .phps *** and replace by : (if you haven't found the lines above, add them in the file then) # And for PHP 4.x, use: # AddType application/x-httpd-php .php # AddType application/x-httpd-php-source .phps # ../bin/apachectl start # /usr/local/apache/bin/apachectl restart
Added by
Skywaker #HackTrade Administrator & Founder =>> =>> =>> =>>
_______________________________________ Skywaker #HackTrade Admin & Founder
|
|
| |
|
| #3 |
|
|
lol nu sunt bune ) linkurile plm cine vrea sa ma ajute sa fac un servar de irc sa intra pe id dragons_aw si ofer plata trasnfer credit cosmote dar retineti vreau conplet adica si X si site ms
|
|
| |
|