Jump to content

ianw1974

Admin
  • Posts

    14090
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by ianw1974

  1. I suggest haproxy it will probably be easier than heartbeat with ldirectord.  With heartbeat and ldirectord I use direct routing rather than masquerade, as it's faster, just a little more effort to set it up.  So if you want something simpler for the beginning, use haproxy as it's pretty straightforward.

    • Upvote 1
  2. To mirror it you'll need a second server with all the same services that you have on the other servers.  However it will require changes to the existing servers if you want to replicate the data and have it shared between them.  You can use glusterfs for that.  You can configure heartbeat for failover to the server with the data copied and services doubled up such as apache, DNS (bind), samba (smb), etc, etc.  It's not going to be too simple to do, it will take a bit of work.

     

    PS - likewise, and glad to see someone popped in to post :)

  3. Local mirror of which server?  Your own?

     

    You can do it a number of ways.  If just a backup, you could rsync everything in terms of configuration for DNS, squid, Apache, samba.  I don't see a reason for doing a backup of the squid cache, as it expires anyway.  With rsync, you can use it just to pick up changes, and also with the --delete parameter, it will delete and user data that was deleted between backups.  Otherwise, it will just keep adding and adding files even if a user deleted.

     

    Rsync can be done over SSH, or you can setup rsyncd on the server in question, and then just make a cron to run nightly.

     

    Alternatively, if you want to mirror it, you could also have it run as an active/standby server with HA.  If one fails, then the other becomes active without having to restore data from a backup.  It all depends on what exactly you want to achieve.

  4. Can we enable the rewrite url option?  Would be much nicer.  In admin  panel under SEO, but needs to have .htaccess enabled.

    When enabled, Friendly URLs will not include 'index.php'. In order to support this you must configure your web server to rewrite all URLs for your community directory to the index.php file. For assistance on how to do this, contact your hosting provider or system administrator.
    To see the .htaccess used for Apache servers for comparison, download this file.

     

  5. Haven't used wine for ages. Tried Medal of Honor - Allied Assault, but couldn't get it to work. Wouldn't install. Main reason, because on my son's laptop with Windows 10, it's unable to install, because they removed something from Windows that dealt with the copyright on the disks. So now, cannot be used, unless Windows XP or perhaps Windows 7. Pity as forgotten that I'd bought the game, and now can't play it at all.

     

    Usually searched the winedb to see if it was supported and found that a lot of the apps I wanted to use just didn't work. Have used playonlinux and winetricks, which were quite good. Didn't bother much with Crossover.

  6. John,

     

    Using xset is temporary, but it allows you to check and test without editing xorg.conf and rebooting. So you missed the point a little bit there. For permanent changes, you add it to xorg.conf. The link I gave you also had the info there to add it to xorg.conf.

     

    As I wrote in my first post Temporarily you can from the console disable DPMI and then gave you the info about using xset.

     

    And from the link in the very first section after the contents:

     

    Section "Monitor"

    Identifier "LVDS0"

    Option "DPMS" "false"

    EndSection

     

    the identifier of course will be different depending on your computer. The key line was the dpms false. All the info was there in my post and link that I gave, so no googling was required :)

  7. I was using standard monitor on standard DSUB port. Also on my laptop. So, it'll be something with the HDMI and power management settings for sure, since it's going after 10 minutes.

     

    See if you can find a way to disable DPMS. This you should be able to find under NVIDIA settings I expect.

     

    Here is a link with more info:

     

    https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling

     

    I know it's Arch Linux, but the same methods will apply. Temporarily you can from the console disable DPMI.

     

    xset -dpms

     

    and then when you want to enable it again, just put a + instead of the - before dpms. Failing that, try:

     

    xset s off -dpms

     

    from the link above it says, to disable dpms and prevent the screen from blanking.

  8. John, I've had this problem, it's not the monitors, rather something in the distro that is ignoring the fact that when watching a video, the screensaver shouldn't kick in or power management causing them to blank. If I remember correctly, there can be a setting in the program you are using to watch videos, that stops the screen from blanking or screensaver from kicking in. Changing from one distro to another fixed the problem. Once, I had it working, then using another distro it stopped working, then switched to something else, and was working again as it should. So this for sure, rules out the issue that its your monitors, but rather a distro inconvenience.

     

    This annoyed me previously also, and in the end ended up stopping power management from turning the monitors off, or even from having the screensaver set. Then if I wanted to lock the computer, I just did it with a CTRL-ALT-L to activate the screensaver, rather than have it set for a certain time to come on.

  9. John,

     

    See attached screenshots.

     

    01.png - go to Tools, System Tools, System Settings.

    02.png - scroll down for start/shutdown options and double-click.

    03.png - disable the confirm logout option.

    04.png - this is how the screen should look after you disabled the logout option. Click Apply.

     

    now choose restart or shutdown or whichever you want, and you'll now find that it will do it immediately instead of waiting 30 seconds.

    post-10327-0-01737500-1455306697_thumb.png

    post-10327-0-31313000-1455306709_thumb.png

    post-10327-0-16344400-1455306718_thumb.png

    post-10327-0-11180300-1455306727_thumb.png

  10. Doing a generic search gives this:

     

    https://forum.kde.org/viewtopic.php?f=66&t=83273#p140480

     

    the 30 seconds is hard-coded. So you can't change it. But what you can do is disable the confirmation box which is what is displayed for 30 seconds. So if you do that, it will then just shutdown or reboot instead of waiting for 30 seconds.

     

    From the link above:

     

    disable the confirmation in kde's systemsettings, under [advanced->sessionmanager]
×
×
  • Create New...