Download and Install Wordpress

Wordpress download and install

WordPress download and install via the Shell Over SSH Usually you install WordPress by download the WordPress zipped files, unpack them on your computer, go to the Wordpress subfolders, upload and run the scripts, not to speak of going to your host's own web browser to get the data base set-up and everything. Today, most hosted schedules provide SSH/command line functionality, so you should definitely consider the SSH way to download and install WordPress on your servers.

One of the big advantages you have is that you don't have to go to different websites, you don't have to download/upload or open different controls panel. Now open the PuTTY window, type your domainname in the "Hostname (or IP address)" field, under "Port" type the number of the SSH connection and click Open.

Type your user name and hit return. You will now be asked for your correct login name. Please be aware that while entering your passcode you will not see that it is being entered on the monitor. After entering your passcode, push Return and you will be registered. Type the following into your terminal clients to use SSH to link to the Web site prompt: the -p button instructs it to use portnumber 22.

When your hosting allows SSH on the standard 22 ports, you can leave out -p and 22 in the above instruction, otherwise replace 22 with your hosting's SSH number. This is the shell commandline where you will enter all your instructions from now on. After logging on to our SSH servers, we must first go to the right folder where we want to set up our blogs, download the file and unpack it.

Assuming that the folder where you want to install your blogs is the blogdemo located in the public_html folder, use the following command: Well, now that we have arrived at the right folder, we will download WordPress with the instruction 'wget'. Use the above instruction to download the latest WordPress installation from your web site and extract the files to the demo folder.

x, f, and z are arguments that tell the Tar instruction to pull the content, that the file name of the file cabinet is specified on the instruction line, and that it should use GPIZE for each of the extractions. All WordPress archives now have the install file under a Wordpress folder and after extracting, you will find a Wordpress folder under the blog demo folder containing your work.

To move the data back to where you want it to be, use the following commands: Sends the content of the Wordpress folder to the actual folder. Whenever you want to verify what the actual folder is made of, enter 'ls'. If required, you can use the following instructions to remove both the Wordpress folder and the archived file:

At this stage, we build and assign the data base and the corresponding users. Then, we will use the infamous 5-minute installation of WordPress to complete it. Notice: Before you continue, you must verify whether or not you have the permissions to build a base.

A simple way to verify this is to verify in your admin whether you can or cannot build a data base from there. First, you must log on to the MySQL console using the following command: You will be prompted for your MySQL passphrase. Enter your username and you will receive a message like this:

After logging on to the MySQL server, we first build a MySQL server and give the users permission to use it. Now use the following commands: Creating DB Name; Granting Use for *. username@localhost, identifies by'password'; assigns all permissions for cbname. username@localhost; don't miss the semicolon at the end of each MySQL statement.

Use the first one to create the data base. With the second instruction the operator can reconnect to the data base. This last instruction gives the end users all permissions for this particular data base. To test whether your databases were created successfully, run this command: You should say that the data base has been modified. You can now quit the MySQL console by entering 'exit'.

Start the blogs in your web browsers and do the normal WordPress installation and use the information we used in the third stage to set up your wp-config. php and then your blogs. In our example we will use an already available data base operator to establish a connection to the new data base.

However, if you want a different account for each of the databases, you need to add a new account to be able to connect to that one. When you are in the shell, use the following command to generate a new account and specify its passcode. mysql> Generate the user'dbusname'@'localhost' which will be authenticated by'password'; go back to steps 3 and execute all other command with this name.

Use the I button to go to "Insert Mode" and the arrows to move through the data set. In order to leave Vim, you have to typ':' (without quotation marks) and then typ "wq" and hit return, this saves your changes and quits Vim.

Mehr zum Thema