http://www.clearpointsystems.com/ewpi.php

Example WordPress Installation

You can download custom core files here.

Introduction:

WordPress is a bunch of PHP scripts and HTML code that work together to create a web log. Whatever the merits of other popular web log packages (e.g. MovableType, Drupal) WordPress is the easiest to install, configure and customize.

If you have comments or corrections for this tutorial, please send us feedback.

Assumptions:

  • using the latest WordPress code
  • using a Linux/Apache web server
  • PHP 4.2 or higher is installed on the web server
  • using MySql 4.0 or higher for a database

In Summary:

  1. Download latest WordPress code
  2. Create an empty MySql database on the web server
  3. Create the directory structure on the web server
  4. Unzip/untar files and upload to install directory
  5. Edit configuration script
  6. Point your browser to the setup script
  7. Follow prompts in browser window

In Detail:

  1. Download latest WordPress code

    You can download wordpress-2.1.tar.gz (for Linux) or wordpress-2.1.zip (for Windows) from the WordPress Web Site.

    If you are uploading the installation files FROM a Windows workstation TO a Linux server, you'll want to download the Windows version (.zip) of the installation files.

    You can see a complete listing of all the files here.

  2. Create an empty MySql database on the web server

    The procedure for doing this depends on the control panel software your host uses. Essentially, you want to create a database and add a user with 'All Privileges'. Our user in this example installation is boyjojo.

    You can see the procedure for creating a database from the command line here.

  3. Create the directory structure on the web server

    For example:

    NOTE: admin and cgi-bin have nothing to do with WordPress. wp02 is our newly-created directory into which we will copy the WP files. You can name wp02 whatever you like, as long as it's a subdirectory of public_html. Do not use cgi-bin as an install directory.

    Using the above directory structure means you will access your blog with the following URL:

    http://www.mywebsite.com/wp02/

    Why is it better to install in wp02 rather than public_html?

    Keeping your WordPress files segregated helps avoid problems. It improves both compatibility and scalability by keeping all your non-WP pages separate from your blog content. And it gives you the option to install several blogs on the same web site, or use a Welcome Page.

    If you want visitors to arrive at your blog when accessing http://www.mywebsite.com (without having to add /wp02/ on the end), you can easily do this.

    Put the following line of code (and nothing else) in your public_html/index.php:

    <?php header("Location:http://www.mywebsite.com/wp02/"); ?>

    and your visitors will be transparently directed to your blog in /wp02/.

    If you want to use your public_html/index.php as a Welcome Page, simply include a link to your blog from that page. There are endless possibilities for customization using this directory structure.

    Of course, you can install in public_html if you want to; just modify the rest of this tutorial accordingly.

  4. Unzip/untar and copy (or FTP) everything to the wp02 directory

    The directory structure will look like this after the upload:

    IMPORTANT: Make sure the wp02 directory and all directories under it have 755 permissions (chmod 755 wp02). Most web hosts will have 755 permissions on directories by default, but you should check if you want to avoid problems. The scripts within the directories should have 644 permissions (only in rare cases will you need to modify a script's permissions).

    You can see an example of WP folder and file permissions here.

  5. Edit wp-config.php configuration script

    WP ships with the wp-config.php script named as:

    wp-config-sample.php

    You need to rename this to:

    wp-config.php

    You also need to know the name of the database and the username of the database account that WP will use (here we are using wp02 and boyjojo).

    Below is a sample wp-config.php:

    bubba [/home/boyjojo/public_html/wp02] # cat wp-config.php

    // ** MySQL settings ** //
    define('DB_NAME', 'wp02'); // The name of the database
    define('DB_USER', 'boyjojo'); // Your MySQL username
    define('DB_PASSWORD', 'mypasswd'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = 'wp02_'; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');

    /* That's all, stop editing! Happy blogging. */

    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
  6. Point your browser to:
    http://www.mywebsite.com/wp02/wp-admin/install.php

    This will launch the install script. The install script will produce output in your browser window and perform a number of installation tasks.

  7. Follow prompts in browser window

    Below are the 3 pages you will see:

     

    First Page:

     

    Second Page:

     

    Third Page:

     

    That's it! Now you can log in and publish to the world!

WP Core File Permissions

 

Complete Listing of WP Files

About 400 files (2.3 megabytes) total.
If you remove tinymce and default themes, there are about 200 files (1.7 megabytes) total.
bubba [/usr/local/src] # tar -tf wordpress-2.1.tar

wordpress/
wordpress/wp-includes/
wordpress/wp-includes/images/
wordpress/wp-includes/images/smilies/
wordpress/wp-includes/images/smilies/icon_wink.gif
wordpress/wp-includes/images/smilies/icon_eek.gif
wordpress/wp-includes/images/smilies/icon_sad.gif
wordpress/wp-includes/images/smilies/icon_confused.gif
wordpress/wp-includes/images/smilies/icon_question.gif
wordpress/wp-includes/images/smilies/icon_surprised.gif
wordpress/wp-includes/images/smilies/icon_smile.gif
wordpress/wp-includes/images/smilies/icon_neutral.gif
wordpress/wp-includes/images/smilies/icon_rolleyes.gif
wordpress/wp-includes/images/smilies/icon_biggrin.gif
wordpress/wp-includes/images/smilies/icon_exclaim.gif
wordpress/wp-includes/images/smilies/icon_twisted.gif
wordpress/wp-includes/images/smilies/icon_razz.gif
wordpress/wp-includes/images/smilies/icon_lol.gif
wordpress/wp-includes/images/smilies/icon_redface.gif
wordpress/wp-includes/images/smilies/icon_arrow.gif
wordpress/wp-includes/images/smilies/icon_cool.gif
wordpress/wp-includes/images/smilies/icon_cry.gif
wordpress/wp-includes/images/smilies/icon_mrgreen.gif
wordpress/wp-includes/images/smilies/icon_evil.gif
wordpress/wp-includes/images/smilies/icon_mad.gif
wordpress/wp-includes/images/smilies/icon_idea.gif
wordpress/wp-includes/post.php
wordpress/wp-includes/default-filters.php
wordpress/wp-includes/class-snoopy.php
wordpress/wp-includes/author-template.php
wordpress/wp-includes/post-template.php
wordpress/wp-includes/plugin.php
wordpress/wp-includes/locale.php
wordpress/wp-includes/cache.php
wordpress/wp-includes/bookmark.php
wordpress/wp-includes/query.php
wordpress/wp-includes/link-template.php
wordpress/wp-includes/wp-db.php
wordpress/wp-includes/formatting.php
wordpress/wp-includes/template-loader.php
wordpress/wp-includes/category.php
wordpress/wp-includes/js/
wordpress/wp-includes/js/scriptaculous/
wordpress/wp-includes/js/scriptaculous/scriptaculous.js
wordpress/wp-includes/js/scriptaculous/prototype.js
wordpress/wp-includes/js/scriptaculous/builder.js
wordpress/wp-includes/js/scriptaculous/MIT-LICENSE
wordpress/wp-includes/js/scriptaculous/effects.js
wordpress/wp-includes/js/scriptaculous/unittest.js
wordpress/wp-includes/js/scriptaculous/dragdrop.js
wordpress/wp-includes/js/scriptaculous/slider.js
wordpress/wp-includes/js/scriptaculous/controls.js
wordpress/wp-includes/js/prototype.js
wordpress/wp-includes/js/crop/
wordpress/wp-includes/js/crop/marqueeHoriz.gif
wordpress/wp-includes/js/crop/cropper.css
wordpress/wp-includes/js/crop/marqueeVert.gif
wordpress/wp-includes/js/crop/cropper.js
wordpress/wp-includes/js/autosave-js.php
wordpress/wp-includes/js/quicktags.js
wordpress/wp-includes/js/tw-sack.js
wordpress/wp-includes/js/fat.js
wordpress/wp-includes/js/tinymce/
wordpress/wp-includes/js/tinymce/utils/
wordpress/wp-includes/js/tinymce/utils/form_utils.js
wordpress/wp-includes/js/tinymce/utils/validate.js
wordpress/wp-includes/js/tinymce/utils/mctabs.js
wordpress/wp-includes/js/tinymce/utils/mclayer.js
wordpress/wp-includes/js/tinymce/license.txt
wordpress/wp-includes/js/tinymce/plugins/
wordpress/wp-includes/js/tinymce/plugins/wphelp/
wordpress/wp-includes/js/tinymce/plugins/wphelp/langs/
wordpress/wp-includes/js/tinymce/plugins/wphelp/langs/en.js
wordpress/wp-includes/js/tinymce/plugins/wphelp/images/
wordpress/wp-includes/js/tinymce/plugins/wphelp/images/help.gif
wordpress/wp-includes/js/tinymce/plugins/wphelp/editor_plugin.js
wordpress/wp-includes/js/tinymce/plugins/directionality/
wordpress/wp-includes/js/tinymce/plugins/directionality/langs/
wordpress/wp-includes/js/tinymce/plugins/directionality/langs/en.js
wordpress/wp-includes/js/tinymce/plugins/directionality/images/
wordpress/wp-includes/js/tinymce/plugins/directionality/images/ltr.gif
wordpress/wp-includes/js/tinymce/plugins/directionality/images/rtl.gif
wordpress/wp-includes/js/tinymce/plugins/directionality/editor_plugin.js
wordpress/wp-includes/js/tinymce/plugins/spellchecker/
wordpress/wp-includes/js/tinymce/plugins/spellchecker/langs/
wordpress/wp-includes/js/tinymce/plugins/spellchecker/langs/en.js
wordpress/wp-includes/js/tinymce/plugins/spellchecker/images/
wordpress/wp-includes/js/tinymce/plugins/spellchecker/images/spellchecker.gif
wordpress/wp-includes/js/tinymce/plugins/spellchecker/images/wline.gif
wordpress/wp-includes/js/tinymce/plugins/spellchecker/css/
wordpress/wp-includes/js/tinymce/plugins/spellchecker/css/spellchecker.css
wordpress/wp-includes/js/tinymce/plugins/spellchecker/css/content.css
wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/
wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/TinyPspellShell.class.php
wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/HttpClient.class.php
wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/TinyGoogleSpell.class.php
wordpress/wp-includes/js/tinymce/plugins/spellchecker/classes/TinyPspell.class.php
wordpress/wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js
wordpress/wp-includes/js/tinymce/plugins/spellchecker/tinyspell.php
wordpress/wp-includes/js/tinymce/plugins/spellchecker/config.php
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/jscripts/
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/jscripts/mcwindows.js
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/images/
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/images/window_minimize.gif
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/images/window_close.gif
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/images/spacer.gif
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/images/window_resize.gif
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/images/window_maximize.gif
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/css/
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/css/inlinepopup.css
wordpress/wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js
wordpress/wp-includes/js/tinymce/plugins/autosave/
wordpress/wp-includes/js/tinymce/plugins/autosave/langs/
wordpress/wp-includes/js/tinymce/plugins/autosave/langs/en.js
wordpress/wp-includes/js/tinymce/plugins/autosave/readme.txt
wordpress/wp-includes/js/tinymce/plugins/autosave/editor_plugin.js
wordpress/wp-includes/js/tinymce/plugins/autosave/editor_plugin_src.js
wordpress/wp-includes/js/tinymce/plugins/wordpress/
wordpress/wp-includes/js/tinymce/plugins/wordpress/langs/
wordpress/wp-includes/js/tinymce/plugins/wordpress/langs/en.js
wordpress/wp-includes/js/tinymce/plugins/wordpress/wordpress.css
wordpress/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js
wordpress/wp-includes/js/tinymce/plugins/wordpress/images/
wordpress/wp-includes/js/tinymce/plugins/wordpress/images/more_bug.gif
wordpress/wp-includes/js/tinymce/plugins/wordpress/images/page.gif
wordpress/wp-includes/js/tinymce/plugins/wordpress/images/toolbars.gif
wordpress/wp-includes/js/tinymce/plugins/wordpress/images/more.gif
wordpress/wp-includes/js/tinymce/plugins/wordpress/images/page_bug.gif
wordpress/wp-includes/js/tinymce/plugins/wordpress/images/help.gif
wordpress/wp-includes/js/tinymce/plugins/wordpress/popups.css
wordpress/wp-includes/js/tinymce/plugins/paste/
wordpress/wp-includes/js/tinymce/plugins/paste/jscripts/
wordpress/wp-includes/js/tinymce/plugins/paste/jscripts/pasteword.js
wordpress/wp-includes/js/tinymce/plugins/paste/jscripts/pastetext.js
wordpress/wp-includes/js/tinymce/plugins/paste/css/
wordpress/wp-includes/js/tinymce/plugins/paste/css/pasteword.css
wordpress/wp-includes/js/tinymce/plugins/paste/css/blank.css
wordpress/wp-includes/js/tinymce/plugins/paste/pasteword.htm
wordpress/wp-includes/js/tinymce/plugins/paste/editor_plugin.js
wordpress/wp-includes/js/tinymce/plugins/paste/langs/
wordpress/wp-includes/js/tinymce/plugins/paste/langs/en.js
wordpress/wp-includes/js/tinymce/plugins/paste/images/
wordpress/wp-includes/js/tinymce/plugins/paste/images/pastetext.gif
wordpress/wp-includes/js/tinymce/plugins/paste/images/pasteword.gif
wordpress/wp-includes/js/tinymce/plugins/paste/images/selectall.gif
wordpress/wp-includes/js/tinymce/plugins/paste/pastetext.htm
wordpress/wp-includes/js/tinymce/plugins/paste/blank.htm
wordpress/wp-includes/js/tinymce/langs/
wordpress/wp-includes/js/tinymce/langs/en.js
wordpress/wp-includes/js/tinymce/themes/
wordpress/wp-includes/js/tinymce/themes/advanced/
wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/
wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/color_picker.js
wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/anchor.js
wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/about.js
wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/source_editor.js
wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/charmap.js
wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/link.js
wordpress/wp-includes/js/tinymce/themes/advanced/jscripts/image.js
wordpress/wp-includes/js/tinymce/themes/advanced/langs/
wordpress/wp-includes/js/tinymce/themes/advanced/langs/en.js
wordpress/wp-includes/js/tinymce/themes/advanced/link.htm
wordpress/wp-includes/js/tinymce/themes/advanced/about.htm
wordpress/wp-includes/js/tinymce/themes/advanced/anchor.htm
wordpress/wp-includes/js/tinymce/themes/advanced/color_picker.htm
wordpress/wp-includes/js/tinymce/themes/advanced/charmap.htm
wordpress/wp-includes/js/tinymce/themes/advanced/images/
wordpress/wp-includes/js/tinymce/themes/advanced/images/cancel_button_bg.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/underline_es.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/image.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/opacity.png
wordpress/wp-includes/js/tinymce/themes/advanced/images/bold_tw.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/table_insert_row_after.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/anchor_symbol.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/forecolor.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/table_delete_col.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/separator.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/browse.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/italic.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/undo.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/insert_button_bg.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/removeformat.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/bold_es.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/anchor.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/copy.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/italic_ru.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/underline_fr.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/spacer.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/color.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/bold_de_se.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/bold.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/indent.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/underline.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/cleanup.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/sub.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/redo.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/table_insert_col_after.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/left.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/custom_1.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/table_insert_col_before.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/justifyright.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/cut.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/underline_ru.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/link.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/buttons.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/button_menu.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/backcolor.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/unlink.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/menu_check.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/full.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/close.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/sup.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/bold_fr.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/newdocument.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/charmap.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/paste.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/right.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/bullist.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/center.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/bold_ru.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/numlist.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/table_insert_row_before.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/xp/
wordpress/wp-includes/js/tinymce/themes/advanced/images/xp/tab_sel_end.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/xp/tab_end.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/xp/tab_bg.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/xp/tab_sel_bg.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/xp/tabs_bg.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/table.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/statusbar_resize.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/strikethrough.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/italic_de_se.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/justifyleft.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/hr.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/italic_tw.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/justifyfull.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/visualaid.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/outdent.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/help.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/justifycenter.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/italic_es.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/table_delete_row.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/underline_tw.gif
wordpress/wp-includes/js/tinymce/themes/advanced/images/code.gif
wordpress/wp-includes/js/tinymce/themes/advanced/css/
wordpress/wp-includes/js/tinymce/themes/advanced/css/editor_content.css
wordpress/wp-includes/js/tinymce/themes/advanced/css/editor_popup.css
wordpress/wp-includes/js/tinymce/themes/advanced/css/editor_ui.css
wordpress/wp-includes/js/tinymce/themes/advanced/image.htm
wordpress/wp-includes/js/tinymce/themes/advanced/editor_template.js
wordpress/wp-includes/js/tinymce/themes/advanced/source_editor.htm
wordpress/wp-includes/js/tinymce/blank.htm
wordpress/wp-includes/js/tinymce/tiny_mce.js
wordpress/wp-includes/js/tinymce/license.html
wordpress/wp-includes/js/tinymce/tiny_mce_config.php
wordpress/wp-includes/js/tinymce/wp-mce-help.php
wordpress/wp-includes/js/tinymce/tiny_mce_popup.js
wordpress/wp-includes/js/tinymce/tiny_mce_gzip.php
wordpress/wp-includes/js/dbx.js
wordpress/wp-includes/js/colorpicker.js
wordpress/wp-includes/js/wp-ajax-js.php
wordpress/wp-includes/js/list-manipulation-js.php
wordpress/wp-includes/cron.php
wordpress/wp-includes/class-pop3.php
wordpress/wp-includes/rewrite.php
wordpress/wp-includes/compat.php
wordpress/wp-includes/gettext.php
wordpress/wp-includes/general-template.php
wordpress/wp-includes/version.php
wordpress/wp-includes/streams.php
wordpress/wp-includes/feed.php
wordpress/wp-includes/capabilities.php
wordpress/wp-includes/classes.php
wordpress/wp-includes/deprecated.php
wordpress/wp-includes/pluggable.php
wordpress/wp-includes/comment.php
wordpress/wp-includes/theme.php
wordpress/wp-includes/kses.php
wordpress/wp-includes/rss.php
wordpress/wp-includes/class-IXR.php
wordpress/wp-includes/script-loader.php
wordpress/wp-includes/functions.php
wordpress/wp-includes/l10n.php
wordpress/wp-includes/comment-template.php
wordpress/wp-includes/registration.php
wordpress/wp-includes/vars.php
wordpress/wp-includes/rss-functions.php
wordpress/wp-includes/registration-functions.php
wordpress/wp-includes/bookmark-template.php
wordpress/wp-includes/user.php
wordpress/wp-includes/category-template.php
wordpress/wp-content/
wordpress/wp-content/plugins/
wordpress/wp-content/plugins/akismet/
wordpress/wp-content/plugins/akismet/akismet.gif
wordpress/wp-content/plugins/akismet/akismet.php
wordpress/wp-content/plugins/hello.php
wordpress/wp-content/themes/
wordpress/wp-content/themes/classic/
wordpress/wp-content/themes/classic/comments-popup.php
wordpress/wp-content/themes/classic/screenshot.png
wordpress/wp-content/themes/classic/sidebar.php
wordpress/wp-content/themes/classic/comments.php
wordpress/wp-content/themes/classic/footer.php
wordpress/wp-content/themes/classic/style.css
wordpress/wp-content/themes/classic/index.php
wordpress/wp-content/themes/classic/header.php
wordpress/wp-content/themes/default/
wordpress/wp-content/themes/default/images/
wordpress/wp-content/themes/default/images/kubrickbg.jpg
wordpress/wp-content/themes/default/images/audio.jpg
wordpress/wp-content/themes/default/images/kubrickbgcolor.jpg
wordpress/wp-content/themes/default/images/kubrickheader.jpg
wordpress/wp-content/themes/default/images/header-img.php
wordpress/wp-content/themes/default/images/kubrickfooter.jpg
wordpress/wp-content/themes/default/images/kubrickbgwide.jpg
wordpress/wp-content/themes/default/screenshot.png
wordpress/wp-content/themes/default/searchform.php
wordpress/wp-content/themes/default/footer.php
wordpress/wp-content/themes/default/style.css
wordpress/wp-content/themes/default/archives.php
wordpress/wp-content/themes/default/search.php
wordpress/wp-content/themes/default/index.php
wordpress/wp-content/themes/default/404.php
wordpress/wp-content/themes/default/functions.php
wordpress/wp-content/themes/default/sidebar.php
wordpress/wp-content/themes/default/attachment.php
wordpress/wp-content/themes/default/page.php
wordpress/wp-content/themes/default/archive.php
wordpress/wp-content/themes/default/links.php
wordpress/wp-content/themes/default/comments.php
wordpress/wp-content/themes/default/single.php
wordpress/wp-content/themes/default/header.php
wordpress/wp-content/themes/default/comments-popup.php
wordpress/wp-content/index.php
wordpress/wp-pass.php
wordpress/wp-rss.php
wordpress/wp-login.php
wordpress/wp-rdf.php
wordpress/wp-admin/
wordpress/wp-admin/options-privacy.php
wordpress/wp-admin/custom-fields.js
wordpress/wp-admin/options-head.php
wordpress/wp-admin/menu-header.php
wordpress/wp-admin/edit-comments.js
wordpress/wp-admin/update-links.php
wordpress/wp-admin/users.php
wordpress/wp-admin/profile-update.php
wordpress/wp-admin/admin-ajax.php
wordpress/wp-admin/install.css
wordpress/wp-admin/upgrade-functions.php
wordpress/wp-admin/edit-comments.php
wordpress/wp-admin/post-new.php
wordpress/wp-admin/wp-admin.css
wordpress/wp-admin/import/
wordpress/wp-admin/import/rss.php
wordpress/wp-admin/import/mt.php
wordpress/wp-admin/import/livejournal.php
wordpress/wp-admin/import/dotclear.php
wordpress/wp-admin/import/textpattern.php
wordpress/wp-admin/import/blogger.php
wordpress/wp-admin/import/blogware.php
wordpress/wp-admin/import/b2.php
wordpress/wp-admin/import/greymatter.php
wordpress/wp-admin/import/wordpress.php
wordpress/wp-admin/menu.php
wordpress/wp-admin/install-helper.php
wordpress/wp-admin/post.php
wordpress/wp-admin/theme-editor.php
wordpress/wp-admin/admin.php
wordpress/wp-admin/admin-functions.php
wordpress/wp-admin/templates.php
wordpress/wp-admin/custom-header.php
wordpress/wp-admin/upload-js.php
wordpress/wp-admin/options-general.php
wordpress/wp-admin/edit-page-form.php
wordpress/wp-admin/moderation.php
wordpress/wp-admin/rtl.css
wordpress/wp-admin/comment.php
wordpress/wp-admin/admin-db.php
wordpress/wp-admin/index.php
wordpress/wp-admin/edit-form-comment.php
wordpress/wp-admin/edit-link-form.php
wordpress/wp-admin/edit-form-advanced.php
wordpress/wp-admin/options-misc.php
wordpress/wp-admin/upload.php
wordpress/wp-admin/upload-rtl.css
wordpress/wp-admin/upload-functions.php
wordpress/wp-admin/edit-form.php
wordpress/wp-admin/images/
wordpress/wp-admin/images/login-bkg-bottom.gif
wordpress/wp-admin/images/box-bg.gif
wordpress/wp-admin/images/box-head-left.gif
wordpress/wp-admin/images/box-butt-right.gif
wordpress/wp-admin/images/browse-happy.gif
wordpress/wp-admin/images/toggle.gif
wordpress/wp-admin/images/notice.gif
wordpress/wp-admin/images/box-head.gif
wordpress/wp-admin/images/box-bg-right.gif
wordpress/wp-admin/images/fade-butt.png
wordpress/wp-admin/images/box-butt-left.gif
wordpress/wp-admin/images/box-head-right.gif
wordpress/wp-admin/images/login-bkg-tile.gif
wordpress/wp-admin/images/box-butt.gif
wordpress/wp-admin/images/wordpress-logo.png
wordpress/wp-admin/images/box-bg-left.gif
wordpress/wp-admin/categories.js
wordpress/wp-admin/link-import.php
wordpress/wp-admin/edit-category-form.php
wordpress/wp-admin/admin-header.php
wordpress/wp-admin/xfn.js
wordpress/wp-admin/options-discussion.php
wordpress/wp-admin/users.js
wordpress/wp-admin/plugins.php
wordpress/wp-admin/cat-js.php
wordpress/wp-admin/link-add.php
wordpress/wp-admin/edit.php
wordpress/wp-admin/upload.css
wordpress/wp-admin/index-extra.php
wordpress/wp-admin/upgrade.php
wordpress/wp-admin/options-reading.php
wordpress/wp-admin/options.php
wordpress/wp-admin/link.php
wordpress/wp-admin/profile.php
wordpress/wp-admin/dbx-admin-key-js.php
wordpress/wp-admin/user-edit.php
wordpress/wp-admin/options-permalink.php
wordpress/wp-admin/setup-config.php
wordpress/wp-admin/page-new.php
wordpress/wp-admin/link-parse-opml.php
wordpress/wp-admin/link-manager.php
wordpress/wp-admin/install.php
wordpress/wp-admin/install-rtl.css
wordpress/wp-admin/sidebar.php
wordpress/wp-admin/bookmarklet.php
wordpress/wp-admin/import.php
wordpress/wp-admin/edit-pages.php
wordpress/wp-admin/page.php
wordpress/wp-admin/export.php
wordpress/wp-admin/options-writing.php
wordpress/wp-admin/plugin-editor.php
wordpress/wp-admin/admin-footer.php
wordpress/wp-admin/categories.php
wordpress/wp-admin/themes.php
wordpress/wp-admin/upgrade-schema.php
wordpress/wp-comments-post.php
wordpress/wp-blog-header.php
wordpress/wp-mail.php
wordpress/xmlrpc.php
wordpress/wp-register.php
wordpress/index.php
wordpress/wp-config-sample.php
wordpress/wp-links-opml.php
wordpress/wp-trackback.php
wordpress/readme.html
wordpress/license.txt
wordpress/wp-rss2.php
wordpress/wp-commentsrss2.php
wordpress/wp-atom.php
wordpress/wp-settings.php
wordpress/wp-cron.php
wordpress/wp-feed.php

bubba [/usr/local/src] #

 

MySql Database Setup

bubba [/root] # mysql -h elephant -V
mysql Ver 11.18 Distrib 3.23.54, for redhat-linux-gnu (i386)

bubba [/root] # mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 29 to server version: 3.23.54

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show databases;
+----------+
| Database |
+----------+
| mysql |
| test |
+----------+
2 rows in set (0.00 sec)

mysql> create database wp02;
Query OK, 1 row affected (0.00 sec)

mysql> show databases;
+----------+
| Database |
+----------+
| mysql |
| test |
| wp02 |
+----------+
3 rows in set (0.00 sec)

mysql> grant all on wp02.* to 'boyjojo'@'localhost' identified by 'mypasswd';
Query OK, 0 rows affected (0.00 sec)

mysql> show grants for boyjojo@localhost;
+------------------------------------------------------------------------------------------+
| Grants for boyjojo@localhost |
+------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'boyjojo'@'localhost' IDENTIFIED BY PASSWORD '479049ad108cb50d' |
| GRANT ALL PRIVILEGES ON 'wp02'.* TO 'boyjojo'@'localhost' |
+------------------------------------------------------------------------------------------+
2 rows in set (0.00 sec)

mysql> quit
Bye
bubba [/root] #

댓글

이 블로그의 인기 게시물

도꾜여행~! 여기는 꼭 가봐라

Wumpus World

NASA가 알아주는 우주과학자 정재훈 박사d