Local WordPress Install.
1) Prerequisites: http://wordpress.org/about/requirements/ : Ideally LAMP (Linux) or XAMP/WAMP (windows).
2) Installing WordPress:
WordPress is an open-source content management system which makes the task of making and managing a website fast and easy.
http://codex.wordpress.org/Installing_WordPress : Here you get fast-5 minutes and detailed instructions to follow. Quickly, to summarize:
a) Download the the compressed/zipped package from http://wordpress.org/download/. b) Unzip the package and place it in the /var/www/(Linux) folder or C:\xampp(windows) any other desired location in the folder. c) Create Database and User :
http://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User
- For Example (using mysql client):
mysql> mysql -u root -p mysql> CREATE DATABASE wordpress mysql> GRANT ALL PRIVILEGES ON wordpress.* TO "wordpress"@"localhost" IDENTIFIED BY "password";
- For Example (using mysql client):
d) Rename the wp-config-sample.php file to wp-config.php. e) Edit wp-config.php (http://codex.wordpress.org/Editing_wp-config.php) i) vim wp-config.php(or open with any editor of your choice) ii) Find and update the following lines // ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */ define( 'DB_NAME', 'database_name_here' ); (Your created database: e.g. 'wordpress') /** MySQL database username */ define( 'DB_USER', 'username_here' ); (Username for the database: e.g. 'wordpress' ) /** MySQL database password */ define( 'DB_PASSWORD', 'password_here' ); (Your set Password: e.g.) /** MySQL hostname */ define( 'DB_HOST', 'localhost' ); (Database host:in most cases will not need to change)
f) Run the WordPress installation script by accessing wp-admin/install.php in a web browser. g) After complete installation you can view your local website at localhost/wordpress
3) Downloading theme: a) git clone git://git.gnome.org/gnome-web-www b) Move/Copy the 'gnome-web-www' folder to /var/www/wordpress/wp-content/theme folder.
4) Import data from gnome.org
a) Download the GNOME Wordpress data file gnome.wordpress.2013-04-04.xml b) Install a WordPress Import module for instance, this works quite well http://wordpress.org/extend/plugins/wordpress-importer/ c) Import the XML file with the help of the above wordpress module. In case XML file extends the size limit: d) In most of the cases, it works by just compressing the xml file(.tar.gz) and importing.
e) or if that does not work Change /etc/php/php.ini settings: upload_max_filesize to a value bigger than the size of the xml file
http://wordpress.org/support/topic/import-large-wordpress-xml-file?replies=6#post-721905
f) Set Home to the frontpage in Settings > Reading > Homepage.