ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Build WordPress website on a CentOS 6.5 server.

    IT Discussion
    linux php mysql centos wordpress
    10
    118
    40.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JoyJ
      Joy
      last edited by

      @Joyfano said:

      @Joyfano said:

      @scottalanmiller said:

      @Joyfano said:

      Ok so i am now installing WordPress and stuck here in Step No.3
      http://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.php

      Stuck in what way?

      renaming the file wp-config-sample.php to wp-config.php,

      rename.PNG

      I already resolved my problem:)

      1 Reply Last reply Reply Quote 0
      • Minion QueenM
        Minion Queen Banned
        last edited by

        Awesome!

        JoyJ 1 Reply Last reply Reply Quote 0
        • JoyJ
          Joy @Minion Queen
          last edited by

          @Minion-Queen said:

          Awesome!

          Hahah Yes it is 🙂
          Awesome in working with linux

          1 Reply Last reply Reply Quote 0
          • JoyJ
            Joy
            last edited by

            I am now Done installing WordPress. Next is configuration of settings as per the WordPress Documentation I need to edit in Text Editor.
            Configure Database Settings

            Important: never use a word processor like Microsoft Word for editing WordPress files!

            Locate the file wp-config-sample.php in the base directory of your WordPress directory and open in a text editor.

            Is there any chance i can edit it Using Command?

            1 Reply Last reply Reply Quote 0
            • T
              technobabble
              last edited by

              I usually connect to my linux server via FTP and edit the files in Windows using Notepad++

              1 Reply Last reply Reply Quote 0
              • AmbarishrhA
                Ambarishrh
                last edited by Ambarishrh

                @joyfano Yeah, notepad++ on windows or sublime text on MAC. You can connect to the server using SFTP and directly edit the files using the tools mentioned.

                Or you can use VI editor to edit the file directly from the command http://www.cs.colostate.edu/helpdocs/vi.html

                DashrenderD 1 Reply Last reply Reply Quote 0
                • JoyJ
                  Joy
                  last edited by

                  @ambarishrh Thank You so Much. I will try this very soon. Ill get back for the result 🙂

                  1 Reply Last reply Reply Quote 0
                  • AmbarishrhA
                    Ambarishrh
                    last edited by

                    Good luck! 🙂

                    1 Reply Last reply Reply Quote 0
                    • JoyJ
                      Joy
                      last edited by

                      @ambarishrh I just realize that i already used the vi when i edit files in command

                      1 Reply Last reply Reply Quote 0
                      • AmbarishrhA
                        Ambarishrh
                        last edited by Ambarishrh

                        Yes, vi is a supported editor in most linux distributions. You just need to understand the editor and know the various commands for using vi. But to be on the safe side, make it as a practice to backup any file before you edit. I normally use the cp command to copy the original file as .back before making any changes. Saved me a lot of times! 🙂

                        1 Reply Last reply Reply Quote 0
                        • JoyJ
                          Joy
                          last edited by

                          Understanding and familiarizing the command is one thing that i need to do right now. I am really having fun working with this. Though I am done installing everything, I want to make sure that i really did, Is there any chance that i can view or use command in checking the application if its already installed?

                          AmbarishrhA 1 Reply Last reply Reply Quote 0
                          • AmbarishrhA
                            Ambarishrh @Joy
                            last edited by

                            @Joyfano What exactly you want to check? Are you able to browse the admin page of your wordpress installation?

                            JoyJ 1 Reply Last reply Reply Quote 0
                            • JoyJ
                              Joy @Ambarishrh
                              last edited by

                              @ambarishrh said:

                              @Joyfano What exactly you want to check? Are you able to browse the admin page of your wordpress installation?

                              I want to check if my WordPress is Successfully Installed.
                              Well as of this time i only have access in command No GUI.

                              AmbarishrhA 1 Reply Last reply Reply Quote 0
                              • AmbarishrhA
                                Ambarishrh @Joy
                                last edited by

                                @Joyfano I believe this is a machine connected to network. If so, you just need to browse the wordpress server http://domainname/wp-admin/install.php from another computer. It will walk you through the next installation steps and then you can access wordpress admin page http://domainname/wp-admin/

                                1 Reply Last reply Reply Quote 0
                                • AmbarishrhA
                                  Ambarishrh
                                  last edited by

                                  If there are any installation errors, it would be shown on the wordpress page.

                                  1 Reply Last reply Reply Quote 0
                                  • JoyJ
                                    Joy
                                    last edited by

                                    DONE-WP.PNG

                                    I got this after I'm done editing for correct substitute
                                    // ** MySQL settings - You can get this info from your web host ** //
                                    /** The name of the database for WordPress */
                                    define('DB_NAME', 'wordpress');

                                    /** MySQL database username */
                                    define('DB_USER', 'wordpressuser');

                                    /** MySQL database password */
                                    define('DB_PASSWORD', 'password');

                                    as per this instruction = http://www.cs.colostate.edu/helpdocs/vi.html

                                    Usually the new or modified file is saved when you leave vi. However, it is also possible to quit vi without saving the file.
                                    So is it ok if i type exit command of i need to Press specific command to save my files?

                                    1 Reply Last reply Reply Quote 0
                                    • AmbarishrhA
                                      Ambarishrh
                                      last edited by Ambarishrh

                                      If you've made the changes on vi editor, press the "Esc" key, then ":" key and then type "wq" (write and quit)

                                      You can then check the changed using the command "cat filename"

                                      1 Reply Last reply Reply Quote 1
                                      • JoyJ
                                        Joy
                                        last edited by

                                        Thank you . Its working 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • JoyJ
                                          Joy
                                          last edited by

                                          trying to access my WordPress using
                                          http://www.tecmint.com/command-line-web-browsers/
                                          using Lynx

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Joy
                                            last edited by

                                            @Joyfano said:

                                            trying to access my WordPress using
                                            http://www.tecmint.com/command-line-web-browsers/
                                            using Lynx

                                            This isn't a production server - you can open it to the world so that you can see the web page from your desktop.

                                            JoyJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              Last post