http://iotn.co.kr ¿¬¶ôó: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / ìíÜâïÙݤªÏìíÜâÏÚªÎàõîÜÒ¿ÖË?ßåíºªËÞóñªª¹ªÙª­. ]

»ç¿ëÀÚ

ID:
PW:

INDEX
01.°Ô½ÃÆÇ
°Ô½ÃÆÇ [69]
02.File Book
File ÀÚ·á½Ç [95]
Site Link [18]
°³ÀÎÆú´õ [194]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [18]
MySQL [40]
DB2 [79]
ORACLE [2896]
PostgreSQL [103]
±âŸÁ¤º¸ [150]
¿î¿µÃ¼Á¦ [583]
04.Q/A Book
Q/A [53]
05.¹æ¸í·Ï
¹æ¸í·Ï [54]
·¹º§¾÷ [37]
±¸ÀÎ/±¸Á÷ [2]

±â³äÀÏ
Search
LINK
+ °¡Á· Hompy
+ DNSEver
IOTN :: Field Book :: ¿î¿µÃ¼Á¦

 È¸¿ø°¡ÀÔ

CentOS7 ȨÆäÀÌÁö Migration ¸Þ¸ð
ÃÖ±æÈ£ [LIST]   2022-06-22 15:11:27, Á¶È¸ : 40

CentOS5 to CentOS7
MySQL to MariaDB
Apache

localectl list-locales | grep ko
localectl set-locale "LANG=ko_KR.UTF-8"
ln -fs /usr/share/zoneinfo/Asia/Seoul /etc/localtime

cat >> .bash_profile
export LANG=ko_KR.eucKR
alias mysql='mysql -uroot -pxxxx --default-character-set=euckr'

firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload

yum -y install httpd      
yum -y install php
yum -y install '*/modules/mod_ldap.so'

systemctl enable httpd.service
systemctl enable mariadb.service

systemctl stop mariadb
tar cf /var/lib/mysql.tar /var/lib/mysql
systemctl start mariadb

mysql -uroot -prxxxx < /backup/mysql.full.20220622.sql > mysql.imp.log 2>&1

groupadd -g 508 web
useradd -u 507 -g web web
cd /
tar xf /backup/usr.local.apache.20220622.tar

systemctl stop httpd.service
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.old
vi /etc/httpd/conf/httpd.conf
## =================================================================
## AddDefaultCharset UTF-8 [ ÇÑ±Û ±úÁü ÁÖ¼® ó¸® ]
DocumentRoot "/usr/local/apache/htdocs"
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Directory "/usr/local/apache/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>
## =================================================================

systemctl restart httpd.service
httpd -t
¿¡·¯ È®ÀÎ

mv /etc/httpd/modules /etc/httpd/modules.old
ln -s /usr/lib64/httpd/modules /etc/httpd/modules

systemctl restart mariadb
systemctl restart httpd.service
18.207.157.152


  LIST

Á¦¸ñ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ Á¶È¸
UNIX  mobaxterm Remote desktop (RDP, VNC, Xdmcp) Remote terminal (SSH, telnet, rlogin, Mosh)    ÃÖ±æÈ£ 2022/08/10 2
Linux  postfix smtp °ø°Ý    ÃÖ±æÈ£ 2022/07/29 9
Linux  Linux7 ssh port Ãß°¡    ÃÖ±æÈ£ 2022/07/27 8
Linux  vi /etc/pam.d/su # su ¾ÏÈ£ ¾øÀÌ root ·Î±×ÀΠ   ÃÖ±æÈ£ 2022/07/26 6
Linux  Install VirtualBox 6.1 on Linux7    ÃÖ±æÈ£ 2022/07/22 12
UNIX  shell file read ¼¼·Î to °¡·Î Ãâ·Â (grep sed while read echo -n )    ÃÖ±æÈ£ 2022/07/11 69
Linux  CentOS7 ȨÆäÀÌÁö Migration ¸Þ¸ð    ÃÖ±æÈ£ 2022/06/22 40
Linux  ssmtp: 450 4.7.1 Error: too much mail / warning: Message delivery request rate limit exceeded:    ÃÖ±æÈ£ 2022/05/26 39
Linux  No package ssmtp available. / Error: Nothing to do    ÃÖ±æÈ£ 2022/05/26 43
Windows  Windows 10 ÇÑ±Û »ç¿ëÀÚ¸í º¯°æ    ÃÖ±æÈ£ 2022/04/06 64
AIX (IBM)  ftp backup delete script / ftp ¹é¾÷, »èÁ¦ script    ÃÖ±æÈ£ 2022/03/30 1630
Windows  .bat .cmd file error keep running / .bat .cmd ¿¡·¯ ´ÙÀ½ °è¼Ó ½ÇÇà / call Ãß°¡    ÃÖ±æÈ£ 2022/03/16 100
Windows  forfiles 200M ÀÌ»ó ÆÄÀÏ È®ÀΠ   ÃÖ±æÈ£ 2022/02/16 82
Windows  [ regedit ] reg add    ÃÖ±æÈ£ 2022/02/15 82
Windows  windows tail    ÃÖ±æÈ£ 2022/02/10 121
Solaris  solaris dns ping: unknown host    ÃÖ±æÈ£ 2022/02/08 126
Linux  /dev/mapper/mpathf: read failed after 0 of 4096 at 0: Input/output error    ÃÖ±æÈ£ 2021/12/14 111
Linux  wget --no-check-certificate    ÃÖ±æÈ£ 2021/11/11 1339
Windows  Windows VPN ÁöÁ¤ÇÑ Æ÷Æ®°¡ ÀÌ¹Ì ¿­·Á ÀÖ½À´Ï´Ù. [ ipTIME vpn ]    ÃÖ±æÈ£ 2021/10/20 148

    ¸ñ·Ïº¸±â   ´ÙÀ½ÆäÀÌÁö 1 [2][3][4][5][6][7][8][9][10]..[30]   [´ÙÀ½ 10°³]
       

Copyright 1999-2022 Zeroboard / skin by ÃÖ±æÈ£(gilho.kr@gmail.com)
ÃÖ±Ù ´ñ±Û
2016/06/09
201606 Ãß°¡ grid/runcluvfy.sh...
by ÃÖ±æÈ£
2016/05/09
lg tab full screen VNCSERVE...
by ÃÖ±æÈ£
2013/10/17
rsync -avH /data/*

by ÃÖ±æÈ£
ÃÖ±Ù °Ô½Ã¹°
08/10
[¿î¿µÃ¼Á¦]
mobaxterm Remote desktop (RDP,....
by ÃÖ±æÈ£
08/09
[ORACLE]
ORA-12521 listener does not cu....
by ÃÖ±æÈ£
08/08
[ORACLE]
ogg save table DML total count....
by ÃÖ±æÈ£