LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installed Ubuntu and cant install web server (https://www.linuxquestions.org/questions/linux-newbie-8/installed-ubuntu-and-cant-install-web-server-4175532403/)

peterhen 01-29-2015 11:41 AM

Installed Ubuntu and cant install web server
 
I recently installed ubuntu to my vm workstation and keep getting a blinking cursor
i know its the server version and thats the norm but how do i install the web and file servers

yancek 01-29-2015 12:34 PM

If you are just seeing a blinking cursor, something went wrong with the install. It should boot to a login prompt.

273 01-29-2015 12:44 PM

If your install did work then to install Apache you will need to type something like
Code:

apt-get install apache2
Hopefully it goes without saying that if you are asking this the machine should not be exposed to the internet.
For Debian-based distributions, of which Ubuntu is one, you use apt-get or aptitude to install and remove packages as well as to upgrade existing packages. You can also use apt-cache to search for packages. I suggest you read up on these commands if you want to use Ubuntu in future as they are used regularly. (I have to confess that I always use apt-get and have not used aptitude so I don't know the differences between the two but suffice it to say that you should endeavour to use one or the other and not both)

peterhen 01-29-2015 12:44 PM

okay thanks I just started a class and its only four weeks long
which distro would be better for someone who only works with win 2008 R2

273 01-29-2015 12:47 PM

Quote:

Originally Posted by peterhen (Post 5308437)
okay thanks I just started a class and its only four weeks long
which distro would be better for someone who only works with win 2008 R2

I would say use whatever your class is using as an example. Ubuntu is a perfectly good distribution to use but if your class is about Red Hat, for example, then it would not be a good choice.

BBoppie 02-01-2015 07:09 AM

If you installed Ubuntu Server then there should have been an option to install several different servers
including LAMP which encompasses apache, mysql, PHP and others.

cesarbergara 02-04-2015 10:48 AM

Hi. Aptitude is a front-end friendly for dpkg or apt-get.
Is easy to use (not at the begining) and really versatile.
It may take some time to understand how to work (if you use other commands like dpkg or apt-get, during years), but is a good tool for package management.

Try it.

Have you a nice day.


All times are GMT -5. The time now is 12:59 AM.