일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 26 | 27 | 28 |
- speed-measure-webpack-plugin
- shell_gpt
- 척추관협착증
- 많다..
- 보이스피싱 #대검찰청 #명의도용 #비밀번호 #계좌번호 #공공기관 #가짜검찰청
- 채팅환전사기
- ssrf
- NUGU
- esbuild
- CryptoJS
- 네이버카페
- ue4dumper
- XSS
- react
- 중고나라
- CJ대한통운 #쿠팡 #통관번호오류 #통관고유번호오류 #안주원팀장 #모건인베스트
- 취약점
- 변태는
- open redirect
- self-signed
- Malware Sample
- 안전결제
- 거래사기
- 로맨스스캠
- 모의해킹
- Sequoia
- intelmac
- MongoDB #NoSQL #CreateUser #DropUser #mongod #mognod.conf
- 허리디스크
- Frida
- Today
- Total
목록운영체제 (16)
annyoung
가끔 하는데 하다보니 헷갈려서 대충 정리해본다.환경Ubuntu 24.04 LTS (GNU/Linux 6.8.0-1009-aws x86_64) 계정 추가sudo suuseradd -m -s /bin/bash [계정명]passwd [계정명] # 새계정 비밀번호 변경passwd ubuntu # default user 비밀번호 변경passwd # root 비밀번호 변경 sudoers 설정sudo vi /etc/sudoerssudoers 열고 다음 내용 추가[계정명] ALL=(ALL:ALL) ALL그래야 sudo 사용할 수 있다. ssh 설정sudo vi /etc/ssh/sshd_configsshd_config 수정 PasswordAuthentication yesKbdInteractiveAuthenti..
This post will be handling solve to Command not found npm packages when you installed that. nopsled@playground:~/VisualProjects/react-native-projects (=`ω´=)$ expo -bash: expo: command not found I'm tring to use expo-cli on my mac. but it will be occur error when i typing like that. so can't be use this command. * I was installed that using by global options. nopsled@playground:~/VisualProjects/..
nopsled@Sangui-MacBookPro:/etc/apache2 (=`ω´=)$ apachectl -VServer version: Apache/2.4.34 (Unix)Server built: Aug 17 2018 18:35:43Server's Module Magic Number: 20120211:79Server loaded: APR 1.5.2, APR-UTIL 1.5.4Compiled using: APR 1.5.2, APR-UTIL 1.5.4Architecture: 64-bitServer MPM: prefork threaded: no forked: yes (variable process count)Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_M..
회사 아이맥으로 mongodb를 설치하던 중 퍼미션 디나인이 떠서 sudoers를 수정했었다가 참변을 당했다. datakingui-iMac:~ dataking$ sudo chmod 440 /etc/sudoers sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin sudo를 하려고 해도 sudo가 안되고 위와 같이 에러가 났다. osascript -e 'do shell script "chown root:wheel /etc/sudoers;chmod 0440 /etc/sudoers" with administrator privileges' 위..
매일매일 VM 셋팅해주면 region 때문에 time이 문제다. 아시아로 맞춰주면 UTC로 변하질 않나.. rdate로 타임서버랑 싱크 맞춰도 안맞질 않나... 짜증나서 열심히 삽질하다가 올려본다. 참고로 환경은 Ubuntu 16.04 LTS다. nopsled@vmtest:~/$ ls -al /usr/share/zoneinfo/Asia | grep Seoullrwxrwxrwx 1 root root 6 Nov 9 2017 Seoul -> ../ROKnopsled@vmtest:~/$ 위와 같이 Seoul이 있는거 확인하면 된다. 참고로 환경이 Ubuntu라 경로가 바뀔 수 있음을 알아두자. nopsled@vmtest:~/$ ls -al /etc/localtimelrwxrwxrwx 1 root root 30 ..
직장에서 crontab을 이렇게 열심히 쓸줄은 몰랐다. 심심해서 crontab checker 만들려고 했는데 누가 만들어놨다... 그것도 온라인으로..... https://crontab.guru/위 링크에서 cron command 만들고 http://cron.schlitt.info/ 위에서 테스트하면 확실하게 알 수 있다.
node js를 돌리는데 자꾸 죽어서 왜 죽지.. 하고 생각해봤는데 ssh session이 terminate가 되면 프로세스가 처음에는 살아있다가 나중엔 죽어버린다. 그래서 방안이 없나 하다가 (사실 예전에 알았는데 안쓰다보니 까먹었다..) screen을 사용하였다. session이 terminate되어도 잘 돌아간다. screen스크린 진입 (일반적으로 귀찮으면 그냥 생성하려면 위와같이 입력하면 된다.)screen -r스크린 세션 진입할때 이름 넣어주면 된다.screen -S세션의 이름을 지정하여 스크린 진입 나는 자주 쓰는거만 설명하도록 하겠다. (screen 세부 명령어는 알아서 찾아보도록) npm start &^Ad 위는 예제다. npm start &로 시작하고 ctrl+a를 누른뒤에 d를 눌러주..
맥북 사용하는데 high sierra 업데이트 후 아파치가 고장났다... cd /etc/apache2/ sudo mv httpd.conf httpd.conf-afterupdate sudo mv httpd.conf.pre-update httpd.conf sudo apachectl configtest sudo apachectl restart config file을 새로 바꿔주면 잘 동작한다. 전에 설정해놓은 http.conf 파일은 알아서 잘 수정해서 httpd.conf.pre-update에 반영해주면 된다. 이래서 업데이트 하겠나.. 짜증짜증.. T.T
[english]if disconnect ssh, process will be dead. so we using linux "screen". # nopsled@localhost:~/Documents (=`ω´=)$ screen -S test /* now created new screen ttys is 005 */# nopsled@localhost:~/Document (=`ω´=)/$ screen -listThere is a screen on: 5960.test (Attached) /* if you want execute test.py on ssh connection forever, using & and detach it */# nopsled@localhost:~/Documents (=`ω´=)$ pytho..
dpkg: error processing package python-wheel (--configure): 의존성 문제 - 설정하지 않고 남겨둠처리하는데 오류가 발생했습니다: python-minimal python python-chardet python-colorama python-dev python-distlib python-six python-html5lib python-pkg-resources python-urllib3 python-requests python-setuptools python-pip python-wheelE: Sub-process /usr/bin/dpkg returned an error code (1) error occurred while installing python modules..