xrdp 접속시 검은화면.. "could not acquire name on session bus xrdp" 메시지 해결
#loginctl
c1 123 lightdm seat0 - active no -
c2 1001 www - - active yes 3 days ago
c3 1001 www - - active no -
c4 1001 www - - active no -
# loginctl kill-session c2
# loginctl kill-session c3
# loginctl kill-session c4
현재 커널 확인
# uname -r
4.15.0-208-generic
설치된 모든 커널 확인
# dpkg --list|grep "linux-image\|linux-headers\|linux-modules"
ii linux-headers-4.15.0-208 4.15.0-208.220 all Header files related to Linux kernel version 4.15.0
ii linux-headers-4.15.0-208-generic 4.15.0-208.220 amd64 Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
ii linux-headers-generic 4.15.0.208.191 amd64 Generic Linux kernel headers
ii linux-image-4.15.0-208-generic 4.15.0-208.220 amd64 Signed kernel image generic
pi linux-image-4.4.0-210-generic 4.4.0-210.242 amd64 Signed kernel image generic
ii linux-image-generic 4.15.0.208.191 amd64 Generic Linux kernel image
ii linux-modules-4.15.0-208-generic 4.15.0-208.220 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
pi linux-modules-4.4.0-210-generic 4.4.0-210.242 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-modules-extra-4.15.0-208-generic 4.15.0-208.220 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
pi linux-modules-extra-4.4.0-210-generic 4.4.0-210.242 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
자동삭제
# apt autoremove
수동삭제
# apt purge linux삭제커널
apt-get update에서 발생하는 GPG public key 오류 해결 방법
원문 : https://dreamlog.tistory.com/76
apt-get update에서 발생하는 GPG public key 오류 해결 방법.
Linux를 사용 중 프로그램을 설치와 삭제를 반복하면 아래와 같은 오류가 발생한다. W: GPG 오류: http://ppa.launchpad.net natty Release: 다음 서명들은 공개키가 없기 때문에 인증할 수 없습니다: NO_PUBKEY X..
dreamlog.tistory.com
현상 : W: GPG 오류: http://ppa.launchpad.net natty Release: 다음 서명들은 공개키가 없기 때문에 인증할 수 없습니다: NO_PUBKEY XXXXXXXXXXXXXXXXXX
해결 : $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys XXXXXXXXXXXXXXXXXX
우분투 패키지 업데이트 오류 해결
우분투 패키지 업데이트 오류 해결 – Ubuntu 활용
$ sudo -i # apt-get clean # cd /var/lib/apt # mv lists lists.old # mkdir -p lists/partial # apt-get clean # apt-get update # exit $
enjoystat.epizy.com
$ sudo -i
# apt-get clean
# cd /var/lib/apt
# mv lists lists.old
# mkdir -p lists/partial
# apt-get clean
# apt-get update
# exit
$
ubuntu에 php7.2+nginx+mariadb 설치하기
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | $ sudo apt install php7.2-fpm $ sudo apt install php7.2-curl php7.2-gd php7.2-mbstring php7.2-mysql php7.2-xml php7.2-zip (For Laravel) $ sudo service php7.2-fpm restart $ sudo apt install nginx $ sudo ufw allow 'Nginx HTTP' $ sudo apt-get install software-properties-common $ sudo add-apt-repository 'deb [arch=amd64,arm64,i386,ppc64el] http://ftp.kaist.ac.kr/mariadb/repo/10.3/ubuntu xenial main' $ sudo apt update $ sudo apt install mariadb-server $ sudo mysql_secure_installation $ sudo service mariadb restart | cs |
우분투 사용자 추가
$ sudo adduser tester
$ sudo adduser tester sudo
$ sudo deluser tester
우분투 cron 로그 확인
https://askubuntu.com/questions/56683/where-is-the-cron-crontab-log
# vi /etc/rsyslog.d/50-default.conf
주석 제거 #cron.*
sudo service rsyslog restart
/var/log/cron.log