| 11:16 pm on Jul 22, 2004 (gmt 0)|
I use the terminal to do that.
Open the terminal and type cd /etc/httpd/
Once there type pico httpd.conf
pico is a text processor.
Hope this helps.
| 11:34 pm on Jul 22, 2004 (gmt 0)|
It helps.Thanks. I typed"sudo pico /etc/httpd/httpd.conf" enter, it didn't prompt for a password. So I cann't move on. Don't know why?
| 11:46 pm on Jul 22, 2004 (gmt 0)|
You need to "su" then enter the password then pico the file.
| 11:52 pm on Jul 22, 2004 (gmt 0)|
Sorry Sir, I still don't understand what is the " su " meaing?
Should I type " su " after I typed "sudo pico / etc/httpd/httpd.conf or after I hit the enter button in the keyboard?Thanks.
| 1:05 am on Jul 23, 2004 (gmt 0)|
do you know where can I modify the hostname in the Mac by using the terminal Unix Command. Here is the computer asking me to fix the problem of hostname:
[Charlton:/usr/local/mysql] lukicd% sudo ./scripts/mysql_install_db
Neither host 'Charlton.net.abc.com' and 'localhost' could not be looked up with
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
| 1:12 pm on Jul 23, 2004 (gmt 0)|
It sounds like you may be trying to install these apps from an account that does not have administrator privileges.
sudo failed, did it report something about you not being in the sudoers file? If so, that's what's going on.)
To get Administrator access, you can either log into Mac OS X with an administrator account, or you can boot the Terminal and type:
To make your life easier, you may want to consider using a text editor like jEdit or BBEdit to open your Apache config files.
| 4:52 pm on Jul 23, 2004 (gmt 0)|
Appreciated! I guess I need my correct password first.
| 6:58 pm on Jul 23, 2004 (gmt 0)|
I got the password, and terminal directs to this below:
[Charlton:/usr/local/mysql] lukicd% sudo ./bin/mysqld_safe&
[Charlton:/usr/local/mysql] lukicd% A mysqld process already exists
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.0.18-standard
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
Now I want to create a database, not sure those information tell me mysql is running correctly?
| 5:49 pm on Jul 26, 2004 (gmt 0)|
|A mysqld process already exists |
That's just telling you tried to start mysql when it was already running. If you get the mysql prompt, mysql is running.