
Практическое путешествие в Linux
Выбор дистрибутива Linux
граф TD
A[Linux Distributions] —> B[Ubuntu]
A —> C[Fedora]
A —> D[CentOS]
A —> E[Debian]
A[Linux Distributions] —> B[Ubuntu]
A —> C[Fedora]
A —> D[CentOS]
A —> E[Debian]
Сравнение распределений
Распределение | Пример использования | Уровень сложности |
---|---|---|
Ubuntu | Рабочий стол/сервер | Для начинающих |
Fedora | Разработка | Посредник |
CentOS | Предприятие | Advanced |
Процесс установки Ubuntu 22.04
## Verify system requirements
sudo dmidecode -t system
## Update system packages
sudo apt update
sudo apt upgrade
## Install additional software
sudo apt install software-properties-common
sudo apt-get install build-essential
Основы командной строки Linux
## Navigation commands
pwd ## Current directory
ls ## List files
cd /home ## Change directory
## File manipulation
touch file.txt ## Create file
mkdir projects ## Create directory
cp source dest ## Copy files
mv file newname ## Rename/move files
Управление конфигурацией системы
## User management
sudo adduser newuser
sudo usermod -aG sudo newuser
## Permission configuration
chmod 755 script.sh
chown user:group file.txt
Настройка среды разработки
## Programming language installations
sudo apt install python3
sudo apt install nodejs
sudo apt install openjdk-17-jdk
## Version control
sudo apt install git
git config --global user.name "Your Name"
git config --global user.email "[email protected]"