SELECT article, dealer, price
FROM shop
WHERE price=(SELECT MAX(price) FROM shop);
서브쿼리를 수행하면 쉽게 조회가 가능하다. max, min 등등과같이 옵션을 변경하면 되겟다.
SELECT article, dealer, price
FROM shop
WHERE price=(SELECT MAX(price) FROM shop);
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<i class="fas fa-stroopwafel"></i> <!-- 1) 무료는 fas 와함께 아이콘 이름을 씀 -->
<i class="fas fa-stroopwafel"></i> <!-- <i> 를 쓰거나 -->
<span class="fas fa-stroopwafel"></span> <!-- <span> 을 써서 아이콘 삽입 -->
<i class="fas fa-stroopwafel fa-xs"></i>
<i class="fas fa-stroopwafel fa-sm"></i>
<i class="fas fa-stroopwafel fa-lg"></i>
<i class="fas fa-stroopwafel fa-2x"></i>
<i class="fas fa-stroopwafel fa-3x"></i>
<i class="fas fa-stroopwafel fa-5x"></i>
<i class="fas fa-stroopwafel fa-7x"></i>
<i class="fas fa-stroopwafel fa-10x"></i>
<span style="font-size: 3em; color: Tomato;">
<i class="fas fa-stroopwafel"></i>
</span>
<span style="font-size: 48px; color: Dodgerblue;">
<i class="fas fa-stroopwafel"></i>
</span>
<span style="font-size: 3rem;">
<span style="color: Mediumslateblue;">
<i class="fas fa-stroopwafel"></i>
</span>
</span>
<div class="fa-4x">
<i class="fas fa-magic" data-fa-transform="rotate-90" style="background:MistyRose"></i>
<i class="fas fa-magic" data-fa-transform="rotate-180" style="background:MistyRose"></i>
<i class="fas fa-magic" data-fa-transform="rotate-270" style="background:MistyRose"></i>
<i class="fas fa-magic" data-fa-transform="rotate-30" style="background:MistyRose"></i>
<i class="fas fa-magic" data-fa-transform="rotate--30" style="background:MistyRose"></i>
<i class="fas fa-magic" data-fa-transform="flip-v" style="background:MistyRose"></i>
<i class="fas fa-magic" data-fa-transform="flip-h" style="background:MistyRose"></i>
<i class="fas fa-magic" data-fa-transform="flip-v flip-h" style="background:MistyRose"></i>
</div>
/etc/httpd/conf/httpd.conf
에 AddType 관련한 설정을 찾아봤는데 php관련 설정은 안보인다./etc/httpd/conf.d/php.conf
라고해서 php관련한 설정을 이 파일에 따로 하는것을 알수있었다..#
# Allow php to handle Multiviews
#
AddType text/html .php .html .htm
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
# mod_php options
<IfModule mod_php7.c>
#
# Cause the PHP interpreter to handle files with a .php extension.
#
<FilesMatch \.(php|phar|htm|html)$>
SetHandler application/x-httpd-php
</FilesMatch>
#
# Uncomment the following lines to allow PHP to pretty-print .phps
# files as PHP source code:
#
#<FilesMatch \.phps$>
# SetHandler application/x-httpd-php-source
#</FilesMatch>
#
# Apache specific PHP configuration options
# those can be override in each configured vhost
#
php_value session.save_handler "files"
php_value session.save_path "/var/lib/php/session"
php_value soap.wsdl_cache_dir "/var/lib/php/wsdlcache"
#php_value opcache.file_cache "/var/lib/php/opcache"
</IfModule>
변경된 설정을 저장하고 아파치 재시작 해주면 끝useradd git
passwd git
su - git
ssh-keygen -t rsa
mkdir /home/git/repo
mkdir /home/git/repo/rhdqn.git
cd /home/git/repo/rhdqn.git
git init --bare --shared
su - rhdqn
cd : 현재위치는 (/home/rhdqn/ ) 가 되겠지
git init
git config --global user.name "name is here"
git config --global user.email "email is here"
git commit -m "first commit" -a
git remote add origin ssh://git@127.0.0.1/home/git/repo/rhdqn.git
git push origin master
git init
git remove add origin ssh://git@www.rhdqn.kr/home/git/repo/rhdqn.git
git pull remote origin master
4일동안 삽질하다가 설치 성공 사례를 남깁니다. AI한테 물어보실봐도 모델과 현재 상황을 정확하게 인지 시켜줘야 제대로 대답을 하지 그냥 물어봐서는 저처럼 계속해서 삽질만 하게 될껍니다. 그럼 시작합니다. 사전에 알아야 할 내용 1. JetPa...