Results 1 to 15 of 15
  1. #1

    Some questions about technical things on dedicated server

    Hello, I've just installed webmin on fedora 1 on my new server,

    but my question is, my apache is still 'down', so how do I make it 'up'?

    also, after installing this webmin, what do I have to do after that to make all services up? like ftp, mysql, also how do I setup domain? Do I need usermin for this?

    I'm trying to learn something here^^ please help me

  2. #2
    Join Date
    May 2003
    Posts
    472
    I havnt used webmin and I'm sure it has a page where you can start/restart services, however you could just login to shell as root and type:

    service httpd restart
    service mysql restart
    service pure-ftpd restart (if running pure-ftpd)

    You should probably read their documentation at http://www.sco.com/support/docs/open...min-intro.html .

  3. #3
    hmm do you know where is the default path to mysql?

    Because in webmin it says:

    The MySQL admin program /usr/bin/mysqladmin was not found on your system. Maybe MySQL is not installed, or your module configuration is incorrect.

    Also what ssh command to check wether mysql is installed or not?

    thanks.

  4. #4
    If no one install mysql from source, then try this command

    rpm -qa | grep mysql

    if there is nothing show up, then there is no mysql packages install.

    If some one install from source, and forget to set PATH for mysql, you have to look around ? like /usr/local/mysql , /var/mysql, etc

    I hope this help

  5. #5
    Doesnt Fedora, Apache always come with mysql?

    I tried the rpm -qa | grep mysql and nothing show up

    I found mysql folder on:

    /var/lib/mysql

    /usr/lib/mysql (only contains 1 file ?.?)

    /usr/bin/ <---- have many mysql folders

    But I couldn't find the 'mysqladmin'...

    Also, how do I check if MySQL is really installed on my server?

    Thanks

  6. #6
    I think it takes not much time to install mysql . Go to fedora website and down load mysql(whatever).rpm , then install it using this command. ( Do this only if this is your new server, or you don't care any exist mysql database on your server )

    sudo rpm -Uvh mysql(whatever).rpm

    (whatever mean whatever mysql version come with fedora )

  7. #7
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,790
    To make sure that all the necessary services are up and since you are using Fedora, issue the following commands as root in SSH:
    Code:
    chkconfig httpd on
    service httpd start
    The above is provided you install httpd using RPM not compile and install from source. If you install from source, then provided you add in the start script and is compatible with chkconfig.

    For the list of services being set to startup during bootup (asumming your default runlevel is set to 3), do this command as root in SSH:
    Code:
    chkconfig --list | grep 3:on
    Hope this helps ;)
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  8. #8
    Originally posted by dnn
    I think it takes not much time to install mysql . Go to fedora website and down load mysql(whatever).rpm , then install it using this command. ( Do this only if this is your new server, or you don't care any exist mysql database on your server )

    sudo rpm -Uvh mysql(whatever).rpm

    (whatever mean whatever mysql version come with fedora )
    um... its the same as if I download it from mysql.com right?

    or is it different...? there's so many 'mysql' thingy on fedora's website - which one to download ?

    Thanks

  9. #9
    Originally posted by choon
    To make sure that all the necessary services are up and since you are using Fedora, issue the following commands as root in SSH:
    Code:
    chkconfig httpd on
    service httpd start
    The above is provided you install httpd using RPM not compile and install from source. If you install from source, then provided you add in the start script and is compatible with chkconfig.

    For the list of services being set to startup during bootup (asumming your default runlevel is set to 3), do this command as root in SSH:
    Code:
    chkconfig --list | grep 3:on
    Hope this helps
    hmm what does those commands do?

    If I'm not mistaken, 'chkconfig httpd on' is to start apache if its off and 'service httpd start' is also to start apache, right?

    And 'chkconfig --list' is to list services?

    Please correct me ^^ those commands doesnt do anything to the system right?

    Thanks.
    Last edited by Kuroro Luc; 05-20-2004 at 09:27 PM.

  10. #10
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,790
    Well... I won't explain what you have asked as just a single command will explain better than I can:
    Code:
    man chkconfig
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  11. #11
    Originally posted by choon
    Well... I won't explain what you have asked as just a single command will explain better than I can:
    Code:
    man chkconfig
    ?.? I dont understand what you mean by that

  12. #12
    can I just uninstall the mysql then grab the mysql server 4 rpm from mysql's website then install it again with only one ssh command ?

  13. #13
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,790
    Originally posted by Kuroro Luc
    ?.? I dont understand what you mean by that
    nvm... I mean in SSH, issue the command:
    Code:
    man chkconfig
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  14. #14
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,790
    Originally posted by Kuroro Luc
    can I just uninstall the mysql then grab the mysql server 4 rpm from mysql's website then install it again with only one ssh command ?
    Do you have important databases already?
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  15. #15
    nope^^

    Is there any mysql database administration php script?

    thx...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •