반응형

https://www.google.com.vn/?gfe_rd=cr&ei=gSbqV4PACufC8AeKgIHYDA#safe=strict&q=selinux+%EB%81%84%EA%B8%B0


setenforce 0 하면 일시적으로 꺼짐


http://sangchul.kr/67

반응형
반응형


echo -en "\033[1;45m" > /etc/motd
echo -e '\n' >> /etc/motd
echo -e '+----------------------------------+' >> /etc/motd
echo -e '| This server has below service(s) |' >> /etc/motd
echo -e '+----------------------------------+' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -e '\n' >> /etc/motd
echo -en "\033[1;42m" >> /etc/motd
echo -e '1. project.domain.com (redmine)' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -e '\n' >> /etc/motd


echo -en "\033[1;45m" > /etc/motd
echo -e '\n' >> /etc/motd
echo -e '+----------------------------------+' >> /etc/motd
echo -e '| This server has below service(s) |' >> /etc/motd
echo -e '+----------------------------------+' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -e '\n' >> /etc/motd
echo -en "\033[1;42m" >> /etc/motd
echo -e '1. www.domain.com (php5)' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -e '\n' >> /etc/motd


echo -en "\033[1;45m" > /etc/motd
echo -e '\n' >> /etc/motd
echo -e '+----------------------------------+' >> /etc/motd
echo -e '| This server has below service(s) |' >> /etc/motd
echo -e '+----------------------------------+' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -e '\n' >> /etc/motd
echo -en "\033[1;42m" >> /etc/motd
echo -e '1. ap.domain.com (php5)' >> /etc/motd
echo -e '2. www.domain.com (php5)' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -e '\n' >> /etc/motd


**for live**

echo -en "\033[1;36m" > /etc/motd
echo -e '\n' >> /etc/motd
echo -e '## LIVE SERVER ##' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -en "\033[1;45m" >> /etc/motd
echo -e '\n' >> /etc/motd
echo -e '+----------------------------------+' >> /etc/motd
echo -e '| This server has below service(s) |' >> /etc/motd
echo -e '+----------------------------------+' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -e '\n' >> /etc/motd
echo -en "\033[1;42m" >> /etc/motd
echo -e '1. member.domain.com (php5)' >> /etc/motd
echo -e '2. static.domain.com (php5)' >> /etc/motd
echo -en "\033[0m" >> /etc/motd
echo -e '\n' >> /etc/motd

반응형

'Tip & Tech > Linux | Unix' 카테고리의 다른 글

selinux 끄기  (0) 2019.07.15
Apache AH00035 오류, Tomcat SSL Permission Denied  (0) 2019.07.15
Jenkins 다른 계정으로 구동  (0) 2019.07.15
GCC .so만들기  (0) 2010.10.21
PHP 확장모듈 만들기  (0) 2010.10.21
반응형

https://stackoverflow.com/questions/6119774/ssh-to-aws-instance-without-key-pairs


B) Setup the necessary users and their passwords with

# sudo adduser USERNAME
# sudo passwd USERNAME
C) Edit /etc/ssh/sshd_config setting

PasswordAuthentication yes
D) Restart the ssh daemon with

# sudo service ssh restart

반응형

'AWS' 카테고리의 다른 글

AWS 상의 네트워크 드라이브 공유  (0) 2019.07.15
Windows Server Core  (0) 2019.07.15
RDS MYSQL Read Replica  (0) 2019.07.15
반응형

공유기에 ftp pasv설정이 없으면 dmz로 바꾸시는게 거의 답입니다. (pasv가 서버->인터넷으로 tcp 1024-65535입니다....)

- 아마존 시큐리티그룹에 해당 IP Inbound 로 1024-65535 레인지 허용해야 함

반응형
반응형

http://stackoverflow.com/questions/24921694/how-do-you-share-drives-between-amazon-aws-instances

- 동일한 시큐리티 그룹에 445포트 인바운드 정책추가(내부 아이피로)
- 각 서버에서 내부 IP로 접근
- 접근 지정 계정 지정 및 해당 폴더 공유

반응형

'AWS' 카테고리의 다른 글

AWS sshd 패스워드 로그인 허용  (0) 2019.07.15
Windows Server Core  (0) 2019.07.15
RDS MYSQL Read Replica  (0) 2019.07.15
반응형

1. IIS 설치 
http://www.orcsweb.com/blog/jamie-furr/manage-and-install-iis8-on-windows-2012-server-core/

2. 연결을 위해서 8172 포트가 열려야 함 (외부 방화벽 확인필)
http://serverfault.com/questions/240739/what-port-does-iis-7-use-to-connect-to-another-iis-server

3. 사용자 추가, 그룹 추가
$ net user {id} {pw} /add
$ net user  // 확인
$ net localgroup administrators {id} /add
$ net localgroup administrators // 확인
http://superuser.com/questions/515175/create-admin-user-from-command-line

반응형

'AWS' 카테고리의 다른 글

AWS sshd 패스워드 로그인 허용  (0) 2019.07.15
AWS 상의 네트워크 드라이브 공유  (0) 2019.07.15
RDS MYSQL Read Replica  (0) 2019.07.15
반응형

http://docs.continuent.com/tungsten-replicator-2.2/deployment-amazonrds-rdsconfig.html


parameter group 변경하려면 read-only를 풀어야 한다 https://aws.amazon.com/ko/premiumsupport/knowledge-center/rds-read-replica/?nc1=h_ls

적용 후 다시 read-only를 켜야 정합성 문제가 발생하지 않음

반응형

'AWS' 카테고리의 다른 글

AWS sshd 패스워드 로그인 허용  (0) 2019.07.15
AWS 상의 네트워크 드라이브 공유  (0) 2019.07.15
Windows Server Core  (0) 2019.07.15

+ Recent posts