본문 바로가기

728x90
반응형

리눅스

PHP 빌드 에러 PHP 빌드 에러(configure 에러)1. DBA: Could not find necessary header file(s).configure: error: DBA: Could not find necessary header file(s).이 에러는 PHP가 DBA(데이터베이스 확장) 빌드를 시도할 때 필요한 gdbm 라이브러리 헤더 파일을 찾지 못해서 발생합니다. 해결 방법sudo yum install -y gdbm-devel2. Please reinstall the expat distribution.configure: error: not found. Please reinstall the expat distribution.이 에러는 XML 파싱을 담당하는 expat 라이브러리가 시스템에 없거나 헤더를 .. 더보기
Apache HTTP Server에서 ServerName 지시어 설정 오류 Apache HTTP Server에서 ServerName 지시어 설정 오류Apache 경고 해결 — Could not reliably determine the server's fully qualified domain name[root@ns1 src]$ apachectl starthttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameApache가 서버의 FQDN(Fully Qualified Domain Name) 을 찾을 수 없을 때 출력하는 경고입니다.해결 방법sudo vim /etc/httpd/conf/httpd.conf아래 부분을 찾아서 수정#ServerName .. 더보기
SSH 키 생성, 서버 등록 및 접속하는 방법 SSH 키 생성, 서버 등록 및 접속하는 방법1. SSH 키 생성로컬 컴퓨터에서 SSH 키를 생성합니다.ssh-keygen -t rsa -b 4096이 명령은 RSA 알고리즘을 사용하여 4096비트의 키 쌍을 생성합니다. 필요에 따라 -t 및 -b 옵션을 조정할 수 있습니다.ssh-keygen -t rsa -b 2048 -C "deployment"$ ssh-keygen -t rsa -b 2048 -C "deployment"Generating public/private rsa key pair.Enter file in which to save the key (/home/vagrant/.ssh/id_rsa): Created directory '/home/vagrant/.ssh'.Enter passphrase .. 더보기
리눅스 mkpasswd 명령어 mkpasswd 명령어 mkpasswd 명령은 사용자의 암호를 해시로 변환하는 데 사용되는 유틸리티입니다. 일반적으로 Linux 시스템에서 사용자의 비밀번호를 생성 또는 변경할 때 사용됩니다. mkpasswd 명령은 다양한 해시 알고리즘을 지원하며, 각 알고리즘에 따라 다른 형식의 해시를 생성할 수 있습니다. $ mkpasswd -bash: mkpasswd: command not found whois 패키지 설치(mkpasswd 명령) yum install -y whois $ which mkpasswd /usr/bin/mkpasswd mkpasswd 명령어 구문 $ mkpasswd --help Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]] Crypts the PASS.. 더보기
CentOS 4에서 Oracle Database 9i를 설치하고 구성하는 방법 CentOS 4에서 Oracle Database 9i를 설치하고 구성하는 방법 Oracle Database 9i는 더 이상 공식적으로 지원되지 않고, 보안 이슈가 있을 수 있으므로 가능하면 더 최신한 버전의 Oracle Database를 사용하는 것이 좋습니다. 1. 시스템 요구 사항 확인 Oracle Database 9i를 설치하려면 시스템이 요구 사항을 충족해야 합니다. CentOS 4.x와 호환되는지 확인하고 충분한 메모리 및 디스크 공간이 있는지 확인하십시오. 또한 필요한 패키지 및 라이브러리를 설치합니다. cd /usr/local/src mkdir /orainstall $ ls jdk-6u31-linux-i586.bin jre-6u31-linux-i586.bin chmod +x jdk-6u31-.. 더보기
[오라클] 시작과 종료 [oracle@oracle ~]$ sqlplus /nolog SQL*Plus: Release 9.2.0.4.0 - Production on Mon Feb 27 14:52:30 2012 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> connect / as sysdba Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 236000356 bytes Fixed Size 451684 bytes Variable Size 201326592 bytes Database Buffers 33554432 bytes Redo Bu.. 더보기
[리눅스] [error] ucspi-tcp-0.88 make 오류 | exec: gcc: not found ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h ./compile tcpserver.c ./compile: line 3: exec: gcc: not found make: *** [tcpserver.o] 오류 127 [해결] # yum -y install gcc gcc-c++ 더보기
하드 디스크에 배드 블록의 존재 여부를 점검하기(badblocks) 하드 디스크에 배드 블록의 존재 여부를 점검하기(badblocks) badblocks 명령어는 리눅스 시스템에서 하드 디스크의 배드 블록을 검사하고 식별하는 데 사용되는 유틸리티입니다. 이 도구를 사용하여 하드 디스크의 물리적인 문제를 검출하고 데이터 손실을 방지할 수 있습니다. badblocks 명령어의 기본 구문과 주요 옵션 badblocks [옵션] [장치] [시작 블록] [끝 블록] 옵션: badblocks 명령어의 동작을 제어하기 위한 여러 옵션을 지정합니다. 장치: 검사하려는 디스크 또는 파티션의 경로를 지정합니다. 예를 들어, /dev/sda 또는 /dev/sda1과 같이 디스크 또는 파티션을 가리킵니다. 시작 블록 및 끝 블록: 검사를 시작하고 종료할 블록 범위를 지정합니다. 일반적으로 전.. 더보기

728x90
반응형