CentOS 7에 XWiki 설치하기 :: 2020/03/10 17:11
2020년 3월 10일 현재, XWIKI의 최신 버전은 9.4 입니다.
XWIKI installer는 http://download.forge.ow2.org/xwiki 에서 확인할 수 있습니다.
1. OS 업데이트
yum update2. installer를 다운로드 받을 wget 및 jdk 설치
yum install wget java -y3. 설치된 jdk 버전 확인
java -version4. installer 다운로드
wget http://download.forge.ow2.org/xwiki/xwiki-enterprise-installer-generic-9.4-standard.jar5. XWiki 설치
java -jar xwiki-enterprise-installer-generic-9.4-standard.jar # install location : /usr/local/XWiki Enterprise 9.46. XWiki 실행
cd /usr/local/"XWiki Enterprise 9.4"7. Background 실행
sh start_xwiki.sh
nohup sh start_xwiki.sh &8. Web 접속
http://{server ip}:8080
Trackback Address :: http://www.yongbi.net/trackback/869
-
Sex toys UK
Tracked from Sex toys UK | 2021/04/15 19:12 | DELGreat Architect & Artist -
-
best sex toys
Tracked from best sex toys | 2021/04/15 19:29 | DELGreat Architect & Artist -
-
Hotel furniture factory in turkey
Tracked from Hotel furniture factory in turkey | 2021/04/15 19:44 | DELGreat Architect & Artist -
-
turkish hotel furniture manufacturers
Tracked from turkish hotel furniture manufacturers | 2021/04/15 19:59 | DELGreat Architect & Artist -
-
hotel furniture manufacturers turkey
Tracked from hotel furniture manufacturers turkey | 2021/04/15 20:11 | DELGreat Architect & Artist -
CentOS 7 Nginx에서 특정 국가에서만 접속 허용 :: 2020/03/06 16:14
nginx를 CentOS 7에 설치하고 난 후, 한국에서만 접속을 허용하도록 하기 위해서는 다음과 같은 방법으로 할 수 있다.
1. GeoIP 설치
yum install -y geoip #install location : /usr/share/GeoIP/2. nginx module dynamic 설치
yum install -y nginx-module-geoip #install location : /etc/nginx/modules/3. nginx 설정 변경
vi /etc/nginx/nginx.conf
#nginx 설정 파일의 맨 위에 다음 2줄 추가
load_module modules/ngx_http_geoip_module.so;
load_module modules/ngx_stream_geoip_module.so;
4. nginx 설정 syntax checkhttp {
......
# 아래 설정 추가
# geoip national data file location
geoip_country /usr/share/GeoIP/GeoIP.dat;
# geoip national code mapping, default no, korea yes
map $geoip_country_code $allowed_country {
default no;
KR yes;
}
#log_format에 국가코드 출력
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent $proxy_host $upstream_addr "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" "$geoip_country_code"';
nginx -t5. nginx 재기동
service nginx restart
service nginx status
Trackback Address :: http://www.yongbi.net/trackback/868
CentOS 7 Minimal 설치 시 네트워크 설정 :: 2020/03/03 17:00
VirtualBox에 CentOS 7을 Minimal로 설치했을 경우,
curl www.naver.com과 같이 외부 URL을 호출하거나,
yum update를 실행했을 경우 다음과 같은 오류가 발생한다.
Could not resolve host ...Network 카드 설정이 제대로 되어 있지 않을 때 발생하는 오류이다.
다음 command로 Ethernet 설정을 확인할 수 있다.
[root@localhost user]# ip addr
다음과 같이 설정을 변경할 수 있다.
[root@localhost user]# vi /etc/systemconfig/network-scripts/ifcfg-<ethernet card name>
ONBOOT=yes # 맨 아래 항목 no -> yes로 수정 후 저장다음 command로 DHCP IP를 재할당받으면 된다.
[root@localhost user]# dhclient
Trackback Address :: http://www.yongbi.net/trackback/867
-
certificate of incumbency
Tracked from certificate of incumbency | 2021/04/15 18:26 | DELGreat Architect & Artist -
-
speed dating
Tracked from speed dating | 2021/04/15 18:27 | DELGreat Architect & Artist -
-
speed dating
Tracked from speed dating | 2021/04/15 18:52 | DELGreat Architect & Artist -
-
cloud accounting
Tracked from cloud accounting | 2021/04/15 18:57 | DELGreat Architect & Artist -
-
cloud accounting
Tracked from cloud accounting | 2021/04/15 19:13 | DELGreat Architect & Artist -
-
hong kong accounting standard
Tracked from hong kong accounting standard | 2021/04/15 20:06 | DELGreat Architect & Artist -
-
Sex toys UK
Tracked from Sex toys UK | 2021/04/15 22:05 | DELGreat Architect & Artist -