Create a linux web server

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
User avatar
js3915
Level 3
Level 3
Posts: 177
Joined: Fri Jul 05, 2013 5:35 pm

Re: Create a linux web server

Post by js3915 »

jack0987 wrote:I do prefer working from the GUI if possible. If I could log in as root in the GUI from time to time it would be helpful.
Is there a way?
For Apache i havent really found any GUI like IIS for configuring.. But like i mentioned Webmin is amazing tool can do 99% of the config for apache.. There maybe another GUI for apache can search the web then software manager but would suggest webmin highly for the GUI
jack0987 wrote: Though I plan to use MariaDB, I was wondering if I also could install mysql to have a look at it?


Id just stick with MariaDB its the default in most distros they are both interchangeable yes but not worth the effort
jack0987 wrote:Also, per my GUI preference, I was looking about for a MariaDB GUI administrator but did not find one on the MariaDB site.
Is there one.
Go with phpmysql its webbased as well but really nice and powerful.. Although i do believe the Mysql bech or admin tool works fine for mariadb..

User avatar
js3915
Level 3
Level 3
Posts: 177
Joined: Fri Jul 05, 2013 5:35 pm

Re: Create a linux web server

Post by js3915 »

jack0987 wrote:sudo apt-get install mariadb-serverSee

I get the message "unable to locate package mariadb-serverSee"
Might double check that dont think see at the end is correct might just try mariadb-server.. might try mariadb then press "tab" might give you choice or autocomplete idk if it works in mint

there is also an apt-cache search <searchterm> so apt-cache search mariadb should return what the repos have for mariadb

afterwards you have to run i believe the mysql-secure-installation or something like that but youll be good to go afterwards

jack0987
Level 3
Level 3
Posts: 114
Joined: Fri Jul 18, 2014 9:24 pm

Re: Create a linux web server

Post by jack0987 »

I seem to have solved the MariaDB install issue.

How many times have we all done it. The command line was wrong.
When I copied it, the first word of the line below was added to it.
So, of course, it could not locate a package by that name.

Still looking for the MariaDB GUI Administrator.
Last edited by jack0987 on Thu Jul 24, 2014 4:00 pm, edited 1 time in total.

jack0987
Level 3
Level 3
Posts: 114
Joined: Fri Jul 18, 2014 9:24 pm

Re: Create a linux web server

Post by jack0987 »

Thanks js3915.

you said - "afterwards you have to run i believe the mysql-secure-installation or something like that but youll be good to go afterwards"

I am not aware of this and have not read it anywhere as yet.
Might you have more info?

By phpmysql do you mean phpmyadmin?

User avatar
mbohets
Level 2
Level 2
Posts: 97
Joined: Sun Apr 28, 2013 8:26 am
Location: Belgium

Re: Create a linux web server

Post by mbohets »

When I go to the link you posted, the instructions are
sudo apt-get install mariadb-server
and not
sudo apt-get install mariadb-serverSee

sudo apt-get update sudo apt-get install mariadb-server
See Installing MariaDB .deb Files for more information and for instructions on installing MariaDB Galera Cluster.

See is comming from the next sentence, I think you copied a bit too much.

Why not install it from the normal mint repo's
Je suis Charlie, how many more people have to die for religion

User avatar
js3915
Level 3
Level 3
Posts: 177
Joined: Fri Jul 05, 2013 5:35 pm

Re: Create a linux web server

Post by js3915 »

jack0987 wrote:you said - "afterwards you have to run i believe the mysql-secure-installation or something like that but youll be good to go afterwards"
my bad been awhile since i done a mariadb install had to fire up a vm and run the apt-get command.. mint/debian sorta do that during install and run a semi gui/text dialog to setup the root passwd etc so if you installed it your good to go
jack0987 wrote:By phpmysql do you mean phpmyadmin?
yeah thats what i meant :lol:

what i get for trying todo it from memory thank god for tab completion

jack0987
Level 3
Level 3
Posts: 114
Joined: Fri Jul 18, 2014 9:24 pm

Re: Create a linux web server

Post by jack0987 »

Thanks, again, everyone.

It now appears that I have apache2, php5, MariaDB 5.5, and phpmyadmin all setup and running correctly.

This may be a good time to consider an apache GUI.

js3915 - per your suggestion, I am looking over http://webmin.com/

eanfrid - you suggested ssh but I do not find a link for it. Could you please provide one?



mbohets - you said, "Why not install it from the normal mint repo's"
I am not aware of their repo's. Could you please elaborate?

User avatar
js3915
Level 3
Level 3
Posts: 177
Joined: Fri Jul 05, 2013 5:35 pm

Re: Create a linux web server

Post by js3915 »

jack0987 wrote:eanfrid - you suggested ssh but I do not find a link for it. Could you please provide one?

Code: Select all

sudo apt-get install openssh-server
Though you will need something like Putty for windows to ssh into your machine as windows doesnt really have an ssh client
http://www.putty.org/

Terminal command is

Code: Select all

ssh username@<Server name or IP Address>
Then your at terminal window in your mint box
mbohets - you said, "Why not install it from the normal mint repo's"
I am not aware of their repo's. Could you please elaborate?
Think he means just use the GUI software manager.. Actually i think that is the name in Mint :D but only guessing that what he meant... But youll appreciate learning terminal long term esp if you stick this server in a closet and only have remote access..

Post Reply

Return to “Newbie Questions”