본문 바로가기

반응형

ubuntu

C276x260 [리눅스] webmin(리눅스 관리툴) 설치하기 webmin(리눅스 관리툴) 설치하기 tar xvfz webmin-1.670.tar.gz cd webmin-1.670 ./setup.sh - Config file directory [/etc/webmin]: /etc/webmin - Log file directory [/var/webmin]: /var/webmin - Full path to perl (default /usr/bin/perl): /usr/bin/perl - Web server port (default 10000): 10000 - Login name (default admin): admin - Login password:xxxxxxxxx - Password again: xxxxxxxxx - Start Webmin at boot time (y/.. 더보기
C276x260 HTOP – Linux Process Monitoring HTOP – Linux Process Monitoring : HTOP은 콘솔에서 서버의 프로세스 상황을 다양한 색상으로 모니터링하는 도구이다. tar xvfz htop-0.8.3.tar.gz ./configure make && make install which htop $ which htop /usr/local/bin/htop htop 참고URL - http://pkgs.repoforge.org/htop/ 더보기
C276x260 우분투 관리자 계정(root) 활성화 우분투 관리자 계정(root) 활성화우분투는 기본적으로 보안상의 이유로 root 계정 로그인이 비활성화되어 있습니다.1. root 계정 비밀번호 설정root 계정에 비밀번호를 설정합니다.sudo passwd rootEnter new UNIX password:Retype new UNIX password:passwd: password updated successfully실행 후 비밀번호를 입력하면 root 계정이 활성화됩니다.2. GUI 로그인 화면에서 root 로그인 활성화GUI 로그인 화면에서 root 계정을 사용하려면 수동 로그인 옵션을 활성화해야 합니다. 설정 파일 수정vim /etc/lightdm/lightdm.conf옵션을 추가합니다.greeter-show-manual-login=true이 설정을.. 더보기
C276x260 [명령어] chkconfig 명령어 chkconfig 명령어 chkconfig [런레벨 조정] * 서비스 runlevel 보기 chkconfig --list chkconfig --list 데몬명 * 서비스 등록하기 chkconfig --add 데몬명 * 서비스 삭제하기 chkconfig --del 데몬명 * 서비스 runlevel 조정하기 chkconfig --level 실행레벨 데몬명 [on|off|rest] $ chkconfig chkconfig version 1.3.30.1 - Copyright (C) 1997-2000 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage: chkconfig --list [name] .. 더보기
C276x260 [리눅스] at 명령어 at 명령어 at 명령어는 Linux나 Unix 계열 운영체제에서 일회성으로 실행할 작업을 지정한 시간에 예약할 때 사용하는 명령어입니다. 이 명령어를 사용하면 시스템 부하나 리소스를 낭비하지 않고 작업을 예약할 수 있습니다. at 명령어를 사용하는 방법 1. at 명령어 설치 확인 at 명령어가 설치되어 있는지 확인합니다. which at 만약 설치되어 있지 않다면, 우분투에서는 다음과 같은 명령어로 설치할 수 있습니다. sudo apt-get install -y at 2. 작업 예약 at 명령어로 예약할 작업을 입력합니다. 다음은 10분 후에 ls 명령어를 실행하는 예제입니다. at now + 10 minutes $ at now + 10 minutes at> ls > /home/user/list.tx.. 더보기
C276x260 리눅스 wait 명령어 사용법 정리 리눅스 wait 명령어 사용법 정리wait 명령어는 쉘 스크립트에서 사용할 수 있는 내장 명령어 중 하나입니다. 이 명령어는 지정된 모든 작업이 완료될 때까지 대기합니다. 그리고 모든 작업이 완료된 후에는 wait 명령어가 종료됩니다. wait 명령어는 지정된 시간 동안 명령어의 실행을 일시 중지하는 명령어입니다. wait 명령어는 다음과 같은 경우에 유용합니다.지정된 시간 후에 명령어를 실행해야 하는 경우명령어의 실행 결과를 확인하기 위해 잠시 기다리는 경우명령어의 실행을 제어하기 위해 잠시 기다리는 경우wait 명령어 설치wait 명령어는 대부분의 Linux 배포판에 기본적으로 설치되어 있습니다. 만약 설치되어 있지 않은 경우 아래와 같이 설치할 수 있습니다. CentOSyum install proc.. 더보기
C276x260 kickstart ks.cfg 파일 kickstart ks.cfg 파일vim /tftpboot/kickstart/ks_centos6.4_64.cfg#platform=x86, AMD64, 또는 Intel EM64T#version=DEVEL# Firewall configurationfirewall --disabled# Install OS instead of upgradeinstall# Use NFS installation medianfs --server=192.168.56.10 --dir=/mnt/centos6.4_64# Root passwordrootpw --iscrypted $1$w2yXi5Wl$IYYKevcmZWvW7S71bhvVH.# System authorization informationauth --useshadow --pass.. 더보기
C276x260 우분투 SquashFS 사용 방법 우분투 SquashFS 사용 방법SquashFS란?SquashFS는 리눅스 운영 체제에서 사용되는 읽기 전용 파일 시스템으로, 여러 파일과 디렉토리를 단일 파일에 압축하여 저장할 수 있습니다. 이를 통해 운영 체제나 소프트웨어 배포를 위한 인스톨러 등에서 이미지 크기를 줄일 수 있습니다.SquashFS 사용 방법1. squashfs-tools 패키지 설치SquashFS 이미지를 만들고 관리하기 위해서는 squashfs-tools 패키지를 설치해야 합니다. Ubuntu에서는 다음과 같은 명령어로 설치할 수 있습니다. squashfs-tools 패키지sudo apt-get install -y squashfs-tools$ apt-get info squashfs-toolsPackage: squashfs-tool.. 더보기

728x90
반응형