Re: Starting mysql and sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dotan,

It's been a while since I have done this, but I can give you the 10000 ft view of what you need to do off of the top of my head.

1. Starting mysql.
  If you used the mysql on the fedora disk go to /etc/rc.d/init.d and execute 'su -c "mysql start" ' minus the ' characters.  It will prompt you for the system's root password.  Enter it and mysql should start.  Note that this will only work assuming you haven't changed the root password.

2. Adding mysql users and configuring your mail.

I'm a really cheater here, I just use webmin.  You can download it at www.webmin.com.  You will need to use "yum install <package name".  To install the perl ssl libraries.  If you download the tar.gz distribution and attempt to install it, it will tell you what you need to get ssl working.  You definately want to use ssl, so perform a "yum search <regular _expression_>" to search for the correct ssl package.

3. Mailing.  I'm not sure about FC4, but FC2 comes ready to work out of the box.  Make sure that you're sending mail through your localhost machine.  Otherwise it won't send mail since relaying is disabled.  You want to keep it this way unless you're really sure what you're doing, otherwise people can use your server and bandwidth to spam.  Also, before you modify anything, call your ISP and make sure they don't block port 25.  It took me 2 weeks to realize I had a perfect Qmail setup, but SBC blocks port 25 on all DSL lines unless you request it unblocked.  This is again to reduce spamming.

Misc.  If you download webmin, I would also recommend shorewall firewall.  It's very easy to configure, and has taught me quite a bit about networking and security.

Todd


On 8/23/05, Dotan Cohen <dotancohen@xxxxxxxxx> wrote:
Hi list,
I just installed php, mysql, apache, and sendmail from Add Packages,
using the FC4 disks. I have got apache up and can serve php pages on
localhost. I need to access mysql and sendmail, and am having little
luck finding information on the web.

I started apache with "service httpd start" and sendmail with "service
sendmail start" but "service mysql start" isn't quite working. How is
mysql called? Also, I need to add a user to mysql, but even the
tutorial on the mysql assmes that a user was created in installation,
and does not show how to create one! How can I create a user? The
answer is not in man mysql or man mysqladmin. I asked in the mysql
list about two hours ago, but I have yet to recieve a response. I am
not impatient, but I figure that _may_ be on-topic enough for this
list, as I surely am not the first to install mysql from the FC4
disks.

Although I get no output when I start sendmail, I cannot send mail
using php's mail() function. No error, but no mail. Also, no error in
the apache log. Should I ask what to check on the php-general list, or
is it on-topic here? If so, what to check?

Thanks everybody!

Dotan
http://lyricslist.com/lyrics/artist_albums/166/doobie_brothers.php
Doobie Brothers Song Lyrics

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux