본문 바로가기

반응형

전체 글

mariadb current_timestamp 한국시간 설정 mysql_tzinfo_to_sql /usr/share/zoneinfomysql_tzinfo_to_sql /usr/share/zoneinfo/|mysql -u root mysql -p mysql --user=root --password SET GLOBAL time_zone='Asia/Seoul';SET time_zone='Asia/Seoul';exit vi /etc/my.cnfdefault-time-zone = Asia/Seoul 더보기
phpredis 설치 오류 phpredis (https://github.com/igbinary/igbinary)를 설치하는 과정에서 오류가 발생했다. checking for igbinary includes... configure: error: Cannot find igbinary.h 서버 구석구석 찾아봐도 igbinary.h 를 찾을 수가 없어서 소스로 재설치하고 진행하기로 한다. igbinary 는 http://pecl.php.net/package/igbinary 여기에서 다운 받을 수 있다.(글 작성당시) 최신 버전인 2.0.5 버전을 선택했다. $ wget http://pecl.php.net/get/igbinary-2.0.5.tgz$ tar zxf igbinary-2.0.5.tgz$ cd igbinary-2.0.5$ phpi.. 더보기
Gitlab 깃랩 설치 (Centos7) yum install -y curl policycoreutils-python openssh-serversystemctl enable sshdsystemctl start sshd firewall-cmd --permanent --add-service=httpsystemctl reload firewalld sudo yum install postfixsudo systemctl enable postfixsudo systemctl start postfix curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | bashyum install -y gitlab-eegitlab-ctl reconfigure vi /etc/g.. 더보기
아이폰과 안드로이드의 폰트 사이즈가 다르게 나오는 경우 body {-webkit-text-size-adjust: 100%;} 이 한줄로 해결 가능! 원인은 아이폰에 내장되어있는 Safari의 기본 기능으로 화면 크기에 따른 텍스트 크기 조절기능이 작동하기 때문입니다. 더보기
firewalld - Cloudflare Centos 서버에서 firewalld를 방화벽으로 사용하는 경우클라우드 플레어 ip만 접속 가능한 xml 파일위치 : /etc/firewalld/zones/public.xml 더보기
텔레그램 Windows 0.10.19 텔레그램 서버가 느리거나 접속이 되지 않을때 다운로드 가능하도록 올려둡니다. 더보기
youtube 썸네일 이미지 경로 동영상 페이지에서 페이지 소스보기 (Ctrl+U)소스창에서 찾기 (Ctrl+F) "thumbnailurl" 입력. href 항목에서 이미지 경로 확인 가능. 더보기
[cocos2d-x 3.11] 새 프로젝트 생성 커맨드 아래 작업은 cmd에서 진행해야 합니다. 1. 경로 이동cd C:\Program Files\cocos2d-x-3.11.1\tools\cocos2d-console\bin 본인이 cocos2d-x 압축해제한 폴더를 경로로 지정해야 합니다. 2. 프로젝트 생성cocos new MyGame -p kr.gense.mygame -l cpp -d c:\cocos-projects\mygame게임명: MyGame 게임 패키지명: kr.gense.mygame프로젝트 폴더가 생성될 디렉토리: c:\cocos-projects\mygamecocos new {게임명} -p {패키지명} -l {사용 언어} -d {생성경로} 더보기