Linux 490

gcc 4.8.x 설치하기 centos6.x 기준

gcc 4.8.2 설치 방법이다.의존성때문에 왠만하면 OS 업그레이드를 추천한다.Centos 6.0 기준 gcc는 4.4.7 이다. 우선 gcc 를 다운 받아서 압출을 풀자# cd /tmp# wget https://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.gz# tar gcc-4.8.2.tar.gz압축을 푼다음 컴파일에 필요한 라이브러리 를 다운 받자.# /tmp/gcc-4.8.2/contrib# ./download_prerequisites 그럼 알아서 설치가 될것이다. 혹시 수동설치가 필요하다면.# vi download_prerequisites 파일을 열어보면 필요한 파일 버전이 나와 있다.(gcc 4.8.2기준)MPFR=mpfr-2.4.2GMP=gmp-4.3.2M..

Linux 2017.05.12

snipeit install for centos 7.x

centos 7.x 기준이다. centos 6.x 에 설치를 하려고 했으나 설치가 안된다. hostname: Unknown host 어쩌구 저쩌구 하면서 안되는걸 봐선 OS 미지원인거 같다. 뭐 방법이 있겠지만 귀찮아서 centos 7.x 로 설치했다. 설정부분은 거의 대부분 default 로 엔터만 치면 된다. # setenforce 0 # firewall-cmd --zone=public --add-port=http/tcp --permanent # firewall-cmd --reload # yum install -y install epel-release # yum install -y php # mkdir -p /var/www/html/; cd /var/www/html/ # wget https://raw..

Linux 2017.05.02

tar 1.26 upgrade for centos 5

centos 5버전은 # tar --versiontar (GNU tar) 1.15.11.15 버전이다. 1.26 버전 이상으로 설치 해보자 다운 받고 압축을 풀고 설치를 하자. # tar -xvf tar-1.26.tar.gz# cd tar-1.26# ./configure FORCE_UNSAFE_CONFIGURE=1 뒤에 옵션을 안주면checking whether mknod can create fifo without root privileges... configure: error: in `/tmp/tar-1.26':configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypas..

Linux 2017.04.24

Another app is currently holding the yum lock; waiting for it to exit...

어느날 yum update 를 했더니 ]# yum updateLoaded plugins: fastestmirror, refresh-packagekit, securityExisting lock /var/run/yum.pid: another copy is running as pid 43229.Another app is currently holding the yum lock; waiting for it to exit...Another app is currently holding the yum lock; waiting for it to exit...Another app is currently holding the yum lock; waiting for it to exit...Another app is curre..

Linux 2017.02.21

mysql 5.7 이상 암호 복잡성 해지하기

mysql 5.7 에서 암호를 변경을 하려 하면ERROR 1819 (HY000): Your password does not satisfy the current policy requirements라는 메세지가 뜬다. 보안강화로 암호를 복잡하게 안하면 변경이 안된다. # mysql -u root -pEnter password:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 4Server version: 5.7.17 Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark..

Linux 2017.01.23

리눅스 메모리 슬롯 및 용량 확인 하기

리눅스 메모리 슬롯 및 용량 확인 하기 # dmidecode --type 17# dmidecode 2.11SMBIOS 2.8 present.# SMBIOS implementations newer than version 2.7 are not# fully supported by this version of dmidecode. Handle 0x001E, DMI type 17, 40 bytesMemory Device Array Handle: 0x001D Error Information Handle: Not Provided Total Width: 128 bits Data Width: 64 bits Size: 8192 MB Form Factor: DIMM Set: None Locator: ChannelA-DIMM0..

Linux 2016.07.28
728x90
반응형