421 4.4.1 Sorry, I wasn’t able to establish an SMTP connection
메일이 정상적으로 전송되지 못했습니다
The reason why mail sending error is because I can’t access IP.
Check your mail server IP for external access.
If there is a firewall or an external blocking service, this part should be set up.
If you are a Linux user, you must set up both ipable and firewalled and verify SELINUX access.
In my case above, it was returned with a mail error due to lack of external access.
SMTP port check!
25, 465, 587
메일 발송 오류가 나오는 이유는 아이피에 접속할수 없기때문입니다.
당신의 메일 서버 아이피에서 외부 접근이 가능한지 확인해야합니다.
sorry i wasn’t able to establish an smtp connection
방화벽이라던지 외부 차단 서비스가 있다면 이부분에 대해 세팅을 하여야합니다.
리눅스 사용자라면 iptable과 firewalld 세팅을 해야하며 SELINUX 접근 권한을 확인하여야합니다.
The unit files have no installation config (WantedBy, RequiredBy, Also, Alias
settings in the [Install] section, and DefaultInstance for template units).
This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
4) In case of template units, the unit is meant to be enabled with some
instance name specified.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at a@tion.kr to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
사이트에 들어가서 가장 최신버전 혹은 자신의 php와 mysql 버전에 맞춰서 다운받는다.
최신버전을 이미 설치한 상태라면 phpmyadmin 역시 최신버전으로 다운받는다.
아래 순서에 따라서 설치를 하면 여러분들이 원하는 최신 버전으로 설치 가능합니다.
1. centos 8 phpmyadmin설치 파일을 다운
최신버전이 매번 latest 가 아닌 파일명으로 업데이트 하니 글을 매번 수정하게되는군요 (2022-11-23일 수정) 혹시라도 2023년 2024년에 이 글을 보는 분들은 아래와 버전이 조금 다를 수 있습니다. phpMyAdmin의 경우에는 최신 버전을 설치해도 괜찮기때문에 안정적인 버전을 따지지마시고 그냥 최신 버전을 다운받아 사용하면 됩니다. phpMyAdmin은 모듈이 아닌 php 프로그래밍으로 웹상태에서 동작하는거라 버전이 높을수록 오히려 더 친화적입니다.
Set root password? [Y/n] Y
New password:
Re-enter new password:
Password updated successfully!
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y
5. 1번항목에서 다운받은 centos 8 phpmyadmin설치하기
unzip phpMyAdmin-5.0.2-all-languages.zip
폴더명 변경 및 phpmyadmin 기본 세팅
mv phpMyAdmin-5.0.2-all-languages ../phpMyAdmin
chown -R apache:apache /var/www/phpMyAdmin
cd /var/www/phpMyAdmin
sed -e s/"blowfish_secret'] = ''/blowfish_secret'] = 'Rh-@P60tBhuo(^aIUQES2_vd3s.RoL.T'"/g /var/www/phpMyAdmin/config.sample.inc.php > /var/www/phpMyAdmin/config.inc.php
#아래 항목에 My Secret Password 대신 랜덤문자 작성
rm -rf /var/www/phpMyAdmin/config.sample.inc.php
vi /var/www/phpMyAdmin/config.inc.php
$cfg['blowfish_secret'] = 'My Secret Password';
mysql < sql/create_tables.sql -u root -p
6. make Config File centos 8 phpmyadmin for Apache (httpd)
이 글에서는 apache 위주로 구성하고 있습니다.
centos 8 phpmyadmin nginx 항목을 진행하시는 분들은 다른 설정을 참고하시기 바랍니다.
vi /etc/httpd/conf.d/phpMyAdmin.conf
아래 라인을 그대로 복사 붙여넣기
Alias /phpMyAdmin /var/www/phpMyAdmin
Alias /phpmyadmin /var/www/phpMyAdmin
<Directory /var/www/phpMyAdmin/>
AddDefaultCharset UTF-8
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require all granted
</RequireAny>
</IfModule>
</Directory>
<Directory /var/www/phpMyAdmin/setup/>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require all granted
</RequireAny>
</IfModule>
</Directory>
# These directories do not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
#
<Directory /var/www/phpMyAdmin/libraries/>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
<Directory /var/www/phpMyAdmin/setup/lib/>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
<Directory /var/www/phpMyAdmin/setup/frames/>
Order Deny,Allow
Deny from All
Allow from None
</Directory>
systemctl start httpd
systemctl enable httpd
systemctl restart httpd
http://yourDomain/phpmyadmin
이제 도메인 주소에 설치한 phpmyadmin을 접속할 수 있습니다.
최신버전으로 모두 설치하다보니 phpmyadmin 까지 최신버전으로 업그레이드 하게되었다.
CentOS 8.2 리눅스 OS운영체제와 php 7.4.8 설치 그리고 phpMyAdmin 까지 모두 최신버전까지 설치완료 이제 wordpress 최신버전으로 설치하면 마무리가 된다.
SSH lrzsz 설치안되었다면 아래 명령어입력 (이부분은 옵션입니다. 파일전송 시 드래그로 업로드 하기 위함입니다)