unix – Which iWatch mail program does it use by default?

I try to see which iWatch mail program uses default to send alerts after setting contact email addresses for specific alerts. I do not see the email program defined in the configuration files, but I see in the iWatch documentation a discussion about its raw use in the configuration files, which somewhat offends the fact of having contact email addresses if iWatch does not define which email program use. I can provide any of my configuration files as a reference if needed.

php – proxy: unix does not work with httpd in centos 7

I use httpd as a web server and php language with fpm but everything I get blank page
without errors

conf file:

SetHandler "proxy: unix: /var/run/php7.2-fpm.eslam.eslam.sock | fcgi: // localhost /"

php-fpm: listen = /var/run/php7.2-fpm.eslam.eslam.sock

How can I solve this problem ??

linux – Is it safe to use a Unix pipe to redirect input sensitive output data to another program?

I wish that a Node.js development server uses HTTPS by giving it access to the contents of a TLS certificate and a private key file.

On one side, I do not like the idea of ​​making the TLS private key file readable by someone other than root. By cons, I like the idea of ​​running even less the node server as root.

It seems to me that I can avoid using these methods by manually starting my development server with the following shell command:

sudo cat / path / to / private / key / file | / path / to / node / server

(In my case, the server program can be configured to read STDIN and scan the contents of the key if necessary.)

My assumptions are that the pipe (the | in the above command) is anonymous (unlike named pipes), and unprivileged third-party programs can not access file descriptors that match them (at least under Linux?). Is it correct?

Are there other aspects of security that I need to be aware of? Is this a good solution or are there better solutions?

Can I view local mail / unix (`mail` in the terminal) in Mail.app?

I'm using cron to run some jobs, but since that's the only thing I use for my unix mail, having it run through Mail.app would be a nicer experience than seeing "You have a new mail ". in the terminal.

How can I do this?

mac osx – FCGI: attempt to connect to 127.0.0.1:9000 (*) failed for Apache 2.4, PHP7.1-FPM with Unix plug

I'm trying to install PHP7.1-FPM on MacOS Mojave! I followed this guide and went to the end when it stopped working.

I have my services installed:

$ Sudo Brewing Services List
Name User Status Plist
httpd started root /Library/LaunchDaemons/homebrew.mxcl.httpd.plist
php@7.1 started root /Library/LaunchDaemons/homebrew.mxcl.php@7.1.plist

I've set up my httpd.conf:

#
# DirectoryIndex: defines the file that Apache will serve if a directory
# Is asked.
#

    DirectoryIndex index.php index.html index.htm



   
   
   
   ProxyPassMatch "^ / (. * . Php (/.*)?)$" "fcgi: //127.0.0.1: 9000 / usr / local / var / www / $ 1"


    
    
    
    SetHandler "proxy: unix: /usr/var/run/php7.1-fpm.sock | fcgi: // localhost /"

In my /etc/php-fpm.d/www.conf j & # 39; I

listen = /var/run/php/php7.1-fpm.sock

If I check the processes, everything seems to go well:

$ ps to | grep php-fpm 10.2s  Thu 17 Jan 14:15:40 2019
finnlesueur 3718 0.0 0.0 4268052 692 s001 S + 12:28 pm: 00.01 -file /usr/local/var/log/php-fpm.log
finnlesueur 30588 0.0 0.0 4268060 812 s000 S + 2:15 pm 0: 00.00 grep --color = auto php-fpm
_www 29371 0.0 0.0 4520960 1180 ?? 14h08: 00h00 /usr/local/opt/php@7.1/sbin/php-fpm --nodaemonize
_www 29370 0.0 0.0 4520960 1080 ?? 14h08: 00h00 /usr/local/opt/php@7.1/sbin/php-fpm --nodaemonize
root 29366 0.0 0.1 4518912 30808 ?? Ss 14:08 pm: 00.08 /usr/local/opt/php@7.1/sbin/php-fpm --nodaemonize

$ ps to | grep httpd
finnlesueur 29346 0.0 0.0 4345112 1832 ?? S 14:08:00.00 / usr / local / opt / httpd / bin / httpd -D FOREGROUND
root 29332 0.0 0.0 4309296 2720 ?? 14h08: 00h09 / usr / local / opt / httpd / bin / httpd -D FOREGROUND
finnlesueur 30727 0.0 0.0 4268060 812 s000 S + 2:16 pm 0: 00.00 grep --color = auto httpd
finnlesueur 29350 0.0 0.0 4328728 1172 ?? S 14:08:00.00 / usr / local / opt / httpd / bin / httpd -D FOREGROUND
finnlesueur 29349 0.0 0.0 4345112 1180 ?? S 14:08:00.00 / usr / local / opt / httpd / bin / httpd -D FOREGROUND
finnlesueur 29348 0.0 0.0 4353304 1184 ?? S 14:08:00.00 / usr / local / opt / httpd / bin / httpd -D FOREGROUND
finnlesueur 29347 0.0 0.0 4335896 1192 ?? S 14:08:00.00 / usr / local / opt / httpd / bin / httpd -D FOREGROUND

my DocumentRoot has a index.php where it just echoes phpinfo (); and that sounds good too, but when I load localhost, I see 503 Service Not Available and in my HTTP error log, I get:

[Thu Jan 17 14:18:57.654807 2019] [authz_core:debug] [pid 29347]    mod_authz_core.c (817): [client ::1:57866] AH01626: authorization result of Require any granted: granted
[Thu Jan 17 14:18:57.654991 2019] [authz_core:debug] [pid 29347]    mod_authz_core.c (817): [client ::1:57866] AH01626: result of the authorization of : allowed
[Thu Jan 17 14:18:57.655083 2019] [authz_core:debug] [pid 29347]    mod_authz_core.c (845): [client ::1:57866] AH01628: authorization result: granted (no instructions)
[Thu Jan 17 14:18:57.655119 2019] [proxy_fcgi:debug] [pid 29347]    mod_proxy_fcgi.c (108): [client ::1:57866] AH01060: set r-> filename to proxy: fcgi: //127.0.0.1: 9000 / usr / local / var / www / index.php
[Thu Jan 17 14:18:57.655162 2019] [proxy:debug] [pid 29347]    mod_proxy.c (1246): [client ::1:57866] AH01143: Running the fcgi schema manager (attempt 0)
[Thu Jan 17 14:18:57.655171 2019] [proxy_fcgi:debug] [pid 29347]    mod_proxy_fcgi.c (1019): [client ::1:57866] AH01076: url: fcgi: //127.0.0.1: 9000 / usr / local / var / www / index.php proxy name: (null) proxyport: 0
[Thu Jan 17 14:18:57.655183 2019] [proxy_fcgi:debug] [pid 29347]    mod_proxy_fcgi.c (1028): [client ::1:57866] AH01078: Service URL fcgi: //127.0.0.1: 9000 / usr / local / var / www / index.php
[Thu Jan 17 14:18:57.655191 2019] [proxy:debug] [pid 29347]    proxy_util.c (2313): AH00942: FCGI: acquired the connection for (*)
[Thu Jan 17 14:18:57.655199 2019] [proxy:debug] [pid 29347]    proxy_util.c (2367): [client ::1:57866] AH00944: fcgi connection: //127.0.0.1: 9000 / usr / local / var / www / index.php to 127.0.0.1:9000
[Thu Jan 17 14:18:57.655219 2019] [proxy:debug] [pid 29347]    proxy_util.c (2576): [client ::1:57866] AH00947: connected /usr/local/var/www/index.php to 127.0.0.1:9000
[Thu Jan 17 14:18:57.655346 2019] [proxy:error] [pid 29347]    (61) Connection refused: AH00957: FCGI: The attempt to connect to 127.0.0.1:9000 (*) failed.
[Thu Jan 17 14:18:57.655367 2019] [proxy_fcgi:error] [pid 29347] [client ::1:57866]    AH01079: Server connection failed: 127.0.0.1
[Thu Jan 17 14:18:57.655375 2019] [proxy:debug] [pid 29347]    proxy_util.c (2328): AH00943: FCGI: freed the connection for (*)

And nothing happens to my PHP-FPM log, I guess, because the connection has not been established.

I have been on Google for hours, but I can not find anything that works. Any help would be appreciated!

Let me know if there is any additional information I can provide!

Update 1

$ sudo lsof -U | grep php
php-fpm 29366 root 5 units unix 0xf497a489280ca0c1 0t0 -> 0xf497a489280c91e9
php-fpm 29366 root 6u unix 0xf497a489280c91e9 0t0 -> 0xf497a489280ca0c1
php-fpm 29366 root 7 units unix 0xf497a489280c9a81 0t0 /var/run/php/php7.1-fpm.sock
php-fpm 29370 _www 8u unix 0xf497a489280c9a81 0t0 /var/run/php/php7.1-fpm.sock
php-fpm 29371 _www 8u unix 0xf497a489280c9a81 0t0 /var/run/php/php7.1-fpm.sock

unix – Can not start Kali Linux with rEFInd

I am currently trying to install and start Kali Linux on my MacBook Pro 2018, equipped with the new T2 chip with boot security.

I have disabled SIP and Secure Boot on my Mac, as well as the installation of rEFInd on my computer with the instructions of this message.

When I start in rEFInd, I am greeted with this window:

enter the description of the image here

The first disk you see brings me back to an empty screen with a "no entry" sign, the second option allows me to start under macOS High Sierra (I do not want to switch to macOS Mojave for the moment), then the third option is my Kali Linux installation disk.

The problem is, when I start under Kali Linux (file name) kali-linux-amd64-2018.3a, I end up having this error:

enter the description of the image here

Why does this happen and what should I do to solve this problem? I do not want to update Mojave now because of some development tools, but it will be in the next few weeks. I will also install Kali Linux on the same USB key, but on another partition, so I can start it on other computers as well.

Here is the layout of my disks (macOS and USB):

/ dev / disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 500.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 499.8 GB disk0s2
3: rEFInd Microsoft Basic Data 199.2 MB disk0s3

/ dev / disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS container schema - +499.8 GB disk1
Physical store disk0s2
1: APFS Volume Macintosh HD 201.2 GB disk1s1
2: Pre-booting APFS volume 43.8 MB disk1s2
3: APFS Volume Recovery 1.0 GB disk1s3
4: APFS VM Volume 1.1 GB disk1s4

/ dev / disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme * 30.8 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Kali Linux 26.4 GB disk2s2
3: Microsoft Basic Instal Database 3.9 GB disk2s3

disk0s3 is the place where i have rEFInd installed, disk2s2 is where I would like to install Kali and disk2s3 is the location where the installer is located.

Edit:

Release sudo fdisk / dev / disk2:

Disk: / dev / disk2 geometry: 3738/255/63 [60063744 sectors]
Signature: 0xAA55
Starting Finishing
#: id cyl hd sec - cyl hd sec [     start -       size]
-------------------------------------------------- ----------------------
1: EE 1023 254 63 - 1023 254 63 [         1 -   60063743] 
 
 
 
 2: 00 0 0 0 - 0 0 0 [         0 -          0] unused
3: 00 0 0 0 - 0 0 0 [         0 -          0] unused
4: 00 0 0 0 - 0 0 0 [         0 -          0] unused

The iso file has also been installed with the help of the not a word order.

connect () to unix: ///tmp/web2py.socket failed (13: permission denied) on mac

I followed the tutorial below to configure nginx + web2py + uwsgi but nginx could not access the uwsgi socket. below is my configuration file

web2py + uwsgi + nginx configuration on Ubuntu

Nginx configuration file in /usr/local/etc/nginx/nginx.conf

#user person;
worker_processes 1;

error_log /var/log/nginx/nginx_error.log;
#error_log logs / error.log notice;
#error_log logs / error.log info;

#pid logs / nginx.pid;


events {
worker_connections 1024;
}


http {
include mime.types;
default_type application / octet-stream;

#log_format main $ remote_addr - $ remote_user [$time_local] "$ request" & # 39;
# $ Status $ body_bytes_sent "$ http_referer" & # 39;
# "# Http_user_agent" "$ http_x_forwarded_for" & # 39 ;;

#access_log logs / access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

server {
listen to 80;
server_name $ hostname;
### to allow the correct use of response.static_version
location ~ * ^ / ( w +) / static (?: / _[d]+ .[d]+ .[d]+)? / (. *) $ {
aliases / Users / sudhakar / Office / web2py / applications / $ 1 / static / $ 2;
expires max;
### if you want to use pre-compressed static files (recommended)
### check scripts / zip_static_files.py and delete comments
#include /etc/nginx/conf.d/web2py/gzip_static.conf;
}
###

### if you use something like myapp = dict (languages ​​=['en', 'it', 'jp'], default_language = & # 39;) in your routes.py
#location ~ * ^ / ( w +) / (en | it | jp) / static /(.*)$ {
# alias / home / www-data / web2py / applications / $ 1 /;
#true_files static / $ 2 / $ 3 static / $ 3 = 404;
#}
###

location / {
#uwsgi_pass 127.0.0.1:9001;
uwsgi_pass unix: ///tmp/web2py.socket;
include uwsgi_params;
uwsgi_param UWSGI_SCHEME $ scheme;
uwsgi_param SERVER_SOFTWARE nginx / $ nginx_version;

### removes comments to enable if you want your pages to be compressed to gzip
#include /etc/nginx/conf.d/web2py/gzip.conf;
### end of gzip section

### remove comments if you use downloads (max 10 MB)
#client_max_body_size 10m;
###
}
}


# another virtual host using a combination of IP-based configuration, name, and port
#
#server {
# listen 8000;
# listen to something: 8080;
# server_name alias name another.alias;

# location / {
# root html;
# index index.html index.htm;
#}
#}


# HTTPS server
#
#server {
# listen 443 ssl;
# server_name localhost;

# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;

# shared ssl_session_cache: SSL: 1m;
# ssl_session_timeout 5m;

# ssl_ciphers HIGH :! aNULL :! MD5;
# ssl_prefer_server_ciphers on;

# location / {
# root html;
# index index.html index.htm;
#}
#}
server {
listen 443 default_server ssl;
server_name $ hostname;
ssl_certificate /usr/local/etc/nginx/ssl/web2py.crt;
ssl_certificate_key /usr/local/etc/nginx/ssl/web2py.key;
ssl_prefer_server_ciphers on;
shared ssl_session_cache: SSL: 10m;
ssl_session_timeout 10m;
ECDHE-RSA-AES256-SHA: DHE-RSA-AES256-SHA: DHE-DSS-AES256-SHA: DHE-RSA-AES128-SHA: DHE-DSS-AES128-SHA;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
keepalive_timeout 70;
location / {
#uwsgi_pass 127.0.0.1:9001;
uwsgi_pass unix: ///tmp/web2py.socket;
include uwsgi_params;
uwsgi_param UWSGI_SCHEME $ scheme;
uwsgi_param SERVER_SOFTWARE nginx / $ nginx_version;
### removes comments to enable if you want your pages to be compressed to gzip
#include /etc/nginx/conf.d/web2py/gzip.conf;
### end of gzip section
### remove comments if you want to enable downloads (max 10 MB)
#client_max_body_size 10m;
###
}
### to allow the correct use of response.static_version
location ~ * ^ / ( w +) / static (?: / _[d]+ .[d]+ .[d]+)? / (. *) $ {
aliases / Users / sudhakar / Office / web2py / applications / $ 1 / static / $ 2;
expires max;
### if you want to use pre-compressed static files (recommended)
### check scripts / zip_static_files.py and delete comments
#include /etc/nginx/conf.d/web2py/gzip_static.conf;
}
###

}
include / * servers
}

Uwsgi config file in /etc/uwsgi/web2py.ini

[uwsgi]



socket = /tmp/web2py.socket
chmod-socket = 600
uid = _www
gid = _www
pythonpath = / Users / sudhakar / Desktop / web2py /
mount = / = wsgihandler: application
process = 4
master = true
harakiri = 60
reload-mercy = 8
cpu-affinity = 1
stats = /tmp/stats.socket
max-requests = 2000
limit-as = 512
reload-on-as = 256
reload-on-rss = 192
touch-reload = /Users/sudhakar/Desktop/web2py/routes.py
cron = 0 0 -1 -1 -1 python /Users/sudhakar/Desktop/web2py/web2py.py -Q -S welcome -M -R scripts / sessions2trash.py -A -o
no orphan = true

under the command is used to run uwsgi

exec / usr / local / bin / uwsgi --ini /etc/uwsgi/web2py.ini

unix – Transform the iMovie workflow into ffmpeg streamline

I wish to raise this problem as part of simplifying the iMovie editing process.

Let's say I've simple pre-treatment habits that I built with regular use of iMovie, for which I wish Makefile using the ffmpeg command line.

Is there a way to get a theme file descriptor that I built to turn cut-related procedures into a list of ffmpeg calls.

Case of use / example

AV1.mp4 is my source of registration

  • I need to apply Day at night Filter over AV1 -> AV1.mp4.din
  • I need diaper AV1.mp4.din above AV1.mp4 with opacity = value -> AV1.mp4.dl
  • [Optional] some effects may come into play over the two previous streams before applying the previous function

Notes for the reader

I do not wish tryhard & test everything to avoid killing my hard drive.
Under the same conditions, the bottom line is supposed not to change, but iMovie must provide me with a description of the applied theme before translating it into ffmpeg terms.

Any suggestion?

Amazing 50% off! $ 14 / month => 1 GB 50 GB SSD. UNIX really managed! % LIMITED TIME OFFER ONLY%

vps managed

Promotion: 50% off for life with any cloud in 10 different places. Limited offer and limited time offer. Coupon: 50% off

UNIXy is a company of managed vps servers and dedicated servers with a proven 13-year experience in web hosting. We strive to differentiate ourselves from rack and heap companies by offering added value in addition to our superior service. We offer a fully managed and worry free hosting experience. We strive to keep your server secure, optimized and monitored, while remaining available to answer all your requests.

Do not just take our word for it, here's what some customers think of our service:

http://www.webhostingtalk.com/showth…6#post10082766 (new member WHT)
[url]http://www.webhostingtalk.com/showthread.php?t=1240186 (new member WHT)
http://www.webhostingtalk.com/showthread.php?t=1116671 (member of the WHT since 2002)
http://www.webhostingtalk.com/showthread.php?t=1092741 (member of the WHT since 2010)
http://www.webhostingtalk.com/showthread.php?t=1091585 (WHT member since 2011)
http://www.webhostingtalk.com/showthread.php?t=980901 (member of WHT since 2007)
http://www.webhostingtalk.com/showthread.php?t=981760 (member of the WHT since 2010)
http://www.webhostingtalk.com/showthread.php?t=966653 (WHT member since 2010)
http://www.webhostingtalk.com/showthread.php?t=977720 (WHT member since 2009)
http://www.webhostingtalk.com/showthread.php?t=963342 (member of the WHT since 2009)
http://www.webhostingtalk.com/showthread.php?t=888995 (member of the WHT since 2004)
http://www.webhostingtalk.com/showthread.php?t=858278 (WHT member since 2008)
http://www.webhostingtalk.com/showthread.php?t=951951 (member of the WHT since 2009)
http://www.webhostingtalk.com/showthread.php?t=893293 (member of WHT since 2006)
http://www.webhostingtalk.com/showthread.php?t=715238 (member of the WHT since 2003)
http://www.webhostingtalk.com/showthread.php?t=889263 (member of the WHT since 2001)
http://www.webhostingtalk.com/showpo…91&postcount=4 (member of WHT since 2007)

Cloud plans

CLOUD1

  • UNIX really managed
  • vCores: 1
  • RAM: 1GB
  • SSD: 25 GB
  • Data transfer: 1 TB @ 1 Gbps Uplink
  • 1 IPv4 and IPv6
  • Free configuration panel: Virtualmin
  • Offer of limited duration: $ 28 / month $ 14 / month
  • Order now

CLOUD2

  • UNIX really managed
  • vCores: 1
  • RAM: 2 GB
  • SSD: 50 GB
  • Data transfer: 2 TB @ 1 Gbps Uplink
  • 1 IPv4 and IPv6
  • Free configuration panel: Virtualmin
  • Offer of limited duration: $ 38 / month $ 19 / month
  • Order now

CLOUD3

  • UNIX really managed
  • vCores: 1
  • RAM: 3 GB
  • SSD: 60 GB
  • Data transfer: 3 TB @ 1 Gbps Uplink
  • 1 IPv4 and IPv6
  • Free configuration panel: Virtualmin
  • Offer of limited duration: $ 58 / month $ 29 / month
  • Order now

CLOUD4

  • UNIX really managed
  • vCores: 2
  • RAM: 4GB
  • SSD: 80 GB
  • Data transfer: 4 TB @ 1 Gbps Uplink
  • 1 IPv4 and IPv6
  • Free configuration panel: Virtualmin
  • Offer of limited duration: $ 74 / month $ 37 / month
  • Order now

CLOUD5

  • UNIX really managed
  • vCores: 4
  • RAM: 8GB
  • SSD: 120 GB
  • Data transfer: 5 TB @ 1 Gbps Uplink
  • 1 IPv4 and IPv6[/B]
  • Free configuration panel: Virtualmin
  • Offer of limited duration: $ 120 / month $ 60 / month
  • Order now

Available locations

  • New York
  • San Francisco
  • Tonronto
  • London
  • Amsterdam
  • Singapore

Addons available

  • Additional block storage
  • snapshots
  • safeguard
  • Private network

payment methods

  • Credit card
  • Pay Pal
  • We take crypto (Bitcoin, Ethereum, Litecoin, BNB and others)

Free cPanel Plugins:

Server management functions:

  • Really fully managed hosting
  • Script optimization, SQL and HTTP
  • Server security and security
  • Advanced server configuration (Varnish & Nginx)
  • Free UNIX script
  • Migration and transfers without intervention
  • Server optimization
  • Performance optimization
  • Safety tightening
  • Nginx Fu-Jitsu
  • Debugging scripts
  • Shell Scripts on Demand
  • Custom Varnish programming VCL *
  • Fixed script bug
  • Software Development Consulting
  • Server and software fix
  • Third-party software support
  • Unlimited support tickets to the server
  • Improved SQL query
  • HTTP optimization
  • MySQL Optimization
  • Reddit effect mitigation
  • Reverse Engineering Script
  • Free temporary upgrades *
  • And much more…
  • Supports a wide variety of software: Tomcat, Ruby on Rails, Python, Laravel, Django, Docker, etc.

Portal shortcuts

Contact us today and tell us about your needs. Do not hesitate to contact us if you have questions or comments. No questions are minor!

Have a good week!

macos – How to get to know OS X / Unix better?

I do not know how to ask that question, but it has been a problem for me for so long.

I have been a DOS / Windows user for a long time, about 12 years ago, when Mac OS X was released for the first time. I turned to the Mac and have stayed there ever since. I am 32 years old and I have grown up using a text / command line user interface, from DOS 3.1, while 3.5 "floppies were not even supported. So I'm comfortable enough to use a command-line user interface, and since I came to OS X I have never really understood how this operating system works.

As for example under DOS or Windows. I know that there is autoexec.bat and config.sys where I can make changes for the computer to do what I want at startup. And I know that all the basic functions are stored in a directory called "Command" where I can find most of what I need to navigate the operating system. The file system is quite simple. Each disk has a name, A, B, C, D, E, etc., etc., which seems to be at the top level of the file system, which seems logical to me since everything stored in these material is fundamental. And I also know that if I'm in a certain directory but I have to use a function that is not in this directory, I can put the directory of this function in "PATH" so I can use it where I want.

But on Mac (and even under Linux, I tried it a few times but found myself stuck in the same place), I do not know how. It's not that I need to do something like this every day, because we have the graphical interface of all potentials, but when I need it, it's really a big problem for me. For example, I sometimes have to install something that requires command line knowledge, such as Octave. After some research, I know I have to use a package manager such as Fink, Macport or Homebrew. If they can work out of the box, I would not be here asking for this. The problem is very often that they do not do it. They almost always get stuck somewhere during the installation. And there is also always some essential knowledge that I do not know, as I can choose from the three but I can not use two of them at the same time as my package manager or something could go wrong. OK, there may be something wrong … How could I know before something goes really bad? Why this case? Why can not I use both at the same time? When I install them, where do they place the binary files? Will Homebrew put the directory in the default path so that I can use it when I want it alone? During installation, in case of warning or error, should I just ignore it?

The first time I tried to install Octave on my mac, I tried all three without knowing that I could not use them at the same time. But what more could I do after seeing that Fink and Macport had failed? And the last time I tried to install Octave, it literally took me three days. Because at this point, I already learned that I could not use all three and that I should also use Homebrew because that is the one that worked before. It took me 3 days to do ad-hoc searches on the Internet without success, then I thought I could just try Fink again, and it worked! I just do not understand any of this … And I should consider myself lucky to have it running, because I have not figured out how to install numpy on my Python yet 3. And I do not know how long it took me now …

It's the same as when I wanted to use Linux. I know a little code. Although I mostly use Python, I still have some knowledge of languages ​​like C / C #. So I know what it means to compile. The problem with Linux (and mac too) is when I want to install something, often I have to compile the binaries from the source code first. And many things can go wrong during the compilation process (for which I do not know why). And it's not something that searching the internet can help me because most of the answers provided on the internet are ad-hoc. They tell you that you should try this command or command and see if it works. Sometimes it is, sometimes not. But the problem is that even if it works and solves the problem, I still do not know why it works. At this point, I still do not know, say, when I've finally finished compiling the source code, where is the binary? Is the binary that I receive is the application or is it just an installer? If it's an installer, how can I install it? Where can I install it? And things could go wrong during installation. As I said earlier, the use of the internet does not really help in this case because even though I have to make it work this time around, the next time something similar will happen, I will have to go through all the research on the Internet. . It really takes a lot of time and is frustrating, because you do not know what you are doing and you feel like a Sisyphus trying to put the rock on top of the mountain again and again just to see it come down …

Here is my question:

Is there a book or course online that can help me get to the bottom of things? Compared to the other 100 hours spent searching the Internet while being stuck in the same place, I prefer to spend those 100 hours (and I guess it would be much less than that) to build a solid foundation for my understanding of all Unix. as a system.

It's a long article, thanks a lot for reading it!