Sign in to follow this  
Followers 0

Как да инсталираме Ubuntu LAMP Server


1 post in this topic

Posted · Report post

Как да инсталираме Ubuntu LAMP сървър?

 

1. Инсталираме Apache

sudo apt-get install apache2

 

2. Инсталираме MySQL

sudo apt-get install mysql-server

 

3. Инсталираме PHP

sudo apt-get install php5 libapache2-mod-php5

 

4. Рестартираме Apache сървъра

sudo /etc/init.d/apache2 restart

 

5. Проверяваме Apache сървъра дали работи

http://localhost/

 

6. Проверяваме PHP-то

php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'

 

Поздравления! :)

UBUNTU.bg likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0