- Dual boot: https://lcomlinux.wordpress.com/2018/08/20/instalacao-ubuntu-18-04-e-windows-10-dual-boot-uefi/
- Disable RST: https://askubuntu.com/questions/1233623/workaround-to-install-ubuntu-20-04-with-intel-rst-systems
- Handle bitlocker: https://itsfoss.com/dual-boot-ubuntu-windows-bitlocker/
- Essentials apps
sudo apt install vim terminator aptitude ubuntu-restricted-extras ffmpeg vlc p7zip p7zip-full p7zip-rar unrar pdfarranger kazam kdenlive git gh gitk meld gimp build-essential mesa-common-dev screenruler python3 python3-dev python3-gpg retext htop exfat-fuse exfat-utils -y- Latex apps
sudo apt install kile texmaker texlive-lang-portuguese -y - Misc.
sudo apt install filezilla mysql-server apache2 phpmyadmin mysql-workbench -y - Other multimedia packages
sudo apt install faac faad ffmpeg2theora flac flashplugin-installer icedax id3v2 lame libjpeg-progs mencoder mjpegtools mpeg2dec mpeg3-utils mpegdemux mpg123 mpg321 regionset sox uudeview vorbis-tools x264 arj unace-nonfree -y- Install general packages using snap:
sudo snap install spotify dbeaver-ce discord
sudo snap install slack --classic
sudo snap install code --classic- Install Gnome packages
sudo apt install gnome-shell-extensions gnome-shell-ubuntu-extensions gnome-shell gnome-shell-common gnome-shell-extension-appindicator gnome-shell-extension-alphabetical-grid gnome-shell-extension-prefs gnome-shell-extension-manager -y-
View extensions installed
-
Essential extensions
- Install dependencies
sudo apt install libbz2-dev libncurses-dev libffi-dev libssl-dev libsqlite3-dev tk-dev libreadline-dev liblzma-dev- Download pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash- Set .bashrc
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
source ~/.bashrc sudo apt-get update
sudo apt install curl mlocate default-jdk -y
# download spark 3.4 or higher version on https://spark.apache.org/downloads.html
wget https://dlcdn.apache.org/spark/spark-3.4.0/spark-3.4.0-bin-hadoop3.tgz
tar xvf spark-3.4.0-bin-hadoop3.tgz
sudo mv spark-3.4.0-bin-hadoop3/ /opt/spark
# add these lines in ~/.bashrc:
export SPARK_HOME=/opt/spark
export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin
# after run .bashrc:
source ~/.bashrc git config --global user.name "André Brandão"
git config --global user.email "andrelbd1@gmail.com" sudo mysql_secure_installation
sudo mysql
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'very_strong_password';
mysql> FLUSH PRIVILEGES; cp -r /usr/share/phpmyadmin/ /var/www/phpmyadmin vim- In case of localhost/phpmyadmin not working
# Access apache2.conf
sudo nano /etc/apache2/apache2.conf
# Include this line
/etc/phpmyadmin/apache.conf
# Restart apache
sudo service apache2 restart-
Create volume
docker volume create --name sonarqube_data
docker volume create --name sonarqube_logs
docker volume create --name sonarqube_extensions- Starting
docker run -d --name sonarqube \
-p 9000:9000 \
-v sonarqube_data:/opt/sonarqube/data \
-v sonarqube_extensions:/opt/sonarqube/extensions \
-v sonarqube_logs:/opt/sonarqube/logs \
sonarqube- PS: Default credentials: admin admin
- Source: https://joorgelm.medium.com/sonarscanner-instala%C3%A7%C3%A3o-e-configura%C3%A7%C3%A3o-para-o-sonarqube-825d0b208c32
- Download: https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/
- Save and extract file at /home
- Set file /home//sonar-scanner/conf/sonar-scanner.properties
# Set here general information about the environment, such as SonarQube server connection details for example
# No information about specific project should appear here
# — — — Default SonarQube server
sonar.host.url=http://localhost:9000
# — — — Default source code encoding
#sonar.sourceEncoding=UTF-8- Set .bashrc adding
export PATH=$PATH:/home/<seu-usuario>/sonar-scanner/bin- Run .bashrc:
source .bashrc- Run "sonar-scanner -v" and check output is:
INFO: Scanner configuration file: /home/<seu-usuario>/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarQube Scanner 4.2.0.1873
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Linux 4.15.0–88-generic amd64