总目录:三阴性乳腺癌全外显子分析(wes)
请点击这里看生信技能树的视频
1查看cpu信息
yinli@pc-System-Product-Name:~$ cat /proc/cpuinfo |grep pro
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
processor : 8
processor : 9
processor : 10
processor : 11
processor : 12
processor : 13
processor : 14
processor : 15
processor : 16
processor : 17
processor : 18
processor : 19
processor : 20
processor : 21
processor : 22
processor : 23
processor : 24
processor : 25
processor : 26
processor : 27
processor : 28
processor : 29
processor : 30
processor : 31
yinli@pc-System-Product-Name:~$ cat /proc/cpuinfo |grep pro|wc
32 96 470
yinli@pc-System-Product-Name:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 2.3M 6.3G 1% /run
/dev/nvme0n1p2 228G 10G 207G 5% /
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/loop0 13M 13M 0 100% /snap/gnome-characters/139
/dev/loop2 2.3M 2.3M 0 100% /snap/gnome-calculator/260
/dev/loop1 36M 36M 0 100% /snap/gtk-common-themes/1198
/dev/loop4 152M 152M 0 100% /snap/gnome-3-28-1804/36
/dev/loop3 141M 141M 0 100% /snap/gnome-3-26-1604/82
/dev/loop5 141M 141M 0 100% /snap/gnome-3-26-1604/74
/dev/loop6 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57
/dev/loop7 4.2M 4.2M 0 100% /snap/gnome-calculator/406
/dev/loop8 1.0M 1.0M 0 100% /snap/gnome-logs/61
/dev/loop9 90M 90M 0 100% /snap/core/6673
/dev/loop10 15M 15M 0 100% /snap/gnome-logs/45
/dev/nvme0n1p1 511M 6.1M 505M 2% /boot/efi
/dev/loop11 35M 35M 0 100% /snap/gtk-common-themes/818
/dev/loop12 91M 91M 0 100% /snap/core/6350
/dev/loop13 15M 15M 0 100% /snap/gnome-characters/254
/dev/loop14 54M 54M 0 100% /snap/core18/941
/dev/loop15 3.8M 3.8M 0 100% /snap/gnome-system-monitor/77
/dev/sda1 7.3T 5.3T 1.6T 78% /data
/dev/sdb1 7.3T 93M 6.9T 1% /public
/dev/sdd1 7.3T 570M 6.9T 1% /home
/dev/sdc1 7.3T 96G 6.8T 2% /project
tmpfs 6.3G 16K 6.3G 1% /run/user/121
tmpfs 6.3G 32K 6.3G 1% /run/user/1000
/dev/loop16 90M 90M 0 100% /snap/core/6818
/dev/loop17 15M 15M 0 100% /snap/gnome-characters/258
/dev/loop18 3.8M 3.8M 0 100% /snap/gnome-system-monitor/81
/dev/loop19 152M 152M 0 100% /snap/gnome-3-28-1804/40
2 创建账户
(base) pc@pc-System-Product-Name:~$ sudo adduser yl
[sudo] password for pc:
Adding user `yl' ...
Adding new group `yl' (1002) ...
Adding new user `yl' (1002) with group `yl' ...
Creating home directory `/home/yl' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for yl
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] y
(base) pc@pc-System-Product-Name:~$ su yl
Password:
yl@pc-System-Product-Name:/home/pc$
3 新账户权限设置
(base) pc@pc-System-Product-Name:~$ sudo mkdir /data/bio
(base) pc@pc-System-Product-Name:~$ sudo chmod 777 /data/bio
切换到刚才yl普通用户
(base) pc@pc-System-Product-Name:~$ su yl
Password:
yl@pc-System-Product-Name:/home/pc$ cd /data/bio
yl@pc-System-Product-Name:/data/bio$ ls
yl@pc-System-Product-Name:/data/bio$ touch tmp
yl@pc-System-Product-Name:/data/bio$ ls -lh
total 0
-rw-rw-r-- 1 yl yl 0 5月 16 19:45 tmp
yl@pc-System-Product-Name:/data/bio$ rm -rf tmp
4 为IP提供网页服务
pc@pc-System-Product-Name:/data/bio$ sudo apt install nginx
nginx可以给一个IP地址分配多个域名
(base) pc@pc-System-Product-Name:/data/bio$ cd /var/www/html/
(base) pc@pc-System-Product-Name:/var/www/html$ ls
index.nginx-debian.html
(base) pc@pc-System-Product-Name:/var/www/html$ sudo vim lab.html
写入'hello, world'
(base) pc@pc-System-Product-Name:/var/www/html$ cat /etc/apt/sources.list
5 安装R和Rstudio
安装后,浏览器输入
http://你的IP:8787/