본문 바로가기

전체 글225

vmware 리눅스(우분투) 로 wordpress 설치하기 워드프레스 계정 id: wordpressuser홈디렉터리 : /home/wordpressuser/wordpress1) adduser wordpressuser 명령어로 wordpressuser라는 계정을 새로 만든다. 2) wordpressuser에 들어가서 wordpress라는 디렉토리를 생성한다.(mkdir 명령어를 사용하면 됨)*mkdir wordpress 3) wordpress에서 wget [주소] 명령어를 사용하여 wordpress를 다운받는다. 여기서 주소는 wordpress 홈페이지에서 다운로드에 주소링크 복사를 하면 알 수 있다. 4) 다운받은 파일의 압축을 풀기 위해 tar –xvzf [파일]을 하여서 압축을 푼다. 5) 압축파일 용량이 크므로 rm으로 지운다. 6) wordpress에 파.. 2018. 6. 22.
리눅스 명령어 정리(10) ps, top, jobs, bg, fg, kill, killall, shutdown 10 – Processes ● ps – Report a snapshot of current processes ● top – Display tasks ● jobs – List active jobs ● bg – Place a job in the background ● fg – Place a job in the foreground ● kill – Send a signal to a process ● killall – Kill processes by name ● shutdown – Shutdown or reboot the system #ps : 현재 실행중인 프로세스를 보여주는 리눅스 명령어 이렇게 다양한 명령어들이 있다... -r : 현재 실행중인 프로세서를 보여준다. S : 20초 미만의 짧게 잠듦(sleep.. 2018. 6. 18.
리눅스 명령어 정리(9) id, chmod, umask, su, sudo, chown, chgrp, passwd 9 – Permissions ● id – Display user identity ● chmod – Change a file's mode ● umask – Set the default file permissions ● su – Run a shell as another user ● sudo – Execute a command as another user ● chown – Change a file's owner ● chgrp – Change a file's group ownership ● passwd – Change a user's password #id: 사용자의 UID,GID 번호를 확인하는 명령어이다. #chmod : 사용자 권한을 바꿀 수있다. 예를 들어서 본인만 읽기 쓰기만 되는 파일이 있는데 이를 .. 2018. 6. 18.
리눅스 명령어 정리(8) clear, history 8 – Advanced Keyboard Tricks ● clear – Clear the screen ● history – Display the contents of the history list clear : 화면에 있는 내용을 다 지운다. 이렇게 더러웠던 화면이..? 이렇게 깨끗해진다!! 유용한 명령어 같아보임. #history 전에 사용했던 명령어들을 보여줌 (단, /bin/bash 로 들어가서 확인해야함) /bin/bash로 안들어가면 오류가 난다. 2018. 6. 18.
리눅스 명령어 정리(7) echo 7-Seeing The World As The Shell Sees It ● echo – Display a line of text echo: 문자열을 화면에 출력하는 단순한 명령입니다. #echo 로 수학적인 계산이 가능! 근데 좀 비효율적 같아 보인다. 이와 같은 기능들을 할 수있답니다. #환경변수값도 알 수 있다. #echo 문자* 를 하면 '문자'로 시작하는 파일을 찾을 수 있다. 2018. 6. 18.
리눅스 명령어 정리(6) cat, sort, uniq, grep, wc, head, tail, tee 6 – Redirection ● cat - Concatenate files ● sort - Sort lines of text ● uniq - Report or omit repeated lines ● grep - Print lines matching a pattern ● wc - Print newline, word, and byte counts for each file ● head - Output the first part of a file ● tail - Output the last part of a file ● tee - Read from standard input and write to standard output and files 1. cat : 두 개 이상의 파일을 연결(concatenate)해서.. 2018. 6. 18.