LoginSignup
2
0

More than 1 year has passed since last update.

debian9 環境設定 再度新しいPCにインストールする

Last updated at Posted at 2022-02-16

今回の要求事項に沿ってインストールしたもの

LinuxからWindows共有フォルダへアクセス

Linuxから共有フォルダへアクセスする
apt install cifs-utils

前回行ったはずですが、記録が残ってないもの

  • このようなリポジトリから更新を安全に行うことができないので、デフォルトでは更新が無効になっています。
    /etc/apt/sources.list の修正 これをしておかないと apt -y apdate apt -y apgrade ができない

  • ユーザの追加
    adduser --shell /bin/bash --home /home/admin admin

  • tukubaiと自作したコマンドをリモートコピーしたい。けどエラーなんですよね。

scp .: not a regular file

やっとわかった。
このエラーが発生する可能性のある1つの方法は、次のように最初のパスの前にスペースがある場合です。

scp myUserName@HostName: /path/to/file  /path/to/new/file  

修正するには、スペースを削除します。

scp myUserName@HostName:/path/to/file  /path/to/new/file

scp gives "not a regular file"

何故かmake コマンドが無いというエラー
apt install build-essential

VIMでなくて、VIになっていた
apt -y install vim

前回した設定で記録が残っていた分

apt-get install apache2 

設定は
https://www.server-world.info/query?os=Debian_9&p=httpd&f=1

apt-get install php php-cgi libapache2-mod-php php-common php-pear php-mbstring php-cli

openssl
apt-get install openssl

apt-get install curl

apt-get install python2.7

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0