Search:

Type: Posts; User: terminator14; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    609

    [all variants] Re: Proper Usage of flock

    I can't think of anything that regular, manually created lock files can't handle for my situation, whereas the flock implementation I outlined above has a flaw, which I also mentioned.
    I'm sure...
  2. Replies
    5
    Views
    609

    [all variants] Re: Proper Usage of flock

    I'm using bash.
    Your way works. It might need a few additional lines to handle:


    Your script exiting unexpectedly

    You need a trap on SIGINT, EXIT, etc to catch that and remove the lock...
  3. Replies
    5
    Views
    609

    [all variants] Proper Usage of flock

    I work for a satellite internet provider, and we have a main server that keeps all the info about all the current satellite dishes in a mysql database.
    I have multiple scripts that all need to pull...
  4. Re: Making Ubuntu Fast using RAM (updated and simplified)

    It's certainly more likely to work, since there is upstart-specific code in the script, but there's no guarantee that some other change that was made between Ubuntu 14.10 and 15.04 (which I assume is...
  5. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Sounds like a fairly basic system. Thanks though - good to hear it works.



    I try :)



    On my linkedin page - yes. Using this project to make my resume sound nicer was obviously not the...
  6. Re: Making Ubuntu Fast using RAM (updated and simplified)

    No problem :)
  7. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Awesome :)

    From a programmer's point of view however, "the program works flawlessly" and "the program worked for one user in one configuration in such a way as to not have seemed to do anything it...
  8. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Things take more and more RAM every year. 4GB used to be plenty - now it's almost the minimum. These days, 1.5 GB for a system you actually want to do stuff on (watch youtube, surf the web, etc) is...
  9. Re: Making Ubuntu Fast using RAM (updated and simplified)

    I have not tried Lubuntu, but the image appears to be 700MB. 1.5GB, 700MB of which will be taken up by the image itself leaves you with 800MB of usable RAM tops. That's not very much RAM - my firefox...
  10. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Good to hear you got it going.
    Ya - messing with kernels and grub can be loads of fun. When you add the increased complexity of RAM Session (which does a few tricks to make sure grub does NOT find...
  11. Re: Making Ubuntu Fast using RAM (updated and simplified)

    As far as I can tell, you were able to install the 3.13.0-48-generic kernel using the chroot, but it apparently did not automatically tell grub to rebuild itself, which I'm pretty sure it should...
  12. Re: Making Ubuntu Fast using RAM (updated and simplified)

    It seems that you've deleted your main kernel for your Original OS.
    Reinstalling everything is a bit drastic at this point, as there are several ways to recover.

    Try this:
    Boot into the RAM...
  13. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Thanks :)



    Awesome!
  14. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Wow - thanks guys. :D
  15. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Thanks :)
  16. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Thanks. I'm glad to hear you're happy with it.



    There are many improvements that could be made to the scripts - that is probably one of them. Unfortunately, it would take me days, if not weeks,...
  17. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Again, for Mint 17.1, you're better off using RAM_booster_Ubuntu_14.04_ng_BETA.sh.
  18. Re: Making Ubuntu Fast using RAM (updated and simplified)

    You're running them wrong.
    http://www.cyberciti.biz/faq/howto-run-a-script-in-linux/

    After reading that, watch the video for how to use my script specifically:...
  19. Re: Making Ubuntu Fast using RAM (updated and simplified)

    The latest version of Mint (17.1) is NOT based on the latest version of Ubuntu (14.10). Instead, it is based on the slightly older Ubuntu 14.04.
    This means that my Ubuntu 14.04 script is better...
  20. Re: Making Ubuntu Fast using RAM (updated and simplified)

    It was NOT tested with Mint. Which version of Mint are you using? If I have a few minutes, I might give it a try, and if the problems are quick fixes, and don't complicate the code too much, I might...
  21. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Wow. Interesting.
    Off the top of my head, I know that the code that unmounts the chroot (in redit and rupdate) specifically checks that no upstart services are running. In systemd, it would need...
  22. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Awesome!
    What are you using to run VMs? VMware? VirtualBox?
  23. Re: Making Ubuntu Fast using RAM (updated and simplified)

    Oh - that's what you meant. Wow - that is pretty interesting - I would have been uncertain if that was possible.

    PS. Awesome diagram!
  24. Re: Making Ubuntu Fast using RAM (updated and simplified)

    A VM is how I do all my testing. Being able to reset the entire OS to a known good state in 5 seconds with one button (vmware snapshots) is hundreds of times easier than reinstalling the entire...
  25. Re: Making Ubuntu Fast using RAM (updated and simplified)

    The code for 14.04_BETA is almost exactly the same as the code for 14.10_ng.sh.
    I first wrote the 14.10_ng script, than made a copy of it and made only the changes that were necessary to get it...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4