iptables
Ubuntu Not listed
Ubuntu Desktop 로그인 화면에서 “Not listed? 🔍 원인 분석 1. 🧑 사용자 계정 문제 2. 🔐 GDM(Gnome Display Manager) 설정 오류 3. 💥 시스템 업그레이드/설치 […]
iptables
Ubuntu Desktop 로그인 화면에서 “Not listed? 🔍 원인 분석 1. 🧑 사용자 계정 문제 2. 🔐 GDM(Gnome Display Manager) 설정 오류 3. 💥 시스템 업그레이드/설치 […]
Overview : 리눅스 메모리 상태 확인
1. repository 최신데이타 받기 2.설치전 업데이트 3.php7.4 설치 4.php7.4 util 설치 5.php 새번전 등록 6.php7.3 비활성화 7.php7.4 활성화 8.apache2 restart 9.버전 확인
Ubuntu ftp 디렉토리 / 접속계정 세팅 1.디렉토리 생성 2.계정 추가 3.계정 비번 새로 변경 4.계정 생성 확인 5.디렉토리 계정 권한으로 세팅 6.기타 설정 Ubuntu SSL […]
samba 설치된 컴에 mount 연결 하기 명령어로 네트워크 컴퓨터 조사
Ubuntu 20.04.1 로 업데이이트 다음 명령어 단계에서 진행 되지 않으면 업데이트 후 진행 합니다.
1 2 3 |
do-release-upgrade |
1 2 3 4 |
Checking for a new Ubuntu release Please install all available updates for your release before upgrading. |
Ubuntu 20.04.1
1 2 3 |
sudo apt-get update |
1 2 3 |
sudo apt-get upgrade -y |
1 2 3 |
sudo apt-get dist-upgrade |
1 2 3 |
sudo do-release-upgrade |
Y 로 […]
sudo apt update sudo apt install mysql-server sudo mysql_secure_installation
1 2 3 4 5 |
sudo apt update sudo apt install mysql-server sudo mysql_secure_installation |
sudo mysql_secure_installation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
root@localhost:/etc/apache2# sudo mysql_secure_installation Securing the MySQL server deployment. Connecting to MySQL using a blank password. VALIDATE PASSWORD PLUGIN can be used to test passwords and improve security. It checks the strength of password and allows the users to set only those passwords which are secure enough. Would you like to setup VALIDATE PASSWORD plugin? Press y|Y for Yes, any other key for No: y There are three levels of password validation policy: LOW Length >= 8 MEDIUM Length >= 8, numeric, mixed case, and special characters STRONG Length >= 8, numeric, mixed case, special characters and dictionary file Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 0 Please set the password for root here. New password: Re-enter new password: Estimated strength of the password: 50 Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? (Press y|Y for Yes, any other key for No) : y Success. Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? (Press y|Y for Yes, any other key for No) : n ... skipping. By default, MySQL comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y - Dropping test database... Success. - Removing privileges on test database... Success. Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? (Press y|Y for Yes, any other key for No) : n ... skipping. All done! |
Check authentication method for MySQL users host 가 % 일경우 #주석처리 #bind-address=127.0.0.0 […]
간단하게 현재 사용중인 우분투의 버전을 확인 lsb_release -a
1 2 3 4 5 6 7 8 |
root@localhost:/etc/apache2# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic |
cat /etc/*release
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
root@localhost:/etc/apache2# cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS" NAME="Ubuntu" VERSION="18.04.1 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.1 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic |
설치된 리눅스(우분투)가 32비트인지 64비트인지 확인 uname -m
1 2 3 4 |
root@locahost:/etc/apache2# uname -m x86_64 |
apache 가 정상적으로 응답하지 않는 현상도 발생
1 2 3 4 5 6 7 |
::1 - - [26/Mar/2020:16:10:30 +0900] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g (internal dummy connection)" ::1 - - [26/Mar/2020:16:10:31 +0900] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g (internal dummy connection)" ::1 - - [26/Mar/2020:16:10:32 +0900] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g (internal dummy connection)" ::1 - - [26/Mar/2020:16:10:33 +0900] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g (internal dummy connection)" ::1 - - [26/Mar/2020:16:10:35 +0900] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g (internal dummy connection)" |
해결책 : /etc/apache2/apache2.conf
1 2 3 4 5 |
SetEnvIf Remote_Addr "::1" loopback SetEnvIf Remote_Addr "127\.0\.0\.1" loopback CustomLog ${APACHE_LOG_DIR}/access_log combined env=!loopback |
참조 : https://cwiki.apache.org/confluence/display/HTTPD/InternalDummyConnection https://allthatlinux.com/dokuwiki/doku.php?id=access_log%EC%97%90_options_http_1.0_%EA%B0%80_%EA%B8%B0%EB%A1%9D%EB%90%98%EB%8A%94_%EC%9D%B4%EC%9C%A0
1 2 3 |
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/by-hash/SHA256/86d06dec5cec67943ee6e7c12ecb473588920e74747b6126d12fbf679ccfb18a Hash Sum mismatch |
1 2 3 4 |
sudo rm -rf /var/lib/apt/lists/* sudo apt-get update |
참조 : https://askubuntu.com/questions/41605/trouble-downloading-packages-list-due-to-a-hash-sum-mismatch-error
설치 Hello World 확인 버전 확인 제거
Ubuntu 18.04 에서 Let’s Encrypt SSL Cert 설치 방법이 달라졌다. 1. Install Let’s Encrypt client (Certbot)
1 2 3 4 5 |
sudo add-apt-repository ppa:certbot/certbot sudo apt update sudo apt install python-certbot-apache |
2. Get an SSL Certificate
1 2 3 |
sudo certbot --apache -d test.com -d www.test.com |
결과
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: No redirect - Make no further changes to the webserver configuration. 2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for new sites, or if you're confident your site works on HTTPS. You can undo this change by editing your web server's configuration. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1:수정없이 2:자동수정되게 (아래와 같은 문제 발생됨) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Your existing certificate has been successfully renewed, and the new certificate has been installed. The new certificate covers the following domains: https://aaa.auctionpro.co.kr You should test your configuration at: https://www.ssllabs.com/ssltest/analyze.html?d=aaa.auctionpro.co.kr - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
사이트 : https://about.mattermost.com/ 다양한 정보를 빠르게 공유하고 모든 플랫폼과의 협업이 가능한 최첨단 메신저 서비스이며 원활한 커뮤니케이션을 위한 콘텐츠 추가, 신속한 파일 공유 등의 편리한 기능을 […]
공짜로 SSL 설치해 보자. Are certificate prices reasonable? Maybe, maybe not. Some companies try to charge even more with price tiers that add more features, […]
Reading package lists… Done W: http://cz.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1) E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/by-hash/SHA256/adbec2ad24dc9116db1043190e5146825a235b6841e407e0bea 58b0ee3ee0793 Hash Sum mismatch E: […]
1. 필요 패케지 설치 apt-get update sudo apt-get install alien autoconf automake autotools-dev binutils doxygen sudo apt-get install elfutils expat gawk gcc gcc-multilib g++-multilib libstdc++6:i386 […]
1.개요 한 시대를 풍미한 인터넷 게시판 프로그램 제로보드를 개발했던 프로그래머 고영수가 네이버의 지원을 받아 제작하고 있던 웹사이트 빌더 프로그램(CMS). 현재는 네이버에서 XE 커뮤니티 개발팀을 만들어 운영 중이다. 참고로 고영수씨는 XE가 점차 […]
버전 확인 : perl -v 또는 perl –verion 참조 : http://learnperl.scratchcomputing.com/tutorials/getting_started/ Perl Regex Syntax 참조: https://www.tutorialspoint.com/perl/perl_regular_expressions.htm perl -e ‘print “Hello World!\n”‘ Error 시
1 2 3 4 5 6 7 8 9 |
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.utf8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). |
툴설치 […]
Copyright © 2025 | WordPress Theme by MH Themes