Strona 1 z 4 123 ... OstatniOstatni
Pokaż wyniki 1 do 10 z 38

Temat: Konfiguracja apache

  1. #1
    Avatar lukasz6547
    lukasz6547 jest offline Ciasno tu:D
    Zarejestrowany
    Apr 2008
    Postów
    348

    Domyślnie Konfiguracja apache

    mam zainstalowany apache serwer i po pierwszym wyłączenia komputera nie moge go wogóle ueuruchomic...
    [email protected]:~$ nmap localhost

    Starting Nmap 4.53 ( http://insecure.org ) at 2008-07-26 17:26 CEST
    Interesting ports on localhost (127.0.0.1):
    Not shown: 1712 closed ports
    PORT STATE SERVICE
    631/tcp open ipp
    3306/tcp open mysql

    Nmap done: 1 IP address (1 host up) scanned in 0.159 seconds
    [email protected]:~$

    na porcie 80 powinien byc ale nie ma...w folderze /etc/apache2 ani zadnych podfolderach nie ma pliku wykonywalnego...apache zostal zainstalowany poleceniem apt-get "cos php apache i mysql"...ps. httpd.conf jest pusty....jak mam uruchamiac apache albo njlepiej zeby sie sam uruchamiał...

  2. #2
    Avatar GSG-9
    GSG-9 jest offline Shapeshifter
    Zarejestrowany
    Jul 2007
    Skąd
    C:\Perl\bin
    Postów
    1,578

    Domyślnie

    Kod:
    sudo aptitude install apache2
    wykonane na ubuntu automatycznie sie instaluje i uruchamia wraz ze startem systemu
    nie uzywam apt-geta, watpie zeby to byla tego wina, ale moze jednak?
    War, war never changes.

  3. #3
    rip
    rip jest offline Banned
    Zarejestrowany
    May 2008
    Postów
    534

    Domyślnie

    kk, gosciu sie pyta 'gdzie w linuxe jest autostart'.

    Ja tez chetnie sie tego dowiem.

  4. #4
    maciek jest offline IT
    Zarejestrowany
    Jul 2006
    Skąd
    Łódź
    Postów
    249

    Domyślnie

    wklej wynik:
    Kod:
    locate -u
    locate httpd httpd.conf apachectl
    i zobacz error_log tam jest wpisane jaki jest powod ze sie nie uruchamia

    autorun w linuksie jest np w /etc/rc.local albo /etc/rc.d/rc.local, zalezy od distro
    Pozdrawiam

  5. #5
    Avatar lukasz6547
    lukasz6547 jest offline Ciasno tu:D
    Zarejestrowany
    Apr 2008
    Postów
    348

    Domyślnie

    to po zainstalowaniu p[cja gsg i po ponownym uruchomieniu systemu:
    [email protected]:~$ nmap localhost

    Starting Nmap 4.53 ( http://insecure.org ) at 2008-07-26 20:37 CEST
    Interesting ports on localhost (127.0.0.1):
    Not shown: 1712 closed ports
    PORT STATE SERVICE
    631/tcp open ipp
    3306/tcp open mysql

    Nmap done: 1 IP address (1 host up) scanned in 0.189 seconds
    [email protected]:~$


    a tamto co podał hekko, to mi wyskoczyło wiele współrzednych i nie było zadnych bledów...jest jakies polecenie którym zainstaluje to i bede miał z głowy wszystko tzn to uruchamianie serersa, bazy i php

  6. #6
    maciek jest offline IT
    Zarejestrowany
    Jul 2006
    Skąd
    Łódź
    Postów
    249

    Domyślnie

    powtarzam
    wklej wynik:
    Kod:
    locate -u
    locate httpd httpd.conf apachectl
    jak ci inaczej mam pomoc
    tak, jest jedno polecenie, instaluj_apacza_sql_i_php_rotfl_omfg
    Pozdrawiam

  7. #7
    Avatar lukasz6547
    lukasz6547 jest offline Ciasno tu:D
    Zarejestrowany
    Apr 2008
    Postów
    348

    Domyślnie

    to jest to co sie okazało:


    /usr/local/src/httpd-2.2.9/support/htcacheclean
    /usr/local/src/httpd-2.2.9/support/htcacheclean.c
    /usr/local/src/httpd-2.2.9/support/htcacheclean.dsp
    /usr/local/src/httpd-2.2.9/support/htcacheclean.lo
    /usr/local/src/httpd-2.2.9/support/htcacheclean.o
    /usr/local/src/httpd-2.2.9/support/htdbm
    /usr/local/src/httpd-2.2.9/support/htdbm.c
    /usr/local/src/httpd-2.2.9/support/htdbm.dsp
    /usr/local/src/httpd-2.2.9/support/htdbm.lo
    /usr/local/src/httpd-2.2.9/support/htdbm.o
    /usr/local/src/httpd-2.2.9/support/htdigest
    /usr/local/src/httpd-2.2.9/support/htdigest.c
    /usr/local/src/httpd-2.2.9/support/htdigest.dsp
    /usr/local/src/httpd-2.2.9/support/htdigest.lo
    /usr/local/src/httpd-2.2.9/support/htdigest.o
    /usr/local/src/httpd-2.2.9/support/htpasswd
    /usr/local/src/httpd-2.2.9/support/htpasswd.c
    /usr/local/src/httpd-2.2.9/support/htpasswd.dsp
    /usr/local/src/httpd-2.2.9/support/htpasswd.lo
    /usr/local/src/httpd-2.2.9/support/htpasswd.o
    /usr/local/src/httpd-2.2.9/support/httxt2dbm
    /usr/local/src/httpd-2.2.9/support/httxt2dbm.c
    /usr/local/src/httpd-2.2.9/support/httxt2dbm.dsp
    /usr/local/src/httpd-2.2.9/support/httxt2dbm.lo
    /usr/local/src/httpd-2.2.9/support/httxt2dbm.o
    /usr/local/src/httpd-2.2.9/support/list_hooks.pl
    /usr/local/src/httpd-2.2.9/support/log_server_status
    /usr/local/src/httpd-2.2.9/support/log_server_status.in
    /usr/local/src/httpd-2.2.9/support/logresolve
    /usr/local/src/httpd-2.2.9/support/logresolve.c
    /usr/local/src/httpd-2.2.9/support/logresolve.dsp
    /usr/local/src/httpd-2.2.9/support/logresolve.lo
    /usr/local/src/httpd-2.2.9/support/logresolve.o
    /usr/local/src/httpd-2.2.9/support/logresolve.pl
    /usr/local/src/httpd-2.2.9/support/logresolve.pl.in
    /usr/local/src/httpd-2.2.9/support/phf_abuse_log.cgi
    /usr/local/src/httpd-2.2.9/support/phf_abuse_log.cgi.in
    /usr/local/src/httpd-2.2.9/support/rotatelogs
    /usr/local/src/httpd-2.2.9/support/rotatelogs.c
    /usr/local/src/httpd-2.2.9/support/rotatelogs.dsp
    /usr/local/src/httpd-2.2.9/support/rotatelogs.lo
    /usr/local/src/httpd-2.2.9/support/rotatelogs.o
    /usr/local/src/httpd-2.2.9/support/split-logfile
    /usr/local/src/httpd-2.2.9/support/split-logfile.in
    /usr/local/src/httpd-2.2.9/support/suexec.c
    /usr/local/src/httpd-2.2.9/support/suexec.h
    /usr/local/src/httpd-2.2.9/support/utilitiesnw.def
    /usr/local/src/httpd-2.2.9/support/win32
    /usr/local/src/httpd-2.2.9/support/.libs/ab
    /usr/local/src/httpd-2.2.9/support/.libs/ab.o
    /usr/local/src/httpd-2.2.9/support/.libs/checkgid
    /usr/local/src/httpd-2.2.9/support/.libs/checkgid.o
    /usr/local/src/httpd-2.2.9/support/.libs/htcacheclean
    /usr/local/src/httpd-2.2.9/support/.libs/htcacheclean.o
    /usr/local/src/httpd-2.2.9/support/.libs/htdbm
    /usr/local/src/httpd-2.2.9/support/.libs/htdbm.o
    /usr/local/src/httpd-2.2.9/support/.libs/htdigest
    /usr/local/src/httpd-2.2.9/support/.libs/htdigest.o
    /usr/local/src/httpd-2.2.9/support/.libs/htpasswd
    /usr/local/src/httpd-2.2.9/support/.libs/htpasswd.o
    /usr/local/src/httpd-2.2.9/support/.libs/httxt2dbm
    /usr/local/src/httpd-2.2.9/support/.libs/httxt2dbm.o
    /usr/local/src/httpd-2.2.9/support/.libs/logresolve
    /usr/local/src/httpd-2.2.9/support/.libs/logresolve.o
    /usr/local/src/httpd-2.2.9/support/.libs/rotatelogs
    /usr/local/src/httpd-2.2.9/support/.libs/rotatelogs.o
    /usr/local/src/httpd-2.2.9/support/SHA1/README.sha1
    /usr/local/src/httpd-2.2.9/support/SHA1/convert-sha1.pl
    /usr/local/src/httpd-2.2.9/support/SHA1/htpasswd-sha1.pl
    /usr/local/src/httpd-2.2.9/support/SHA1/ldif-sha1.example
    /usr/local/src/httpd-2.2.9/support/win32/ApacheMonitor.c
    /usr/local/src/httpd-2.2.9/support/win32/ApacheMonitor.dsp
    /usr/local/src/httpd-2.2.9/support/win32/ApacheMonitor.h
    /usr/local/src/httpd-2.2.9/support/win32/ApacheMonitor.ico
    /usr/local/src/httpd-2.2.9/support/win32/ApacheMonitor.rc
    /usr/local/src/httpd-2.2.9/support/win32/apache_header.bmp
    /usr/local/src/httpd-2.2.9/support/win32/aprun.ico
    /usr/local/src/httpd-2.2.9/support/win32/apstop.ico
    /usr/local/src/httpd-2.2.9/support/win32/srun.bmp
    /usr/local/src/httpd-2.2.9/support/win32/sstop.bmp
    /usr/local/src/httpd-2.2.9/support/win32/wintty.c
    /usr/local/src/httpd-2.2.9/support/win32/wintty.dsp
    /usr/local/src/httpd-2.2.9/test/.deps
    /usr/local/src/httpd-2.2.9/test/.indent.pro
    /usr/local/src/httpd-2.2.9/test/Makefile
    /usr/local/src/httpd-2.2.9/test/Makefile.in
    /usr/local/src/httpd-2.2.9/test/README
    /usr/local/src/httpd-2.2.9/test/check_chunked
    /usr/local/src/httpd-2.2.9/test/cls.c
    /usr/local/src/httpd-2.2.9/test/tcpdumpscii.txt
    /usr/local/src/httpd-2.2.9/test/test-writev.c
    /usr/local/src/httpd-2.2.9/test/test_find.c
    /usr/local/src/httpd-2.2.9/test/test_limits.c
    /usr/local/src/httpd-2.2.9/test/test_parser.c
    /usr/local/src/httpd-2.2.9/test/test_select.c
    /usr/local/src/httpd-2.2.9/test/time-sem.c
    /usr/local/src/httpd-2.2.9/test/zb.c
    /usr/local/src/php-5.2.4/sapi/phttpd
    /usr/local/src/php-5.2.4/sapi/thttpd
    /usr/local/src/php-5.2.4/sapi/phttpd/CREDITS
    /usr/local/src/php-5.2.4/sapi/phttpd/README
    /usr/local/src/php-5.2.4/sapi/phttpd/config.m4
    /usr/local/src/php-5.2.4/sapi/phttpd/php.sym
    /usr/local/src/php-5.2.4/sapi/phttpd/php_phttpd.h
    /usr/local/src/php-5.2.4/sapi/phttpd/phttpd.c
    /usr/local/src/php-5.2.4/sapi/thttpd/CREDITS
    /usr/local/src/php-5.2.4/sapi/thttpd/README
    /usr/local/src/php-5.2.4/sapi/thttpd/config.m4
    /usr/local/src/php-5.2.4/sapi/thttpd/php.sym
    /usr/local/src/php-5.2.4/sapi/thttpd/php_thttpd.h
    /usr/local/src/php-5.2.4/sapi/thttpd/stub.c
    /usr/local/src/php-5.2.4/sapi/thttpd/thttpd.c
    /usr/local/src/php-5.2.4/sapi/thttpd/thttpd_patch
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-autoindex.conf
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-dav.conf
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-default.conf
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-info.conf
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-languages.conf.gz
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-manual.conf
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-mpm.conf
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-multilang-errordoc.conf
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-ssl.conf.gz
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-userdir.conf
    /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-vhosts.conf
    /usr/share/doc/libqt-perl/examples/network/httpd
    /usr/share/doc/libqt-perl/examples/network/httpd/httpd.pl
    /usr/share/man/pl/man8/httpd.8.gz
    /usr/share/services/kinetd_krfb_httpd.desktop
    [email protected]:~$

  8. #8
    maciek jest offline IT
    Zarejestrowany
    Jul 2006
    Skąd
    Łódź
    Postów
    249

    Domyślnie

    Kod:
    rm -rf /usr/local/src/httpd-2.2.9 /usr/local/src/php-5.2.4 /usr/share/doc/apache2.2-common
    cd /usr/src
    wget http://ftp.tpnet.pl/vol/d1/apache/httpd/httpd-2.0.63.tar.bz2
    tar -jxf httpd-2.0.63.tar.bz2
    rm httpd-2.0.63.tar.bz2
    cd httpd-2.0.63
    ./configure --prefix=/usr --sysconfdir=/etc/apache --bindir=/usr/bin --sbindir=/usr/sbin --enable-so
    make
    make install
    cd ..
    wget http://pl.php.net/get/php-5.2.6.tar.bz2/from/this/mirror
    tar -jxf php-5.2.6.tar.bz2
    rm php-5.2.6.tar.bz2
    cd php-5.2.6
    ./configure --prefix=/usr --sysconfdir=/etc --with-apxs2=/usr/bin/apxs
    make
    make install
    cd ..
    rm -rf httpd-2.0.63 php-5.2.6
    locate -u
    /usr/bin/apachectl start
    Pozdrawiam

  9. #9
    Avatar lukasz6547
    lukasz6547 jest offline Ciasno tu:D
    Zarejestrowany
    Apr 2008
    Postów
    348

    Domyślnie

    [email protected]:~$ rm -rf /usr/local/src/httpd-2.2.9 /usr/local/src/php-5.2.4 /usr/share/doc/apache2.2-common
    rm: nie można usunąć katalogu `/usr/local/src/httpd-2.2.9': Permission denied

    rm: nie można usunąć katalogu `/usr/local/src/php-5.2.4': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/changelog.gz': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/apache2.conf.gz': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/magic.gz': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-info.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-vhosts.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-dav.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-userdir.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-mpm.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-languages.conf.gz': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-multilang-errordoc.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-autoindex.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-ssl.conf.gz': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-manual.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-default.conf': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/examples/apache2/mime.types.gz': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/changelog.Debian.gz': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/NEWS.Debian.gz': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/README.backtrace': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/copyright': Permission denied
    rm: nie można usunąć `/usr/share/doc/apache2.2-common/README.Debian.gz': Permission denied
    [email protected]:~$
    [email protected]:~$

    nie działa

  10. #10
    maciek jest offline IT
    Zarejestrowany
    Jul 2006
    Skąd
    Łódź
    Postów
    249

    Domyślnie

    LOL
    wejdz na root
    su -
    Pozdrawiam

Strona 1 z 4 123 ... OstatniOstatni

Podobne wątki

  1. [Ubuntu] Konfiguracja Gaim'a
    By ~SD in forum Linux
    Odpowiedzi: 6
    Autor: 10-01-2007, 09:39
  2. konfiguracja Ethereal
    By damiano in forum Newbie - dla początkujących!
    Odpowiedzi: 7
    Autor: 03-12-2007, 19:26
  3. [Apache] Konfiguracja .htaccess
    By Dominik in forum Domeny/Serwery
    Odpowiedzi: 4
    Autor: 12-25-2006, 17:07
  4. Konfiguracja DNS
    By szpuni in forum Linux
    Odpowiedzi: 0
    Autor: 10-12-2006, 18:24

Zasady Postowania

  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •  
Subskrybuj

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52