How to blog from your own desktop?
How to install WordPress?
Yes, you can start blogging from web hosting firms, but have you tried blogging from your own desktop using WordPress? If not, read on.
WordPress installation process is as easy as installing any other software in Fedora.
You could try to blog from your own desktop, test some themes and plugins faster, do some WordPress export and import and most of all, enjoy the speed right from your own desktop!
Here's how to install WordPress into your desktop.
WordPress Installation
Back to the yum cave, and pull out our yum weapon and launch yum
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# yum -y install wordpress
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WordPress does not need any dependency when being installed. The yum download size is about 3MB.
By default installation, WordPress would be installed into /usr/share/wordpress. If you want to run wordpress from your apache root folder like /var/www/html/wordpress,
simply issue the below commands.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# cd /var/www/html
# ln -s /usr/share/wordpress
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Login to your MySQL server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# mysql -u root -pYOURMYSQL-PASSWORD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Once inside your MySQL server, create a new database to be used by WordPress like so
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mysql> create database wordpress-db;
mysql> quit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Then launch your favorite editor and edit /etc/wordpress/wp-config.php. Make sure you edit the words that are in BOLD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
define('DB_NAME', 'wordpress-db'); // The name of the database
define('DB_USER', 'usernamehere'); // Your MySQL username
define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Start your Apache and MySQL server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# service apache start; service mysqld start
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fire up your browser and open your WordPress management page like so:
http://you-ip-address/wordpress/
That's basically it.
If you got an error saying, Error establishing a database connection, check you database name, database username and password. Make sure your apache and mysql are both running.
Start blogging from your desktop now.
My apology for late posting here due to a well celebrated holiday seasons. I welcome you and happy new year all !
Subscription
Categories
- HowTos (612)
- Linux Devices (40)
- Linux Diggs (620)
- Linux News (1541)
- Linux Videos (24)
Recent Posts
Blog Archive
-
▼
2008
(2301)
-
▼
January
(49)
- HowTo: Brasero
- HowTo: ISOs Management for Fedora
- HowTo: Install Nmap with GUI FrontEnd
- HowTo: Create and Manage Genealogy Family Tree via...
- HowTo: Install KFTPGrabber FTP Client
- HowTo: Install FileZilla 3 on Fedora 8
- HowTo: Be Alerted via Popups When Monitoring Log F...
- HowTo: Mount Windows Drive From Linux GUI
- HowTo: Delete Files With 0K Filesize Recursively
- HowTo: Changing Interface's MTU Size
- HowTo: Create Vanishing Virtual Drive
- HowTo: Install Identity.pub Into Remote Machines
- HowTo: Check and Mark Bad Block Of Hard Disk
- HowTo: Install Linux Hardware Browser
- HowTo: Basic RPM Package Queries And Usage
- HowTo: Rebuild Locked Out RPM Database
- HowTo: Display RPM Packages Installed Last Month
- HowTo: Display and List Out All Package Files Rece...
- HowTo: Identify Source Package Name Of A File or F...
- HowTo: Delete Extra Spaces Between Words From Files
- HowTo: Find Hidden Directory Folders Recursively
- HowTo: Create Hidden Directory Folder
- HowTo: Print Only Lines of Text File with N charac...
- HowTo: Sort Files by FileSize and What Else?
- HowTo: Squeezed Out Multiple Lines From Text File
- HowTo: Prevent Binary Execution From Mounted Device
- HowTo: Determine Domain's Expiration Date From Lin...
- HowTo: Create and Overwrite Existing Alias
- HowTo: Get MAC Address of PCs Around
- HowTo: List Out Hidden Files and Hidden Directory ...
- HowTo: Identify Valid Login Shells
- HowTo: Deny User from Logging Into Your System
- HowTo: Remove Tabs From Text Files Completely
- HowTo: Convert Tabs In Each File To Spaces
- HowTo: Install and Say Cheese
- HowTo: Install HomeBank and Manage Personal & ...
- HowTo: Install Mind-Mapping LabyRinth Tool
- HowTo: Install VMWare Server on Fedora 8
- HowTo: Install VMWare Workstation on Fedora 8
- HowTo: Virtual PCLinux 2007 via VirtualBox over Fe...
- HowTo: Enable PortMap on Fedora 8
- HowTo: Linux Hardware Lister Tool - LsHw
- HowTo: Install Bandwidth Shaper - Trickle on Fedora
- HowTo: VnStat Long-Term Traffic Monitoring via CLI
- HowTo: Install NetSpeed Traffic Monitoring Applet
- HowTo: Install IPTraff LAN Monitoring Tool
- HowTo: Install Ibmonitor Interface Bandwidth Monitor
- HowTo: Install IfTop Bandwidth Monitoring Tool
- HowTo: Fedora WordPress Installation
-
▼
January
(49)
Saturday, January 5, 2008
HowTo: Fedora WordPress Installation
Subscribe to:
Post Comments (Atom)
ILoveTux - howtos and news | About | Contact | TOS | Policy
7 comments:
really helped me in installation and config.
Thanks
Don't work. http://localhost say:
Error establishing a database connection
login into your mysql server
# mysql -u username -p
Then create a database for your Wordpress
mysql> create database mywordpress-database;
mysql> quit;
then from CLI start
# service mysqld start
and browse your new wordpress site
Worked verry well thanks.
after doing all that, i put http:// localhost/wordpress and it brings me just a blank page, i cant see the wordpress management page
http://localhost/wp-admin/
Many thanks. This made it quite simple on Fedora 15.
Post a Comment