Forum Topic

Thanks for your participation and contribution.


Back to Useful References

Tools to Install

Post a reply
354 views
i90runner1
i90runner1

Dev Tools Setup

#azure-cli
brew update && brew install azure-cli

# xcode
 xcode-select --install 

#  Homebrew
 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Error: The following directories are not writable by your user:
/usr/local/share/zsh
/usr/local/share/zsh/site-functions

## You should change the ownership of these directories to your user.
  sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions

## And make sure that your user has write permission.
  chmod u+w /usr/local/share/zsh /usr/local/share/zsh/site-functions

# kubectl
 brew install kubectl

Visual Studio Code download

https://code.visualstudio.com/Download

Azure Data Studio

https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15

MS Teams

https://www.microsoft.com/en-us/microsoft-teams/download-app#desktopAppDownloadregion

Octant

brew install octant

Kubectx

brew install kubectx

jq

brew install jq

Last updated

i90runner1
i90runner1

dnsmasq

Install

  1. brew install dnsmasq
  2. cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf now this is automatically done by the dnsmasq installation
  3. Replace this in /usr/local/etc/dnsmasq.conf file:
    address=/test/127.0.0.1
    listen-address=127.0.0.1
  4. sudo mkdir -v /etc/resolver
  5. sudo touch /etc/resolver/test
  6. sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/test'
  7. sudo brew services start dnsmasq
  8. Restart your Mac to make it work

Uninstall

  1. sudo brew services stop dnsmasq
  2. rm -f /usr/local/etc/dnsmasq.conf
  3. sudo rm -rf /etc/resolver
  4. brew uninstall --force dnsmasq

Azure Storage Explorer

https://azure.microsoft.com/en-us/features/storage-explorer/

Last updated

i90runner1
i90runner1

Nginx

brew install nginx 

Docroot is: /usr/local/var/www

The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.

nginx will load all files in /usr/local/etc/nginx/servers/.

To have launchd start nginx now and restart at login:
  brew services start nginx
Or, if you don't want/need a background service you can just run:
  nginx
==> Summary
🍺  /usr/local/Cellar/nginx/1.21.0: 25 files, 2.2MB
==> Caveats
==> nginx
Docroot is: /usr/local/var/www

The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.

nginx will load all files in /usr/local/etc/nginx/servers/.

To have launchd start nginx now and restart at login:
  brew services start nginx
Or, if you don't want/need a background service you can just run:
  nginx
i90runner1
i90runner1

PHP

To enable PHP in Apache add the following to httpd.conf and restart Apache:
    LoadModule php_module /usr/local/opt/php/lib/httpd/modules/libphp.so

    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>

Finally, check DirectoryIndex includes index.php
    DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:
    /usr/local/etc/php/8.0/

To start php:
  brew services start php
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/php/sbin/php-fpm --nodaemonize
==> Summary
🍺  /usr/local/Cellar/php/8.0.7: 500 files, 77.8MB
==> Caveats
==> php
To enable PHP in Apache add the following to httpd.conf and restart Apache:
    LoadModule php_module /usr/local/opt/php/lib/httpd/modules/libphp.so

    <FilesMatch \.php$>
        SetHandler application/x-httpd-php
    </FilesMatch>

Finally, check DirectoryIndex includes index.php
    DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:
    /usr/local/etc/php/8.0/

To start php:
  brew services start php
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/php/sbin/php-fpm --nodaemonize

https://pilsniak.com/php-8-on-macos-installation-guide

Last updated

i90runner1

1-5 of 5

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.