전체 글156 CentOS7에 APM설치 APM(웹서버)- Apache, php, MariaDB를 통칭한다. APM구조 CentOS7, VMware workstation15에서 설치했다. - APM 설치하기 yum install httpd mod_ssl php php-cli mariadb-server php-mysql -y - 서비스 설정 systemctl enable httpd.servicesystemctl enable mariadb.servicesystemctl start httpd.servicesystemctl start mariadb.service - 방화벽 설정 firewall-cmd --permanent --add-service=httpfirewall-cmd --permanent --add-service=httpsfirewall-cm.. 2018. 11. 5. CodingHabit git PR날리고 받은 코드 리뷰 정리하는 카테고리최근에 생각해보니 옛날에 받은 코드리뷰 내용이 생각이 잘 나지않아서 코딩 습관을 들어놓으려고 정리하려고 한다. 2018. 11. 5. OpenStack 설치 OpenStack- IaaS 형태의 클라우드 컴퓨팅 오픈 소스 프로젝트 OS: CentOS7VMware Workstation15 - 방화벽 열기 systemctl disable firewalldsystemctl stop firewalld systemctl disable NetworkManagersystemctl stop NetworkManager systemctl enable networksystemctl start network - OpenStack 설치(yum 명령어 이용) yum update -yyum install -y centos-release-openstack-rocky yum update -yyum install -y openstack-packstack yum install -y wgetwg.. 2018. 11. 3. [스택/큐] 타워 1234567891011121314151617181920212223242526272829public class Tower { public int[] solution(int[] heights) { int [] answer=new int[heights.length];//정답의 배열 크기는 타워의 갯수랑 같다 boolean checkHeight=false; int index=0; for(int i=0;i=0;j--){//왼쪽으로 신호를 보내기 때문 if(heights[i] 2018. 11. 2. 이전 1 ··· 24 25 26 27 28 29 30 ··· 39 다음