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

    I think this is setup very wrong. Applications installed in /opt

    Scheduled Pinned Locked Moved IT Discussion
    9 Posts 2 Posters 690 Views
    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.
    • momurdaM
      momurda
      last edited by

      I have been looking at upgrading one of our internal wiki sites. I did this awhile ago with another one, but this one here is confusing.
      Server is Centos 6.9 running mediawiki 1.19(old, why i am upgrading). Too bad you cant do dist-upgrade in Centos.
      Anyway, newer versions of mediawiki require php 5.5 and mysql 5.0.3 or higher.
      I installed remi-repo, updated php to 5.6.
      I then look to see what version mysql is.
      Cant do it from #
      find / -name mysqld
      mysqld shows up in /opt/mediawiki-1.19.1-0/mysql/bin/mysqld
      Why is this?
      This cant be the default MW install configuration can it?
      Cant update mysqld because it doesnt show as installed, probably due to it being in /opt/
      How do i update it?
      Why would someone have done this?

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

        Wait, MySQL is INSIDE the MediaWiki location? WTF

        1 Reply Last reply Reply Quote 1
        • momurdaM
          momurda
          last edited by

          Yes. And now that i look php is installed there as well. In addition to being in its regular place.

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

            What command did you use to install MySQL?

            momurdaM 1 Reply Last reply Reply Quote 0
            • momurdaM
              momurda @scottalanmiller
              last edited by

              @scottalanmiller I didnt do this. this server has existed since 2012

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

                @momurda said in I think this is setup very wrong. Applications installed in /opt:

                @scottalanmiller I didnt do this. this server has existed since 2012

                OH. Someone did something crazy 🙂 They didn't use the OS to install and manage the database.

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

                  If this was mine, I'd build a new Fedora 26 server, do everything modern and just move the data over.

                  momurdaM 1 Reply Last reply Reply Quote 2
                  • momurdaM
                    momurda @scottalanmiller
                    last edited by momurda

                    @scottalanmiller That is the position i want to take.

                    What would i need to do to get all the existing MW data and put it in a newer MW server? Just tar up the data folder and untar in new MW server? That seems too easy.

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

                      @momurda said in I think this is setup very wrong. Applications installed in /opt:

                      @scottalanmiller That is the position i want to take.

                      What would i need to do to get all the existing MW data and put it in a newer MW server? Just tar up the data folder and untar in new MW server? That seems too easy.

                      You'll want to export and import. But yeah, that's about it. MW is not complicated in any specific way. I do this with WP all the time. It's really that easy.

                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post