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

    Web Application VS Windows Application

    Scheduled Pinned Locked Moved IT Discussion
    programming
    450 Posts 17 Posters 136.9k 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.
    • IT-ADMINI
      IT-ADMIN @scottalanmiller
      last edited by

      @scottalanmiller said:

      @IT-ADMIN said:

      i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

      Well databases should not just be copied around. But that it is Windows and Linux is not a factor.

      but i used to do this in windows, i copy the folder and paste and boom, it works,

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @IT-ADMIN
        last edited by

        @IT-ADMIN said:

        you told i must have 2 servers one for apache and one for mysql, but i do not think that the project is of that size that we have to dedicate 2 VM only for this project, i think one is enough

        Why is "enough" a factor? VMs don't really work that way. Zero cost, really no footprint. I don't see "enough" being a word that applies here.

        IT-ADMINI 1 Reply Last reply Reply Quote 0
        • IT-ADMINI
          IT-ADMIN
          last edited by

          but now when i do this it cause mysql to stop

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @IT-ADMIN
            last edited by

            @IT-ADMIN said:

            @scottalanmiller said:

            @IT-ADMIN said:

            i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

            Well databases should not just be copied around. But that it is Windows and Linux is not a factor.

            but i used to do this in windows, i copy the folder and paste and boom, it works,

            That's fine, but that doesn't imply what you concluded from it. Did you check that you were running MyISAM and not InnoDB? Did you verify the permissions? Did you verify the version numbers match?

            IT-ADMINI 1 Reply Last reply Reply Quote 0
            • IT-ADMINI
              IT-ADMIN @scottalanmiller
              last edited by

              @scottalanmiller i mean RAM and CPU, because i do not have standby server right now, i planned to grab a normal computer and install ubuntu in it, that's all

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • IT-ADMINI
                IT-ADMIN @scottalanmiller
                last edited by

                @scottalanmiller said:

                @IT-ADMIN said:

                @scottalanmiller said:

                @IT-ADMIN said:

                i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

                Well databases should not just be copied around. But that it is Windows and Linux is not a factor.

                but i used to do this in windows, i copy the folder and paste and boom, it works,

                That's fine, but that doesn't imply what you concluded from it. Did you check that you were running MyISAM and not InnoDB? Did you verify the permissions? Did you verify the version numbers match?

                lol, it is OK i will not check anything, i will keep myself away from that server and just install a new version of ubuntu in another computer

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @IT-ADMIN
                  last edited by

                  @IT-ADMIN said:

                  @scottalanmiller i mean RAM and CPU, because i do not have standby server right now, i planned to grab a normal computer and install ubuntu in it, that's all

                  But you should always be a VM, period. No exceptions. RAM and CPU do not grow much when you split the workload up. We are only talking about like 1GB total here, right? For two VMs? 2GB at maximum?

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @IT-ADMIN
                    last edited by

                    @IT-ADMIN said:

                    @scottalanmiller said:

                    @IT-ADMIN said:

                    @scottalanmiller said:

                    @IT-ADMIN said:

                    i copied windows mysql BD into ubuntu mysql, i was out of my mind when i do that

                    Well databases should not just be copied around. But that it is Windows and Linux is not a factor.

                    but i used to do this in windows, i copy the folder and paste and boom, it works,

                    That's fine, but that doesn't imply what you concluded from it. Did you check that you were running MyISAM and not InnoDB? Did you verify the permissions? Did you verify the version numbers match?

                    lol, it is OK i will not check anything, i will keep myself away from that server and just install a new version of ubuntu in another computer

                    But you still should not have the takeaway that Windows and Linux have some compatibility concern. That's completely the wrong impression to get. That would be a MySQL problem, it has nothing to do with the OS.

                    IT-ADMINI 1 Reply Last reply Reply Quote 0
                    • IT-ADMINI
                      IT-ADMIN
                      last edited by

                      Ok, so i will grab a 4 RAM GB, install a hypervisor on it (it will take almost 1 GB) and the rest is devided btw the 2 VM, one apache 1.5 GB RAM and one for Mysql 1.5 GB RAM, is it fine now ???

                      coliverC scottalanmillerS 3 Replies Last reply Reply Quote 0
                      • coliverC
                        coliver @IT-ADMIN
                        last edited by

                        @IT-ADMIN said:

                        Ok, so i will grab a 4 RAM GB, install a hypervisor on it (it will take almost 1 GB) and the rest is devided btw the 2 VM, one apache 1.5 GB RAM and one for Mysql 1.5 GB RAM, is it fine now ???

                        What hypervisor are you running that needs 1GB of RAM? I think my XenServer host uses like 200-300MB.

                        IT-ADMINI 1 Reply Last reply Reply Quote 0
                        • IT-ADMINI
                          IT-ADMIN @scottalanmiller
                          last edited by

                          @scottalanmiller ah ok, thanks at least i realized that i was not stupid lol,

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @IT-ADMIN
                            last edited by

                            @IT-ADMIN said:

                            Ok, so i will grab a 4 RAM GB, install a hypervisor on it (it will take almost 1 GB)

                            What hypervisor is grabbing so much RAM?

                            1 Reply Last reply Reply Quote 0
                            • IT-ADMINI
                              IT-ADMIN @coliver
                              last edited by

                              @coliver no dear, i already tried XenSever, it consume about 700 MB,

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @IT-ADMIN
                                last edited by

                                @IT-ADMIN said:

                                ... and the rest is devided btw the 2 VM, one apache 1.5 GB RAM and one for Mysql 1.5 GB RAM, is it fine now ???

                                That's plenty, yes. Far more than we use for that stuff.

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @IT-ADMIN
                                  last edited by

                                  @IT-ADMIN said:

                                  @coliver no dear, i already tried XenSever, it consume about 700 MB,

                                  Are you sure about that? How did you determine that it was using so much? I've never seen it grab that much.

                                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                                  • IT-ADMINI
                                    IT-ADMIN
                                    last edited by

                                    what makes apache not playing well with mysql if they are on the same server ??

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • IT-ADMINI
                                      IT-ADMIN
                                      last edited by

                                      0_1456429626340_ttckBZm.png

                                      1 Reply Last reply Reply Quote 0
                                      • IT-ADMINI
                                        IT-ADMIN
                                        last edited by

                                        it takes 1 GB

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • dafyreD
                                          dafyre
                                          last edited by

                                          I don't know much about XenServer, but I know you can limit the amount of memory assigned to the Hypervisor (physical host) itself... Not sure where to do that though.

                                          1 Reply Last reply Reply Quote 0
                                          • IT-ADMINI
                                            IT-ADMIN
                                            last edited by

                                            0_1456429801595_2016-02-25_224944.png

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 22
                                            • 23
                                            • 12 / 23
                                            • First post
                                              Last post