タグ

CentOSに関するplasma0713のブックマーク (12)

  • CentOS7 での LANG の設定 - tatsuyafwの日記

    背景 CentOS7 をインストールして色々と弄っていると言語が日語になっていることに気が付き、LANG を en_US.UTF-8に修正したく思いました。しかし、CentOS6 にはあった /etc/sysconfig/i18n のファイルが無く戸惑いました。 方法 CentOS7のlocaleの設定を忘れないようにメモしておきます 設定 $ localectl set-locale LANG=en_US.utf8 確認 $ localectl status System Locale: LANG=en_US.utf8 VC Keymap: jp106 X11 Layout: jp 設定ファイルは /etc/locale.conf で上記の設定コマンドを実行するとこのファイルの中身が書き換わるようです

    CentOS7 での LANG の設定 - tatsuyafwの日記
    plasma0713
    plasma0713 2023/11/30
    “設定ファイルは /etc/locale.conf で上記の設定コマンドを実行するとこのファイルの中身が書き換わるようです”
  • CentOS7でYumを使って最新版gitを導入する - Qiita

    CentOSでは普通にYumでインストールされるgitのバージョンは1.8.3あたりと、かなり古いものになっています。 やっぱり最新版使いたいよな~ でもソースからビルドするのは嫌だしな~ といった感じで、どうにかしてYumでgitの最新版をインストールするというのが目的です。 概要 環境 CentOS 7.8 手順 正直コレも結果論ですが、以下の手順で最新版がインストールできます。 1.x系のgitをアンインストールする gitの最新版パッケージが登録されている「IUSリポジトリ」をインストール(登録)する IUSリポジトリにない依存関係のパッケージを手動でインストールする IUSリポジトリからgitの最新版をインストールする 結果論 時間のない方向けで、説明を全て省略した形です。 こんな感じでコマンドを叩くとインストールできました。 $ sudo yum -y remove git $

    CentOS7でYumを使って最新版gitを導入する - Qiita
  • yumコマンド実行時に Cannot retrieve repository metadata と出て失敗する(CentOS 6.4) - Qiita

    # yum update Loaded plugins: fastestmirror, security Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again # ■診察結果 CentOS 6.X系のyumレポジトリの場所が変わってしまっているので、変えてあげましょう。 今回は変更先と

    yumコマンド実行時に Cannot retrieve repository metadata と出て失敗する(CentOS 6.4) - Qiita
  • CentOS 7ではまったこと:/var/run直下のディレクトリが消える - 情シス - 雑多メモ

    CentOS7 系の /var/run ディレクトリは /run ディレクトリのシンボリックリンク、 実態の/runディレクトリは tmpfs ファイルシステムでマウントされています。 $ ls -ld /var/run lrwxrwxrwx. 1 root root 6 2月 18 2016 /var/run -> ../run $ df -k ファイルシス 1K-ブロック 使用 使用可 使用% マウント位置 /dev/mapper/centos-root 8869888 1055424 7814464 12% / devtmpfs 498144 0 498144 0% /dev tmpfs 508388 0 508388 0% /dev/shm tmpfs 508388 6600 501788 2% /run tmpfs 508388 0 508388 0% /sys/fs/cgrou

    CentOS 7ではまったこと:/var/run直下のディレクトリが消える - 情シス - 雑多メモ
  • /var/log/cloud-init-output.log is not present on RHEL 7.5

    I've got a custom hardended RHEL 7.5 custom AMI. I want to use user data to complete some deploy time configuration. I've already ensured that /var/lib/cloud/* is removed before I create the AMI. These are the contents of my user data: echo "My script fired." >> /tmp/test.txt echo "This line should produce an output log." The file /tmp/test.txt is present, indicating the my script did indeed run.

    /var/log/cloud-init-output.log is not present on RHEL 7.5
  • [CentOS]CentOS7でのロケール(locale)の確認及び変更 | Zero Configuration


    CentOS7systemd  CentOS7 CentOS7(locale)localectl 使 localectlhelp # localectl --help localectl [OPTIONS...] COMMAND ... Query or change system locale and keyboard settings. -h --help Show this help --version Show package version --no-convert Don't convert keyboard
  • RHEL7/CentOS7でのちょっとした設定など | Works | URAMIRAIKAN


    OS使 使 RHEL7/CentOS7  "localectl"使  # echo $LANG en_US.utf8 # localectl status System Locale: LANG=en_US.utf
  • rsyslogが出力してくれなかった話(CentOS 7) - Qiita


    PostfixCentOS 7  Cent OS 7VPS(Postfix+Dovecot)/var/log/maillog/var/log/messages # /var/log/messages Dec 28 19:21:55 extentity rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="1403" x-info="http://www.rsyslog.com"] start Dec 28
    rsyslogが出力してくれなかった話(CentOS 7) - Qiita
  • CentOSへGuest Additionsをインストールしたときのエラー対処方法

    CentOS 5.5へGuest Additionsをインストールしたときの内容です。 VirtualBoxのバージョンは4.3.10です。 エラーの内容 Guest AdditionsのCDイメージを挿入後、次のコマンドでマウントします。 # mount -t iso9660 /dev/cdrom /mnt mount: ブロックデバイス /dev/cdrom は書き込み禁止です、読込み専用でマウントします 次のコマンドでGuest Additionsのインストールを実行するとエラーになりました。 # sh /mnt/VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 4.3.10 Guest Additions for Linux............ Vir

    CentOSへGuest Additionsをインストールしたときのエラー対処方法
  • RHEL7/CentOS7でipコマンドをマスター - めもめも


     RHEL7/CentOS7ifconfigroutenetstatarp使net-tools # yum -y install net-tools  RHEL7/CentOS7net-toolsdeprecatediproute2ipss使 RHEL7net-tools ifconfig  RHEL7/CentOS7iproute2
    RHEL7/CentOS7でipコマンドをマスター - めもめも
  • CentOS 6.xのgitコマンドはhttpアクセスで認証が必要なときにプロンプトを出さずに401エラーを出す? - torutkのブログ

    先日、RedmineとGitを連携させる(認証統合) - torutkの日記 でGitリポジトリをHTTP経由でアクセスする設定を書きました。その設定で、新たにGitリポジトリを構築したサーバーにアクセスすると、次のようにエラーとなります。 OSのバージョンとgitのバージョン $ cat /etc/redhat-release CentOS release 6.3 (Final) $ git --version git version 1.7.1 HTTP経由でリポジトリのクローンを試みる $ git clone http://gito.example.org/git/basicauthen.git Initialized empty Git repository in /home/hogehoge/work/basicauthen/.git/ error: The requested

    CentOS 6.xのgitコマンドはhttpアクセスで認証が必要なときにプロンプトを出さずに401エラーを出す? - torutkのブログ
  • 「CentOS 5.11」リリース | OSDN Magazine


    CentOS930Red Hat Enterprise LinuxRHEL 5.11LinuxCentOS 5.112 CentOSRHELLinuxRed HatRHEL1Red HatRed HatCentOS77CentOS 7 CentOS 5.11RHEL 5.11RHEL 5.11LSI MegaRAID SAS 9360/
    「CentOS 5.11」リリース | OSDN Magazine
  • 1