Ubuntu

Thumbnail of post image 090

nohup python *.py& などでバックグラウンド実行した後にプログラムを停止する場合、以下の二通りの方法が考えられる。

安全な停止

jobsコマンドでバックグラウンド実行しているジョブを確認。先頭の, が ...

Linux,Ubuntu

Thumbnail of post image 006
# 現在のタイムゾーンを確認。現在はUTCだ。$ dateSun Sep 6 11:35:37 UTC 2020# システムに日本のタイムゾーンがあるかを確認。$ timedatectl list-timezones | grep -i t ...

Ubuntu

Thumbnail of post image 106

sudo fdisk -l でディスクが認識されているかと,パス(/dev/xvdfなど)を確認

sudo vim/etc/fstabでディスクのパスとマウントポイントを指定.

/etc/fst ...

Ubuntu

Thumbnail of post image 088

対策

chmod 1777/tmp

github.com

経緯

dockerで立てたコンテナでapt-get updateを打ち込むと,

W: GPG error: xenial InRelease: Co ...

Ubuntu

Thumbnail of post image 168

困りごとsudo dpkg-reconfigure keyboard-configuration

Ubuntu16.04で上のコマンドをうちこんでも再起動の度に設定がリセットされてしまう。

対象法

設定ファイルを直接変更

Python,Ubuntu

Thumbnail of post image 057

$ sudo mv/usr/bin/python/usr/bin/python2$ sudo ln -s/usr/bin/python3/usr/bin/python$ python --version

Python2とPython3が ...

Ubuntu

Thumbnail of post image 126

$ sudo su -# passwdEnter new UNIX password: Retype new UNIX password: passwd: password updated successfully

Ubuntu

Thumbnail of post image 165

chmodの後の数字は所有者, グループ, その他の順にそれぞれ0から7の整数で表される.

それぞれの数字は以下を加算して求める.

読み込みが可能 4

書き込みと変更が可能 2

実行が可 ...

Neo4j,Ubuntu

Thumbnail of post image 142

Neo4j のインストール

リポジトリキーを取得し、aptリストに追加

$ wget --no-check-certificate -O - | sudo apt-key add -$ sudo apt-get update$ ...

Linux,Ubuntu

Thumbnail of post image 171

Ubuntu GNOME 16.04 LTS のインストール
日本語のフォルダ名を英語に変換
Linux kernel header のインストールを行う
CUDA9.1 のインストール
NVIDIA drivers ...