'yum' 명령어로 mysql 설치 하기 Install mysql using "yum" command 'yum' 명령어는 기본적으로 인터넷을 통하여 사용할수 있다. Basically we can use 'yum' command through internet, so make sure network is working properly. scenario 1 : 네트워크로 설치 When network works well 1. ]# yum info mysql => 설치한 패키지의 정보 확인하자. mysql 정보 확인 Let's check out the mysql package information first. (click the image to see clearly...사진클릭하면 자세히 보입니다.) 2. ]# ..
파일의 링크 두 종류 하드링크와 심볼릭 링크. 원본파일이 'inode1'을 사용하면 하드링크도 'inode1'을 사용하게되지만, 심볼릭 링크는 'inode2'를 만들어서 사용한다. 데이터는 원본파일과 연결된다. 윈도우의 바로가기 아이콘과 같은 개념. There are two types of link; hard link and symbolic link. When original file uses 'inode1'. hard link uses 'inode1' as well, but symbolic link makes 'inode2' and links data to original file. Symbolic is same idea as shortcut icon in windows. 1. create /root/..
사용자 계정을 새로 생성하게 되면 자동적으로 홈 디렉토리가 /home/user1이된다. 그리고 생성과 동시에 /etc/skel 디렉토리의 모든내용을 사용자의 /home/user1디렉토리로 복사해주는 작업이 일어난다. 그러면 배포하고 싶은 것을 /etc/skel 디렉토리에 넣어서 새로운 사용자에게 나눠주자. As we know or not, new users home directory will be automatically set as /home/newuser/, meanwhile when it happens all files will be copied to /home/user1 from /etc/skel directory. So let's see what happens if we copy file int..
윈도우와 달리 리눅스 환경에서는 CD와 USB가 자동으로 연결되었다고 사용자에게 알려주지 않는다. 사용자는 MOUNT 가 되어있는지 확인하고, MOUNT하거나 UMOUNT하는 기본적인 명령어를 알고 있어야 한다. CD/DVD는 /media 디렉토리가 된다. CD/DVD는 /dev/sro, /dev/cdrom 이나 /dev/dvd 파일이름이고. USB는 /dev/sdb1 이 되겠다. Unlike Windows operating system, Linux never informs users when new stroage devices, such as CD/DVD or USB connect to server. Thus, users should know how to see if there is any new mo..