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
189 Linux 변경사항이 유지되는 리눅스를 USB메모리에 만들기(우분투 계열) [13] LynX 2015-01-07 583
188 CentOS centos7 groonga install LynX 2017-12-04 583
187 Linux 04 - 와이어샤크,접근제어,방화벽,텔넷,패킷 file [12] LynX 2012-11-29 585
186 Network VLAN 설정 ② Trunk mode / Routing file [12] LynX 2015-04-29 597
185 APM MySQL 5.7 바이너리 Archive 설치 file LynX 2017-02-02 603
184 Programing make - 01 make 란? file LynX 2017-02-22 610
183 Printer cura usb connection LynX 2018-07-06 614
182 Linux opensuse yum repository 추가 [13] LynX 2014-12-23 636
181 Linux letsencrypt wildcard LynX 2018-07-26 638
» Linux Fedora 크롬 루트로 실행 LynX 2014-06-27 645
179 CentOS CentOS7 커널 업데이트 LynX 2018-04-23 645
178 CentOS7 ▒ Doly의 CentOS7 강좌30 12. 네트워크 보안설정 12.2 iptables 서비스 (1/3) file [11] LynX 2015-06-09 646
177 Linux forever 설치 [18] LynX 2015-06-10 660
176 CentOS network card setup [1] LynX 2016-04-20 660
175 HTML Tag 모바일 웹에서 동영상 재생방법 LynX 2013-07-13 661
174 Linux LFS/Introduction - 소개 [8] LynX 2014-08-06 669
173 CentOS7 ▒ Doly의 CentOS7 강좌28 12. 네트워크 보안설정 12.1 firewalld (1/2) file [10] LynX 2015-06-09 671
172 Windows XP 핫픽스 통합 시디 만들기 [18] LynX 2013-06-20 675
171 Linux CentOS (5.x, 6.x) - Apache Web Server 2.4 file LynX 2014-06-26 684
170 Linux Linux 환경에서 ACE framework 설치하기 [11] LynX 2015-01-12 690

XE Login