When I try apache start (under etc\init.d) I get an error:
host valid name not found in ServerName. How do I fix this ? How can I edit a config file like hosts ?
thanks
Rubens
When I try apache start (under etc\init.d) I get an error:
host valid name not found in ServerName. How do I fix this ? How can I edit a config file like hosts ?
thanks
Rubens
Here's what I did:
Delete the symbolic links /etc/hosts and /etc/hostname
copy the same files back from /KNOPPIX/etc/hostname and KNOPPIX/etc/host
Edit the files to define the appropriate new names, and then run the command:
hostname your_new_hostname
Lars.
Tak Lars !
I try what you said but I cannot save the edited files or even delete them. How can I change the properties of the config files so I could change them ?
Rubens
--You *are* doing this as Root, aren't you?![]()
Originally Posted by rubis
As the login is automatic, I think I was logged as root ! !!!
How do I login as root ? Using su- ? What's the password ?
rubens
--You would do well to browse the historical posts on this board and on http://www.linuxtag.org/cgi-bin/yabb...ard=knoppix-en before asking such a question, but here we go again...
Just hit Ctrl-Alt-F1 and you will be at one of (4) Root prompts. F1 thru F4. Alt-F5 (or is it F7?) gets you back to the GUI.
--Just as There Is No Spoon, there is no root password.
--You would also do well to learn the SEVERE DANGERS INVOLVEDwhen you try running everything as root. This is why we have USER accounts. Otherwise you make it EASY for your system to get cracked.
Originally Posted by Anonymous
OK! It works now ! Thanks !
I also found an easy way:
There is an option in the KDE menu for "Browse files as Root"or something like this, in system. From there you can delete and edit very easy the files.
After that just put your html page in var/www/ . and call apache.
In 5 minutes (including boot) you can put a webserver "on air" :>)
Another question now is : How do I enter as root if I start Knoppix in only text mode ?
would work i thinkCode:sudo su
--If you boot Knoppix into text mode from the CD, you are already at a Root prompt, and still have Ctrl-Alt-F1 thru F4. But if you need to get a root prompt from KDE, start a Konsole or other (such as rxvt) shell, and type ' sudo bash '.Originally Posted by Anonymous
[quote="Dave_Bechtel
Just hit Ctrl-Alt-F1 and you will be at one of (4) Root prompts. F1 thru F4. Alt-F5 (or is it F7?) gets you back to the GUI.
[/quote]
DO NOT tell people to hit Ctrl-Alt-F1 again!
I could not get back to the GUI after that, and I had to finally shut down manually by doing the shutdown -r now thing.
F1-F4, Alt-F5 (or F7) would not work.
so I repeat DO NOT TELL SOMEONE TO DO THAT AGAIN!
thank you.
and to answer your question,
you don't need to use sudo
just type su at a command terminal and you'll be at root
knoppix logs on as user knoppix (even though it askes you what username and password you want, it still uses the default knoppix anyways) so just type su to get to a root prompt, thats it.
or su [username] to switch users

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99
INTEL CORE I5-11600 2.80GHZ PROCESSOR | SRKNW
$109.99
INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00
Intel Core i5-12600 SRL5T 12th Gen Desktop Processor 3.30GHz LGA1700 CPU
$185.00
Intel Core i7-9700 3.00 GHz LGA 1151 Desktop CPU Processor SRG13
$79.99
AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065
$135.00
Intel Core i9-9900 3.10GHz CPU Processor SRG18
$165.00
Intel Core i5-7500 Processor (3.4 GHz, 4 Cores, LGA 1151) - SR335
$12.99
Lot of 2 INTEL CORE ULTRA 5 245 PROCESSOR | 3.50 GHZ | SRVFE
$256.99
Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00