본문 바로가기

2018/095

리눅스에 크롬 설치하기 해당글은 cent os기준으로 작성됨 1. yum의 repo파일 생성 후 저장 vi /etc/yum.repos.d/google-chrome.repo [google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub 2. yum명령어를 이용하여 stable설치 - dependency까지 자동으로 설치됨yum install google-chrome-stable 3. 설치 및 버전확인 google-chrome --version 2018. 9. 29.
mysql group by error Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column '컬럼명' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by 만약 해당 오류가 난다면 mysql strict mode와 관련이 있다. sql mode 보기 - show variables like 'sql_mode'; my.cnf에 sql_mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION" 이런식으로 적용하면 된다. 2018. 9. 21.
PRIVACY POLICY PRIVACY POLICY개인 정보 정책 This privacy policy governs your use of the Android application for mobile devices이 개인 정보 보호 정책은 모바일 장치용 Android 응용 프로그램의 사용을 관리합니다. 1. Personal information개인 정보 We do not collect personally identifiable information about you. In other words, we do not collect information such as your name, address, phone number, email address or precise geographic location.우리는 귀하에 관한 개인 식.. 2018. 9. 20.
openssl 설치하기 해당글은 디지털오션과 nginx 그리고 우분투 16.04를 기준으로 작성되었습니다. openssl을 사용함에 있어서 certbot을 사용하면 편리하다. 다양한 서버셋팅등에 대해서 편리하게 작성하려면 하단의 사이트 중 하나를 참고하자. 1. https://certbot.eff.org/lets-encrypt/ubuntuxenial-nginx2. https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04 우선 선행되어야할 설치방법은 다음과 같다.$ apt-get update $ apt-get install software-properties-common $ add-apt-reposit.. 2018. 9. 6.
nginx로 멀티도메인 하나의 서비스에서 접속방법을 달리하고싶을때. default.conf의 설정 server {listen 80 default_server;listen [::]:80 default_server; server_name www.site.com; access_log /var/log/nginx/blog.access.log; error_log /var/log/nginx/blog.error.log; index index.php index.html index.htm index.nginx-debian.html; root /var/www; location / { } location /path { try_files $uri $uri/ /path/index.php?/$request_uri; } location ~ \.php$ {.. 2018. 9. 6.