Danh mục: Mac
-
library lq link
Firstly, I run these commands: brew install libpq brew link –force libpq Then: PQ_LIB_DIR=”$(brew –prefix libpq)/lib” cargo install diesel_cli –no-default-features –features postgres I solved it with: cargo clean later cargo build
-
Stuck terminal when connect ssh
This is what I have in my ~/.ssh/config. To enable it for all hosts use: Host * ServerAliveInterval 240 Also make sure to run chmod 600 ~/.ssh/config, because the config file must not be world-readable.
-
Brew install php
Tap shivammathur/php brew tap shivammathur/php Install and link PHP 7.1 brew install shivammathur/php/php@7.1 brew link –force –overwrite shivammathur/php/php@7.1