You are not logged in.

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

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


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

Registered: 2015-08-10
Posts: 2,424

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 jessie main contrib non-free
#deb-src jessie main contrib non-free

deb jessie/updates main contrib non-free
#deb-src jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb jessie-updates main contrib non-free
#deb-src jessie-updates main contrib non-free

deb bunsen-hydrogen main

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

See also this thread:

Tempus fugit


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

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:

  Installed: 2.4.25-3+deb9u4
  Candidate: 2.4.25-3+deb9u4
  Version table:
 *** 2.4.25-3+deb9u4 500
        500 stretch/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.25-3+deb9u3 500
        500 stretch/main amd64 Packages

If not, see twoion's instructions above.


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

From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,458

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.

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


Board footer

Powered by FluxBB