You are not logged in.

#1 2018-04-25 19:10:46

WarteX
New Member
Registered: 2018-04-25
Posts: 1

Hosting WebSite is it possible?

Hello, this is first time i'm using this one distribution of linux. I'm using it on my old laptop because this linux use very less resources than others.

So i wanna install apache2 but i can't there is no that package. Is there anyway to host site? Or i have to find another linux

Offline

#2 2018-04-25 20:08:29

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,368

Re: Hosting WebSite is it possible?

Way back we had a bug where the apt sources.list file was empty (wrongly so) after installation.

Check that /etc/apt/sources.list includes the lines:

deb http://cdn-fastly.deb.debian.org/debian jessie main contrib non-free
#deb-src http://cdn-fastly.deb.debian.org/debian jessie main contrib non-free

deb http://cdn-fastly.deb.debian.org/debian-security jessie/updates main contrib non-free
#deb-src http://cdn-fastly.deb.debian.org/debian-security jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://cdn-fastly.deb.debian.org/debian jessie-updates main contrib non-free
#deb-src http://cdn-fastly.deb.debian.org/debian jessie-updates main contrib non-free

deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main

Then, sudo apt-get update && sudo apt-get install apache2.

See also this thread: https://forums.bunsenlabs.org/viewtopic.php?id=1526


A silent kite against the blue, blue sky

Offline

#3 2018-04-25 21:52:08

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: Hosting WebSite is it possible?

our bl-welcome script can assist you in setting up a development LAMP stack. Additionally,

apt-cache policy apache

should returnsomething like this:

apache2:
  Installed: 2.4.25-3+deb9u4
  Candidate: 2.4.25-3+deb9u4
  Version table:
 *** 2.4.25-3+deb9u4 500
        500 http://security.debian.org stretch/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.25-3+deb9u3 500
        500 http://deb.debian.org/debian stretch/main amd64 Packages

If not, see twoion's instructions above.

Offline

#4 2018-04-26 05:00:42

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,143
Website

Re: Hosting WebSite is it possible?

If you installed from the CD iso then the apt index has been left out to save space. You need to regenerate it by running:

sudo apt-get update

before running any apt-get or apt-cache commands.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

Board footer

Powered by FluxBB