Windows2017. 8. 2. 21:29

C:\Users\namtop>wmic useraccount get name,sid


Name            SID
Administrator   S-1-5-21-1972438208-4015295066-470540442-500
DefaultAccount  S-1-5-21-1972438208-4015295066-470540442-503
Guest           S-1-5-21-1972438208-4015295066-470540442-501
XXXXXX          S-1-5-21-1972438208-4015295066-470540442-1001

Posted by 배움나눔
카테고리 없음2017. 6. 21. 16:50

출처 : http://monoics.tistory.com/entry/%EB%A6%AC%EB%88%85%EC%8A%A4-dpkg-%EC%97%90%EB%9F%AC-%EB%82%A0%EB%95%8C


E: Could not get lock /var/lib/dpkg/lock - open( 11 Resource  temporarily unavailable)
E: Unable  to lock  the administration directory (/var/lib/dpkg/), is another process
와 같은 메시지가 뜬다.


sudo rm -rf /var/lib/dpkg/lock 


sudo apt-get autoclean $$ apt-get clear cache
sudo reboot


or

sudo rm -rf /var/lib/apt/*

sudo apt-get update


apt-get -f install



출처: http://monoics.tistory.com/entry/리눅스-dpkg-에러-날때 [모닉스]

Posted by 배움나눔
Ubuntu2016. 6. 13. 18:58

# 스왑 off
swapoff -a

vi /etc/fstab 수정
uuid 로 잡혀 있는 스왑 경로 주석 처리
#

fdisk 를 이용하여 역순으로 메인 볼륨의 파티션 삭제

d -> 5번
d -> 2번
d -> 1번

n
p
1
2048
엔터

w 쓰고 종료

리붓

resize2fs /dev/sda1

# 스왑생성
dd if=/dev/zero of=/swapfile bs=1M count=4096


chown root:root /swapfile

  

chmod 600 /swapfile

  

mkswap /swapfile

  

swapon /swapfile

 


vi /etc/fstab

/swapfile   swap   swap   defaults  0  0


mount -a 로 확인


리붓후

swapon -a 설정확인

Posted by 배움나눔