intellipaster.blogg.se

Unraid setup lamp
Unraid setup lamp













unraid setup lamp
  1. #UNRAID SETUP LAMP HOW TO#
  2. #UNRAID SETUP LAMP INSTALL#
  3. #UNRAID SETUP LAMP SOFTWARE#
  4. #UNRAID SETUP LAMP PASSWORD#

One of those selections is a LAMP server.

unraid setup lamp

#UNRAID SETUP LAMP SOFTWARE#

This command will open a curses-based tool (see Figure 1) which allows you to select numerous software options for installation. From your terminal window, issue the command: But what about this one-command method? Simple. Start the MySQL server with the command sudo /etc/init.d/mysql start. Now quit the MySQL prompt by issuing the command quit and hitting enter.

#UNRAID SETUP LAMP PASSWORD#

Log into MySQL with the command mysql -u root -p.Īs no password has been configured, you will only need to hit enter when prompted for the password.Įnter the command SET PASSWORD FOR = PASSWORD (‘YOURPASSWORD’) Where YOURPASSWORD is the password you want to use for the administrative user. After the installation is complete you need to log into the MySQL prompt and give the administrative user a password.

#UNRAID SETUP LAMP INSTALL#

The first step is to install the server itself with the command :Īgain, depending upon your OS installation, there might be some dependencies to be installed. This installation requires a few more steps than what you’ve just experienced. MySQL is the database piece of the puzzle. Save that file and place it in /var/You should see “Test PHP Page” in the browser. In your terminal window, create a new file called test.php. Now, let’s give PHP a little test to make sure it has installed. When the installation is complete, restart Apache with the command: Allow apt-get to pick up those dependencies. NOTE: Again, depending upon your OS installation, this might require some dependencies to be met. Sudo apt-get install php5 libapache2-mod-php5 You are ready to move on to PHP.įor the purposes of this article, we will assume the “P” stands for “PHP.” To begin the process of installing PHP, issue the following command: You can now open up a browser and point it to the IP address (or domain) of the server to get the famous “It works!” page. If it doesn’t, issue the following command: At the end of the installation, Apache should automatically start. If, by chance, you are using a distribution that does not use Sudo, you will need su to the root user and issue the above command without the sudo command.ĭepending on your OS installation, the above command might need to pick up some dependencies.

unraid setup lamp

From within your terminal window issue the command: We’ll tackle the installation a bit out of order (from the acronym).Īpache is the web server piece of our puzzle. Remember, you are going to be using the command line, so open up your favorite terminal window (or, if you’re using a GUI-less server install, log in). So there are only three major steps to take care of in order to get your LAMP server up and running. Either way, it’s all command line from here.īecause the OS is already installed, all we have to install is Apache, MySQL and PHP. This machine can be either a standard installation or a Ubuntu Server installation. And this article will be installing the LAMP server on a Ubuntu 9.10 machine. I will assume you are already dealing with a working Linux install. NOTE: This article won’t actually deal with the installation of Linux.

#UNRAID SETUP LAMP HOW TO#

I will show you how to install a LAMP server one piece at a time and then I will show you how to install a LAMP server with a single command. And in this article I will show you two different ways to install a LAMP server. Actually, installing a LAMP server is, on the contrary, quite easy. To those, the idea of installing an entire server environment from command line is absurd and, most likely, impossible. Since the LAMP server’s underlying foundation is Linux it enjoys rock-solid reliability, security, and can be installed on all kinds of hardware (from that old white-box you have to a multi-CPU, RAID-enabled rack server).īut to most people, Linux is unfamiliar territory. It will happily serve up dynamic, database-driven web sites without needing constant babysitting. The LAMP server (Linux, Apache, MySQL, PHP (or Perl) is one of the most important servers you might ever set up.















Unraid setup lamp