Linux & phpmyadmin

Talk about anything in here.
Fidbeck
Posts: 147
Joined: Tue Sep 25, 2012 11:40 pm

Re: Linux & phpmyadmin

Post by Fidbeck »

There is no laucher?
What do you mean there is no launcher?

You can create one to bootup those apps.
In mint i've created a launcher to open lampp. and wronte something like gekit opt/lampp/lampp start
Its much faster than having to go to the Terminal and type opt/lampp/lampp start
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Linux & phpmyadmin

Post by jacek »

phpmyadmin is a collection of php scripts, it's basically a website. So it does not have to start and stop it's just kind of there
Image
Fidbeck
Posts: 147
Joined: Tue Sep 25, 2012 11:40 pm

Re: Linux & phpmyadmin

Post by Fidbeck »

I know that. it was a mistake what I said.
what needs to be started are MySQL and Apache.
Making a script in Linux to start those programs almost at the same time is much faster then going to the terminal and start each one individually I guess

So you know how to make that script?
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Linux & phpmyadmin

Post by jacek »

Ah okay.

You can just put the list of commands in a .sh file, you will be able to run that.
Image
Fidbeck
Posts: 147
Joined: Tue Sep 25, 2012 11:40 pm

Re: Linux & phpmyadmin

Post by Fidbeck »

but how?
I can't simply write Apache2 and phpmyadmin. That won't work.
Hoe do you start those services in your system?
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Linux & phpmyadmin

Post by jacek »

I do
/etc/init.d/apache2 start/stop
and
/etc/init.d/mysql start/stop
Image
Fidbeck
Posts: 147
Joined: Tue Sep 25, 2012 11:40 pm

Re: Linux & phpmyadmin

Post by Fidbeck »

In a sh file right?
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Linux & phpmyadmin

Post by jacek »

Fidbeck wrote:In a sh file right?
Yup. Then make it executable and it should work.
Image
Fidbeck
Posts: 147
Joined: Tue Sep 25, 2012 11:40 pm

Re: Linux & phpmyadmin

Post by Fidbeck »

Odd enough I've installed Apache and phpmyadmin and all that stuff using wide_load's tutorial ( :twisted: ) and it seems that I really don't need to start those services.
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Linux & phpmyadmin

Post by Helx »

Fidbeck wrote:Odd enough I've installed Apache and phpmyadmin and all that stuff using wide_load's tutorial ( :twisted: ) and it seems that I really don't need to start those services.
If you stop your server....?

Normally services start through the console. This is what I had typed to start Apache and whatnot:
service apache2 start
etc etc
Fidbeck
Posts: 147
Joined: Tue Sep 25, 2012 11:40 pm

Re: Linux & phpmyadmin

Post by Fidbeck »

only by accident xD but if I do I know I can come here and get help :)
Post Reply