UBUNTU 24.04.2 DEVELOPER
MACHINE INSTALL & SETUP
01. INSTALL & SETUP
02. GOOGLE CHROME
03. NVIDIA DRIVERS
04. MICROSOFT FONTS & GENERAL TOOLS & UTILITIES
05. LOLLYPOP & VLC & PUDDLETAG
06. FREE GAMES
07. MYSQL SERVER & MYSQL WORKBENCH
08. POSTGRESQL & PGADMIN
09. MSSQL SERVER 2022 & AZURE DATA STUDIO
10. APACHE WEB SERVER & PHP
11. JAVA & .NET CORE
12. VS CODE & INTELLIJ IDEA COMMUNITY
13. POSTMAN & DOCKER & REDIS & NODEJS & NPM
14. VIRTUALBOX 7.1
15. AI – OLLAMA
01. INSTALL
& SETUP
* Choose your language -> English
* Accessibility -> None
* Keyboard -> English (US) -> English (US)
* Connect to Wi-Fi -> (Select Network & Enter
Password)
* Install Ubuntu -> Interactive Install -> Default
Selection (Basic)
* Select -> Install 3rd Party Software for Graphics &
Wi-Fi
* Select -> Download & Install Script for Additional
Media Formats
* Erase Disk & Install Ubuntu
* Be
careful here! Choose this option if you have a dedicated disk or are using a
virtual machine. Or else you can lose all your data!
* Create Your Account
* Select Location -> Select your current city (For
example: Istanbul)
* Install Ubuntu
* Reboot
* Select the top "Ubuntu" option from GRUB menu
* "Welcome to Ubuntu 24.04.2 LTS" -> Next
* Skip
"Enable Ubuntu Pro"
*
"Yes, Share System Data With Ubuntu Team"
* Don't
Open "App Center" -> Finish
* The System will be opened "1.6GB RAM Used" &
"15GB Disk Used"
* Press "CTRL - ALT - T" to Open Terminal
*
"sudo apt update"
*
"sudo apt upgrade" -> Enter "Y" for Yes
*
"sudo snap refresh"
*
"sudo apt install refind" -> Reboot
*
Hide Unnecessary Boot Entries by Pressing "Delete" and Selecting
"Yes"
02. GOOGLE
CHROME
* Unpin "Help" from Dash
* Unpin "App Center" from Dash
* Right-Click the Desktop & Select "Desktop Icon
Settings"
*
"Position of New Icons" -> "Top Left"
* Dock
-> Icon Size -> 40
* Dock
-> Position on Screen -> "Bottom"
*
Appearance -> Style -> Dark
*
Appearance -> Background -> Choose Your Own Background Image
* Open "Firefox"
* "Do
Not Import" (Unselect) -> Save
* Skip This
* Customize
Firefox -> Skip This
* Start
Browsing
* www.google.com/chrome
* Click
"Download"
* Select
"64bit DEB For Debian/Ubuntu"
* Press
"CTRL - ALT - T" to Open Terminal
* Type
"cd Downloads/" in Terminal
* Type
"ls -l" in Terminal
* Type
"sudo dpkg -i google-chrome-stable_current_amd64.deb" in Terminal
* Type
"exit" in Terminal
* Click
"Ubuntu Icon" in the Right-Bottom to Open Apps
* Right
Click "Chrome" -> Select "Pin to Dash"
* Left
Click "Chrome" on Dash
* Select
"Make Default"
* Select
"Auto Send Usage Statistics & Crash Reports"
* Click
"OK"
* Sign-in
to Chrome to Bring Shortcuts & Links & Login Information &
Passwords
* Turn-on
Sync in Chrome
* Right-Click "Firefox" on Dash
* Unpin "Firefox" from Dash
* Click "Ubuntu Icon" in the Right-Bottom to Open
Apps
* Right-Click "System Monitor" -> Pin to Dash
* Right-Click "Terminal" -> Pin to Dash
03. NVIDIA
DRIVERS
* Go to -> https://developer.nvidia.com/cuda-downloads
* Select "Operating System" ->
"Linux"
* Select "Architecture" -> "x86_64"
* Select "Distribution" -> "Ubuntu"
* Select "Version" -> "24.04"
* Select "Installer Type" -> "deb
(network)"
* Open Terminal
* "cd
Downloads/"
*
"wget
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb"
*
"sudo dpkg -i cuda-keyring_1.1-1_all.deb"
*
"sudo apt-get update"
*
"sudo apt-get upgrade"
*
"reboot"
* Open Terminal
*
"sudo apt-get install fonts-ipafont-gothic fonts-ipafont-mincho
fonts-wqy-microhei fonts-wqy-zenhei fonts-indic"
*
"sudo apt-get install cuda-toolkit-12-8"
*
"sudo apt-get install cuda-drivers"
*
"reboot"
* Open Terminal
*
"sudo apt-get autoremove"
*
"sudo apt-get install nvitop"
*
"sudo apt-get install nvidia-container-toolkit"
04. MICROSOFT
FONTS & GENERAL TOOLS & UTILITIES
* To Install "Microsoft Fonts" -> Open Terminal
*
"sudo add-apt-repository multiverse"
*
"sudo apt update"
*
"sudo apt install ttf-mscorefonts-installer"
*
"sudo fc-cache -f -v"
* Open Terminal
*
"sudo apt install curl" => File Downloader
*
"sudo apt install htop btop" -> System Monitoring in Terminal
*
"sudo apt install net-tools" -> Internet Configuration Viewer
*
"sudo apt install filezilla" -> FTP Client
*
"sudo apt install deluge" -> BitTorrent Client
*
"sudo apt install gufw" -> Graphical Firewall Manager
*
"sudo ufw enable" -> Enable the Firewall
*
"sudo apt install gedit" -> Gnome Text Editor
*
"sudo apt install plocate" -> File Locator
*
"sudo apt install rar unrar" -> File Compressor
*
"sudo apt install 7zip 7zip-standalone 7zip-rar" -> File
Compressor
05. LOLLYPOP
& VLC & PUDDLETAG
* Open Terminal
*
"sudo apt install lollypop"
* Click the "Ubuntu Icon" in the Right-Bottom to
Open Apps
* Right-Click "Lollypop" -> Pin to Dash
* Left-Click "Lollypop"
* Say
"Yes" to "Auto Install Albums & Artists Artwork"
* Select
the 3 Horizontal Lines (menu) in Top-Right
* Select
"Music" Tab in the middle
* Select
"Other" folder
* Select
the Main Folder for Your Offline Music Collection
* Select
"Open"
* Open Terminal
*
"sudo apt install vlc"
* Click the "Ubuntu Icon" in the Right-Bottom to
Open Apps
* Left-Click "VLC"
* Select "Allow Metadata Network Access" ->
Continue
* Open Terminal
*
"sudo apt install puddletag" -> MP3 Tag Editor
06. FREE
GAMES
* Open Terminal
*
"sudo snap install steam"
*
"sudo dpkg --add-architecture i386"
*
"sudo apt update"
*
"sudo apt install libnvidia-gl-570:i386"
* Left-Click on "Ubuntu Icon" on the Right-Bottom
to Open "Apps"
* Left-Click on "Steam"
* Enter your "Username" & "Password"
* Open Terminal
*
"sudo apt install dosbox dosbox-x"
* Left-Click on "Ubuntu Icon" on the Right-Bottom
to Open "Apps"
* Left-Click on "DosBox-X"
* In the Dialog "Select DosBox-X Working
Directory" -> Select "Home" on the Left
* Create a New Directory Named "Games"
* In the "Games" Directory -> Create a New
Directory Named "msdos-games"
* Select the Directory Named "msdos-games"
* When Asked to Save "Default Working Directory"
-> Select "Yes"
* Open Terminal
*
"sudo apt install scummvm"
*
"sudo apt install beneath-a-steel-sky drascula flight-of-the-amazon-queen
lure-of-the-temptress"
07. MYSQL
SERVER & MYSQL WORKBENCH
* Open Browser and Go to
"https://dev.mysql.com/downloads/repo/apt/"
* Download Ubuntu / Debian DEB Package
* Go to "Downloads" folder
* Double-Click on the Downloaded
"mysql-apt-config-???.deb" Package to Install it.
* Open Terminal
*
"sudo apt update"
*
"sudo apt install mysql-server"
* Enter
"root" password
* Re-Enter
"root" password
* Select
"Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)"
*
"sudo mysql_secure_installation"
* Enter
Password for User Root
* Press
"N" for NOT Installing the VALIDATE PASSWORD component
* Press
"N" for NOT Changing the Password of "root"
* Press
"Y" for Removing the Anonymous Users
* Press
"Y" for NOT Allowing the "root" Login Remotely
* Press
"Y" for Removing the Test Database & Access to it
* Press
"Y" for Reloading Privilege Tables -> Changes Take Effect
Immediately
*
"sudo apt install mysql-workbench-community"
*
Left-Click the "Ubuntu Icon" in the Right-Bottom to Open
"Apps"
*
Left-Click "MySQL Workbench"
*
Left-Click "Local Instance 3306"
* When
Prompted, Enter Your "Password"
* Select
"Save Password in Keychain"
* Click
"Ok"
08. POSTGRESQL
& PGADMIN
* Open Terminal
*
"sudo locale -a"
*
"sudo locale-gen tr_TR"
*
"sudo locale-gen tr_TR.UTF-8"
*
"sudo update-locale"
*
"sudo locale -a"
*
"sudo apt install postgresql postgresql-contrib"
*
"sudo -u postgres psql"
*
"postgres=# \password postgres"
* Enter New
Password for "postgres" User & Re-Type it Again
*
"postgres=# \q"
* "cd
~/Downloads/"
*
"curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo
gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg"
*
"sudo sh -c 'echo "deb
[signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg]
https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4
main" > /etc/apt/sources.list.d/pgadmin4.list && apt
update'"
*
"sudo apt install pgadmin4-desktop"
*
Left-Click on the "Ubuntu Icon" in Right-Bottom
*
Right-Click on the "pgAdmin4" -> Select "Pin to Dash"
*
Left-Click on the "pgAdmin4"
*
Left-Click on the "Add New Server"
*
"General" -> "Name" -> "PostgreSQL 16 @
localhost"
*
"Connection" -> "Host name/address" ->
"localhost"
*
"Connection" -> "Password" -> "New
Password"
*
"Connection" -> "Save Password" -> "Enable"
*
"Parameters" -> "SSL Mode" -> "Disable"
*
Left-Click "Save"
* On the
Left Side "Object Explorer" -> Choose "Servers" ->
Choose "PostgreSQL 16 @ localhost" -> Choose "Databases"
-> Choose "postgres"
*
Right-Click "postgres" -> Choose "Query Tool"
*
"SELECT * FROM pg_collation;" -> Press "F5" to Run the
Query
* You
Should See "tr_TR.UTF-8" and Other Turkish Collations
*
"CREATE DATABASE turkish with ENCODING = 'UTF8' LC_COLLATE = 'tr_TR.UTF-8'
LC_CTYPE = 'tr_TR.UTF-8' TEMPLATE template0;" -> Press "F5"
to Run the Query
*
Right-Click "turkish" Database
* Select
"PSQL Tool"
*
"turkish=# \l" -> Press Enter
* The
"turkish" Database should be listed as below
*
Encoding -> UTF8
*
Collate -> tr_TR.UTF-8
*
CType -> tr_TR.UTF-8
* To Learn In-Depth Knowledge About PostgreSQL -> https://neon.tech/postgresql/tutorial
09. MSSQL
SERVER 2022 & AZURE DATA STUDIO
* Open Terminal
* "cd
~/Downloads/"
*
"curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee
/etc/apt/trusted.gpg.d/microsoft.asc"
*
"curl -fsSL
https://packages.microsoft.com/config/ubuntu/22.04/mssql-server-2022.list |
sudo tee /etc/apt/sources.list.d/mssql-server-2022.list"
*
"wget
http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.5-0_2.5.18+dfsg-0ubuntu0.22.04.3_amd64.deb"
*
"sudo dpkg -i ./libldap-2.5-0_2.5.18+dfsg-0ubuntu0.22.04.3_amd64.deb"
*
"sudo apt update"
*
"sudo apt install mssql-server"
*
"sudo /opt/mssql/bin/mssql-conf setup"
* Select
Option "2) Developer"
* Accept
the License Terms by Typing "Yes"
* Enter
MSSQL Server's System Administrator Password
* Re-Enter
MSSQL Server's System Administrator Password
*
"sudo systemctl start mssql-server"
*
"sudo systemctl status mssql-server"
*
"curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list | sudo
tee /etc/apt/sources.list.d/mssql-release.list"
*
"sudo apt update"
*
"sudo apt-get install mssql-tools18 unixodbc-dev"
* Accept
License Terms by Selecting "Yes"
* Open Browser and Go to
"https://azuredatastudio-update.azurewebsites.net/latest/linux-deb-x64/stable"
* Download "azuredatastudio-linux-{version}.deb"
* Open Terminal
* "cd
~/Downloads/"
*
"sudo dpkg -i azuredatastudio-linux-{version}.deb"
* Left-Click on the "Ubuntu Icon" in the
Right-Bottom
* Right Click "Azure Data Studio" -> Select
"Pin to Dash"
* Left-Click "Azure Data Studio"
* Select "No" for "Preview Features Enchance
Your Experience in Azure Data"
* Select "Create a Connection"
* "Connection Details" -> "Connection
Type" -> "Microsoft SQL Server"
* "Connection Details" -> "Input
Type" -> "Parameters"
* "Connection Details" -> "Server"
-> "localhost"
* "Connection Details" -> "Authentication
Type" -> "SQL Login"
* "Connection Details" -> "User name"
-> "sa"
* "Connection Details" -> "Password"
-> Enter MSSQL Server's System Administration Password
* "Connection Details" -> "Password"
-> Select "Remember Password"
* "Connection Details" -> "Encrypt"
-> "Optional"
* "Connection Details" -> Left-Click on
"Connect" Button
* Left-Click on "Enable Trust Server Certificate"
Button
* Left-Click on "New Query"
* Write "SELECT @@VERSION" in the New Query Window
* Press "F5" to See The Results
10. APACHE
WEB SERVER & PHP
* Open Terminal
*
"sudo apt install apache2"
*
"sudo gedit /etc/apache2/apache2.conf"
* At the
End of File, Add the Following Line
*
"ServerName localhost"
* Save
& Close
*
"sudo systemctl restart apache2"
*
"sudo systemctl status apache2"
* Open Browser and Go To "http://localhost"
* You Should See "Apache2 Default Page"
* Open Terminal
*
"sudo apt install php libapache2-mod-php php-mysql php-uuid php-xml
php-sqlite3 php-odbc php-json php-opcache php-pgsql php-redis php-gd
php-curl"
* "cd
/var/www/html"
*
"sudo gedit phpinfo.php"
* Type
"<?php phpinfo(); ?>" in the Text Editor
* Save
& Close
* Open Browser and Go To
"http://localhost/phpinfo.php"
* You Should See "PHP Info Page"
* Open Terminal
* "cd
/var/www/html"
*
"sudo rm phpinfo.php" -> Remove the "PHP Info Page" with
sensitive information
* "php
-v"
*
"sudo systemctl restart apache2"
* Don't Forget to Go Over the "php.ini" File and
Modify it in the Following Locations:
*
"/etc/php/8.3/apache2/php.ini"
*
"/etc/php/8.3/cli/php.ini"
* Open Terminal to Change Default File Preferences
*
"sudo gedit /etc/apache2/mods-enabled/dir.conf"
* You
Should See Something Like Below
*
"DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
index.htm"
* Change it
to
*
"DirectoryIndex index.php index.html index.xhtml index.htm"
* Save
& Close
*
"sudo systemctl restart apache2"
*
"sudo systemctl status apache2"
11. JAVA
& .NET CORE
* Open Terminal
*
"sudo apt install default-jre default-jre-headless"
*
"sudo apt install default-jdk default-jdk-headless"
*
"sudo apt install openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-demo
openjdk-8-jre openjdk-8-jre-headless"
*
"sudo apt install openjdk-11-jdk openjdk-11-jdk-headless openjdk-11-demo
openjdk-11-jre openjdk-11-jre-headless"
*
"sudo apt install openjdk-17-jdk openjdk-17-jdk-headless openjdk-17-demo
openjdk-17-jre openjdk-17-jre-headless"
*
"sudo apt install openjdk-21-jdk openjdk-21-jdk-headless openjdk-21-demo
openjdk-21-jre openjdk-21-jre-headless"
*
"sudo update-alternatives --config java" -> Select "Java
17"
*
"sudo update-alternatives --config javac" -> Select "Java
17"
*
"export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64"
*
"source ~/.bashrc"
*
"java -version"
*
"javac -version"
*
"sudo apt install maven"
* "mvn
-version"
* Open Terminal
*
"sudo apt-get install dotnet-sdk-8.0"
*
"dotnet --list-sdks"
*
"dotnet --list-runtimes"
12. VS
CODE & INTELLIJ IDEA COMMUNITY
* Open Terminal
*
"sudo snap install code --classic"
* Left-Click the "Ubuntu Icon" in the Right-Bottom
to Open "Apps"
* Right-Click "Visual Studio Code"
* Select "Pin to Dash"
* Left-Click "Visual Studio Code" on the Dash
* "Use AI Features with Copilot for Free" ->
Select "Mark Done" at the Bottom
* Open "Extensions" on the Left-Bar
* In the Search Box, Type ->
"@recommended:languages"
* In the Search Results, Select -> "Extension Pack
for Java" -> Install
* In the just opened "Get Started with Java
Development" Window, Select -> "Extensions for Additional Tools
and Frameworks" -> Select -> "Browse Recommended
Extensions"
* In the "Java Extension Guide" -> Select
"Frameworks" -> Select "Spring Boot Extension Pack"
-> Select "Install Selected (1)" -> In the Dialog "Do You
Trust Publishers VMWare and VMWare" -> Select "Trust Publishers
& Install" -> In the Window "Getting Started with Spring Boot
in VS Code" -> Select "Mark Done" in the Bottom of Window
* Open "Extensions" on the Left-Bar
* In the Search Box, Type "@recommended:languages"
* In the Search Results, Select "PHP Intelephense"
-> Install
* In the Dialog "Do you Trust Publisher "Ben
Mewburn"?" -> Select "Trust Publisher & Install"
* Open Terminal
*
"sudo snap install intellij-idea-community --classic"
* Left-Click the "Ubuntu Icon" in the Right-Bottom
to Open "Apps"
* Right-Click "IntelliJ Idea Community Edition"
* Select "Pin to Dash"
* Left-Click "IntelliJ Idea Community Edition" on
the Dash
* Select "I confirm that I have read and accept the
terms of this User Agreement" -> Click "Continue"
* In the Dialog "Data Sharing" -> Select
"Don't Send"
* In the Dialog "Import Settings" -> Select
"Skip Import"
* In the Dialog "Input Method Disabler" ->
Select "Disable Input Methods"
13. POSTMAN
& DOCKER & REDIS & NODEJS & NPM
* Open Terminal
*
"sudo snap install postman"
*
"sudo apt-get install ca-certificates curl"
*
"sudo install -m 0755 -d /etc/apt/keyrings"
*
"sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o
/etc/apt/keyrings/docker.asc"
*
"echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc]
https://download.docker.com/linux/ubuntu noble stable" | sudo tee
/etc/apt/sources.list.d/docker.list > /dev/null"
*
"sudo apt-get update"
*
"sudo apt-get install docker-ce docker-ce-cli containerd.io
docker-buildx-plugin docker-compose-plugin"
*
"sudo docker run hello-world"
*
"sudo apt install redis"
* Don't
Forget to Edit "redis" Configuration File & Secure
"redis-server"
*
"sudo gedit /etc/redis/redis.conf"
* Find the
"requirepass" Setting & Uncomment it
*
"requirepass your-strong-password"
* Save
& Close
*
"sudo systemctl restart redis"
*
"sudo apt install nodejs npm"
14. VIRTUALBOX
7.1
* Open Terminal
*
"sudo mkdir -p /etc/apt/keyrings"
*
"wget -q -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc |
sudo gpg --dearmor --yes --output
/etc/apt/keyrings/oracle-virtualbox-2016.gpg"
*
"sudo gedit /etc/apt/sources.list.d/virtualbox.sources"
* Paste the Following Lines in the Editor
Types: deb
URIs: https://download.virtualbox.org/virtualbox/debian
Suites: noble
Components: contrib
Architectures: amd64
Signed-By: /etc/apt/keyrings/oracle-virtualbox-2016.gpg
* Save & Close the Editor
* Open Terminal
*
"sudo apt update"
*
"sudo apt install virtualbox-7.1"
*
"sudo adduser $USER vboxusers"
*
"reboot"
* Left-Click on "Ubuntu Icon" in the Right-Bottom
* Right-Click on "Oracle VirtualBox" -> Select
"Pin to Dash"
* Left-Click on "Oracle VirtualBox" to Open it.
15. AI
– OLLAMA
* Open Terminal
* "cd
Downloads/"
*
"curl -fsSL https://ollama.com/install.sh | sh"
*
"ollama pull llama3.2:3b" -> Meta "llama3.2:3b" Model
with 3B Parameters
*
"ollama run llama3.2:3b"
* Have fun!