Linux.com: Everyone in the land of Linux has either heard of or made use of a lightweight Linux distribution.
I recently started a new job as an junior server admin in the cloud (~150 nodes with CentOS). I realised there is much to learn and I am willing. I was wondering maybe you guys can help me with some good resources (books, video, websites, etc..) that will enlighten my understanding. I think i have fair knowledge about individual components, but I fall short when pieces are connected together - architecture, (infrastructure?), topology, optimisation (the key term) and security.
The technology we use: load-balancing (haproxy), nginx, apache, MariaDB, Redis, Elastic-search, etc. All nodes are managed via salt (Salt Stack).
Thanks!submitted by /u/H0rkyze
Today, October 15, 2016, the ParrotSec team unleashed the second point release to the Debian-based Parrot Security 3.x GNU/Linux distribution designed for ethical hackers and security researchers.
On October 14, 2016, the developers of the Debian-based Elive Linux distribution built on top of the Enlightenment desktop environment announced the release of a new Beta version.
So I'm running OSX 10.11.6, and trying to write a simple simple shell script to periodically dd an image of my hard drive to an external USB drive.
(This hard drive used to hold a time machine backup)
But dd can't run - I get an error stating:d: /dev/disk4s2: Resource busy
I DDGed around and it looks like I need to unmount the drive first. Sounds simple. However OSX likes to do things its own way which has sent me down a rabbit hole...
Firs my system doesn't seem to have disktutil installed. Here's what happens when I try to locate the partition in use and unmount it:$ clear; diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage Macintosh HD 499.4 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 /dev/disk1 (internal, virtual): #: TYPE NAME SIZE IDENTIFIER 0: Apple_HFS Macintosh HD +499.1 GB disk1 Logical Volume on disk0s2 B57C7D76-588A-422A-902D-9BAAD39192EC Unlocked Encrypted /dev/disk2 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme +19.7 MB disk2 1: Apple_partition_map 32.3 KB disk2s1 2: Apple_HFS Flash Player 19.6 MB disk2s2 /dev/disk3 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme +19.7 MB disk3 1: Apple_partition_map 32.3 KB disk3s1 2: Apple_HFS Flash Player 19.7 MB disk3s2 /dev/disk4 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk4 1: EFI EFI 209.7 MB disk4s1 2: Apple_HFS BACKUP 499.8 GB disk4s2 $ disktutil unmount /dev/disk4s2 -bash: disktutil: command not found
I DDGed some more, someone suggested running it w/ sudo. No luck. Another suggested that OSX puts diskutil in /usr/bin/, but I don't see it there:$ ls /usr/bin/ | grep disk diskhits $ sudo ls /usr/bin | grep disk diskhits
So TL;DR: How can I zero a drive using DD in OSX? Is there some similar tool to diskutil on OSX?submitted by /u/NOT_MISTER_ROBOT
Greetings. As the title indicates, I'm having trouble triggering a script on the Raspberry Pi 3 Model B running Raspbian. I've tried setting up a CRON job @reboot, but the problem with that is that since the script involves a GUI element, it doesn't run correctly because the Display Manager isn't up when the CRON job runs. I've tried adding a delay to the CRON job [ @reboot sleep 15 && /usr/bin/tscript.sh ] but that seems to have no effect. I've also tried writing a C program that uses the system() function to call what I need to call, and then adding that executable to rc.d (and init.d), but that doesn't work either. What am I doing wrong?submitted by /u/whyblut