Chapter 1
Chapter 1
Chapter 1
Travis
Chapter 1
Setup Package Managers in Different OS envs
-
install cargo for rust language
- debian / Linux der
- windows
- mac
-
- debian / Linux der
- windows
- mac
for all os's
https://doc.rust-lang.org/cargo/getting-started/installation.html
Install cargo in Debian : -
sudo apt-get install cargo
Install and config on Debian 10 :-
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-debian-10
Install extensions and ext Packages
Install php extensions required for laravel
Debian 10 / Ubuntu /
sudo apt install openssl php-common php-curl php-json php-mbstring php-mysql php-xml php-zip
solution Source
https://stackoverflow.com/a/40816033/9301191
Developer Made Mistakes
- Linux
- Setting Invalid PATH - bash CRASHES
- mysql reinstallation on debian 10
Mistakes and Bugs : linux
Setting invalid path
Setting invalid path may leads to crash the terminal commands / bash /
eg :-
bash: ls: command not found
bash: dircolors: command not found
Error on .bashrc
exporting a PATH with missing basic PATH configs: -
export PATH=$HOME/.cargo/bin
but required :$PATH
at the end ,
export PATH=$HOME/.cargo/bin:$PATH
Fix By Following ( Debian 10)
Opened the .bashrc using text-editor and made the changes as above or alternatively you can comment out the recently added paths and
excecute the following :-
Note
I excecuted in 2 terminal session and opend 3 rd terminal session for checking the all the commands is working now. I closed the following 2 terminal session by CTRL+C after checking few commands is working.
/usr/bin/find / -name ls 2> /dev/null
/usr/bin/grep -rn --color "export PATH" ~/. 2> /dev/null
Solution Source
https://devconnected.com/command-not-found-in-bash-fixed/
Error on : connect to local MySQL server through socket
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' — Missing /var/run/mysqld/mysqld.sock
I tried several solution but nothing worked for me :- so I planned to re-install the mysql server
FIX Debian 10
Removing previous installation https://askubuntu.com/a/852565/836186
Re Installed using following guide for debian 10 https://www.digitalocean.com/community/tutorials/how-to-install-the-latest-mysql-on-debian-10