본문 바로가기

실행

MariaDB 설치 I. MariaDB 설치 $ sudo apt install mariadb-server II. MairaDB 외부접속 허용 $ sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf 「bind-address = 127.0.0.1」을 「bind-address = 0.0.0.0」로 변경 후 저장하고 재부팅한다. 재부팅 하지 않으면 적용되지 않으니 주의할 것! ※ 「127.0.0.1」은 로컬접속만 가능함을 의미하고, 「0.0.0.0」은 외부에서도 접속이 가능함을 의미한다. III. MariaDB 실행 기본적으로 아래와 같이 명령어를 실행해야 한다. $ mysql -h ip주소 -u 계정 -p 하지만 localhost에서 실행할 때는 아래와 같이 간단하게 root 계정으로 실행할 수..
Python Syntax 파이썬 기본 문법(실행, 들여쓰기) https://www.w3schools.com/python/python_syntax.asp Python Syntax Python Syntax Execute Python Syntax As we learned in the previous page, Python syntax can be executed by writing directly in the Command Line: >>> print("Hello, World!") Hello, World! Or by creating a python file on the server, using the .py file extension www.w3schools.com 1. 파이썬 코드 실행하기 파이썬 코드를 실행하는 방법은 두 가지가 있다. 하나는 커맨드 라인으로 실행하..
명령어, 외부 파일 실행 command 창에서 하나 이상의 Windows 명령어나 외부 파일을 실행시키기 위해서는 bat 파일에 명령어들을 작성해서 저장한 후 실행시키면 된다. bat 파일 내부에 들어가는 명령어는 두 가지가 있는데 각각 특징이 다르니 살펴보자. call call로 명령어나 외부 파일을 실행하게 되면 순차적으로 실행이 되는 특징이 있다. call notepad call "C:\Program Files\Internet Explorer\iexplore.exe" http://www.naver.com/ 위와 같이 작성하면 메모장이 먼저 실행되고 메모장이 종료돼야 익스플로러가 실행된다. start start로 명령어나 외부 파일을 실행하게 되면 순서에 상관없이 동시에 실행이 되는 특징이 있다. start notepad s..