I just started with linux and I wanted to mount a local server with mysql and phpmyadmin to practise some sql.
Thing is, I'm fucking lost. Not that I couldn't just copy and paste commands from some tutorial, but I want to understand what is really needed for my needs, and do it before tomorrow. For example some guides tell you to apt-get php and others to apt-get php.7 or whatever.
Besides there are some modules that might or might not be needed, and I wanted just the minimal things required.
So how do I proceed?
For now I have the following:
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install mysql-server
the problem comes with php and phpmyadmin and the modules you can install. Some say x and y, then other guides say x, y and z for the exact same purposes
.
> php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming fucking-shit
Can you help me? All I want is to get the latest versions of these programs in order to run a local mysql database and manage it through phpmyadmin, and just the strictly necessary modules to run it. Nothing extra.
Also what about lamp-server^ ?
I don't know if this is the right place to ask, but thanks if you can help me.
Please post gentoo related support questions only.
>>59833662
doesn't' installing php-myadmin drag in all the dependencies it needs?
>>59833697
I don't know, I'm new. Never knew it would be so complicated to do something so simple.
>>59833743
well whenever you install a package in ubuntu it will also install all the other things that the package needs to run (along with some recommended packages that you may well want but aren't required)
>>59833851
lol thanks I wonder then why every tut out there makes you do all those steps, by the way do you know a way to uninstall absolutely everything that it installs so that it'd be like I hadn't installed anything?
>>59833743
it's not complicated and there's so many guides out there it's not even funny
sudo apt-get install lamp-server^
you're welcome
>>59833979
>a way to uninstall absolutely everything that it installs so that it'd be like I hadn't installed anything?
that can get tricky, apt-get remove "package name, should remove dependencies as well...kinda - its supposed too, but often doesn't
apt-get purge "package name", can be used to also remove all configuration files a pakcge makes
also of note is apt-get autoremove, which should clean up any orphaned packages that are no longer required by any other packages.
if you're worried about mucking things up, the best way to learn is to use a virtual machine where you can play to you're hearts content and just wipe/reinstall
>>59834020
No one really explains it as they should. Hence why I'm here after reading almost them all.
>>59834031
Yeah I mentioned this option, of which I still don't know exactly what it does. I do know it doesn't install phpmyadmin, or at least I think so, so I remain the same about it.
>>59834072
Yeah, I am using that but mine's slow and there's only a certain amount of time I can use to figure things out. This should be way easier. Anyways thanks for the help.