# vi /etc/yum.repos.d/google-chrome.repo -------------------------------------------------- [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl.google.com/linux/linux_signing_key.pub -------------------------------------------------- # yum install google-chrome-stable
centos7 : change user's home base dir
usermod --home /var/www/ username
CentOS 6 : chrome install
#vi /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub #yum install google-chrome-stable # wget http://chrome.richardlloyd.org.uk/install_chrome.sh # chmod 755 install_chrome.sh # ./install_chrome.sh ... need os update.... # google-chrome &
file count
find /home/mydir -type f | wc -l
Mac OS X ftpd
Mac Siera Siera remove ftp serivice must use sftp (ssh) Using sftp by Finder mounting $ sshfs -p22 -o allow_other,defer_permissions userid@ipaddr:/path1 /Users/me/mnt/path1 1. Max OS Default FTP Server default package : tnftpd ftp service On/Off ftp user add ftp user directory by Terminal […]
mod_bw.c : error remote_addr
# apxs -i -a -c mod_bw.c /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_bw.lo mod_bw.c && touch mod_bw.slo mod_bw.c: In function 'get_bw_rate': mod_bw.c:567:59: error: 'conn_rec' has no member named 'remote_addr' if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) { ^ mod_bw.c: […]
How to make mod_caucho.o
download resin source file like resin-pro-4.0.44-src.tar.gz # tar xvzf resin-pro-4.0.44-src.tar.gz # cd resin-pro-4.0.44 # chmod 755 ./configure # ./configure --with-apxs=/usr/bin/apxs # make all # cp modules/c/src/apache2/.libs/mod_caucho.so /etc/httpd/modules/
oracle : impdb : dbms_metadata_util
Import: Release 11.2.0.1.0 - Production on Thu May 28 06:46:52 2015 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options ORA-39006: internal error ORA-39213: Metadata processing is not available connect […]
oracle : ALTER DATABASE CHARACTER SET INTERNAL_USE
[oracle@owl110]$ sqlplus /nolog SQL*Plus: Release 11.2.0.1.0 Production on Thu May 28 06:38:32 2015 Copyright (c) 1982, 2009, Oracle. All rights reserved. SQL> SQL> SQL> conn /as sysdba Connected. SQL> SHUTDOWN IMMEDIATE; Database closed. Database dismounted. ORACLE instance shut down. SQL> STARTUP MOUNT; ORACLE instance started. Total System Global Area 6.3068E+10 bytes Fixed Size 2219392 bytes […]
CentOS7 : oracle 11g install brief
xrdp 설치 후 원격데스탑으로 서버에 접속하여 oracle을 설치할 수 있다. 오라클설치 패키지가 한글이 올바로 지원하지 않을 경우가 있으므로 X윈도우를 영문으로 세팅하여 설치하는 것이 권장할만하다. X윈도우 언어설정 X윈도우의 언어 설정을 다듬과 같은 명령으로 설정할 수 있다. # localectl status # localectl list-keymaps | grep kr # localectl set-keymap kr # localectl set-x11-keymap kr […]