Linux

Posted on
Page
of 47
  • I run windows in VirtualBox on my Ubuntu machine and it runs perfectly, so I don't know why Ubuntu would be running slowly, especially given that it should be less resource intensive.

    Have you tried playing around with the settings? Give it some more ram, some more video memory, maybe dick around with the chipset setting, etc, etc?

    If you just want to play around, I've found that running ubuntu live from a USB3 flash drive was surprisingly ok.

  • OK, not the ideal thread but I could do with some python help, I'm trying to get it work with plotly.

    I'm following a tutorial at the moment about using data from a csv file and it says

    '# Import data from csv
    df = pd.read_csv('sample-data.csv')
    df.head()'

    But where should that csv file be placed for it to be found?

  • Since you've not specified the absolute path, I'd expect the read_csv is using a relative path so place the CSV in the same directory as you're running the script from.

  • Yeh I thought that but it doesn't seem to work, I've copy and pasted it a lot now but still now joy

  • Had my slashes mixed up.

    Jesus.

  • Is there a way to output periodic sensor temperatures to a file? Every minute or so I guess

    Using sensors I can get the instantaneous temperature but I want to monitor it.

  • Cron is probably simplest.
    In crontab :

    • * * * * * Sensors_command >> output_file

  • If you want to really geek out you could install something like https://collectd.org/ and then you can see graphs too.

  • You could use something like sensu if you wanted to alert if it goes over a threshold, or to send to a time series db (such as graphite or preferably influxdb) for graphing but that's probably overkill...

  • That's what sensord is for

    man sensord

  • Cheers, I gave that a try and worked ok (once I realise that running it every minute required *\1 rather than just \1)

    There was a package (sensord) to export to a round robin database but fuck knows how to get the data out of that afterwards, my data processing is strictly Excel based.

  • Cheers, I found that but, as above, I just ended with an impenetrable file

  • You can manipulate rrd files with rrdtool: http://oss.oetiker.ch/rrdtool/

    rrdtool has built in support for generating graphs and you can get a dump in its proprietary XML format with 'rrdtool dump file.rrd'.

    It's a pretty powerful, fairly inpenetrable tool with the bonus of reverse polish notation!

  • Good notation polish reverse is.

  • I downloaded rrdtool, spent 5 minutes trying to work it out, gave up. I'm sticking with Excel

    I seem to remember I had a calculator with reverse polish notation

  • I'm trying to set up an OpenVPN server on my Ubutnu server.

    Server has access to the internet fine.

    OpenVPN appears to be set up OK. I can establish a connection to the server. However, I can't access anything, neither the local network or the internet. I've tried playing around with UFW with no success. I've set up the same thing on a Raspberry Pi and it worked fine there.

    Any suggestions?

  • Anyone know anything about the Kodi box.
    Linux based entertainment system.

    Don't like the idea of being tied into Sky, Virgin, Microsoft etc for entertainment stuff. Could this be a solution?

  • It's like Plex, but not as good, but is used more by those who want to pirate stuff.

    It's dumb to pirate stuff in this way, as it's easy to detect. If you're going to pirate stuff learn about VPNs, seedboxes, private torrent sites, and don't use local bittorrent clients, especially not ones attached to media centers that are visible/accessible over the internet.

    In short:

    • Use Plex
    • Do your pirating elsewhere
  • Kodi only make the software, all the various boxes are third party (generally without Kodi's approval). A Raspberry Pi will run it as well as anything else (unless you're looking at 4k video and the like).

    It's an option, there are a whole load of add-ons with a whole load of media of varying legality. Some work, some don't work, some work but you'll end up watching a compressed film with crap quality and chinese subtitles. Personally I couldn't be bothered with it (other than for football) but some like it.

  • Thanks guys. Pirate elsewhere sounds sound advice.

  • I'm running lubuntu from a usb on my old netbook to see whether it can make it usable again, so far so good.

    As I am new to all this (an effort to start expanding my knowledge), can anyone point me in the direction of reliable info? Also what is the risk re virus' etc.

    cheers

  • Also what is the risk re virus' etc.

    Pretty low.

    And can be mitigated by running SELinux. But oh how that config hurts, and it will kick you in the teeth a lot before you've got it configured perfectly.

    Most Linux users I know do not run AV, and do not care. Just be sensible, only install software you trust, don't run things you got from the internet, don't open attachments you didn't expect to receive, etc.

  • I guess that's what I'm struggling with to start.

    I wanted to download uTorrent, but it appears that I need to mess about to get it to run, and the website.

    So I was just wondering where are solid places to look for info.

  • Get Transmission instead of uTorrent.

  • @hugo7
    or qbittorrent. uTorrent is a bit too adwarey these days. Has moved away from its low footprint junk free early days

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Linux

Posted by Avatar for hael @hael

Actions