Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just installed phpmyadmin, via my package manager. How do I start a program in Linux, also how do I see if php and mysql is running? Sorry if these are dumb questions. Is there a good place to learn these things?
I'm not familiar with phpmyadmin. There may be a README file in /usr/share/doc/phpmyadmin-<version>/ or /usr/share/doc/packages/phpmyadmin/. Often you just need to point your browser to a certain port on localhost. However, there may be something to do first, such as editing a line in a /etc/xinet.d/phpmyadmin. There probably is a more comprehensive manual installed as well.
For mysql, you can configure the mysqld service to start on certain runlevels. You can also use the "service" command to start and stop the service manually. On SuSE linux, there will be an rc script to manually start/stop/restart services.
"sudo /usr/sbin/rcmysql start". On other distro's you could probably use "sudo service mysql start".
The mysql package also installed a comprehensive manual. Be sure to read the section on post installation security. You need to perform the steps which add a root password. The phpmyadmin documentation probably has a similar procedure, being designed to allow admin access to mysql over the web, you probably have a bit of work to do before you can use the program safely.
Probably the easiest way for you to proceed is to locate the script that starts Apache. Mepis may have a graphical control panel that you use to start/stop services. If it does and you know where it is, use it to start Apache (which also might be known simply as httpd).
If Mepis doesn't have this or if you don't know, then the way to do it is to open a shell window and su to root.
Then issue this command:
locate httpd
If apache is installed, this will give you a lot of results, but you are looking for results located someplace in the /etc directory. You may find it in /etc/init or in /etc/init.d or in /etc/rc.d/init.d, or perhaps someplace else depending on how Mepis does it.
When you find the script, change to the directory it is in using the cd command. Then execute the command
./httpd start
and see what happens. If your apache is correctly configured it will start. If you have PHP properly installed, you then will be able to start phpmyadmin from a web browser.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.