본문 바로가기

전체 글161

mysql root 패스워드 분실시 /sbin/service mysqld stop/usr/bin/mysqld_safe --skip-grant &$ /usr/bin/mysql -uroot mysqlmysql> update user set password=password('') where user='root';mysql> flush privileges;mysql> quit/sbin/service mysqld stop$ /sbin/service mysqld start 2018. 7. 19.
body Height 를 컨텐츠 크기에 맞추기 선언하지 않으면 해당 body 는 height 를 100%로 처리함. 2018. 7. 17.
RMySQL 설치 1. yum install mysql-devel.x86_64 2. R명령어 실행 $R >install.packages('RMySQL',type='source') 3. 접속 테스트 con library(RMySQL) > con test.table dbDisconnect(con) 2018. 6. 29.
R-설치하기 1. R Source Download https://cran.r-project.org/ 접속하여 Softwore/R Source를 다운로드한다. 2. Source Compile ./configure --prefix= --with-x=no zlib / bzip2 / xz / pcre / curl - 환경 변수설치된 라이브러리의 실행파일과 lib 위치 , include 위치를 선언한다export PATH=$HOME/apps/curl/bin:$HOME/apps/bzip2/bin:$HOME/apps/pcre/bin:$HOME/apps/xz/bin:$HOME/apps/nodejs/bin:$HOME/depot_tools:$HOME/.local/bin:$PATHexport LD_LIBRARY_PATH=$HOME/ap.. 2018. 6. 29.
MySQL innoDB 설정 innodb_buffer_pool_size = 16G 2018. 6. 28.
C# log4net 설치기 1. Nuget 패키지 탐색기에서 log4net를 설치한다.PM> Install-Package log4net 2. 솔류션 탐색기에서 Properties/AssemblyInfo.cs 에 아래를 추가한다.[assembly: log4net.Config.XmlConfigurator(Watch=true)] 3. App.config 에 아래를 추가한다. --------------------------------- startup 상단에 설치할것. 4. 프로그램 내부에 해당 부분 추가하여 사용한다. using log4net;using System.Reflection; private static readonly ILog Logger = LogManager.GetLogger(MethodBase.GetCurrentMetho.. 2018. 5. 25.
SSL 만료일 확인 #openssl x509 -in server.crt -noout -text 2018. 5. 25.
.android 디렉토리 위치 변경 시스템 변수에ANDROID_SDK_HOME 을 선언하고, 옮기고자 하는 디렉토리를 선택한다. android studio 재기동하면 끝.. 2018. 5. 17.
Spring MVC Cache 설정 출처 : http://blog.naver.com/PostView.nhn?blogId=clotho95&logNo=140156397633 기본적인 browser cache 설정 방안1. static resource에 대해서는 element의 cache-period 값 설정2. dynamic resource에 대해서는 Spring에서 제공하는 WebContentInterceptor의 cacheSeconds 값 설정 * 설정Spring Servlet Context 파일에 설정 설정 예 cache-period Specifies the cache period for the resources served by this resource handler, in seconds.The default is to not send.. 2018. 5. 15.
Modal 그림자 효과 주는 css _nbmodalcontent { position: relative; background-color: #fefefe; border-radius: 3px; border-top: 3px solid #00c0ef; box-shadow: 0px 3px 9px rgba(0,0,0,.5); background-clip: padding-box; outline: 0; width: 80%; max-width: 400px; overflow: hidden;} 2018. 5. 11.