본문 바로가기

반응형

리눅스

C276x260 CentOS 7에서 고정 IP 주소를 설정하는 방법(ifcfg-eth0 IP 고정 설정) CentOS 7에서 고정 IP 주소를 설정하는 방법(ifcfg-eth0 IP 고정 설정) 1. 네트워크 설정 파일 수정 고정 IP 주소를 설정하기 위해 /etc/sysconfig/network-scripts 디렉토리에 있는 네트워크 설정 파일을 편집합니다. 일반적으로 이 파일들의 이름은 ifcfg-인터페이스명 형식입니다. 예를 들어, 이더넷 인터페이스의 이름이 eth0인 경우, ifcfg-eth0 파일을 편집합니다. sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 2. 네트워크 설정 파일 편집 편집기가 열리면 다음과 같이 설정을 변경합니다. BOOTPROTO=none # DHCP를 사용하지 않음 ONBOOT=yes # 부팅시 자동으로 인터페이스를 활성화 IPADD.. 더보기
C276x260 How to install and use stress How to install and use stressStress is a command-line tool that can be used to stress test a system by generating a workload on the CPU, memory, and I/O. It is a useful tool for testing the performance of a system under load, and can also be used to troubleshoot performance problems. To install stress, you can use the following command:sudo apt install stressOnce stress is installed, you can use.. 더보기
C276x260 [리눅스] mariadb 설치 mariadb 설치 현재 지원되는 버전은 10.3, 10.4, 10.5, 10.6(5년간 지원) 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) repository 설정(저장소 추가) vim /etc/yum.repos.d/MariaDB.repo # MariaDB 10.6 CentOS repository list - created 2022-12-09 11:34 UTC # https://mariadb.org/download/ [mariadb] name = MariaDB baseurl = https://mirror.rackspace.com/mariadb/yum/10.6/centos7-amd64 gpgkey=https://mirror... 더보기
C276x260 MySQL "[error] Cannot find MySQL header files under yes" 오류를 해결하는 방법 MySQL "[error] Cannot find MySQL header files under yes" 오류를 해결하는 방법 [error] Cannot find MySQL header files under yes configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore! 해당 오류 메시지는 MySQL의 헤더 파일들을 찾을 수 없다는 것을 나타내며, 일반적으로 C/C++ 프로그램이 MySQL과 관련된 코드를 컴파일하려고 할 때 발생합니다. 이 문제를 해결하기 위해서는 MySQL의 개발 패키지 또는 개발 헤더 파일을 설치해야 합니다. CentOS/RHEL/F.. 더보기
[mysql] 원격서버(clinet)에 설치되어 있는 MySQL Server로 접속하기 원격서버(clinet)에 설치되어 있는 MySQL Server로 접속하기 [Client 192.168.0.100] [root@kingdom bin]# ./mysql -u scbyun -p first -h 192.168.0.50 -P 3306 Enter password: ERROR 1130 (HY000): Host '192.168.0.100' is not allowed to connect to this MySQL server [root@kingdom bin]# [MySQL Server 192.168.0.50] - 특정 IP(192.168.0.100)만 OPEN mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON first.* TO 'scbyun'@1.. 더보기
C276x260 영어 발음기호 표 - 소통영어 영어 발음기호 표 - 소통영어 참고URL- (MP3 제공) 누구나 원어민발음 할 수 있는 영어발음기호표 읽는 법 더보기
C276x260 우분투 CLI(Command Line Interface) 환경에서 네트워크 설정(고정 IP 할당) 우분투 CLI(Command Line Interface) 환경에서 네트워크 설정(고정 IP 할당) 테스트 환경 $ lsb_release -d Description: Ubuntu 20.04 LTS $ getconf LONG_BIT 64 고정 IP 설정 ip addr 명령으로 네트워크 인터페이스 이름 확인 일반적으로 eth0, eth1, wlan0 등과 같은 인터페이스 이름이 사용됩니다. ip addr $ ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ... 2: ens33: mtu 1500 qdisc fq_codel state UP group default qlen 1000 ... 00-installer-config.. 더보기
C276x260 ifconfig 명령어 ifconfig 명령어 ifconfig 명령어는 네트워크 인터페이스의 정보를 확인하고 구성하는 데 사용되는 유닉스 및 Linux 명령어입니다. 네트워크 인터페이스의 IP 주소, 넷마스크, 브로드캐스트 주소, MAC 주소 등을 표시할 수 있습니다. net-tools 패키지 설치 sudo yum install -y net-tools 기본 구문 ifconfig [옵션] [인터페이스] -a 또는 --all: 모든 인터페이스 정보를 표시합니다. 인터페이스: 지정된 네트워크 인터페이스에 대한 정보를 표시합니다. 예를 들어, eth0, wlan0과 같은 인터페이스명을 사용할 수 있습니다. 인터페이스명을 지정하지 않으면 모든 인터페이스의 정보가 표시됩니다. 주요 옵션 up: 지정된 네트워크 인터페이스를 활성화합니다. .. 더보기

728x90
반응형