이 안내서는 Ubuntu를위한 것이지만 Mint, Elementary OS 등과 같은 다른 데비안 기반 OS 와도 호환됩니다.
20.04, 18.04, 16.04, 15.10과 같은 다른 버전에 대한 구성이 있습니다.
모든 명령/구성은 테스트됩니다 (현재이 구성을 사용하고 있습니다). 어쨌든, 당신이하는 모든 일은 "자신의 위험에 처해 있습니다"입니다.
문제가 있으면 문제 페이지 나 이메일 [email protected]을 통해 알려주십시오.
(뒤로 맨 위로)
lsb_release -a
lsb_release -as # Short Information
lsb_release -sc # OS Codename
lsb_release --help
sudo dmidecode -t processor
또는
nproc # How many Processing Units
cpuid # Must install cpuid from terminal
cat /proc/cpuinfo # Lots of info
sudo lshw -C display
sudo dmidecode -t baseboard
sudo dmidecode -t bios
free -h # Human readable, or do --help for options
top or htop # Must install htop
vmstat -s
cat /proc/meminfo # Lots of info
디스크 공간
df
df -B MB # In Megabtyes, etc
또는 ncdu 설치하고 실행하십시오
ncdu /
디스크 공간 분석기
sudo baobab
디스크 UUID
ls -al /dev/disk/by-uuid/
gnome-system-monitor
터미널에 다음 명령을 입력하여 시작하는 데 얼마나 많은 시간이 걸리는 서비스를 찾을 수 있습니다.
systemd-analyze blame
전체 시작 시간을 통해 찾을 수 있습니다.
systemd-analyze time
설치된 모든 패키지를 나열합니다
dpkg -l
명시 적으로 설치된 패키지 만 나열하십시오
aptitude search '~i!~M'
터미널 실행에서 스크린 샷을 찍는 것 :
gnome-screenshot
지연 5 초
gnome-screenshot --delay 5
지연 5 초와 유일한 창이 있습니다
gnome-screenshot -w --delay 5
Gnome-Screenshot의 기본 저장 디렉토리를 변경하려면 명령을 사용하십시오.
gsettings set org.gnome.gnome-screenshot auto-save-directory "file:///home/$USER/Pictures/"
awk '{print $1*10^-6 " W"}' /sys/class/power_supply/BAT0/power_now
또한 프로세스 당 소비량을 목록 할 수있는 powertop 설치할 수 있습니다.
sudo apt install powertop
처음 사용하기 전에 powertop 보정해야 할 수도 있습니다. 교정의 경우 실행 :
sudo powertop --calibrate
gsettings list-recursively org.gnome.desktop.wm.keybindings | sort | more
KeyPressed를 참조하십시오.
xev
또는 많은 세부 사항 :
xev | grep KeyPress
원하는 경우 32 비트 응용 프로그램을 사용할 수 있습니다. 때로는 유용합니다.
sudo apt update && sudo apt install -y unetbootin
네트워킹을 활성화하고 Windows와 같은 모든 컴퓨터에 액세스 할 수 있도록 Samba를 설치하십시오.
$ sudo apt install -y samba
그런 다음 삼바 구성을 편집하십시오.
$ vim /etc/samba/smb.conf
[global] 하에서 작업 그룹을 사용하는대로 변경하면 기본값은 작업 그룹입니다.
workgroup = WORKGROUP
그런 다음 세션을 다시로드해야합니다.
Grub을 기본 부트로드로 실행중인 경우이 응용 프로그램을 사용하여 주문을보다 쉽게 변경할 수 있습니다.
sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer
sudo apt update && sudo apt install -y grub-customizer
<Super> 로 응용 프로그램을로드하고 Grub Customizer 또는 Terminal gksudo grub-customizer 를 찾으십시오.
General Settings 탭으로 이동하면 기본 항목이 표시됩니다.
/etc /fstab을 엽니 다
sudo vim /etc/fstab
/etc/fstab에 추가 하십시오이 라인 (명령 ls -al /dev/disk/by-uuid/ )에 의해 디스크 Uuid를 얻을 수 있습니다) :
NTFS 디스크의 경우 :
UUID=[DISK UUID] /media/D ntfs-3g defaults,windows_names,locale=en_US.utf8 0 2
Ext4 디스크 :
UUID=[DISK UUID] /media/D ext4 defaults 0 2
실행 후
sudo mount -a
/etc /fstab을 엽니 다
sudo vim /etc/fstab
추가 :
승인이 필요한 경우 :
username@remote_address:/remote/path /local/path fuse.sshfs delay_connect,_netdev,idmap=user,uid=1000,gid=1000,noatime,default_permissions,IdentityFile=/home/<user>/.ssh/id_rsa,reconnect,transform_symlinks,allow_other 0 0
필요하지 않은 경우 :
//remote_address/remote/path /local/path cifs guest,iocharset=utf8,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,noperm,_netdev 0 0
실행 후
sudo mount -a
전제 조건을 설치하십시오
sudo apt install -y python3 python3-appdirs python3-dateutil python3-requests python3-sqlalchemy python3-pip
ACD_CLI 설치 (https://github.com/yadayada/acd_cli)
cd ~ && sudo pip3 install --upgrade git+https://github.com/yadayada/acd_cli.git
Amazon.com에 브라우저 (Chrome/Lynx/등)를 시작하고 Oauth 키를 설정하는 "동기화"를 시작하십시오.
acd_cli sync
Oauth 데이터를 복사/붙여 넣고 저장하십시오. 참고 : Newline 브레이크가 부적절 할 가능성이 높습니다. 좋아하는 텍스트 편집기에서 수정.
vim ~/.cache/acd_cli/oauth_data
마운팅을 허용하기 위해 사용자를 "퓨즈"그룹에 추가하십시오.
sudo addgroup <username> fuse
아마존 클라우드 드라이브의 루트를 /미디어 /아마존 디렉토리에 마운트하십시오.
mkdir /media/amazon
acd_cli mount /media/amazon
업로드
-d exclude duplicate files from upload
-x upload threads
예를 들어 로컬 /미디어 /비디오 디렉토리를 Amazon Cloud 드라이브의 루트에 업로드하십시오.
acd_cli upload -d -x 4 /media/videos /
ssh-keygen -t rsa -C "[email protected]"
ssh [email protected] (default port is 22)
ssh [email protected] -p 8000 (connect to specific port)
ssh [email protected] -i ~/.ssh/id_rsa (connect with specific ssh key)
chmod 700 ~/.ssh
chmod 644 ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/known_hosts
chmod 600 ~/.ssh/authorized_keys
~/.ssh/config 파일을 만들고 다음과 같은 저장 항목을 만들 수도 있습니다.
Host aws
Hostname host.amazonaws.com
Port 22
Identityfile ~/.ssh/id_rsa
User myusername
Host my-vps
Hostname 34.16.67.129
Port 22
User root
그런 다음 간단히 입력 할 수 있습니다.
ssh aws
ssh my-vps
때로는 PEM 형식 SSH 키가 필요할 수도 있습니다. 다른 SSH 키와 함께 쉽게 추가 할 수 있습니다.
openssl rsa -in ~/.ssh/keyname_rsa -outform pem > keyname_rsa.pem
chmod 700 keyname_rsa.pem
터미널을 열고 유형 :
gpg --gen-key
GPG는 이제 생성하려는 키 유형에 대해 여러 가지 질문을합니다. 아래 단계를 따라마다 기본 옵션을 선택하십시오.
입력하여 키가 생성되었는지 확인하십시오
gpg --list-secret-keys --keyid-format LONG
그리고 성공하면
/Users/hubot/.gnupg/secring.gpg
------------------------------------
sec 4096R/3AA5C34371567BD2 2016-03-10 [expires: 2017-03-10]
uid Hubot
ssb 4096R/42B317FD4BA89E7A 2016-03-10
.bashrc에 변수를 추가하십시오
export GPGKEY=3AA5C34371567BD2
gpg --output gpg.asc --export -a $GPGKEY
gpg --send-keys --keyserver keyserver.ubuntu.com $GPGKEY
http://keyserver.ubuntu.com/에서 키를 확인할 수 있습니다.
GIT 클라이언트를 기본적으로 로컬 리포지토리에 대한 Commits에 서명하도록 구성하려면 GIT 버전 2.0.0 이상에서 실행하십시오.
git config --global user.signingkey {YOUR KEY}
git config commit.gpgsign true
컴퓨터의 로컬 저장소에서 기본적으로 모든 커밋에 서명하려면
git config --global commit.gpgsign true
하나를 수동으로 서명하려는 경우 :
git commit -S -m "commit message"
커밋을 위해 GUI 클라이언트를 사용하려면 ~/.gnupg/gpg.conf 파일에 몇 가지 옵션을 추가해야합니다.
no-tty
use-agent
cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/
# or, instead of backing up trustdb...
gpg --export-ownertrust > ownertrust-gpg.txt
cp /path/to/backups/*.gpg ~/.gnupg/
# or, if you exported the ownertrust
gpg --import-ownertrust ownertrust-gpg.txt
.gnupg 폴더를 복사 한 경우 키를 등록해야합니다.
gpg --import pubring.gpg
gpg --import secring.gpg
하드웨어가 지원하는지 확인하십시오
egrep -c '(vmx|svm)' /proc/cpuinfo
0 인 경우 CPU가 하드웨어 가상화를 지원하지 않음을 의미합니다.
1 이상이라면 - 그러나 BIOS에서 가상화가 활성화되어 있는지 확인해야합니다.
활성화 된 지 확인하려면 다음을 수행 할 수 있습니다.
kvm-ok
KVM이있는 경우 "정보 : CPU가 KVM 확장을 지원합니다. 정보 : /dev /kvm이 존재합니다 KVM 가속도를 사용할 수 있습니다."
필요한 패키지를 설치하십시오
sudo apt install -y qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils
오류가 발생한 경우 : libdvd-pkg : apt-get check 실패하면 패키지가 고장 났을 수 있습니다. 중단 ...
sudo dpkg-reconfigure libdvd-pkg 실행하고 다시 시도해야합니다.
다음으로 사용자를 KVM 그룹 및 LIBVIRTD 그룹에 추가하십시오. 그렇게하려면 다음을 입력하십시오.
sudo adduser `id -un` libvirt
sudo adduser `id -un` kvm
설치 확인 :
virsh list --all
Sudo 모드를 입력하십시오
sudo su
사용 가능한 디스크를 나열하고 장착 된 위치를 감지하십시오 : /dev /sd [1 Letter] [선택적으로 1 숫자]. 예를 들어, /dev /sdc 또는 /dev /sdc1입니다
fdisk -l
또는
lsblk
마운트 드라이브
umount /dev/sd[1 letter][optionally 1 number]
FAT32 형식
mkfs.vfat /dev/sd[1 letter]
NTFS에는 mkfs.ntfs를 사용할 수 있습니다.
드라이브를 배출하십시오
eject /dev/sd[1 letter]
사용 가능한 디스크를 나열하고 장착 된 위치를 감지하십시오 : /dev /sd [1 Letter] [선택적으로 1 숫자]. 예를 들어, /dev /sdc 또는 /dev /sdc1입니다
fdisk -l
또는
lsblk
USB에서 Windows ISO를 쓰고 싶다면이 방법을 사용하십시오 : Linux에서 Windows ISO 용 USB 메이커
USB 장치가 마운트되지 않은지 확인하십시오 (안전하게 제거되지 않지만 마운트되지 않음).
sudo umount /dev/sd[1 letter][optionally 1 number]
이미지 실행을 위해 :
sudo dd bs=4M if=path/to/your/iso/file.iso of=/dev/sd[that 1 letter]
genisoimage 설치하십시오
sudo apt install -y genisoimage
그리고 실행 후
geteltorito -o dest.img source.iso
HPLIP 소프트웨어를 설치해야합니다. https://developers.hp.com/hp-linux-imaging-andprinting에 대해 자세히 알아보십시오
sudo apt install hplip hplip-gui
설치된 HP 응용 프로그램 및 실행을 찾으십시오.
BIOS 정보 명령을 통해 BIOS 버전을 볼 수 있습니다
sudo apt install genisoimage 를 설치하십시오
support.lenovo.com으로 이동 (또는 Lenovo 웹 사이트가 못 생겼기 때문에 검색 엔진을 더 잘 사용하고 랩톱 모델의 BIOS 업그레이드를 검색하십시오.
최신 ISO 파일을 다운로드하십시오. "BIOS 부팅 가능한 업데이트 CD"를 찾으십시오.
genisoimage -o bios.img g2uj18us.iso 를 통해 ISO 이미지를 IMG 형식으로 변환하십시오 .iso .iso. img 형식으로 변환하십시오.
노트북에 USB 스틱을 삽입하십시오. 이미지 파일의 크기는 ~ 50MB이므로 용량이 낮은 USB 스틱조차 작동합니다. 스틱은 완전히 덮어 쓸 것임을 명심하십시오.
그래픽 환경에 있다면 USB 스틱을 마운트하지 마십시오.
스틱의 장치 이름을 찾으십시오. 예를 들어 /dev/sdb ( sudo fdisk -l 통한 장치 표시). SDB라고 가정하지 마십시오. 랩톱의 다른 장치에 있으면 데이터를 파괴합니다.
USB 스틱에 이미지를 복사하십시오 : sudo dd if=bios.img of=/dev/sdb bs=1M
스틱에서 부팅 장치를 위해 노트북을 재부팅하고 F12를 누르십시오.
노트북이 전원 공급 장치가 연결되어 있는지 확인하십시오. (그렇지 않으면 업데이트를 거부합니다.)
지침을 따르십시오.
BetterCap은 네트워크에 대한 다양한 유형의 MITM 공격, HTTP, HTTPS 및 TCP 트래픽 조작 실시간, 자격 증명 등을위한 스니핑 등을 수행하도록 만들어진 강력하고 유연하며 휴대용 도구입니다. 전체 문서 https://www.bettercap.org
종속성을 설치하십시오
sudo apt install -y build-essential ruby-dev libpcap-dev
BetterCap을 설치하십시오
sudo gem install bettercap
당신은 스니핑을 통해 실행할 수 있습니다
sudo bettercap --sniffer
paprefs 패키지를 설치하십시오
sudo apt install -y paprefs
PulseAudio Preferences 으로 이동 및 Simultaneous Output 탭 점검 Add virtual output device for simultaneous output on all local sound cards
그 후 Pulseaudio를 다시 시작합니다
pulseaudio -k
그런 다음 사운드 설정으로 이동하면 여러 사운드 장치로 출력 할 수있는 옵션이 표시됩니다.
/etc/profile.d 디렉토리에 파일을 넣습니다.
~/.bashrc 및/root/.bashrc 파일에서 라인을 추가하십시오.
source /etc/profile.d/ps.sh
cpufrequtils 설치하고 총재를 설정하십시오
sudo apt install -y cpufrequtils
echo 'GOVERNOR="performance"' | sudo tee /etc/default/cpufrequtils
sudo systemctl restart cpufrequtils
불이행 온 디맨드 주지사 비활성화 :
sudo systemctl disable ondemand
주지사를 통해 확인할 수 있습니다
cpufreq-info
또는:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
아래 단계는 /home 디렉토리의 디스크 공간 사용을보고하고 Ubuntu 시스템 부츠마다 /root 디렉토리에 보고서를 저장하는 예제 Bash 스크립트를 실행하는 것을 보여줍니다.
시작시 실행하려면 /usr/local/bin/ 에서 쉘 스크립트를 만듭니다.
vim /usr/local/bin/disk-space-check.sh
아래는 이러한 스크립트의 예입니다.
#! /bin/bash
date > /root/disk_space_report.txt
du -sh /home/ >> /root/disk_space_report.txt /etc/systemd/system/ 폴더 아래에서 Systemd 서비스 파일을 만듭니다.
sudo vim /etc/systemd/system/disk-space-check.service
내용을 넣으십시오.
[Unit]
After=network.service
[Service]
ExecStart=/usr/local/bin/disk-space-check.sh
[Install]
WantedBy=multi-user.target
적절한 권한 설정 :
sudo chmod 744 /usr/local/bin/disk-space-check.sh
sudo chmod 664 /etc/systemd/system/disk-space-check.service
서비스 장치 활성화 :
sudo systemctl daemon-reload
sudo systemctl enable disk-space-check.service
Systemd 유용한 명령 :
systemctl list-units --type=service 목록 기존 서비스systemctl list-units --type=target 목록 가능한 대상systemctl list-dependencies <name>.target 목록 종속성 더 현대적인 시스템 (> 1GB)의 경우 스왑 공간이 최소한의 물리적 메모리 (RAM) 크기 "최대 절전 모드를 사용하는 경우"와 동일해야합니다. 그렇지 않으면 최소한의 라운드 (SQRT (RAM)) 및 최대 2 배의 RAM이 필요합니다. 실제로 사용하는 것보다 더 많은 스왑 공간을 갖는 유일한 단점은 당신이 그것을 위해 예약 할 디스크 공간입니다. 더 많이 읽을 수 있습니다.
스왑을 확인하십시오
cat /proc/swaps
Swappiness 매개 변수는 커널이 프로세스를 물리적 메모리에서 그리고 스왑 디스크로 이동시키는 경향을 제어합니다. 디스크는 RAM보다 훨씬 느리기 때문에 프로세스가 너무 공격적으로 메모리에서 벗어난 경우 시스템 및 응용 프로그램에 대한 응답 시간이 느려질 수 있습니다.
우분투의 기본 설정은 swappiness = 60입니다. 교활함의 기본값을 줄이면 일반적인 우분투 데스크탑 설치의 전반적인 성능이 향상 될 수 있습니다. Swappiness = 10의 값을 권장하지만 자유롭게 실험하십시오.
Swappiness 값을 확인합니다
cat /proc/sys/vm/swappiness
Swappiness 값을 10으로 변경하려면
sudo vim /etc/sysctl.conf
줄을 추가/편집하십시오
vm.swappiness=10
~/Download/Fonts 아래에 글꼴이 있다고 가정하십시오
이 글꼴을 추가하려면 다음을 실행해야합니다.
sudo mkdir /usr/share/fonts/truetype/custom
sudo mv /home/longman/Downloads/Fonts/*.TTF /usr/share/fonts/truetype/custom
sudo mkdir /usr/share/fonts/opentype/custom/
sudo mv /home/longman/Downloads/Fonts/*.otf /usr/share/fonts/opentype/custom
캐시를 지우려면 실행 :
fc-cache -rv
(뒤로 맨 위로)
Linux 사용자에게 로그인하고 홈 디렉토리로 이동하여
cd ~
이 명령을 실행하고 필요에 따라 조정하십시오. -y 플래그는 프롬프트없이 설치됩니다. 이 명령을 터미널에서 실행하십시오.
sudo apt update && sudo apt upgrade
PPA는 아래 카테고리 내에서 제공되며 PPA를 사용하거나 최소한이 패키지를 사용하는 경우를 사용하는 것이 좋습니다.
정식 파트너 저장소를 활성화합니다
sudo add-apt-repository -y "deb http://archive.canonical.com/ $(lsb_release -sc) partner" && sudo apt update
Flatpak은 Linux에 데스크탑 응용 프로그램을 구축하고 배포하기위한 차세대 기술입니다.
sudo apt install -y flatpak gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
시스템을 다시 시작하십시오.
이것은 UI를 조정하기위한 것입니다
sudo apt update && sudo apt install -y
gnome-tweak-tool
chrome-gnome-shell
gnome-shell-extensions
dconf-editor
synaptic
VGA 정보를 확인할 수 있습니다
https://www.nvidia.com/en-us/geforce/drivers/에서 그래픽 카드에 적합한 드라이버 버전을 찾으십시오.
NVIDIA 드라이버를 설치하십시오
sudo add-apt-repository -y ppa:graphics-drivers/ppa
sudo apt update && sudo apt install -y nvidia-driver-XXX
대신 xxx를 입력하십시오
드라이버 탭에서 설치된 드라이버를 선택한 후
sudo software-properties-gtk
Nvidia 드라이버를 제거하십시오
sudo add-apt-repository -r ppa:graphics-drivers/ppa
nvidia 설정 편집 ; 글로벌 런처에 다음을 입력하십시오 (Super Key/Windows 키) :
nvidia settings
NVIDIA® CUDA® 툴킷은 고성능 GPU Accelerated Application을 생성하기위한 개발 환경을 제공합니다.
이 툴킷에는 GPU에 액세스 된 라이브러리, 디버깅 및 최적화 도구, C/C ++ 컴파일러 및 런타임 라이브러리가 포함되어있어 응용 프로그램을 배포 할 수 있습니다.
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub
sudo add-apt-repository -y "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
sudo apt update
sudo apt -y install cuda
ATI 드라이버를 설치하려면이 공식 문서를 읽으십시오 : http://support.amd.com/en-us/kb-articles/pages/amdgpu-pro-install.aspx
유틸리티 설치 :
sudo apt install -y vim git mercurial meld curl htop xclip unzip gdebi preload bleachbit ubuntu-restricted-extras cifs-utils unace unrar zip p7zip-full
p7zip-rar sharutils rar openssh-server lm-sensors whois traceroute nmap font-manager sshfs mc libavcodec-extra libdvd-pkg nfs-kernel-server openvpn
easy-rsa network-manager-openvpn-gnome exfat-fuse apt-transport-https ethtool net-tools dos2unix
liblz4-tool network-manager-openconnect-gnome network-manager-fortisslvpn-gnome openfortivpn tree duplicity screen lib32z1
libglib2.0-dev-bin pv software-properties-common cpu-checker libnss3-tools python3-pip libcanberra-gtk-module sshpass jq libfuse2 libxi6 libxrender1
libxtst6 mesa-utils libfontconfig libgtk-3-bin tar dbus-user-session libminizip1 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libopenal-data libopenal1
libsndio7.0 gnome-shell-extension-manager bpytop ca-certificates-java cargo clang clang-18 default-jdk default-jdk-headless default-jre default-jre-headless
fonts-dejavu-extra icu-devtools java-common lib32gcc-s1 lib32stdc++6 libatk-wrapper-java libatk-wrapper-java-jni libc6-x32 libclang-common-18-dev libclang-rt-18-dev
libgit2-1.7 libhttp-parser2.9 libice-dev libicu-dev libobjc-13-dev libobjc4 libpfm4 libsm-dev libstd-rust-1.75 libstd-rust-dev libxml2-dev libxt-dev libz3-4 libz3-dev
linux-headers-generic llvm-18 llvm-18-dev llvm-18-linker-tools llvm-18-runtime llvm-18-tools openjdk-21-jdk openjdk-21-jdk-headless openjdk-21-jre openjdk-21-jre-headless
p7zip python3-gpg python3-ldb python3-markdown python3-psutil python3-samba python3-talloc python3-tdb rustc samba-common samba-common-bin samba-dsdb-modules putty-tools
git 기본값을 설정합니다
git config --global user.name "your name"
git config --global user.email "[email protected]"
그것은 다음과 함께 ~/.gitconfig 를 만듭니다.
[user]
email = [email protected]
name = your name
Ubuntu 20.04는 새로운 어두운 테마 옵션을 제공하지만 충분하지 않습니다.
설정> 외관에서 창 색상을 어둡게 선택하십시오.
"문제"는 새로운 "Dark"설정이 데스크탑에서 실행되는 앱의 모양과 느낌 만 변경하는 요소에서 비롯됩니다. 데스크탑 UI 자체의 색상을 변경하지 않습니다. 이 문제를 해결하려면 사용자 테마 그놈 쉘 확장 및 그놈 조정 도구를 설치하십시오.
sudo apt install -y gnome-shell-extensions gnome-tweak-tool
그놈 확장 앱을 열고 "사용자 테마"옆에 토글을 켜십시오.
그놈 쉘을 다시 시작합니다 (Alt + F2, Type R, Hit Enter)
마지막으로, 그놈 조정 도구를 열고 사이드 바에서 "모양"을 선택하고 쉘 섹션을 찾아 인접한 메뉴에서 Yaru Dark 선택하십시오.
https://www.oracle.com/java/technologies/javase-jdk15 downloads.html에서 Deb 패키지를 다운로드하여 설치하십시오
대안을 업데이트하십시오
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-15.0.1/bin/java 1
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-15.0.1/bin/javac 1
sudo update-alternatives --config java
Windows 응용 프로그램을 실행하려면 와인이 최선의 선택입니다. 나는 종종 와인과 함께 Heidisql을 사용합니다.
i386 아키텍처를 활성화합니다
sudo dpkg --add-architecture i386
리포지토리 키를 다운로드하여 추가하십시오.
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
저장소 추가 :
sudo add-apt-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
설치하다:
sudo apt update && sudo apt install -y --install-recommends winehq-stable
Nautilus-actions를 사용하여 Ubuntu의 Nautilus 파일 관리자에 대한 사용자 정의 컨텍스트 메뉴 옵션을 쉽고 그래픽으로 만듭니다.
sudo add-apt-repository -y ppa:daniel-marynicz/filemanager-actions
sudo apt install -y filemanager-actions-nautilus-extension
설치 한 후 다음 명령으로 노틸러스 파일 관리자를 종료하고 다시 시작하십시오. Alt+F2를 누르고 터미널에서 실행하는 대신이 명령을 입력 할 수도 있습니다.
nautilus -q
설치 후 fma-config-tool 시작할 수 있습니다.
또한 일부 노틸러스 확장을 설치할 수도 있습니다
sudo apt install -y nautilus-admin nautilus-meld nautilus-checksum-menu
Hardinfo는 Linux의 Everest/Aida 대안입니다. 그것의 시스템 정보를 보여줍니다
sudo apt install -y hardinfo
카페인은 풀 스크린 윈도우를 사용할 때 스크린 세이버 / 잠금 화면 / 수면 모드의 활성화를 일시적으로 방지하는 데 사용되는 도구입니다. 음악을들을 때 자동으로 수행하지 않는 비디오 플레이어를 사용하는 경우 응용 프로그램이 유용합니다.
sudo apt install -y caffeine
참고 : 설치 후 카페인의 명령 줄 버전은 로그인시 자동으로 시작하도록 설정됩니다. 표시기를 자동으로 시작하려면 시작 애플리케이션에 "카페인-인디케이터"를 추가해야합니다.
화면은 여러 프로세스, 일반적으로 대화식 쉘 사이의 물리적 터미널을 멀티 플렉스하는 전체 화면 윈도우 관리자입니다. 각 가상 터미널은 DEC VT100 터미널의 기능과 ANSI X3.64 (ISO 6429) 및 ISO 2022 표준 (예 : 여러 문자 세트에 대한 삽입/삭제 및 지원)의 여러 제어 기능을 제공합니다. 각 가상 터미널에 대한 스크롤백 히스토리 버퍼와 사용자가 텍스트 영역을 Windows간에 이동할 수있는 사본 및 페이스트 메커니즘이 있습니다. 화면이 호출되면 쉘 (또는 지정된 명령)에 쉘이있는 단일 창이 생성 된 다음 평소와 같이 프로그램을 사용할 수 있도록 길을 벗어납니다. 그런 다음 언제든지 다른 프로그램 (더 많은 쉘 포함)이있는 새 (풀 스크린) 창을 만들고, 현재 창을 죽이고, 활성 창 목록 목록을보고, 출력 로그 켜기 및 끄기, Windows 사이의 텍스트를 복사하고, 스크롤 백 기록을 보거나, Windows 사이의 전환 등을 실행할 수 있습니다. 모든 Windows는 서로 완전히 독립적입니다. Window가 현재 보이지 않고 전체 화면 세션이 사용자 터미널에서 분리 될 때에도 프로그램이 계속 진행됩니다.
sudo apt install -y screen
빠르고 고도로 사용자 정의 가능한 시스템 정보 스크립트
Neofetch는 Bash로 작성된 CLI 시스템 정보 도구입니다. Neofetch는 이미지 옆에있는 시스템에 대한 정보, OS 로고 또는 선택한 ASCII 파일을 표시합니다. NeoFetch의 주요 목적은 스크린 샷에 사용하여 다른 사용자가 실행중인 OS/배포판, 사용중인 테마/아이콘 등을 보여줍니다.
설치:
sudo apt install -y neofetch
그래픽으로 디스크 파티션을위한 파티션 편집기 https://gparted.sourceforge.io/
sudo apt install -y gparted
UFW 또는 복잡하지 않은 방화벽은 방화벽 구성 프로세스를 단순화하기위한 iptables의 인터페이스입니다. iPtables는 견고하고 유연한 도구이지만 초보자는 방화벽을 올바르게 구성하는 데 사용하는 방법을 배우기가 어려울 수 있습니다. UFW는 기본적으로 Ubuntu에 설치됩니다. 어떤 이유로 든 제거 된 경우 설치할 수 있습니다.
sudo apt install -y ufw
UFW를 활성화하려면이 명령을 사용하십시오.
sudo ufw enable
예제 구성 :
들어오는 SSH 연결을 허용하도록 서버를 구성하려면이 명령을 사용할 수 있습니다.
sudo ufw allow ssh
그러나 실제로 서비스 이름 대신 포트를 지정하여 동등한 규칙을 작성할 수 있습니다. 예를 들어,이 명령은 위의 명령과 동일하게 작동합니다.
sudo ufw allow 22
예를 들어, 포트 6000-6007을 사용하는 X11 연결을 허용하려면이 명령을 사용하십시오.
sudo ufw allow 6000:6007/tcp
sudo ufw allow 6000:6007/udp
GUFW는 UFW의 GUI입니다
sudo apt install -y gufw
https://www.geekbench.com/download/linux/에서 아카이브를 다운로드하고 Extract.
/opt에서 폴더를 이동하십시오
sudo mv Geekbench-5.3.1-Linux /opt/geekbench5
이제 벤치 마크를 실행할 수 있습니다
/opt/geekbench5/geekbench5
Clonezilla는 파티션 및 디스크 이미징/클로닝 프로그램입니다. 시스템 배포, 베어 메탈 백업 및 복구를 수행하는 데 도움이됩니다.
라이브 USB 이미지를 다운로드하십시오 : https://clonezilla.org/downloads/download.php?branch=Stable
USB 장치를 준비하십시오
mkfs.vfat -F 32 /dev/sd[1 letter]
ISO 이미지를 USB에 씁니다
CRT/LCD 화면의 품질을 테스트하기위한 프로그램입니다. 다양한 패턴을 표시하고 CRT/LCD 모니터의 품질을 추정 할 수 있습니다.
sudo apt install -y screentest
Ventoy는 ISO/WIM/IMG/VHD (X)/EFI 파일 용 부팅 가능한 USB 드라이브를 만드는 오픈 소스 도구입니다. Ventoy를 사용하면 디스크를 반복해서 포맷 할 필요가 없으므로 ISO/WIM/IMG/VHD/VHD (X)/EFI 파일을 USB 드라이브에 복사하여 직접 부팅하면됩니다. 한 번에 많은 파일을 복사 할 수 있으며 Ventoy는 부팅 메뉴를 선택하여 선택합니다.
여기에서 Ventoy-xxxx-linux.tar.gz와 같은 설치 패키지를 다운로드하여 압축 해제하십시오. xxx가 USB 장치 인 /dev /sdb와 같은 쉘 스크립트를 루트로 실행하십시오.
sudo sh Ventoy2Disk.sh -i -L "MY-USB" /dev/XXX
USB 드라이브가 형식화되고 설치 후 모든 데이터가 손실된다는주의를 기울입니다.
필요한 모든 것은 ISO 파일을 USB에 복사하는 것입니다. 파일을 저장하기위한 일반 USB 드라이브로 사용할 수 있으며 이는 Ventoy의 기능에 영향을 미치지 않습니다.
USB 드라이브에서 구성 파일 /ventoy/ventoy.json 사용하여 Ventoy가 작동하는 방법을 구성 할 수 있습니다.
내 구성 파일은 다음과 같습니다.
{
"control" : [
{ "VTOY_DEFAULT_SEARCH_ROOT" : " /install/iso " }
],
"theme" : {
"display_mode" : " CLI "
}
}여기에서 찾을 수있는 전체 문서
(뒤로 맨 위로)
Google Chrome 저장소를 추가하고 설치하십시오
sudo sh -c 'echo "deb [arch=amd64] http://dl-ssl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt update && sudo apt install -y google-chrome-stable
그런 다음 $ google-chrome 으로 시작하면 그놈 바에 고정 할 수 있습니다.
SNAP를 통해 설치 :
sudo snap install firefox
설치
sudo apt install playonlinux
설치
sudo apt install nautilus-dropbox
코드, 마크 업 및 산문에 대한 정교한 텍스트 편집기
저장소 추가 :
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt install apt-transport-https
안정적인 버전 :
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
DEV 버전 :
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
설치하다:
sudo apt update && sudo apt install -y sublime-text
장치 간의 동기화 구성
설치
sudo apt -y install pidgin
Google 토크 계정 구성
기초적인
고급의
http://dbeaver.jkiss.org/download/에서 다운로드
VirtualBox는 엔터프라이즈 및 주택 사용을위한 강력한 X86 및 AMD64/Intel64 가상화 제품입니다.
https://www.virtualbox.org/wiki/linux_downloads에서 최신 버전 번호를 확인하십시오
이 설명서를 작성하는 동안 최신 버전은 7.0입니다
설치
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor
sudo apt-get update
sudo apt-get install virtualbox-7.0
오류가 발생하면 첫 번째 실행 : sudo apt --fix-broken install
기본 가상화를 가능하게하도록 제안했습니다
또한 가상 머신 관련 정보를 읽을 수 있습니다
설치
https://www.jetbrains.com/toolbox-app/에서 JetBrains Toolbox를 설치하고 Toolbox에서 Android Studio를 설치하는 것이 좋습니다.
Android SDK를 다운로드 한 후 경로 변수를 업데이트합니다.
vim ~/.bashrc
라인 추가 :
export PATH=${PATH}:/path-to-android-sdk/tools
export PATH=${PATH}:/path-to-android-sdk/platform-tools
https://www.syntevo.com/smartgit/download/에서 Deb 번들을 다운로드하십시오.
설치
sudo apt install -y filezilla
설치
sudo sh -c 'echo "deb http://repository.spotify.com testing non-free" >> /etc/apt/sources.list.d/spotify.list'
sudo apt update && sudo apt install -y spotify-client
http://www.teamviewer.com/en/download/linux.aspx에서 다운로드하십시오
sudo apt install -y meld
Vagrant를 설치하려면 설치 키트를 다운로드하여 실행해야합니다. 더 나아 가기 전에 DPKG 및 가상 상자가 설치되어 있는지 확인하십시오.
sudo apt install -y dpkg-dev virtualbox-dkms
Linux 헤더가 이미 설치되어 있는지 확인하십시오
sudo apt install -y linux-headers-$(uname -r)
Vagrant의 https://www.vagrantup.com/downloads.html 페이지로 이동하여 최신 릴리스를 확인하십시오. 이 설명서를 작성하는 동안 마지막 버전은 2.0.1이었습니다
wget https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb
sudo dpkg -i vagrant_2.0.1_x86_64.deb
VirtualBox DKMS를 재구성하십시오.
sudo dpkg-reconfigure virtualbox-dkms
설치
wget -qO- https://get.docker.com/ | sh
Docker와의 작업은 사용자가 올바르게 구성되지 않으면 다음 명령을 사용하여 Docker 그룹에 사용자를 추가하십시오.
sudo usermod -aG docker $(whoami)
서버에서 로그 아웃하고 로그인하여 새 그룹을 활성화하십시오.
sudo apt install -y docker-compose
설치
sudo apt install -y audacious
XnView MP는 XNView Classic의 향상된 버전입니다. 강력한 크로스 플랫폼 미디어 브라우저, 뷰어 및 컨버터입니다. PSD 등과 같은 500 개 이상의 형식과 호환됩니다.
http://www.xnview.com/en/xnviewmp/#downloads에서 다운로드 및 설치하십시오
Google Keep 및 Windows Sticky Notes와 마찬가지로 데스크탑에서 생각, 목록 및 알림을 줄일 수 있습니다.
설치
sudo apt-add-repository ppa:umang/indicator-stickynotes
sudo apt update && sudo apt install -y indicator-stickynotes
Guake는 Gnome 데스크탑 환경을 위해 만들어진 드롭 다운 터미널입니다. Guake의 창 스타일은 FPS 게임을 기반으로하며 목표 중 하나는 쉽게 도달하기가 쉽습니다.
설치
sudo apt install -y guake
Snap을 사용하여 설치 :
sudo snap install skype
Snap을 사용하여 설치 :
sudo snap install telegram-desktop
Snap을 사용하여 설치 :
sudo snap install slack
https://www.viber.com/en/download/에서 AppImage를 다운로드하십시오.
존재하지 않으면 응용 프로그램 폴더를 만듭니다 : mkdir ~/applications
mv viber.AppImage ~/applications && chmod a+x ~/applications/viber.AppImage
~/applications/viber.AppImage 실행합니다
설치
sudo apt install -y gimp gimp-data gimp-plugin-registry gimp-data-extras
VLC는 DVD, 오디오 CD, VCD 및 다양한 스트리밍 프로토콜뿐만 아니라 대부분의 멀티미디어 파일을 재생하는 무료 및 오픈 소스 크로스 플랫폼 멀티미디어 플레이어 및 프레임 워크입니다.
설치
sudo apt install -y vlc
Snap을 사용하여 설치 :
sudo snap install kdenlive
터미널에서 httpie를 쉽게 사용할 수 있습니다 : http get https://google.com
설치
sudo apt update && sudo apt install -y httpie
사용하기 쉬운 인터페이스가있는 간단한 애니메이션 GIF 화면 레코더
설치
sudo add-apt-repository -y ppa:peek-developers/stable
sudo apt update && sudo apt install -y peek
비디오 녹화 및 라이브 스트리밍을위한 무료 및 오픈 소스 소프트웨어 https://obsproject.com/.
설치
sudo add-apt-repository -y ppa:obsproject/obs-studio
sudo apt update && sudo apt install -y obs-studio
Startup Disk Creator 와 UNetbootin 쉽게 사용하여 Linux to USB를 만들 수 있습니다. 그러나 Linux OS에서 Windows Bootable USB를 만들어야하는 경우 WoEusB를 사용합니다.
sudo add-apt-repository -y ppa:tomtomtom/woeusb
sudo apt install -y woeusb-frontend-wxgtk
민첩하고 간결한 모델링을위한 정교한 소프트웨어 모델러 (http://staruml.io/)
http://staruml.io/download에서 .appimage 파일을 다운로드 할 수 있습니다
다운로드 파일 실행 및 실행을 만듭니다.
Gramps는 무료 소프트웨어 프로젝트 및 커뮤니티입니다. 그것은 애호가들에게 직관적이며 전문 계보 학자들에게는 불가능한 계보 프로그램입니다.
설치, 실행 :
sudo apt install -y gramps
Uget은 강력한 다운로드 관리자입니다.
설치, 실행 :
sudo add-apt-repository -y ppa:uget-team/ppa
sudo apt install -y uget uget-integrator
UGET 통합을 위해 브라우저 확장을 설치할 수도 있습니다.
Xournal은 주로 음표 작성 및 스케치 사용 사례를 위해 개발 된 GUI 응용 프로그램입니다. 이름에서 알 수 있듯이 Xournal은 특히 터치 스크린 캡슐형 노트북에 저널을 보관할 때 매우 편리한 도구입니다. 이러한 유스 케이스 외에도 Xournal은 실제로 우수한 PDF 편집 기능을 보유하고 있으며 수정 된 PDF 파일도 내보낼 수 있습니다.
설치, 실행 :
sudo apt install -y xournal
Xournal이있는 PDF 문서에 서명 이미지를 추가하는 데 매우 유용한 도구입니다. Xournal과 함께 필기 서명을 PDF 문서에 추가하는 두 가지 방법이 있습니다. 내장 펜 드로잉을 사용하여 서명을 직접 그릴 수 있습니다. 또는 다른 도구를 사용하여 서명의 이미지 파일을 만들고 Xournal을 사용하여 이미지를 PDF 문서로 가져올 수 있습니다.
서명을 직접 작성하려면 Xournal GUI 메뉴의 왼쪽 상단에서 Pen 아이콘을 클릭하십시오. Text 아이콘을 클릭하여 모든 것을 인쇄하고 입력 할 수도 있습니다 (예 : 날짜). Xournal에 서명 이미지를 추가하려면 Xournal GUI 메뉴 상단에서 Image 아이콘을 클릭하거나 메뉴 옵션에서 Tools → Image 로 이동하십시오.
변속기는 쉽고 강력한 용도로 설계되었습니다. 우리는 기본값을 단지 작동하도록 설정했으며 시계 디렉토리, 잘못된 피어 블록리스트 및 웹 인터페이스와 같은 고급 기능을 구성하는 데 몇 번의 클릭 만 필요합니다. Ubuntu가 기본 Bittorrent 클라이언트로 전송을 선택했을 때 가장 인용 된 이유 중 하나는 쉽게 학습 곡선이었습니다.
설치, 실행 :
sudo apt install -y transmission
Linux 용 Timeshift는 Windows의 시스템 복원 기능 및 Mac OS의 타임 대신 공구와 유사한 기능을 제공하는 응용 프로그램입니다. Timeshift는 정기적으로 파일 시스템의 증분 스냅 샷을 가져와 시스템을 보호합니다. 이 스냅 샷은 나중에 복원하여 시스템의 모든 변경 사항을 취소 할 수 있습니다.
설치, 실행 :
sudo apt install -y timeshift
Libreoffice는 무료이고 강력한 사무실 제품군이며 OpenOffice.org (일반적으로 OpenOffice라고도 함)의 후임자입니다. 깨끗한 인터페이스와 기능이 풍부한 도구는 창의성을 발휘하고 생산성을 향상시키는 데 도움이됩니다.
설치, 실행 :
sudo apt install -y libreoffice
(뒤로 맨 위로)
Linux Apache MySQL Php
- 다음에 대한 설치 :
후반에 추가 기능을 컴파일하려면 PHP5.6-DEV를 설치하는 것이 중요합니다.
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update && sudo apt install -y php5.6 libpcre3-dev php5.6-cli php5.6-cgi php5.6-common php5.6-mysql php5.6-curl php5.6-gd php5.6-geoip php5.6-imagick php5.6-imap php5.6-json php5.6-ldap php5.6-mcrypt php5.6-memcache php5.6-memcached php5.6-tidy php5.6-xdebug php5.6-xmlrpc php5.6-xsl php5.6-dev
더 많은 PHP 모듈을 찾고 있다면 시도해보십시오.
sudo apt-cache search php5-
나중에 애드온을 컴파일하려면 PHP7.0-DEV를 설치하는 것이 중요합니다.
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update && sudo apt install -y php7.0-bz2 php7.0-cgi php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-enchant php7.0-fpm php7.0-gd php7.0-gmp php7.0-imap php7.0-intl php7.0-json php7.0-ldap php7.0-mcrypt php7.0-mysql php7.0-odbc php7.0-opcache php7.0-pgsql php7.0-phpdbg php7.0-pspell php7.0-readline php7.0-recode php7.0-sybase php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-sqlite3 php7.0-mbstring php7.0-bcmath php7.0-soap php7.0-zip php-xdebug php-imagick
더 많은 PHP 모듈을 찾고 있다면 시도해보십시오.
sudo apt-cache search php7.0-
후반에 추가 기능을 컴파일하려면 PHP7.4-DEV를 설치하는 것이 중요합니다.
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update && sudo apt install -y php7.4-bz2 php7.4-cgi php7.4-cli php7.4-common php7.4-curl php7.4-dev php7.4-enchant php7.4-fpm php7.4-gd php7.4-gmp php7.4-imap php7.4-intl php7.4-json php7.4-ldap php7.4-mysql php7.4-odbc php7.4-opcache php7.4-pgsql php7.4-phpdbg php7.4-pspell php7.4-readline php7.4-sybase php7.4-tidy php7.4-xmlrpc php7.4-xsl php7.4-sqlite3 php7.4-mbstring php7.4-bcmath php7.4-soap php7.4-zip php7.4-xdebug php7.4-redis php7.4-igbinary php7.4-imagick php-sodium
더 많은 PHP 모듈을 찾고 있다면 시도해보십시오.
sudo apt-cache search php7.4-
나중에 애드온을 컴파일하려면 PHP8.0-DEV를 설치하는 것이 중요합니다.
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update && sudo apt install -y php8.0-bz2 php8.0-cgi php8.0-cli php8.0-common php8.0-curl php8.0-dev php8.0-enchant php8.0-fpm php8.0-gd php8.0-gmp php8.0-imap php8.0-intl php8.0-ldap php8.0-mysql php8.0-odbc php8.0-opcache php8.0-pgsql php8.0-phpdbg php8.0-pspell php8.0-readline php8.0-sybase php8.0-tidy php8.0-xmlrpc php8.0-xsl php8.0-sqlite3 php8.0-mbstring php8.0-bcmath php8.0-soap php8.0-zip php8.0-xdebug php8.0-redis php8.0-igbinary php8.0-imagick php-sodium
더 많은 PHP 모듈을 찾고 있다면 시도해보십시오.
sudo apt-cache search php8.0-
나중에 애드온을 컴파일하려면 php8.1-dev를 설치하는 것이 중요합니다.
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update && sudo apt install -y php8.1-bz2 php8.1-cgi php8.1-cli php8.1-common php8.1-curl php8.1-dev php8.1-enchant php8.1-fpm php8.1-gd php8.1-gmp php8.1-imap php8.1-intl php8.1-ldap php8.1-mysql php8.1-odbc php8.1-opcache php8.1-pgsql php8.1-phpdbg php8.1-pspell php8.1-readline php8.1-sybase php8.1-tidy php8.1-xmlrpc php8.1-xsl php8.1-sqlite3 php8.1-mbstring php8.1-bcmath php8.1-soap php8.1-zip php8.1-xdebug php8.1-redis php8.1-igbinary php8.1-imagick
더 많은 PHP 모듈을 찾고 있다면 시도해보십시오.
sudo apt-cache search php8.1-
나중에 애드온을 컴파일하려면 PHP8.2-DEV를 설치하는 것이 중요합니다.
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update && sudo apt install -y php8.2-bz2 php8.2-cgi php8.2-cli php8.2-common php8.2-curl php8.2-dev php8.2-enchant php8.2-fpm php8.2-gd php8.2-gmp php8.2-imap php8.2-intl php8.2-ldap php8.2-mysql php8.2-odbc php8.2-opcache php8.2-pgsql php8.2-phpdbg php8.2-pspell php8.2-readline php8.2-sybase php8.2-tidy php8.2-xmlrpc php8.2-xsl php8.2-sqlite3 php8.2-mbstring php8.2-bcmath php8.2-soap php8.2-zip php8.2-xdebug php8.2-redis php8.2-igbinary php8.2-imagick
더 많은 PHP 모듈을 찾고 있다면 시도해보십시오.
sudo apt-cache search php8.2-
후반에 추가 기능을 컴파일하려면 PHP8.3-DEV를 설치하는 것이 중요합니다.
sudo add-apt-repository -y ppa:ondrej/php
sudo apt install -y php8.3-bz2 php8.3-cgi php8.3-cli php8.3-common php8.3-curl php8.3-dev php8.3-enchant php8.3-fpm php8.3-gd php8.3-gmp php8.3-imap php8.3-intl php8.3-ldap php8.3-mysql php8.3-odbc php8.3-opcache php8.3-pgsql php8.3-phpdbg php8.3-pspell php8.3-readline php8.3-sybase php8.3-tidy php8.3-xmlrpc php8.3-xsl php8.3-sqlite3 php8.3-mbstring php8.3-bcmath php8.3-soap php8.3-zip php8.3-xdebug php8.3-redis php8.3-igbinary php8.3-imagick
GPG 경고를 받으면이 해결 방법을 사용하여 수정하십시오 : Oerdnj/deb.sury.org#1429 (댓글)
더 많은 PHP 모듈을 찾고 있다면 시도해보십시오.
sudo apt-cache search php8.3-
예를 들어 8.1에서 8.2로 전환합니다
아파치 :
sudo a2dismod php8.1
sudo a2enmod php8.2
sudo service apache2 restart
PHP 모듈은 sudo apt install -y libapache2-mod-php8.*
명령 줄 :
sudo update-alternatives --set php /usr/bin/php8.2
sudo update-alternatives --set phar /usr/bin/phar8.2
sudo update-alternatives --set phar.phar /usr/bin/phar.phar8.2
sudo update-alternatives --set php-config /usr/bin/php-config8.2
curl -sS https://getcomposer.org/installer | php && sudo mv composer.phar /usr/local/bin/composer
작곡가의 경우 XDEBUG를 비활성화하십시오
sudo phpdismod -s cli xdebug
이 줄을 .BASHRC 파일에 추가하십시오.
# Load xdebug Zend extension with php command
alias php='php -dzend_extension=xdebug.so'
# PHPUnit needs xdebug for coverage. In this case, just make an alias with php command prefix.
alias phpunit='php $(which phpunit)'
wget https://phar.phpunit.de/phpunit.phar && chmod +x phpunit.phar && sudo mv phpunit.phar /usr/local/bin/phpunit
PHP 5.6의 경우
sudo apt install -y apache2 libapache2-mod-php5.6
php 7의 경우*
sudo apt install -y apache2 libapache2-mod-php7.*
php 8의 경우*
sudo apt install -y apache2 libapache2-mod-php8.*
mod_rewrite를 활성화하십시오
sudo a2enmod rewrite
PHP-Mcrypt를 활성화하십시오
PHP 5의 경우
sudo php5enmod mcrypt && sudo service apache2 restart
PHP 7의 경우 (McRypt를 사용할 수있는 경우)
sudo phpenmod mcrypt && sudo service apache2 restart
더 많은 아파치 모듈을 찾고 있다면 시도해보십시오.
sudo apt-cache search libapache2-mod
활성화 모듈 vhost_alias
sudo a2enmod vhost_alias
다음으로 /etc/apache2/apache2.conf를 엽니 다
sudo vim /etc/apache2/apache2.conf
IncludeOptional sites-enabled/*.conf 전에 다음 줄을 추가하십시오.
UseCanonicalName Off
LogFormat "%V %h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"" dynamic_vhosts
CustomLog ${APACHE_LOG_DIR}/access.log dynamic_vhosts
<VirtualHost *:80>
VirtualDocumentRoot /var/www/domains/%-2+/public_html
VirtualScriptAlias /var/www/domains/%-2+/cgi-bin
<Directory /var/www/domains>
DirectoryIndex index.html index.php
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
</VirtualHost>
Apache 사용자가 폴더에 액세스 할 수 있는지 확인하십시오. Ubuntu 24는 /홈 /사용자 폴더에 750 권의 권한이 있습니다.
구성된 모든 가상 호스트를 비활성화하려면 구성 파일 에이 줄을 주석하십시오.
#IncludeOptional sites-enabled/*.conf
이렇게하면 포트 80을 초과하는 모든 도메인에 대한 모든 도메인 (HTTP 트래픽의 기본 포트, HTTPS를 사용하는 경우 443을 사용해야합니다. 또는 포트 제한을 제거 할 수 있습니다). 여기서 중요한 줄은 VirtualDocumentRoot입니다. 파일이 디스크에있는 곳에서 Apache를 알려줍니다. %0 부분은 전체 도메인 이름을 가져 와서 경로에 삽입합니다. 그러나 나는 디스크의 폴더에 도메인의 .test 부분을 원하지 않았다. 그렇지 않으면 도메인 somesite.com으로 이동하면이를 설명하기 위해 %-2+를 사용한다.
/var/www/html/domains/somesite.com
이제 로컬 컴퓨터에서 자동 .test 도메인을 추가해야합니다.
Edit the file /etc/NetworkManager/NetworkManager.conf , and add the line dns=dnsmasq to the [main] section, it will look like this:
[main]
plugins=ifupdown,keyfile
dns=dnsmasq
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
Let NetworkManager manage /etc/resolv.conf
sudo rm /etc/resolv.conf
sudo ln -s /var/run/NetworkManager/resolv.conf /etc/resolv.conf
Add custom tld:
echo 'address=/.test/127.0.0.1' | sudo tee /etc/NetworkManager/dnsmasq.d/test-tld
Reload NetworkManager:
sudo systemctl reload NetworkManager
Now domain somesite.com.test should work.
First of all Generate SSL certificates for local domains
After you can use this small script, for generating SSL certificate for all virtual domains (folders).
#! /usr/bin/env bash
cmd_array=( mkcert -key-file key.pem -cert-file cert.pem )
for d in /var/www/html/domains/ * / ; do
cmd_array+=( ` basename " $d " ` .test)
done
" ${cmd_array[@]} " And add the generated cert.pem and key.pem to the apache configuration file, edit /etc/apache2.conf
Add new VirtualHost section:
<VirtualHost *:443>
VirtualDocumentRoot /var/www/html/domains/%-2+/public
SSLEngine on
SSLCertificateFile /path/to/generated/certs/cert.pem
SSLCertificateKeyFile /path/to/generated/certs/key.pem
<Directory /var/www/html/domains>
DirectoryIndex index.html index.php
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride All
Order deny,allow
Allow from all
Require all granted
</Directory>
</VirtualHost>
Make sure the mod_ssl is enabled and restart the apache.
Or if you prefer to use nginx
For stable version
sudo add-apt-repository -y ppa:nginx/stable
For latest (recommended)
sudo add-apt-repository -y ppa:nginx/development
And after install
sudo apt install -y nginx
mkcert automatically creates and installs a local CA in the system root store, and generates locally-trusted certificates.
Download mkcert precompiled binary from https://github.com/FiloSottile/mkcert/releases
wget -O mkcert https://github.com/FiloSottile/mkcert/releases/download/v1.4.3/mkcert-v1.4.3-linux-amd64
chmod +x mkcert
Generate and install root certificates:
mkcert -install
Root certificates will be placed under mkcert -CAROOT . For Ubuntu its /home/<user>/.local/share/mkcert
After you can generate certificates for your domains:
mkcert -key-file key.pem -cert-file cert.pem example.test *.example.test example2.test *.example2.test
Now you can add the generated cert.pem and key.pem to your webserver configuration.
If you use Apache Dynamic Virtualhosts, you can generate certs automatically. Read more in Configure SSL for Dynamic Virtualhosts
You can get latest version number on https://dev.mysql.com/downloads/repo/apt
wget https://dev.mysql.com/get/mysql-apt-config_0.8.30-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.30-1_all.deb
sudo apt update & sudo apt install -y mysql-server
For start configuring MySQL server, run:
sudo mysql_secure_installation
If you are not able to login with root user, run:
sudo mysql
and run:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YourPassword';
If even with sudo mysql not able to log in, try this:
Add --skip-grant-tables option to startup command:
sudo vim /usr/lib/systemd/system/mysql.service
Run FLUSH PRIVILEGES; and after:
ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
Login in MySQL shell and run:
CREATE USER 'root'@'%' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
Also Update mysql server config:
For MySQL 5.*
sudo sed -i 's/bind-address/bind-address = 0.0.0.0#/' /etc/mysql/my.cnf
For MySQL 8.*
echo 'bind-address = *' | sudo tee -a /etc/mysql/mysql.conf.d/mysqld.cnf
Restart the service:
sudo service mysql restart
Check if mysql listens port correctly
sudo netstat -tulnp | grep mysql
Output should be something like:
tcp6 0 0 :::33060 :::* LISTEN 13143/mysqld
tcp6 0 0 :::3306 :::* LISTEN 13143/mysqld
You can also run the nmap command from a remote computer to check whether MySQL port 3306 is open to the remote host.
nmap {server-ip}
Percona Toolkit is a collection of advanced open source command-line tools, developed and used by the Percona technical staff, that are engineered to perform a variety of MySQL® and MongoDB® server and system tasks that are too difficult or complex to perform manually – freeing your DBAs for work that helps you achieve your business goals.
sudo apt install -y percona-toolkit
This is a very nice utility https://github.com/dbcli/mycli
pip install mycli
Usage (See the documents from the git link above for more example):
mycli -h localhost -u root
mycli -h localhost -u root -p
sudo apt install -y postgresql libpq-dev
sudo apt install -y memcached php-memcached
Install redis latest stable version
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
sudo apt-get update
sudo apt-get install redis
Add to startup:
sudo systemctl enable redis-server.service
Disable default instance
sudo systemctl stop redis-server
sudo systemctl disable redis-server
Repeat these steps to configure a Redis instance for every instance you want to set up:
In this case we set up first instance called "redis_1"
Create folders and configs:
sudo mkdir /etc/redis/redis_1
sudo cp /etc/redis/redis.conf /etc/redis/redis_1/redis.conf
sudo chown -R redis:redis /etc/redis
In the config file edit lines:
daemonize no
supervised systemd
pidfile /run/redis/redis_1.pid
logfile /var/log/redis/redis_1.log
dir /var/lib/redis/redis_1/
Define a "port" number.
port 6379
Warning: Remember that each instance should be running on a different port.
Create the database directories at the location given in the configuration file.
sudo mkdir /var/lib/redis/redis_1
sudo chown redis:redis /var/lib/redis/redis_1
sudo chmod 0750 /var/lib/redis/redis_1
Create the service unit file "/etc/systemd/system/[email protected]" with the following contents:
[Unit]
Description=Redis persistent key-value database
After=network.target
[Service]
Type=simple
User=redis
Group=redis
ExecStart=/usr/bin/redis-server /etc/redis/%i/redis.conf
ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true
PIDFile=/var/run/redis/%i.pid
RuntimeDirectory=%i
RuntimeDirectoryMode=2755
LimitNOFILE=65536
Restart=always
TimeoutStopSec=0
UMask=007
PrivateDevices=yes
ProtectHome=yes
ReadOnlyDirectories=/
ReadWriteDirectories=-/var/lib/redis
ReadWriteDirectories=-/var/log/redis
ReadWriteDirectories=-/var/run/redis
NoNewPrivileges=true
CapabilityBoundingSet=CAP_SETGID CAP_SETUID CAP_SYS_RESOURCE
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
MemoryDenyWriteExecute=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectControlGroups=true
RestrictRealtime=true
RestrictNamespaces=true
# redis-server can write to its own config file when in cluster mode so we
# permit writing there by default. If you are not using this feature, it is
# recommended that you replace the following lines with "ProtectSystem=full".
ProtectSystem=true
ReadWriteDirectories=-/etc/redis
[Install]
WantedBy=multi-user.target
Start the new redis instance:
sudo systemctl start redis@redis_1
sudo systemctl enable redis@redis_1
Install ELK stack: Elasticsearch, Logstash, and Kibana
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt install -y apt-transport-https
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt update && sudo apt install -y elasticsearch
To configure Elasticsearch to start automatically when the system boots up, run the following commands:
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
Install certbot (https://certbot.eff.org)
sudo snap install --classic certbot
Generating for nginx:
sudo snap install certbot-nginx-unit
sudo certbot --nginx
Generating for apache:
sudo certbot --apache
You can test automatic renewal for your certificates by running this command:
sudo certbot renew --dry-run
sudo apt install -y default-jre
sudo apt-add-repository ppa:phalcon/stable
sudo apt update
sudo apt install -y php5-phalcon
This is an easy to use install script that will cleanup after itself. It can also be used for updating:
sudo bash install_phalcon_devtools.sh
To test it run: $ phalcon
We will use the Access Control Lists (ACL) or (Filesystem Access Control List). We will use group permissions for folders so you don't have to make the public writable, because 777 is dangerous.
# Make sure you have ACL installed
sudo apt install -y acl
Look for your main partition with:
$ df
Mine happens to be dev/root , yours may be dev/sda or something. Make sure to replace that below:
# T
sudo /sbin/tune2fs -o +acl /dev/root
To see what file system you are using ext3 , ext4 , etc, use the partition:
sudo file -sL /dev/root
We have to put the partition in read-only mode, then remount it:
sudo /bin/mount -o remount /dev/root
Apply Group
# This sets the Defaults
setfacl -Rd g:www-data:rw /var/www
# This sets future file
setfacl -Rm g:www-data:rw /var/www
To Modify
setfacl -Rm g:www-data:rw /var/www
Otherwise you could always set up a crontab such as:
crontab -e
Then append this to run every five minutes.
*/5 * * * * /home/<user>/backup.sh chgrp -R www-data /var/www && chmod g+rw /var/www
Lastly, you could have a deploy script that does this for you, such as Python Fabfile , but that's another topic.
(Back to top)
- Installation packages: - Python3 - Virtualenv
Python is installed by default on Ubuntu, version 3.12 is suitable. I strongly recommend installing python-dev for headers to compile certain PIP packages.
sudo apt install -y python3-dev python3-full libmysqlclient-dev
sudo pip install fabric virtualenv virtualenvwrapper django
Check the Python version installed, using below command
python3 -V
Virtualenv is a tool to create isolated Python environments. install the virtualenv package
pip install virtualenv
Create an Environment with virtualenv
virtualenv -p python3.5 --no-site-packages env
Activate script
cd env
source bin/activate
비활성화
deactivate
(Back to top)
Install Golang. You can check latest version of Golang here https://golang.org/dl/#featured While writing this article, lastest version was 1.9
sudo add-apt-repository -y ppa:gophers/archive
sudo apt -y update && sudo apt install golang-1.9
After that your installation will be in the /usr/lib/go-1.9 I recommend create symlink:
sudo ln -s /usr/lib/go-1.9 /usr/local/go
And Add /usr/local/go/bin to the PATH environment variable. You can do this by adding this line to your /etc/profile (for a system-wide installation) or $HOME/.profile :
PATH="$PATH:/usr/local/go/bin"
(Back to top)
Install Ruby 2.X with header files in ruby2.0-dev , this will keep your gems from having issues.
sudo apt install -y ruby2.0 ruby2.0-dev
For Ruby RVM (Version Management)
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable
(Back to top)
I recommend install NodeJS using Node Version Manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
To download, compile, and install the latest release of node, do this:
nvm install node # "node" is an alias for the latest version
To install a specific version of node:
nvm install 6.14.4 # or 10.10.0, 8.9.1, etc
To install a latest LTS version of node:
nvm install --lts
You can list available versions using ls-remote:
nvm ls-remote
And then in any new shell just use the installed version:
nvm use [version]
(Back to top)
For installation Yarn package manager run:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install -y yarn
(Back to top)
sudo apt install -y ansible
(Back to top)
Ultimate entertainment platform. http://store.steampowered.com/
sudo apt install -y steam
PCSX-Reloaded - PlayStation 1 Emulator. https://pcsxr.codeplex.com/
Install emulator:
sudo apt install -y pcsxr
pscxr can simulate a bios file. However if you need to use a bios, download and move the file into ~/.pcsx/bios/ .
Download games from http://redump.org/discs/system/psx/ or https://rutracker.org/forum/viewtopic.php?t=4496017 and put under ~/.pcsx/games/
After that run PCSX, configure and play
Open sysctl.conf
sudo vim /etc/sysctl.conf
Add this line:
fs.inotify.max_user_watches = 524288
And after run
sudo sysctl -p
Note: for security reasons, not recommended
sudo git config --global http.sslVerify false
gnome-terminalnautilus -w Setup VIM
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
And copy .vimrc file in your home folder (/home//.vimrc) After run
$ vim
:PluginInstall
Go to System "Settings" > "Keyboard" > "Text Entry" and add Georgian layout. Also enable "Allow different sources for each window"
List input devices tofind the id
xinput --list
You have to find input device, like "SynPS/2 Synaptics TouchPad". In my case id was 12.
To list supported settings for device, run:
xinput list-props {id}
To change scroll speed, you have to update "Synaptics Scrolling Distance" setting. 예를 들어
xinput --set-prop {id} 'Synaptics Scrolling Distance' -200 200
To persist this setting you have to put command in the /etc/X11/xinit/xinputrc file.
Sometimes id can be changed between reboots, so, you have to update file with following lines:
idd=$(xinput --list | grep 'SynPS/2 Synaptics TouchPad' | awk '{print $6}'| cut -d'=' -f2)
xinput --set-prop $idd 'Synaptics Scrolling Distance' -200 200
(Back to top)
These are solutions to fix problems I've encountered.
When you try to login to Ubuntu and it relogs you back into the login screen, this is an infinite loop. The only way I was able to fix it despite all the guides was combining a few of these together.
The first step is to login to a terminal.
CTRL + ALT + F1 (Or F3)
Next, Login as your user who must be able to run sudo.
ls -ld ~ should have these permission exactly as: drwxr-xr-xjohn:johnsudo chmod 755 ~ and sudo chown -R john:john ~ls -ld /tmp should have these permission exactly as: drwxrwxrwtroot:root on /tmpsudo chmod a+wt /tmpls -lta | grep .Xa should be owned by your user, for example john johnroot root or anything than your user/group it's wrongsudo chown john:john .Xauthoritycat ~/.xsession-errorssudo ~/.Xauthority ~/.Xauthority.bakdpkg-reconfigure lightdm , then select lightdm in the menusudo service lightdm restartapt-autoremove may accidentally remove xubuntu-desktop , ubuntu-desktop and LightDM reports no errors.ubuntu-desktop will load the Gnome interfacexubuntu-desktop will load a different interface I'm not familiar withsudo apt install ubuntu-desktopsudo apt autoremove gnome-software && sudo apt install gnome-software If your lspci | grep "VGA" output looks like this:
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f95 (rev a1)
Instead of this:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] [10de:1f95] (rev a1)
Then you're affected by the issue.
This can be caused by your /usr/share/misc/pci.ids* files being outdated and you can fix it by running:
sudo update-pciids
If the list is not updated even after running the command above, that means your PCI device is brand new, and no one has registered your device to the pci-ids repository.
You can submit an issue/contact us through gitter, or you can add it yourself to https://pci-ids.ucw.cz/. Make sure you have the right vendor ID and the device ID by checking lspci -nn and read the guidelines.
On my device screen brightness and keyboard backlit always resets after reboot, so there is a fix.
First, find config files where your brightness and keyboard backlit state is stored. In my case, it was /sys/class/backlight/nvidia_0/brightness and /sys/class/leds/tpacpi::kbd_backlight/brightness
Test your configs:
echo 1 > /sys/class/leds/tpacpi::kbd_backlight/brightness
echo 70 > /sys/class/backlight/nvidia_0/brightness
Settings should be changed. If not, check configuration files path.
Max brightness you can check via cat /sys/class/backlight/nvidia_0/max_brightness and cat /sys/class/leds/tpacpi::kbd_backlight/max_brightness
Create script under /usr/local/bin/
sudo vim /usr/local/bin/setup-brightness.sh
And put the lines below:
#! /bin/bash
echo 0 > /sys/class/leds/tpacpi :: kbd_backlight/brightness
echo 1 > /sys/class/leds/tpacpi :: kbd_backlight/brightness
echo 70 > /sys/class/backlight/nvidia_0/brightnessCreate systemd service file:
sudo vim /etc/systemd/system/setup-brightness.service
And put content below:
[Unit]
After=graphical.target
Description=Set up the screen and keyboard brightness
[Service]
Type=simple
ExecStart=/usr/local/bin/setup-brightness.sh
[Install]
WantedBy=multi-user.target
Set proper permissions:
sudo chmod 744 /usr/local/bin/setup-brightness.sh
sudo chmod 664 /etc/systemd/system/setup-brightness.service
Test your script by running:
sudo /usr/local/bin/setup-brightness.sh
Enable the service unit:
sudo systemctl daemon-reload
sudo systemctl enable setup-brightness.service
The easiest solution is to define the undocumented GRUB_RECORDFAIL_TIMEOUT variable in /etc/default/grub . 예를 들어:
sudo vim /etc/default/grub
and add variable:
GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT
Also set GRUB_TIMEOUT to 0 . After run:
sudo update-grub
예:
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT
In Ubuntu 24.04 where certain applications such as Firefox use the top bar as the title bar, whenever you accidentally touch the top bar and drag, it resizes the window, which can be quite frustrating.
To disable this behaviour, you have to disable "Enhanced Tailing" under Settings -> Ubuntu Desktop .
Beware that turning that feature off will also disable Super + Up and Super + Down to maximize and minimize windows.
I prefer dock like Mac. To do this, run commands:
gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
gsettings set org.gnome.shell.extensions.dash-to-dock transparency-mode FIXED
gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 48
gsettings set org.gnome.shell.extensions.dash-to-dock unity-backlit-items false
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
You can resize windows very nicely:
Run this simple command in the terminal and you will see the positions change right away.
Move to right (terminal)
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
Move to left (terminal)
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
In terminal make sure this is false, then try your hotkey ctrl+alt+l or if you set it like super+l in the settings:
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'false'
You can toggle these items at https://extensions.gnome.org I suggest creating an account so you have a record.
This is a rare things, it happens much more in Gnome and requires a lot more "damaging" things. To fix a gnome that seems frozen do the following:
ALT + F2 enter in r (lowecase) and press Enter
Create a AppName.desktop file in ~/.local/share/applications with content:
[Desktop Entry]
Version=0.1.1
Type=Application
Name=appName
Comment=Application Description
TryExec=Path/to/AppImage
Exec=Path/to/AppImage
Icon=Path/to/AppImage.icon
Actions=Editor
(Back to top)
This has to do with VirtualBox
Append the following to yourbox.vmx with the machine off.
mouse.vusb.enable = "TRUE"
mouse.vusb.useBasicMouse = "FALSE"
usb.generic.allowHID = "TRUE"
vagrant plugin install vagrant-vbguest
vagrant ssh
sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
Running Windows 8 in Virtualbox has an odd error, run this in cmd or powershell , or terminal on linux.
vboxmanage list vms
vboxmanage setextradata "The Box Name" VBoxInternal/CPUM/CMPXCHG16B 1
(Back to top)
I am using Dropbox for syncing configurations
Install Package Control https://packagecontrol.io/installation#st3
후에:
cd ~/.config/sublime-text/Packages/
rm -rf User
ln -s ~/Dropbox/workspace/appdata/sublime-text/Packages/User
cd ~/.config/filezilla
rm -f sitemanager.xml
ln -s ~/Dropbox/workspace/appdata/filezilla/sitemanager.xml
(Back to top)
(Back to top)
Remove not neccessary apps from startup
Show system apps in Startup Applications
sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop
Open "Startup Applications" and uncheck apps: Chat, Orca Screen Reader, Zeitgest Datahub
Hide system apps
sudo sed -i 's/NoDisplay=false/NoDisplay=true/g' /etc/xdg/autostart/*.desktop
Remove any unwanted applications.
(Back to top)
By Avtandil Kikabidze aka LONGMAN