1つは、ubuntu16.04がグラフィカルインターフェイスをインストールする
apt-get update
apt-get upgrade
apt-get install ubuntu-desktop
reboot
現時点ではゲストのみがログインできます
cd /usr/share/lightdm/lightdm.conf.d
chmod 777 50-ubuntu.conf
続行:vi 50-ubuntu.conf
文件 /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
修改前
[Seat:*]
user-session=ubuntu
修改后
[Seat:*]
user-session=ubuntu
greeter-show-manual-login=true
allow-guest=false
# 文件 /root/.profile
# 文件修改前
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
mesg n || true
# 文件修改后
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
tty -s && mesg n || true
2.基本的なコマンド
1.システムとカーネルを確認します
cat / etc / os-release
uname -mrs
2. CPU
grep "CPU" / proc / cpuinfoを確認します
3.実行時の
稼働時間
4.システムビット数を確認します
getconfLONG_BIT5
。ハードディスクを確認しますおよびパーティション
df-h
6.ソフトウェアのインストールとアンインストールは、centosおよびubuntuとは異なります。yumupdate#
システムの更新
yum makecache#ソフトウェアのソースキャッシュの更新
yum検索ソフトウェア名#検索ソフトウェア
yumインストールソフトウェア名#インストールソフトウェア
yum削除ソフトウェア名#アンインストールソフトウェア
7.ソフトウェア管理
サービスソフトウェア名start #start
サービスソフトウェア名restart#restart
サービスソフトウェア名stop
#closeサービスソフトウェア名status#status
8.ファイルとフォルダーの管理
タッチファイル名#ファイルの作成
mkdir –pa / b / c / d#フォルダーの再帰的な作成
cp aa bb #copyファイルmvaa
cc
#名前の変更またはコピーchmod 0755 d /#ディレクトリ権限
chown – Rユーザー名:ユーザーグループe /
#ディレクトリの所有権rm a.bc -rf#ファイル/フォルダの削除
9.ファイルのダウンロード
wgethttp:// downloadアドレス
wget https://mirrors.aliyun.com/centos/7.3.1611/isos/x86_64/CentOS-7-x86_64-DVD-1611.torrent
10.圧縮と解凍
圧縮:tar zcvf node-v4.5.0.tar.gz
解凍:tar zxvf node-v4.5.0.tar.gz