Computer (84) 썸네일형 리스트형 github #install github sudo apt-get install git # Config # one time setting sudo git config --global user.email "you@example.com" sudo git config --global user.name "Your Name" # program download sudo git clone GithubWebAddress # show status git status # remove file or folder git rm filename # 1 add changes sudo git add * or sudo git add filename # 2 commit, decribe changes sudo git commit -m "Updates".. fdisk fdisk -l # /dev/sda1~~ 으로 검색이 될때 숫자 제외하고 파티션들 관리 실행fdisk /dev/sda #파티션 목록 p#파티션 삭제 d #파이션 생성 n#파티션 타입 l#파티션 저장 w AUTOFS #AUTOFS installsudo apt install autofssudo nano /etc/auto.master#아래 문장을 #/misc /etc/auto.misc 밑에 삽입/media /etc/auto.ext --timeout 20 #저장크기 및 위치 확인fdisk -l #uuid 확인ls -al /dev/disk/by-uuid # 마운트되는 드라이브의 폴더명을 지정(=nas) 및 uuid 입력# /folderlocation1/folderlocation2 위치에 저장# folderlocation2는 보이지 않다가 cd foloderlocation2 입력해서 들어가면 활성화됨sudo nano /etc/auto.extnas -fstype=ext4,rw,noatime,data=journal,commit=.. User account control # Create new accountsudo adduser ID $ sudo useradd -m ID $ sudo passwd ID adduser는 홈폴더 생성[recommended] , useradd는 단순 계정만 생성 #create new group sudo groupadd GROUPNAME #remove groupsudo groupdel GROUPNAME #join ID into Group sudo usermod -a -G GROUPNAME ID # Grant super user permission sudo usermod -G groups GROUPS # attribute change # folder $ chown 속성:속성 foldersudo chown family:family /media/nas.. Samba #Installation sudo apt-get install samba samba-common-bin #setting sudo nano /etc/samba/smb.conf #restart samba server, run this after config setting sudo systemctl restart smbd or sudo systemctl restart smbd.service #add user before create samba user sudo adduser ID sudo userdel ID #add samba user which user ID,the user name should be registered in linux in advance sudo smbpasswd -a ID sudo sys.. Ubuntu instaillation Installation 1. Write image to SD card, and mount it to Odroid 2. connect to power and wait 10~15 minutes until blue LED turns off, when LED is off, then reboot 3. check ip address ID : root password : odroid 4. change password sudo passwd root sudo apt update && sudo apt full-upgrade PiVPN installation $ curl -L https://install.pivpn.io | bash #Create new account ID and Password, ROOT account is not recommended(or available) $ pivpn add #list all certificates $ pivpn list # Revoke a client ovpn profile $ pivpn revoke # Remove PiVPN $ pivpn uninstall #pivpn add 시 순서 DNS 사용 현재ip를 고정으로 사용 또는 DDNS사용 >> DDNS 사용 DDNS 업체는 맨 밑 Customs 선택 포트는 임의 지정 → 나중에 포트포워드 열어둬야함 WinSCP로 home/pi/ovpns/ID.ovpns파일을 다운.. Agenti - web admin http://ajenti.org/ http://docs.ajenti.org/en/latest/man/install.html curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s - Ajenti will be listening at HTTP port 8000 Log in with your root password or another OS user http://ipaddress:8000 이전 1 2 3 4 5 6 7 ··· 11 다음