{"id":1172,"date":"2009-10-24T18:04:19","date_gmt":"2009-10-24T10:04:19","guid":{"rendered":"http:\/\/akuadi.org\/life\/?p=1172"},"modified":"2009-10-24T18:05:31","modified_gmt":"2009-10-24T10:05:31","slug":"install-wordpress-on-linux-machine","status":"publish","type":"post","link":"https:\/\/akuadi.org\/life\/blog\/2009\/10\/24\/install-wordpress-on-linux-machine\/","title":{"rendered":"Install WordPress  on Linux Machine"},"content":{"rendered":"<p align=\"justify\">\n<p align=\"justify\">This is the perfect tutorial, how to install wordpress on Linux Server. For this tutorial, my machine running on Centos 5.4.<\/p>\n<div>\n<blockquote><p>[root@server1 ~]# uname -a;date;uptime<br \/>\nLinux server1 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU\/Linux<br \/>\nSat Oct 24 17:52:06 MYT 2009<br \/>\n17:52:06 up\u00a0 2:17,\u00a0 2 users,\u00a0 load average: 0.00, 0.00, 0.03<br \/>\n[root@server1 ~]# cat \/etc\/redhat-release<br \/>\nCentOS release 5.4 (Final)<br \/>\n[root@server1 ~]#<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">Firstly make sure your system already have this 3 package if not follow the 1st step,<\/p>\n<p align=\"justify\">1. Install http*, mysql* php*<\/p>\n<div>\n<blockquote><p>[root@server1 ~]# yum -y install httpd* mysql* php*<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">2. Create the new database called \u201cwordpress\u201d<\/p>\n<div>\n<blockquote><p>[root@server1 ~]# mysqladmin -u root -p create wordpress<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">3. Download latest WordPress package<\/p>\n<div>\n<blockquote><p>[root@server1 tmp]# wget <a href=\"http:\/\/wordpress.org\/latest.zip\" target=\"_blank\" rel=\"noopener\">http:\/\/wordpress.org\/latest.zip<\/a><br \/>\n&#8211;2009-10-24 17:27:23&#8211;\u00a0 <a href=\"http:\/\/wordpress.org\/latest.zip\" target=\"_blank\" rel=\"noopener\">http:\/\/wordpress.org\/latest.zip<\/a><br \/>\nResolving wordpress.org&#8230; 72.233.56.138, 72.233.56.139<br \/>\nConnecting to wordpress.org|72.233.56.138|:80&#8230; connected.<br \/>\nHTTP request sent, awaiting response&#8230; 200 OK<br \/>\nLength: unspecified [application\/zip]<br \/>\nSaving to: `latest.zip&#8217;<\/p>\n<p>[\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;=&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ] 2,354,670\u00a0\u00a0\u00a0 136K\/s\u00a0\u00a0 in 18s 2009-10-24 17:27:42 (129 KB\/s) &#8211; `latest.zip&#8217; saved [2354670]<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">4. Unzip latest.zip that contains the WordPress installation file.<\/p>\n<div>\n<blockquote><p>[root@server1 tmp]# unzip latest.zip<\/p><\/blockquote>\n<\/div>\n<div>\n<blockquote><p>[root@server1tmp]# ls<br \/>\nlatest.zip\u00a0 wordpress<br \/>\n[root@server1 tmp]# cd wordpress<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">5. Copy all file in the WordPress folder to directory \/var\/www\/html<\/p>\n<div>\n<blockquote><p>[root@server1 wordpress]# cp -a * \/var\/www\/html<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">6. Rename file wp-config-sample.php to wp-config.php<\/p>\n<div>\n<blockquote><p>[root@server1 wordpress]# cd \/var\/www\/html<br \/>\n[root@server1 html]# mv wp-config-sample.php wp-config.php<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">7. Edit the config file : wp-config.php<\/p>\n<div>\n<blockquote><p>[root@server1 html]# vi wp-config.php<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">\n<p align=\"justify\">* Edit this 3 line to<\/p>\n<div>\n<blockquote>\n<p>define(&#8216;DB_NAME&#8217;, &#8216;wordpress&#8217;);<br \/>\ndefine(&#8216;DB_USER&#8217;, &#8216;root&#8217;);<br \/>\ndefine(&#8216;DB_PASSWORD&#8217;, &#8216;mysqlrootpass&#8217;);<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">and replace to this one<\/p>\n<div>\n<blockquote><p>\/\/ ** MySQL settings &#8211; You can get this info from your web host ** \/\/<\/p>\n<p>\/** The name of the database for WordPress *\/<br \/>\ndefine(&#8216;DB_NAME&#8217;, &#8216;wordpress&#8217;);<\/p>\n<p>\/** MySQL database username *\/<br \/>\ndefine(&#8216;DB_USER&#8217;, &#8216;root&#8217;);<\/p>\n<p>\/** MySQL database password *\/<br \/>\ndefine(&#8216;DB_PASSWORD&#8217;, &#8216;**********&#8217;);<\/p><\/blockquote>\n<\/div>\n<p align=\"justify\">7. Open your web browser and go to <a href=\"http:\/\/yourdomain.com\" target=\"_blank\" rel=\"noopener\">http:\/\/yourdomain.com<\/a> and follow the setup process. Just enter your blog name and email address. After that it will generate user name and password for you. Please change the password after that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the perfect tutorial, how to install wordpress on Linux Server. For this tutorial, my machine running on Centos 5.4. [root@server1 ~]# uname -a;date;uptime Linux server1 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU\/Linux Sat Oct 24 17:52:06 MYT 2009 17:52:06 up\u00a0 2:17,\u00a0 2 users,\u00a0 load average: 0.00, 0.00, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_front_end_style_editor":"no","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[19,12,81],"tags":[],"class_list":["post-1172","post","type-post","status-publish","format-standard","hentry","category-blogger","category-linux","category-wordpress","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/posts\/1172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":0,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/posts\/1172\/revisions"}],"wp:attachment":[{"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/media?parent=1172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/categories?post=1172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/tags?post=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}