Upload
yasin-yussuf-magan
View
225
Download
2
Embed Size (px)
DESCRIPTION
free
Citation preview
installing word press on ubuntu
in the process of installing wordpress on ubuntu, the following steps will be taken:
1. installing webserver (Apache2)
sudo apt-get install apache2
copy, this code and put it ,before the </VirtualHost> entry.
Directory /var/www/html/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>create user
the next step is creating the database which the word press will use.
create database wordpressdb
create user wpadmin@localhost identified by 'admin123';
2. isntalling PHP and other required packages
sudo apt-get install php5 php5-gd php5-ldap php5-xmlrpc php5-mcrypt php5-common php5-snmp php5-curl php5-mysql
3. installing the latest wordpress
i. download the the latest wordpress as zip using
sudo wget http://wordpress.org/latest.zip
ii. unzip the folder.
sudo unzip latest.zip
sudo unzip
<Directory /var/www/html/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
sudo cp -rf wordpress/* /var/www/
http://192.168.115.133/wp-admin/install.php
Wordpress username: yasin
passpword :@Minguurinta19
sudo medical-centre.1.0.6.zip
sudo cp -rf /dowloads/wordpress/* /var/www/
This is the default web page for this server.
font-size: 1.5em; background-color: #ccc; margin: 20px; padding: 40px;
RewriteCond %{THE_REQUEST} ^.*/index.html RewriteRule ^(.*)index.html$ http://www.yourwebsite.com/$1 [R=301,L]
sudo cp -rf /downloads/medical-centre.1.0.6