wmsu@wmsu:~$ cd /usr/local/openresty/nginx/html/
wmsu@wmsu:/usr/local/openresty/nginx/html$ ls
50x.html ACCfg a.txt dist dist1 ifemedia index.html lost+found media
wmsu@wmsu:/usr/local/openresty/nginx/html$ rm dist
rm: cannot remove ‘dist’: Is a directory
wmsu@wmsu:/usr/local/openresty/nginx/html$ rm dist1
rm: cannot remove ‘dist1’: Is a directory
wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo rm dist
[sudo] password for wmsu:
rm: cannot remove ‘dist’: Is a directory
wmsu@wmsu:/usr/local/openresty/nginx/html$ cd dist
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ ls
css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ rm -r dist
rm: cannot remove ‘dist’: No such file or directory
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ cd …
wmsu@wmsu:/usr/local/openresty/nginx/html$ ls
50x.html ACCfg a.txt dist dist1 ifemedia index.html lost+found media
wmsu@wmsu:/usr/local/openresty/nginx/html$ rm dist
rm: cannot remove ‘dist’: Is a directory
wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo rm dist
rm: cannot remove ‘dist’: Is a directory
wmsu@wmsu:/usr/local/openresty/nginx/html$ cd dist
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ ls
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ chmod 777 *
chmod: cannot access ‘*’: No such file or directory
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ cd …
wmsu@wmsu:/usr/local/openresty/nginx/html$ mv dist dist2
mv: cannot move ‘dist’ to ‘dist2’: Permission denied
wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo mv dist dist2
wmsu@wmsu:/usr/local/openresty/nginx/html$ ls
50x.html ACCfg a.txt dist1 dist2 ifemedia index.html lost+found media
wmsu@wmsu:/usr/local/openresty/nginx/html$ cd ~
wmsu@wmsu:~$ ls
0 ftp_upload_log.sh nwmsucms.war telnet.cap unzip60.tar.gz
admin html OpenResty telnet_curl vac_cfg_3.00.01.deb
backup.cfg JDK outerConfig.properties test_bin vac_relay
daemontools-0.76.tar.gz msu-verC p test.sh wlan-2.cfg
deb_repo myredirect.lua pelinux_amd64_80.tar.gz test_telnet WMSUBit_3.00.02.deb
dhcp.pcap nwebapp pelnx_670.tar.gz tomcat WMSUBit.sh
dist nwebapp.sh snapshot unzip60
wmsu@wmsu:~$ cd /home/wmsu
wmsu@wmsu:~$ ls
0 ftp_upload_log.sh nwmsucms.war telnet.cap unzip60.tar.gz
admin html OpenResty telnet_curl vac_cfg_3.00.01.deb
backup.cfg JDK outerConfig.properties test_bin vac_relay
daemontools-0.76.tar.gz msu-verC p test.sh wlan-2.cfg
deb_repo myredirect.lua pelinux_amd64_80.tar.gz test_telnet WMSUBit_3.00.02.deb
dhcp.pcap nwebapp pelnx_670.tar.gz tomcat WMSUBit.sh
dist nwebapp.sh snapshot unzip60
wmsu@wmsu:~$ sudo mv dist /usr/local/openresty/nginx/html
wmsu@wmsu:~$ cd /usr/local/openresty/nginx/html
wmsu@wmsu:/usr/local/openresty/nginx/html$ ls
50x.html ACCfg a.txt dist dist1 dist2 ifemedia index.html lost+found media
wmsu@wmsu:/usr/local/openresty/nginx/html$ cd dist
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ chmod 777 *
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ ls
css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js version.txt
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ vi /usr/local/openresty/nginx/conf/nginx.conf
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ systemctl restart openresty
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart ‘openresty.service’.
Authenticating as: wmsu, (wmsu)
Password:
==== AUTHENTICATION COMPLETE ===
wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ cd …
wmsu@wmsu:/usr/local/openresty/nginx/html$ ls
50x.html ACCfg a.txt dist dist1 dist2 ifemedia index.html lost+found media
wmsu@wmsu:/usr/local/openresty/nginx/html$ rm -rf dist1
rm: cannot remove ‘dist1’: Permission denied
wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo rm -rf dist1
wmsu@wmsu:/usr/local/openresty/nginx/html$ ls
50x.html ACCfg a.txt dist dist2 ifemedia index.html lost+found media
wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo rm -rf dist2
wmsu@wmsu:/usr/local/openresty/nginx/html$ ls
50x.html ACCfg a.txt dist ifemedia index.html lost+found media
ftp怎么上传文件到服务器上?
在左侧点击下拉框,打开要上传文件所在的目录。
右击要上传的文件,选择“传输”,就会自动传到服务器目录上了
原来目录没有权限
得打开home底下的wmsu上传成功,移过去
上传时先备份
远程站点的文件如何移动?
下载一个Xshell
\172.16.30.11\share
yanfengting
123456
点击左上角的新建,然后出来服务器信息页面,在这里需要填写的是:
-
连接名称
-
服务器IP
-
服务器端口(默认22)
填写完毕后,点击确定,保存配置,回到连接页面,可以看到多了一个测试服务器的连接。
完整:https://jingyan.baidu.com/article/e75057f210c6dcebc91a89dd.html
详细步骤:10.191.1.2
sudo -i
[sudo] password for wmsu:
root@wmsu:~# cd /usr/local/openresty/nginx/html/
root@wmsu:/usr/local/openresty/nginx/html# ls
dist dist1 lost+found
root@wmsu:/usr/local/openresty/nginx/html# cd dist
root@wmsu:/usr/local/openresty/nginx/html/dist# ls
css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt
root@wmsu:/usr/local/openresty/nginx/html/dist# chmod 777 *
root@wmsu:/usr/local/openresty/nginx/html/dist# ls
css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt
root@wmsu:/usr/local/openresty/nginx/html/dist# cd /usr/local/openresty/nginx/conf
root@wmsu:/usr/local/openresty/nginx/conf# ls
fastcgi.conf koi-utf nginx.conf uwsgi_params
fastcgi.conf.default koi-win nginx.conf.default uwsgi_params.default
fastcgi_params mime.types scgi_params win-utf
fastcgi_params.default mime.types.default scgi_params.default
root@wmsu:/usr/local/openresty/nginx/conf# vi nginx.conf
systemctl restart openresty
shell命令
命令cd——更改目录
cd ~ 切换到主目录
cd /tmp 切换到目录/tmp
cd dir 切换到当前目录下的dir目录
cd / 切换到根目录
cd … 切换到到上一级目录
cd …/… 切换到上二级目录
cd ~ 切换到用户目录,比如是root用户,则切换到/root下
命令mv——移动和重命名文件
mv aflie bfile 将afile重命名为bfile
mv afile /tmp 把当前目录下的afile移动到/tmp/目录下
进入/home/wmsu 把当前目录下的dist移动到/usr/local/openresty/nginx/html目录下
cd /home/wmsu 切换到目录/tmp
mv dist /usr/local/openresty/nginx/html/
cp dist /home/bible/ 把文件dist从当前目录复制到/home/bible/目录下
sudo mv dist dist1 修改/usr/local/openresty/nginx/html下的dist为dist1
ls
sudo -i 为了频繁的执行某些只有超级用户才能执行的权限,而不用每次输入密码,可以使用该命令。提示输入密码时该密码为当前账户的密码。没有时间限制。执行该命令后提示符变为“#”而不是“$”。想退回普通账户时可以执行“exit”或“logout” 。
wmsu@wmsu:~$ ls
0 endpoint mytelnet pelinux smartmontools_5.41.deb test_telnet vac_relay
Common ixia.cap nginx02 ping_1.cap sql test_telnet2 wlan-2.cfg
dist Master Packages restoreSW.sh telnet_demo.py test_telnet.py WMSUBit_3.00.02.deb
wmsu@wmsu:~$ sudo -i
[sudo] password for wmsu:
进入目录 /usr/local/openresty/nginx/html/
root@wmsu:/home/wmsu# cd /usr/local/openresty/nginx/html/
root@wmsu:/usr/local/openresty/nginx/html# ls
dist lost+found
root@wmsu:/usr/local/openresty/nginx/html# cd dist/
root@wmsu:/usr/local/openresty/nginx/html/dist# ls
css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt
进入目录/home/wmsu/
root@wmsu:/usr/local/openresty/nginx/html/dist# cd /home/wmsu/
root@wmsu:/home/wmsu# ls
0 endpoint mytelnet pelinux smartmontools_5.41.deb test_telnet vac_relay
Common ixia.cap nginx02 ping_1.cap sql test_telnet2 wlan-2.cfg
dist Master Packages restoreSW.sh telnet_demo.py test_telnet.py WMSUBit_3.00.02.deb
root@wmsu:/home/wmsu# cd dist/
root@wmsu:/home/wmsu/dist# ls
css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt
root@wmsu:/home/wmsu/dist# cd /usr/local/openresty/nginx/html/
root@wmsu:/usr/local/openresty/nginx/html# ls
dist lost+found
root@wmsu:/usr/local/openresty/nginx/html# mv dist/ dist1
root@wmsu:/usr/local/openresty/nginx/html# ls
dist1 lost+found
root@wmsu:/usr/local/openresty/nginx/html# cd /home/wmsu/
root@wmsu:/home/wmsu# mv dist/ /usr/local/openresty/nginx/html/
root@wmsu:/home/wmsu# cd /usr/local/openresty/nginx/html/
root@wmsu:/usr/local/openresty/nginx/html# ls
dist dist1 lost+found
root@wmsu:/usr/local/openresty/nginx/html# rm dist1/
rm: cannot remove ‘dist1/’: Is a directory
root@wmsu:/usr/local/openresty/nginx/html# cd dist1
root@wmsu:/usr/local/openresty/nginx/html/dist1# ls
css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt
root@wmsu:/usr/local/openresty/nginx/html/dist1# rm turn.min.js
root@wmsu:/usr/local/openresty/nginx/html/dist1# l
css/ favicon.ico fonts/ img/ index.html jquery.min.1.7.js js/ ?汾.txt
root@wmsu:/usr/local/openresty/nginx/html/dist1# rm *
rm: cannot remove ‘css’: Is a directory
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数前端工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
因此收集整理了一份《2024年Web前端开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上前端开发知识点,真正体系化!
由于文件比较大,这里只是将部分目录大纲截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新
如果你觉得这些内容对你有帮助,可以添加V获取:vip1024c (备注前端)
总结
=============================================================
从转行到现在,差不多两年的时间,虽不能和大佬相比,但也是学了很多东西。我个人在学习的过程中,习惯简单做做笔记,方便自己复习的时候能够快速理解,现在将自己的笔记分享出来,和大家共同学习。
个人将这段时间所学的知识,分为三个阶段:
第一阶段:HTML&CSS&JavaScript基础
第二阶段:移动端开发技术
第三阶段:前端常用框架
-
推荐学习方式:针对某个知识点,可以先简单过一下我的笔记,如果理解,那是最好,可以帮助快速解决问题;如果因为我的笔记太过简陋不理解,可以关注我以后我还会继续分享。
-
大厂的面试难在,针对一个基础知识点,比如JS的事件循环机制,不会上来就问概念,而是换个角度,从题目入手,看你是否真正掌握。所以对于概念的理解真的很重要。
&CSS&JavaScript基础
第二阶段:移动端开发技术
第三阶段:前端常用框架
-
推荐学习方式:针对某个知识点,可以先简单过一下我的笔记,如果理解,那是最好,可以帮助快速解决问题;如果因为我的笔记太过简陋不理解,可以关注我以后我还会继续分享。
-
大厂的面试难在,针对一个基础知识点,比如JS的事件循环机制,不会上来就问概念,而是换个角度,从题目入手,看你是否真正掌握。所以对于概念的理解真的很重要。