Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Debian Sid. Wczoraj to bylo stable.
Jakies kwiatki mam ;]]]]
Odpalam sobie :
passenger-install-apache2-module
I mam:
root@alex:/home/alex/rails# passenger-install-apache2-module Welcome to the Phusion Passenger Apache 2 module installer, v4.0.5. This installer will guide you through the entire installation process. It shouldn't take more than 3 minutes in total. Here's what you can expect from the installation process: 1. The Apache 2 module will be installed for you. 2. You'll learn how to configure Apache. 3. You'll learn how to deploy a Ruby on Rails application. Don't worry if anything goes wrong. This installer will advise you on how to solve any problems. Press Enter to continue, or Ctrl-C to abort. -------------------------------------------- Checking for required software... * Checking for GNU C compiler... Found: yes Location: /usr/bin/gcc * Checking for GNU C++ compiler... Found: yes Location: /usr/bin/g++ * Checking for Curl development headers with SSL support... Found: yes curl-config location: /usr/bin/curl-config Header location: /usr/include/curl/curl.h Version: libcurl 7.31.0 Usable: yes Supports SSL: yes * Checking for OpenSSL development headers... Found: yes Location: /usr/include/openssl/ssl.h * Checking for Zlib development headers... Found: yes Location: /usr/include/zlib.h * Checking for Ruby development headers... Found: yes Location: /usr/include/ruby-1.9.1/ruby.h * Checking for OpenSSL support for Ruby... Found: yes * Checking for RubyGems... Found: yes * Checking for Rake (associated with /usr/bin/ruby1.9.1)... Found: yes Location: /usr/bin/ruby1.9.1 /usr/local/bin/rake * Checking for rack... Found: yes * Checking for Apache 2... Found: yes Location of httpd: /usr/sbin/apache2 Apache version: 2.4.4 * Checking for Apache 2 development headers... Found: no * Checking for Apache Portable Runtime (APR) development headers... Found: no * Checking for Apache Portable Runtime Utility (APU) development headers... Found: no Some required software is not installed. But don't worry, this installer will tell you how to install them. Press Enter to continue, or Ctrl-C to abort. -------------------------------------------- Installation instructions for required software * To install Apache 2 development headers: Please install it with apt-get install apache2-threaded-dev * To install Apache Portable Runtime (APR) development headers: Please install it with apt-get install libapr1-dev * To install Apache Portable Runtime Utility (APU) development headers: Please install it with apt-get install libaprutil1-dev If the aforementioned instructions didn't solve your problem, then please take a look at the Users Guide: /var/lib/gems/1.9.1/gems/passenger-4.0.5/doc/Users guide Apache.html
Ale gdy chce zainstalowac to co mam wyszczegolnione to:
root@alex:/home/alex/rails# apt-get install apache2-threaded-dev Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: apache2-threaded-dev : Depends: apache2.2-common (= 2.2.22-13) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
root@alex:/home/alex/rails# apt-get install libaprutil1-dev Reading package lists... Done Building dependency tree Reading state information... Done libaprutil1-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@alex:/home/alex/rails# apt-get install libapr1-dev Reading package lists... Done Building dependency tree Reading state information... Done libapr1-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Moje repo to:
deb http://ftp.pl.debian.org/debian/ unstable main contrib non-free deb http://mozilla.debian.net/ experimental iceweasel-aurora deb http://deb.opera.com/opera/ stable non-free
Te 3pliki sa mi potrzebne do passengera by w koncu odpalic ruby.
Ostatnio edytowany przez alex011 (2013-06-30 21:40:22)
30wyswietlen i zadnego mozgowca? ;]
Bierzesz Debiana Sid, jak nie znasz się na Debianie?
Chcącemu nie dzieje się krzywda.
Pozdrawiam
;-)
Offline
alex011 napisał(-a):
30wyswietlen i zadnego mozgowca? ;]
Nie bądź nachalny.
Gdy ktoś będzie chciał pomóc to coś napisze.
Zawsze możesz zażądać zwrotu pieniędzy, które pewnie hojnie wręczałeś osobom za udzielaną pomoc ;)
Offline
alex011 napisał(-a):
Debian Sid. Wczoraj to bylo stable.
[...]
Here's your problem.
Offline
To moze pocieszy was to ze to samo bylo na testingu ;] I podobny blad z tym samym jakies 2tyg temu gdy probowalem odpalic z stable.
Wiec to takie gdakanie bezsensowne. Sid twoj problem... Cos ala zainstaluj od nowa "moze" wtedy zadziala.
To czemu nie pisałeś, jak to samo było na stabilnym?
Ze stable można pokombinować tak czy inaczej.
Sid od stabilnego dzieli kilka tysięcy błędów, Jessie od stable dzieli na razie około tysiąca błędów.
EDIT:
Na Gentoo wystarczyło zainstalować passegera i railsa z portage, włączyć mod-passenger w konfigu Apacha, i już go widać w server-info.
Bez żadnych dodatkowych czarów.
To by było na tyle.
Ostatnio edytowany przez Jacekalex (2013-07-01 00:37:06)
Offline
Po prostu walka z instalacja tego juz mi tak szarpie nerwy ze przeoczylem by to dopisac ;]
Stabilnego nie chcialem i nie chce bo ma zacofane pakiety czesto potrzebne mi sa jakies nowsze z funkcjami a ten stable to o kant. Zwlaszcza ze sobie wszystko ladnie ustawilem obecnie i mi smiga.
Oprocz tego np ;]
Ostatnio edytowany przez alex011 (2013-06-30 23:52:16)
Nie sądzę żeby tak była w wydaniu stabilnym.
Problem wynika z tego, że w sidzie wygląda to tak:
Package: apache2.2-bin (2.4.4-6 and others)
Transitional package for apache2-bin
This is a transitional package for apache2-bin, and can be safely removed after the installation is complete.
Musisz czekać, aż wszystkie pakiety i ich zależności zostaną uaktualnione do odpowiednich wersji.
Używanie sida wymaga myślenia. Szczególnie gdy ma on pełnić rolę serwera.
Offline
Tu nie pelni roli serwera. Tylko desktopa.
Serwer to mam na Centosie. Nie ryzykowal bym instalacji sida .
Tu po prostu wole wpierw dowiedziec sie jak dziala to ruby i to odpalic potem tam.I ogolnie potrzebne mi na "dzien dzisiejszy" by napisac mala apke dla klienta ale nie spieszy mi sie az tak :P a do tego potrzebny jakis test. Albo jakis free serwer ruby a to ciezko znalezc. Ale wolal bym testowac na kompie.
A nie dalo by sie np ze bym dogral starsze paczki z dpkg recznie?
Ostatnio edytowany przez alex011 (2013-07-01 00:01:55)
W sidzie masz już apache 2.4, ale jeszcze nie wszystkie pakiety są dla tej wersji.
Próbuj na testingu.
Offline
A gdyby ngnix badz lighthttpd? :D
alex011 napisał(-a):
A gdyby ngnix badz lighthttpd? :D
Odcięli ci dostęp do repozytorium?
Sprawdź i podziel się wrażeniami. ;)
Offline
alex011: używając Sida warto opanować mieszanie go z testingiem w tego typu sytuacjach. Taki problem to żaden problem, normalna sytuacja w Sidzie.
Offline
No ok ale dodaje dodaje sobie repo testinga i wtedy co robie. Zwykle aptitude install pakiet chyba nie wystarczy?
W sumie może wystarczyć – przy problemach z zależnościami aptitude próbuje znaleźć jakieś ich rozwiązanie (gdy nie zgodzisz się na pierwsze, dostajesz drugie, potem trzecie itd.). Poza tym polecenia aptitude -t testing install pakiet (tymczasowe podbicie priorytetu pakietów z testinga do wartości 990) oraz aptitude install pakiet/testing (instalacja konkretnego pakietu w wersji z testinga).
Offline
Ok. dodam sobie to do "zlotych mysli" :PP Poki co przydalo mi sie to ze przynajmniej nauczylem sie konfigurowac wogole ngnix :D
Strony: 1