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 조회 수
249 Programing ActiveX 설치 안될 경우 file LynX 2014-06-13 446
248 HardWare usb 초기화 - diskpart file LynX 2014-06-17 426
247 Server OpenSSL LynX 2014-06-19 986
246 Linux Linux 파티션 file LynX 2014-06-25 397
245 Linux CentOS (5.x, 6.x) - Apache Web Server 2.4 file LynX 2014-06-26 684
» Linux Fedora 크롬 루트로 실행 LynX 2014-06-27 645
243 Linux Linux Apache 2.4 설치 LynX 2014-06-27 286
242 Linux Fedora20 바탕화면 아이콘 설정 file LynX 2014-06-27 328
241 Linux Install PHP 5.5.13 modules LynX 2014-06-27 11866
240 Linux Install Adobe Flash Player 11.2 on CentOS/RHEL 6.5 file LynX 2014-06-28 2286
239 Linux Centos 동영상플레이어 LynX 2014-06-29 755
238 Linux Linux Telnet, SSH 설치 LynX 2014-06-30 843
237 Linux CentOS 텔넷 접속시 한글꺠짐 현상 제거 LynX 2014-06-30 486
236 Linux 리눅스에 곰플레이어 설치하기 file LynX 2014-07-01 536
235 Linux MySQL 5.1.73 바이너리 설치 LynX 2014-07-02 1049
234 Linux GLIBCXX LynX 2014-07-02 323
233 Linux cent OS 4.2 설치 메뉴얼 LynX 2014-07-02 1243
232 Linux centOS FTP서버 구축 file LynX 2014-07-03 1592
231 Linux VSFTP 가상유저 설정 LynX 2014-07-03 357
230 Linux Linux 부팅시 X-Window 모드 또는 Text모드 선택법 LynX 2014-07-04 378

XE Login