일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- ssh
- Jupyter
- 실행권한
- ubuntu
- sshpass
- postgresql
- Jupyter Notebook
- ftp
- openpyxl
- perfect
- nGrinder
- STF_PortForwarding
- centos
- rethinkdb
- SWIFT
- kitura
- appium
- GoCD
- PYTHON
- postgres
- nmap
- nohup
- create table
- mysql
- STF
- insert
- port forwarding
- appium server
- Materials
- 28015
- Today
- Total
목록Tools (52)
don't stop believing
Ubuntu 18.04 버전에 vsftpd 설치 과정을 올렸었는데요. 실제 ftp 서버를 운영하면서 추가되거나 변경된 config 설정이 있었습니다.http://dejavuqa.tistory.com/251 config 설정에 참고하면 좋을 것 같습니다. listen=NO listen_ipv6=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_na..
내부에서 다양한 환경에서 테스트해야 할 때가 있고 python script를 여러 server에 전달할 때 gitlab을 사용합니다.이때 commit과 push를 자주 하는데 sh 파일로 만들어 사용하면 편할 듯 합니다. 저는 commit.sh 파일을 만들고 아래와 같이 추가했습니다. #!/bin/sh # 수정된 파일을 모두 commit 후 push 합니다. # commit message는 input으로 받습니다. message="" if [ "$1" = "" ] then message="Tongchun is too busy to write commit message." else message=$1 fi git add --all git commit -m "$message" git push -u origi..
vsftpd를 설치하고 FileZilla를 이용해 파일을 올리고 내릴때 아래와 같은 메시지가 보입니다.'서버가 알 수 없는 주소와 수동형 응답을 보냈습니다' Passive Mode를 사용하는 FTP 서버가 라우터 밑에 사설 IP로 실행될때 위와 같은 메시지를 받을 수 있습니다. FTP Client (FileZilla)에서 FTP 서버로 연결 요청 (ftp://123.123.123.123:21)하면라우터(123.123.123.123)가 내부에 있는 FTP 서버(192.168.0.XX)에 21 포트를 사용해 연결 요청그러면, FTP 서버는 자신의 IP + 데이터 전송용으로 개방할 포트 범위 (passive mode이므로)를 클라이언트에 전달 합니다.(192.168.0.XX:5000 ~ 6000)FTP Cli..
앞서 ldap server를 설치했는데요, 클라이언트도 설치해서 연결하는 걸 해보겠습니다.http://dejavuqa.tistory.com/264 앞서 설치한 ldap server IP는 10.10.1.168 이었습니다.이제 다른 서버(10.10.1.167)에 ldap client를 설치하고 연결해 보겠습니다. ldap client를 설치합니다. $ sudo yum -y update $ sudo yum install -y openldap-clients nss-pam-ldapd ldap client가 설치되었다면 ldap server와 연결합니다.authconfig 명령의 --ldapserver에 server IP를 넣습니다. $ sudo authconfig --enableldap --enableldapa..
LDAP 서버를 설치하겠습니다. 먼저 OS 버전부터 확인하고 가겠습니다. $ grep . /etc/*-release /etc/centos-release:CentOS Linux release 7.5.1804 (Core) /etc/os-release:NAME="CentOS Linux" /etc/os-release:VERSION="7 (Core)" /etc/os-release:ID="centos" /etc/os-release:ID_LIKE="rhel fedora" /etc/os-release:VERSION_ID="7" /etc/os-release:PRETTY_NAME="CentOS Linux 7 (Core)" /etc/os-release:ANSI_COLOR="0;31" /etc/os-release:CPE_NA..
CAS 서버를 설치하겠습니다.CAS 서버에 대한 간략한 설명은 아래와 같습니다.Client Access Server (CAS)The client access server (CAS) is a server role that handles all client connections to Exchange Server 2010 and Exchange 2013. The CAS supports all client connections to Exchange Server from Microsoft Outlook and Outlook Web App, as well as ActiveSync applications. The CAS also provides access to free/busy data in Exchange cal..
ftp 계저을 추가하겠습니다. 먼저 터미널을 열고 ftp 서버에 ssh 연결을 합니다. $ ssh ngle@10.192.168.0.18 만들어줄 계정명은 macaron 입니다.아래처럼 계정을 만들어 줍니다. $ sudo adduser macaron 비밀번호도 이쁘게 만들어 주고요.계정이 잘 만들어 졌는지 확인해 보겠습니다. $ cut -d: -f1 /etc/passwd | grep "macaron" macaron macaron 이라고 잘 나오네요.전체 계정을 확인하고 싶다면 cut -d: -f1 /etc/passwd로 확인할 수 있습니다. 이제 계정이 사용할 ftp 폴더를 만들어 줍니다.ftp 폴더 위치는 vsftpd.conf에 설정한 데로 만들어 줍니다.저는 vsftpd.conf 에 local_root..
vsftpd를 설치한 Ubuntu 서버에는 방화벽이 설정되어 있습니다.아래와 같이 방화벽을 추가합니다. $ sudo ufw allow 21/tcp 만약 Passive 모드로 사용할 경우 해당 port 대역도 지정해 줍니다. $ sudo ufw allow 9900:9999/tcp 방화벽 설정을 적용하려면 stop/start를 해줍니다. $ sudo ufw disable $ sudo ufw enable 방화벽 적용이 잘 되었는지 ftp에 연결해 보세요.
전에 사용하던 ftp가 이사하면서 디스크가 날아갔습니다.다시 설치해 보겠습니다. 이번에는 Ubuntu 18.04에 설치합니다. 설치 방법은 기존과 동일합니다.먼저 Ubuntu 버전부터 확인하고 가겠습니다. $ lsb_release -a No LSB modules are available. Distributor ID:Ubuntu Description:Ubuntu 18.04.1 LTS Release:18.04 Codename:bionic 먼저 package를 업데이트하고 vsftpd 데몬을 설치 합니다. $ sudo apt-get update $ sudo apt-get install vsftpd vsftpd를 다시 시작해 줍니다. 그리고 ubuntu가 재시작 될때 같이 실행되도록 해줍니다. $ sudo sy..
현재 VPN에 접속하고 있는 세션을 확인하고 싶어 찾아보던 중 괜찮은 툴이 있어 설치해 봅니다. https://github.com/furlongm/openvpn-monitor 웹 서버로 지원되는 툴입니다. 바로 설치해 봅시다. 구성은 apache로 하겠습니다. openvpn-monitor는 openven 서버에 설치합니다. 제일먼저 openvpn-monitor가 사용하는 패키지들을 설치해 줍니다. $ sudo apt-get -y install python-geoip python-ipaddr python-humanize python-bottle python-semantic-version apache2 libapache2-mod-wsgi git wget geoip-database-extra 그리고 /var/..