반응형

Linux mint 16 mate 에 크롬 설치하기


1. https://www.google.com/intl/ko/chrome/browser/ 에 접속하여 Ubuntu/debian 용 deb파일을 다운로드 합니다.

   이때 자신이 설치한 운영체제 bit 버전에 맞게 다운로드 합니다.


2. 다운로드 한 파일을 더블 클릭하여 설치 하여 되지 않을 경우 아래와 같이 터미널에서 설치를 진행 합니다.





# apt-get install libcurl3 libnspr4-0d libxss1

# dpkg -i google-chrome-stable_current_amd64.deb

반응형

Your PHP installation is too old. Drupal requires at least PHP 5.2.4. See the system requirements page for more information.



위와 같이 나오면서 drupal이 설치 되지 않았다. CentOS 5.10에 

yum으로 설치된 php 버전은  php-5.1.6-40.el5_9 ..


구글 검색하니 다음과 같은 방법으로 php-5.3.27-2.w5을 설치할 수 있었다.



출처 : 

http://www.rackspace.com/knowledge_center/article/how-to-installupgrade-php-53-for-centos-5x


How to install/upgrade PHP 5.3 for CentOS 5.x


The following article will guide you through installing PHP 5.3 on your CentOS 5.x-based system using the third partywebtatic and EPEL package repositories. These package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP. This guide does not attempt to install the officialphp53 package set as the available modules in that set are quite limited.

Install the extra repositories

The first step requires downloading and installing some RPM files that contain the additional repository definitions, which we'll do with the rpm command:

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm sudo rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm

Once installed you should see some additional repository definitions under the /etc/yum.repos.d directory.

$ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/webtatic.repo /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/webtatic.repo

Enable the webtatic repository

The webtatic repository provides a variety of up-to-date packages that are useful or are a requirement for many popular web-based services.  That means it generally is not a bad idea to enable the webtatic repository by default.

First, open the /etc/yum.repos.d/webtatic.repo repository file using a text editor of your choice,

sudo vim /etc/yum.repos.d/webtatic.repo

Edit the [webtatic] section of the file so that the enabled option is set to 1.  This will enable the remi repository.

[webtatic] name=Webtatic Repository $releasever - $basearch #baseurl=http://repo.webtatic.com/yum/centos/5/$basearch/ mirrorlist=http://repo.webtatic.com/yum/centos/5/$basearch/mirrorlist enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy

Installing the PHP 5.3 packages

This section will aim to install PHP 5.3 and any relevant additional modules that may be required. If you are upgrading from an older PHP version to PHP 5.3 please skip to the next section.

The following is an example of a single-shot command of the installation of PHP 5.3 and some common modules:

$ sudo yum install php php-cli php-gd php-mysql php-mbstring

The following is a sample trace output (make note of the package version and the repository):

... Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: php x86_64 5.3.20-1.w5 webtatic 1.4 M php-cli x86_64 5.3.20-1.w5 webtatic 2.6 M php-gd x86_64 5.3.20-1.w5 webtatic 108 k php-mbstring x86_64 5.3.20-1.w5 webtatic 1.2 M php-mysql x86_64 5.3.20-1.w5 webtatic 91 k Installing for dependencies: apr x86_64 1.3.12-1.w5 webtatic 102 k apr-util x86_64 1.3.12-1.w5 webtatic 84 k apr-util-ldap x86_64 1.3.12-1.w5 webtatic 15 k ... Transaction Summary ================================================================================ Install 26 Package(s) Upgrade 0 Package(s) ... warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID cf4c4ff9 webtatic/gpgkey | 1.6 kB 00:00 Importing GPG key 0xCF4C4FF9 "Andy Thompson <xx@xx.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy Is this ok [y/N]: y ...

To search for available PHP-related packages we can run the following command:

yum search php

Typically the names of php modules begin with php-. Be careful about any packages that start with php53- as these will conflict with the webtatic versions.

Once you've installed PHP and any required supporting modules, skip to the "Last Steps" section below.

Upgrading to PHP 5.3 packages

If you already have PHP installed the upgrade steps are slightly different.

Warning: Before performing this upgrade please take the time to do a full backup of your system. The upgrade should generally be straightforward, but this will depend on the existing package state of your system.

To upgrade php, run:

$ rpm -q php php-5.1.6-27.el5_5.3 $ sudo yum upgrade php ... Dependencies Resolved =================================================================================== Package Arch Version Repository Size =================================================================================== Updating: php x86_64 5.3.20-1.w5 webtatic 1.4 M Installing for dependencies: ... Updating for dependencies: php-cli x86_64 5.3.20-1.w5 webtatic 2.6 M php-gd x86_64 5.3.20-1.w5 webtatic 108 k php-mbstring x86_64 5.3.20-1.w5 webtatic 1.2 M php-mysql x86_64 5.3.20-1.w5 webtatic 91 k Transaction Summary =================================================================================== ... $ rpm -q php php-5.3.20-1.w5

The above commands will check the installed PHP version then update the existing php package and any associated packages to the 5.3 version in the webtatic and epel repositories.

Last steps

At this point you should have PHP 5.3 installed using the webtatic package repository. The last thing to do is to restart apache if it is currently running so that the new PHP version is loaded.

$ sudo /etc/init.d/httpd restart

A quick confirmation from the terminal should let you check the PHP version:

$ php -v PHP 5.3.20 (cli) (built: Dec 20 2012 18:11:02) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies



반응형

http://vault.centos.org/


반응형

출처 : http://kwanseob.blogspot.kr/2013/02/zip.html


우분투(리눅스)에서 zip 파일 압축 해제시 한글 깨짐 문제 해결 방법

윈도우를 이용하던 리눅스를 이용하던 압축파일은 자주 접하게 된다. 하지만 리눅스 환경에서 한글로 구성된 제목을 이루고 있는 파일들의 경우 압축을 하제할 경우 문자가 이상하게 나타난다.
이 문제는 문자의 인코딩과 관련한 문제로 한글의 특수한 구조 때문에 발생하게 되는 것이다. 이를 해결하기 위해서는 문자열을 직접 지정해주면 된다.

일반적인 zip 파일의 압축 하제를 위해서는 unzip 명령어를 이용한다.
$ unzip [파일명]

여기에 문자 인코딩을 직접 지정하면
$unzip -O [인코딩] [파일명]  ==>  $unzip -O cp949 ???.zip

위의 방법을 이용하면 한글의 깨짐 없이 무사히 압축을 해제할 수 있다.
하지만 문자열 인코딩 종류를 일일이 지정하는 방법은 번거롭다. 그리고 명령어에서 인코딩 종류를 지정하는 방식은 터미널을 통한 과정에서만 이용 가능하다. 이런 불편함들은 profile을 수정하는 과정을 통해 해결 가능하다.

관리자 권한을 획득한다.
$ sudo -s       or       $ su -

profile 파일을 에디터를 통해 오픈한다.
# vi /etc/profile        or        # gedit /etc/profile

파일의 마지막 줄에 다음의 문자열들을 추가한다.
 export UNZIP="-O cp949"
 export ZIPINFO="-O cp949"

이제 재부팅하면 마우스 오른쪽 클릭을 통해서 압축을 해제해도 한글이 깨지지 않게 될 것이다.



반응형

 

NanumBarunGothic.ttf

 

NanumBarunGothicBold.ttf

 

NanumFontSetup_TTF_BARUNGOTHIC_hangeulcamp.exe

 

리눅스에서 쓰고 싶은데 exe파일로만 올려 두면 ㅠㅠ

 

그래수 추출 ^^

반응형


fstab 저장해서 잘 마운트 되던 ntfs 파티션이 부팅 시 마운트 되지 않았다.

수동으로 터미널에서 마운트 하니 아래와 같은 에러 메시지가 나온다.

laptop root # mount -t ntfs /dev/sdb2 /media/hdd_ntfs/

Windows is hibernated, refused to mount.

Failed to mount '/dev/sdb2': Operation not permitted

The NTFS partition is in an unsafe state. Please resume and shutdown

Windows fully (no hibernation or fast restarting), or mount the volume

read-only with the 'ro' mount option.



검색하여 보니 나같은 사람이 있었다.

I cannot mount Windows 8 partition disk on Ubuntu 12.10.

My Windows 8 is installed on "C" partition, and I have another "D" partition.

I can easily mount "D" partition, see files and make changes on them.
Actually I also have a problem with this: when I copy a file from ubuntu to "D", I cannot see this file on Windows 8.

My main problem is when I try to mount "C" partition I get this:

Unable to mount 121 GB Volume
Error mounting /dev/sda3 at /media/furkan/06DEC78FDEC77589: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda3" "/media/furkan/06DEC78FDEC77589"' exited with non-zero exit status 14: Windows is hibernated, refused to mount. Failed to mount '/dev/sda3': Operation not permitted The NTFS partition is hibernated. Please resume and shutdown Windows properly, or mount the volume read-only with the 'ro' mount option, or mount the volume read-write with the 'remove_hiberfile' mount option. For example type on the command line:

        mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /media/furkan/06DEC78FDEC77589



해결 방법은 간단했다. 윈도우로 부팅 해서 커맨드 명령어로 종료하면 되었다.


Windows 8 uses hybrid shutdown by default. It means that it will just close most applications and hibernate to start faster next time. And hibernated Windows partitions can't be mounted.

There are few solutions:

  • disable hybrid shutdown completely
  • shutdown Windows from command line (or simply by typing on the Start screen, or with a shortcut to this command): shutdown /s /t 0
  • reboot to Ubuntu - reboot is always using complete shutdown



Turn_Off_Fast_Startup.bat


Turn_On_Fast_Startup.bat



반응형

Here are the commands to run to add MariaDB to your system:

sudo apt-get install python-software-properties sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/5.5/debian wheezy main'

Once the key is imported and the repository added you can install MariaDB with:

sudo apt-get update sudo apt-get install mariadb-server

See Installing MariaDB .deb Files for more information.

You can also create a custom MariaDB sources.list file. To do so, copy and paste the following into a file under /etc/apt/sources.list.d/(we suggest naming the file MariaDB.list or something similar), or add it to the bottom of your /etc/apt/sources.list file.

# MariaDB 5.5 repository list - created 2013-09-25 20:12 UTC # http://mariadb.org/mariadb/repositories/ deb http://ftp.kaist.ac.kr/mariadb/repo/5.5/debian wheezy main deb-src http://ftp.kaist.ac.kr/mariadb/repo/5.5/debian wheezy main





다음 리눅스에 maria db를 설치하려면  아래 링크를 참조 하면 됩니다.

https://downloads.mariadb.org/mariadb/repositories/

  • Arch Linux
  • CentOS
  • Debian
  • Fedora
  • Mageia
  • Mint
  • openSUSE
  • RedHat
  • Ubuntu


반응형

http://www.google.com/chrome?platform=linux

https://www.google.com/intl/en/chrome/browser/?platform=linux

+ Recent posts