do su in a console
and then
/etc/init.d/apache start
I'm running Knoppix 5.1 as a LiveCD.
I tried service hhtpd start to start Apache, without success.
Can someone help me please in starting Apache?
do su in a console
and then
/etc/init.d/apache start
Go to a Console and type the following command:
/etc/init.d/apache2 start
Don't omit the 2 after apache, it is easy to do !
to stop, change the start to stop
to get the status of apache, change start to status
to reread the config files, change start to reload
to stop and then restart the server, change start to restart
I believe just giving the command apache2 -V at the console will provide info on
config files and the version of apache
If the above does not work then try this:
sudo vi /etc/apache2/apache2.conf
and add ServerName localhost at the end of the file.
Press 'i' and a big insert shows up at the bottom command line
now add
ServerName localhost
to the end using the arrows.
press the following keys
Esc > colon > x > Enter
this will write and save and exit vi.
now type in su root
apache2 -k start
hth
(check out apache2 -h for info)

Intel Core i7-3770K 3.5 GHz Processor
$39.00
Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS
$67.99
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6
$10.99
Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99
Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49
Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor
$62.95
Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested*
$32.99
Intel 6th Gen Core i7-6700K 4.0GHz (Turbo 4.2GHz) 4-Core LGA1151 CPU SR2L0
$38.00
Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD
$27.99