随笔分类 -  CentOS

摘要:一、安装宝塔: CentOS下命令(https://www.bt.cn/bbs/thread-1186-1-1.html) 二、安装阿里安骑士(非阿里云服务器) 32位: 64位: 阅读全文
posted @ 2017-12-26 14:53 泡面 @ 幸福 阅读(2124) 评论(0) 推荐(0)
摘要:查看某个命令YUM上的安装源 1)当某个命令不存时进行查询所依赖的包,如:pstree [root@localhost ~]# yum provides pstree 已加载插件:fastestmirror Loading mirror speeds from cached hostfile * b 阅读全文
posted @ 2017-12-26 14:38 泡面 @ 幸福 阅读(497) 评论(0) 推荐(0)
摘要:一、自动获取IP地址 #dhclient 自动获取ip地址命令 #ifconfig 查询系统里网卡信息,ip地址、MAC地址 [root@CentOS6 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 内容如下: DEVICE=eth0 HWADDR 阅读全文
posted @ 2017-12-26 14:34 泡面 @ 幸福 阅读(165) 评论(0) 推荐(0)
摘要:[root@CentOS6 /]# mount /dev/cdrom /mnt mount: block device /dev/sr0 is write-protected, mounting read-only [root@CentOS6 /]# cd /mnt [root@CentOS6 mn 阅读全文
posted @ 2017-12-26 13:57 泡面 @ 幸福 阅读(749) 评论(0) 推荐(0)
摘要:一、环境 CentOS6.5 64位 VMware 14 Pro XSHEEL 5 build 1333 宝塔Linux面板 二、生成XSHELL密钥 三、上传公钥到服务器,并配置 1、上传vCentOS6_64.pub到/root/.ssh文件夹下面,如果没有自行建立,并更名为authorized 阅读全文
posted @ 2017-12-26 12:06 泡面 @ 幸福 阅读(922) 评论(0) 推荐(0)