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.7k
    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.
    • 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
                      • JoyJ
                        Joy @scottalanmiller
                        last edited by

                        @scottalanmiller said:

                        @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.

                        Sure Thank you. i hope it will work fine. Crossed Finger.

                        1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @Ambarishrh
                          last edited by

                          @ambarishrh said:

                          @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

                          Awesome, thanks for this tip!

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

                            Learning to use vi is one of those really important UNIX admin tips. You will need it your entire career. I've used vi literally for twenty years now and it is available everywhere, on every platform and most pros will just expect you to know it. You can work around it, but not easily in most shops. I've never worked a UNIX job where I would have been comfortable not using it - it is simply expected for everything that you do. Fellow admins would honestly be confused if you used anything else. And some jobs, like supporting Solaris at IBM, there was no other option and anyone who didn't know vi could not even start to work on the servers. It was a line in the sand between those that could and those that could not.

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

                              After working with Linux for few days mostly using command I can say honestly that's its easy to do any task using command. In my case I just need to be more familiar and of course to learn about different command line. I wish I knew this before. 🙂

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

                                @Joyfano said:

                                After working with Linux for few days mostly using command I can say honestly that's its easy to do any task using command. In my case I just need to be more familiar and of course to learn about different command line. I wish I knew this before. 🙂

                                Yes, a command line makes for a harder and steeper learning curve because there are not graphical clues leading you from one step to another. But once you learn the commands it actually makes things easier. And if you think using the command line directly is easy, wait until you script for administration - so easy to automate lots of systems at once. So powerful and so easy. Windows admins with their GUIs have an easy time at day one, but by day two they do twice as much work as their command line counterparts.

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

                                  @scottalanmiller said:

                                  @Joyfano said:

                                  After working with Linux for few days mostly using command I can say honestly that's its easy to do any task using command. In my case I just need to be more familiar and of course to learn about different command line. I wish I knew this before. 🙂

                                  Yes, a command line makes for a harder and steeper learning curve because there are not graphical clues leading you from one step to another. But once you learn the commands it actually makes things easier. And if you think using the command line directly is easy, wait until you script for administration - so easy to automate lots of systems at once. So powerful and so easy. Windows admins with their GUIs have an easy time at day one, but by day two they do twice as much work as their command line counterparts.

                                  I am counting this as 3 days since I started working with command not totally full time 🙂
                                  everyday I am learning new command 🙂

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

                                    After installing everything My site is working I can access it using Lynx ( lynx is on the Server)
                                    but I cannot access the site using my Desktop.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jasonh
                                      last edited by

                                      CentOS comes with a firewall that blocks most traffic by default (everything except SSH and ICMP.) You need to allow HTTP through the firewall. Two ways of doing this:

                                      1. Run system-config-firewall, go Customize, but a "*" beside "WWW (HTTP)" in the list, then Close, then OK, then Yes

                                      2. Run these commands from the shell:

                                      iptables -A INPUT -p tcp --dport 80 -j ACCEPT
                                      service iptables save

                                      JoyJ 1 Reply Last reply Reply Quote 2
                                      • JoyJ
                                        Joy @jasonh
                                        last edited by

                                        @jasonh said:

                                        CentOS comes with a firewall that blocks most traffic by default (everything except SSH and ICMP.) You need to allow HTTP through the firewall. Two ways of doing this:

                                        1. Run system-config-firewall, go Customize, but a "*" beside "WWW (HTTP)" in the list, then Close, then OK, then Yes

                                        2. Run these commands from the shell:

                                        iptables -A INPUT -p tcp --dport 80 -j ACCEPT
                                        service iptables save

                                        Thank You. I did try that,but i cannot access my site .:(

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jasonh
                                          last edited by

                                          Are you able to ping the server from your desktop?

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

                                            @jasonh said:

                                            Are you able to ping the server from your desktop?

                                            She can see the site up now.

                                            This is the URL: http://119.9.77.226/

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