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 윈도우7 메모리 인식 문재 file [13] LynX 2011-11-30 509
208 Server Open Solaris 패키지 설치 및 삭제 LynX 2014-12-29 511
207 Programing 개행문자 LynX 2014-10-29 513
206 Linux ISO 마운트 [10] LynX 2014-12-22 516
205 Linux Linux에 Boost 설치하기 LynX 2015-11-30 519
204 CentOS CemtOS 7.3 base Trinitycore 3.3.5 Compile file LynX 2017-11-13 520
203 Linux 리눅스에 곰플레이어 설치하기 file LynX 2014-07-01 536
202 설치파일(inf)에 대한 이해 [7] LynX 2011-06-22 546
201 탐색기 메뉴에 '명령 프롬프트 열기'와 '메모장으로 열기' 추가하기 file [14] LynX 2010-11-08 547
200 Linux wkhtmltopdf wkhtmltoimage install LynX 2018-01-31 550
199 Server DHCP file LynX 2013-10-04 557
198 Java Script 레이어 팝업 LynX 2014-06-02 570
197 Linux 페도라17(centos7) 새로운 서비스 관리 LynX 2014-07-20 570
196 Linux LFS/Bootscripts - 시스템 부트로더 설정하기 [8] LynX 2014-08-06 570
195 LinuxMint LinuxMint Apache source 설치 file [8] LynX 2014-12-29 571
194 윈도우서버2008 - 03 (액티브디렉토리,XP환경) file [9] LynX 2012-11-28 573
193 Xpress Engine module_srl 과 mid 변환 LynX 2014-07-12 576
192 CentOS7 ▒ Doly의 CentOS7 강좌1 CentOS7 file [8] LynX 2014-10-23 576
191 APM php.ini 정리 file LynX 2014-05-17 579
190 CentOS postfix dovecot roundcube [10] LynX 2015-05-08 582

XE Login