linux
文章平均质量分 74
@进行中
qq 1171901273
展开
-
在linux中安装ftp服务器
vsftpd 是very secure FTP daemon 的缩写,安全性是它的一个最大的特点。linux中安装ftp服务器 yum install vsftpd 输入y设置不能匿名登录 vi /etc/vsftpd/vsftpd.conf anonymous_enable=YES,将"YES"改为"No"设置开机自启 chkconfig vs...原创 2018-08-27 21:42:27 · 413 阅读 · 0 评论 -
在linux中安装flume
安装flume的前提是先安装hadoop下载flume安装包 ,我安装的是1.6.0的jdk是1.7,试过安装1.8.0的不行,和jdk1.7不匹配wgethttp://archive.apache.org/dist/flume/1.6.0/然后进入flume的目录,新增文件。conf下的flume-env.sh,在里面配置JAVA_HOME先用一个最简单的例子来测试一...原创 2019-01-18 16:27:34 · 2631 阅读 · 0 评论 -
secureCRT8.3多个终端上同时执行同个命令
同时对多个linux服务器进行同样的操作怎么办,secureCRT就能解决这个问题。在对话框中邮件,选中all sesseion原创 2019-01-08 11:22:40 · 2272 阅读 · 0 评论 -
在CentOS中安装eclipse
首页下载eclipse的linux版本,地址https://pan.baidu.com/s/12Q3Se0TMa3IozDCSHfPXRQ中的eclipse-jee-indigo-SR2-linux-gtk-x86_64.tar1、linux桌面任意空白处点击鼠标右键,选择create Launcher2、输入Name:eclipse 3、找到Command找到eclipse...原创 2019-01-14 11:33:04 · 2957 阅读 · 0 评论 -
CentOS安装yum
yum安装后出现Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfileSetting up Install ProcessNo package gcc available.Error: Nothing to do如果网路良好先检查1. c...原创 2019-01-09 10:05:56 · 1180 阅读 · 0 评论 -
安装sqoop-1.4.7
安装sqoop-1.4.7,前提是必须有hadoop环境,我的是hadoop2.6.5版本wget http://mirror.bit.edu.cn/apache/sqoop/1.4.7/sqoop-1.4.7.bin__hadoop-2.6.0.tar.gz存放路径 /usr/local/sqoop//usr/local/sqoop/sqoop1.4.7安装目录配置 将...原创 2019-01-21 14:37:41 · 292 阅读 · 0 评论 -
在linux中安装mysql5.6,设置开机自启,设置utf-8编码,Navicat能访问
1.检测系统是否自带安装mysql # yum list installed | grep mysql2.如果发现有系统自带mysql,删除 # yum -y remove mysql-libs.x86_643.随便在你存放文件的目录下执行,mysql5.6只有79M大, # wget http://repo.mysql.com/mysql-community-r...原创 2018-08-23 21:00:29 · 2431 阅读 · 0 评论 -
安装zookeeper集群
https://archive.apache.org/dist/这个地址提供apache项目的下载页面,你只需要找到你需要的项目,点击进去就是项目对应的下载页面下载zookeeper 地址http://archive.apache.org/dist/,根据需求下载对应的版本wget http://archive.apache.org/dist/zookeeper/zookeeper-3....原创 2019-02-18 11:44:34 · 1676 阅读 · 0 评论 -
安装Python2.6.6
Python下载地址 https://www.python.org/ftp/python/ 这个适用于linux版本https://www.python.org/ftp/python/2.6.6/ 2.6.6下载使用wget 地址就能下载各个版本的python比如 wgethttps://www.python.org/ftp/python/2.6.6/Python-...原创 2019-02-18 16:13:49 · 8021 阅读 · 1 评论 -
linux中安装telnet
查看telnet是否安装 rpm -qa | grep telnet安装telnetyum install telnetyum install telnet-server因为装好telnet服务之后,默认是不开启服务的,下面我们需要修改文件来开启服务。vi /etc/xinetd.d/telnet修改disable = yes 为disable = no...原创 2019-01-18 14:58:45 · 609 阅读 · 0 评论 -
在linux中安装jdk1.7
下载首先是jdk 1.7 64bit & 32bit的下载地址:•jdk-7u79-linux-x64.tar.gz (http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz)•jdk-7u79-linux-i586.tar.gz (http://download.oracle.c...原创 2018-08-25 11:13:33 · 366 阅读 · 0 评论 -
linux中安装tomcat
安装tomcat之前首先得安装jdk,安装tomcat,只需要把tomcat上传到linux服务器。解压,启动就行1.使用当时部署tomcat的用户连接到远程的linux操作系统2.进入到tomcat的bin目录 cd /usr/local/bonc/apache-tomcat-7.0.47/bin 自己的环境,可能安装的目标不一样,需要自己把握 3.启动tomc...原创 2018-08-25 11:28:33 · 272 阅读 · 0 评论 -
在red hat中安装yum
1、首先查看redhat 7.0系统本身所安装的那些yum 软件包:[root@localhost ~]# rpm -qa | grep yum2、卸载原始的yum 在查看[root@localhost ~]# rpm -qa|grep yum|xargs rpm -e --nodeps[root@localhost ~]# rpm -qa | grep yum3、保证本机电...原创 2018-10-26 17:09:52 · 6810 阅读 · 1 评论 -
在线安装 Docker,源自官网,一步步来就能成功,试过redhat
在 CentOS/RHEL 中安装 Docker在终端中运行下面的命令安装 Docker。sudo yum install -y yum-utilssudo yum-config-manager \ --add-repo \ https://download.daocloud.io/docker/linux/centos/docker-ce.reposudo yum ...原创 2019-01-02 10:32:06 · 471 阅读 · 0 评论 -
使用nginx服务器搭建ftp和图片服务器需要注意的地方
1、在nginx./configuration 的安装路径如 /usr/local/nginx 目录下,会产生一个conf文件夹,这个conf和解压之后安装包下面的那个conf是俩个不同的文件夹,我遇到过这个坑,一直改的是安装包下面的那个,改错了2、启动关闭命令,也是在./configuration的目录下的sbin文件夹下,./nginx 启动 ./nginx -s re...原创 2019-01-02 11:06:35 · 511 阅读 · 0 评论 -
CentOS安装Hadoop单机版
1、首先安装jdk下载jdk-7u45-linux-x64.tar.gz 地址https://pan.baidu.com/s/1HlkngnG5H8JAdm0zYezEyg 提取码3z6s放到/usr/local目录下解压jdk,tar -zxvfjdk-7u45-linux-x64.tar.gz配置环境变量 vim /etc/profile 在文件...原创 2019-01-17 11:17:45 · 23420 阅读 · 16 评论 -
安装hive2.3.4
必须先启动hadoop集群,再启动hive,不然会报错下载apache-hive-2.3.4-bin.tar.gz网址:http://mirror.bit.edu.cn/apache/hive/将下载的压缩包传到linux服务器上 /usr/local解压,tar -zxvf apache-hive-2.3.4-bin.tar.gz重命名为 hive2.3.4 mv ...原创 2019-01-17 16:04:07 · 1611 阅读 · 0 评论 -
git相关配置
centOS中安装gityum install git检查git版本git versiongit的相关配置git config --global user.name "luxing"git config --global user.email "[email protected]"git的ssh配置ssh-keygen -t rsa -C "luxing@qq" 查看ssh...原创 2019-01-03 11:46:34 · 238 阅读 · 0 评论 -
Redhat Linux 7 关闭防火墙命令
使用root用户查看防火墙状态。systemctl status firewalld临时关闭防火墙命令。重启电脑后,防火墙自动起来。systemctl stop firewalld永久关闭防火墙命令。重启后,防火墙不会自动启动。systemctl disable firewalld打开防火墙命令。systemctl enable firewalld...原创 2019-02-14 10:56:00 · 4552 阅读 · 0 评论