You cannot see this page without javascript.

Fedora 크롬 루트로 실행

Linux 조회 수 645 추천 수 0 2014.06.27 10:34:10
설명:
구글의 크롬이 업데이트되면서 루트권한보다 일반사용자권한을 가져야 실행이 가능해졌다. 보안상 이런 방법이 바람직하지만 그렇다고 일반사용자로 로그인하여 크롬을 사용하기엔 무리가 있다. 따라서 이 문서에서 루트로 크롬을 실행시키는 방법을 소개한다.

해결법:

1. 터미널을 실행시켜 /usr/bin/ 디렉토리의 google-chrome 실행파일을 편집한다.

vi /usr/bin/google-chrome



2. 파일의 맨 끝에 exec 부분을 보면 아래와 같을 것이다.

exec -a "$0" "$HERE/chrome" "$@"



3. 그 뒤에 다음 스크립트를 덧붙인다.

--user-data-dir



4. 수정을 마치면 다음과 같을 것이다.

exec -a "$0" "$HERE/chrome" "$@" --user-data-dir


5. 크롬을 다시 실행킨다.








크롬 설치


1. 업데이트
yum update -y

2. google-chrome.repo 파일을 /etc/yum.repos.d/ 경로에 다음 내용으로 만든다.

[google-chrome]
name=Google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

3. 크롬 웹 브라우져 다운/설치
yum install google-chrome-stable

4.
wget http://chrome.richardlloyd.org.uk/install_chrome.sh

5.
chmod u+x install_chrome.sh

6.
./install_chrome.sh

7. 크롬 시작하기
google-chrome &

엮인글 :
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
209 APM mysql ./configure LynX 2017-12-15 729
208 HardWare PacketTracer533_setup file LynX 2013-10-16 727
207 Windows7 OEM을 활용하여 클린설치 file [11] LynX 2010-11-06 716
206 Linux 리눅스 게이밍 가이드 2부 : 실전 게임 플레이와 문제 해결 [13] LynX 2014-12-24 714
205 HTML Tag CSS 여러가지 모양 만들기 LynX 2018-02-08 708
204 APM PHP 5.5.12 설치 file LynX 2013-12-31 698
203 PHP 5.3 + MSSQL 연동 [2] LynX 2012-12-08 697
202 3D Printer Pronterface(PrintRun) install file LynX 2018-09-13 694
201 로우 포맷(Low level format, 저수준 포맷) 하기 file [11] LynX 2011-07-06 692
200 Linux Linux 환경에서 ACE framework 설치하기 [11] LynX 2015-01-12 690
199 Linux CentOS (5.x, 6.x) - Apache Web Server 2.4 file LynX 2014-06-26 684
198 Windows XP 핫픽스 통합 시디 만들기 [18] LynX 2013-06-20 675
197 CentOS7 ▒ Doly의 CentOS7 강좌28 12. 네트워크 보안설정 12.1 firewalld (1/2) file [10] LynX 2015-06-09 671
196 Linux LFS/Introduction - 소개 [8] LynX 2014-08-06 669
195 CentOS network card setup [1] LynX 2016-04-20 660
194 Linux forever 설치 [18] LynX 2015-06-10 660
193 HTML Tag 모바일 웹에서 동영상 재생방법 LynX 2013-07-13 658
192 CentOS7 ▒ Doly의 CentOS7 강좌30 12. 네트워크 보안설정 12.2 iptables 서비스 (1/3) file [11] LynX 2015-06-09 646
» Linux Fedora 크롬 루트로 실행 LynX 2014-06-27 645
190 CentOS CentOS7 커널 업데이트 LynX 2018-04-23 644

XE Login