일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 인덕원돈까스
- 군포설렁탕
- gitlab
- 동남집
- 윈도우 네트워크
- 속초
- mariaDB
- php70
- Table
- 모듬수육
- Database
- 리눅스
- 백년가게
- 양지곰탕
- 팝업 제거
- 무료 ssl
- centos
- 양지설렁탕
- let’s go encrypt
- 군포식당
- 3대천왕 돈까스
- ssl 자동갱신
- 안양 관양동
- certbot
- 시작프로그램 변경
- mysql
- 에버그린돈까스
- 셀프 풍천 장어구이
- Microsoft Teams 제거
- IP충돌
- Today
- Total
목록서버관련 (9)
써리원의 이것저것

let’s go encrypt는 무료로 ssl을 지원해 주는 사이트입니다.3개월마다 갱신을 해주어야합니다. 1. certbot 설치 (자동으로 인증갱신해줌)# yum install certbot python3-certbot-apache 2. ssl을등록할 도메인의 홈폴더로 이동한후 인증서 발급 진행# cd /home/domain.com/www인증서 발급을 진행# certbot --apache certonly -d domain.com 설정도메인이 ServerName과 동일해야 함 위 명령을 치면 일반 ssl 설정처럼 질문들이 나옵니다.첫 번째에서 서버 관리자 이메일 주소를 입력합니다.두 번째 는 약관 동의하는 것으로 Y를 입력합니다.세 번째는 여러 수신 동의를 묻는 것으로 동의하면 Y, 거부하면 N을 ..
1. 스왑 파일을 저장할 디렉토리 생성 # mkdir /swap 2. 1G짜리 스왑 파일 생성 # dd if=/dev/zero of=/swap/swapfile bs=1024 count=1048576 3. swap 디렉토리로 이동 # cd /swap 4. mkswap 명령어로 swapfile로 스왑 영역 생성 # mkswap swapfile 5. 스왑파일 활성화 # swapon swapfile 6. 스왑 구성 확인 # swapon -s
1. tar로 압축하기 - tar -cvf [파일명.tar] [폴더명] 예) tar -cvf file.tar dir 2. tar 압축 풀기 - tar -xvf [파일명.tar] 예) tar -xvf file.tar 3. tar.gz로 압축하기 - tar -zcvf [파일명.tar.gz] [폴더명] 예) tar -zcvf file.tar.gz dir 4. tar.gz 압축 풀기 - tar -zxvf [파일명.tar.gz] 예) tar -zxvf file.tar.gz
# mailq : 메일큐가 얼마나 쌓여있는지 확인 # ls -al /var/spool/mqueue : 메일큐 디렉토리 확인 # sendmail -q -v : 큐에 쌓인 메일 강제로 다시 보내기
INSERT INTO mysql.user (host,user,password) VALUES ('%','root',password('1234'));GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';FLUSH PRIVILEGES; /etc/mysql/my.cnf=># bind-address=127.0.0.1 mysql 재시작
1. GitLab 에서 new project 생성-> Project pathhttp://192.168.xxx.xxx:8081/userid/-> Visibility LevelInternal 2. GitLab 에서 adding README 링크 클릭하여 테스트파일 생성 3. 로컬PC 에서 Git 서버와 연결할 폴더를 생성-> D:\server_git\projectName 4. SourceTree 에서 저장소 복제/추가/생성-> GitLab 에서 생성한 프로젝트의 https값을 설정 : 소스경로 / URL : http://192.168.xxx.xxx:8081/userid/projectName.git : 목적지경로 : D:\server_git\projectName 5. GitLab 에서 readme 파일 삭제,..
* yum update yum install net-tools yum -y install ORBit2 PyXML a2ps acpid alsa-lib amtu aspell at atk audiofile audit-libs-python autoconf* autofs automake* avahi avahi-glib bc bind bind-chroot bind-libs bind-utils cairo ccid compat-libstdc++-33 conman cpp cpuspeed crash createrepo crypto-utils cryptsetup-luks cups-libs cvs cyrus-sasl-md5 cyrus-sasl-plain db4-devel dbus-python device-mapper-mult..
Amazon Linux AMI 선택 설치 이후 sudo rpm -Uvh ftp://ftp.scientificlinux.org/linux/scientific/6.4/x86_64/updates/fastbugs/scl-utils-20120927-8.el6.x86_64.rpmsudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpmsudo yum install -y nginx php70 php70-php-fpm rpm -qa | grep phpyum list available 'php-*' yum install -y php.x86_64yum install -y php-amazon-sdk.noarchyum install -y php-amaz..
1. root로 접속해서 계정생성 및 암호를 변경 (useradd, passwd)2. 계정 퍼미션 변경 (710) (701) ?? => 7113. 계정 그룹권한 경병 (계정명:nobody)4. 다큐멘트루트 디렉토리 생성 (www)5. 다큐멘트루트 디렉토리 그룹권한 변경 (계정명:계정명)6. 다큐멘트루트 디렉토리 퍼미션 변경 (755)7. vhost 작업, 도메인 연결 작업8. DB루트 접속 -> mysql -u root -p9. 계정이 사용할 디비를 생성 -> create database DB명10. 계정과 권한을 관리하는 디비로 변경 (use mysql)11. user 테이블에 계정 생성 -> create user '계정명'@'localhost' identified by '비밀번호'12. db 테이블에..