精华内容
下载资源
问答
  • Linux weget (文件 下载)安装方法

    千次阅读 2019-01-21 10:13:44
    1、首先,在官网下载weget安装包(https://ftp.gnu.org/gnu/wget/) 2、将文件上传到Linux服务器上 3、执行安装命令 $ gunzip < wget-1.12.tar.gz | tar -xv $ cd wget-1.12 $ ./configure $ make 详细步骤...

    1、首先,在官网下载weget安装包(https://ftp.gnu.org/gnu/wget/)

    2、将文件上传到Linux服务器上

    3、执行安装命令

    $ gunzip < wget-1.12.tar.gz | tar -xv
    $ cd wget-1.12
    $ ./configure
    $ make
    

    详细步骤参考官方说明文档:http://www.gnu.org/software/wget/faq.html#download

    展开全文
  • Linux 下载安装weget、yum

    万次阅读 2018-01-06 15:46:02
    对应在Ubuntu,Debian下的工具是 apt-get ,使用用法类似; 1)查看系统中的所有的 rpm 包 1 rpm -qa # 查看系统中所有已经安装的软件 2 rpm -qa httpd # 查看系统中是否已经安装...

    wget 工具

    wget工具用于从指定的URL地址下载文件,wget很稳定同时支持断点下载,在窄带宽和不稳定网络中有很强的适应性;

    wget指令常用参数如下:
    -h:显示帮助说明;
    -b:后台下载;
    -c:继续上次终端的下载任务;
    -r:递归下载文件

    使用示例:

    1)下载单个文件

    1
    wget http://search.maven.org/remotecontent?filepath=log4j/log4j/1.2.17/log4j-1.2.17.tar.gz

    2)下载多个文件

    1
    wget -i fileList
    fileList 内容
    1
    url1
    2
    url2
    3
    url3

    3)断点下载

    1
    wget -c http://search.maven.org/remotecontent?filepath=log4j/log4j/1.2.17/log4j-1.2.17.tar.gz

    4)后台下载

    1
    wget -b http://search.maven.org/remotecontent?filepath=log4j/log4j/1.2.17/log4j-1.2.17.tar.gz

    5)限速下载

    1
    wget --limit-rate=400k http://search.maven.org/remotecontent?filepath=log4j/log4j/1.2.17/log4j-1.2.17.tar.gz



    yum工具


    yum是CentOS下的软件下载安装工具,所有文件在yum源中下载,并自动执行安装过程,这些软件在yum源中以rpm包的形式存在;
    对应在Ubuntu,Debian下的工具是 apt-get ,使用用法类似;

    1)查看系统中的所有的 rpm 包

    1
    rpm -qa        # 查看系统中所有已经安装的软件
    2
    rpm -qa httpd  # 查看系统中是否已经安装apache

    2)查看,查找 yum 源中的rpm包

    1
    yum list         # 列举所有yum源上的安装包
    2
    yum search java  # 查看yum源上的所有java相关资源

    3)安装,删除rpm包

    1
    yum install tomcat               #安装tomcat的默认最新版本rpm包
    2
    yum install apche-tomcat-8.5.0   #安装tomcat指定版本,具体rpm包名称可以通过yum search tomcat查询获取
    3
    4
    yum remove apache-tomcat-8.5      #删除rpm包,包括所有相关的依赖性包

    4)更新rpm包

    1
    yum update           #更新所有rpm包
    2
    yum update tomcat    #更新指定包tomcat包


    ※ 如果某些rpm在yum中查找到的版本过低,找不到需要的包,可以更新epel 和 remi源 
    1
    # Centos 6 的方式
    2
    rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
    3
    rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
    4
    5
    #Centos 7 的方式
    6
    yum install epel-release
    7
    rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    此时的查看,安装remi源的rpm包,指令如下(以下载php5.6为例)
    1
    #查看remi源上的php相关的包
    2
    yum list --enablerepo=remi --enablerepo=remi-php56 | grep php  
    3
    4
    #安装remi源上的php5.6的所有运行包
    5
    yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
    展开全文
  • wget,是自动下载工具,在Linux中经常被使用到。 安装方式: 1. 命令输入安装(常用) // 之既然输入即可 yum install -y wget 2. 下载安装(不推荐) 网站下载 https://ftp.gnu.org/gnu/wget/ ![在这里插入图 下载...

    wget,是自动下载工具,在Linux中经常被使用到。

    安装方式:

    1. 命令输入安装(常用)
    // 直接输入即可
    yum install -y wget
    

    在这里插入图片描述

    2. 下载安装(不推荐)

    网站下载
    https://ftp.gnu.org/gnu/wget/

    在这里插入图片描述

    在这里插入图片描述下载完后上传 tra解压执行,相对于一行命令就解决显得有些繁琐,这种不推荐使用。

    3. 使用方法(有使用说明)
    Startup:
      -V,  --version           display the version of Wget and exit.
      -h,  --help              print this help.
      -b,  --background        go to background after startup.
      -e,  --execute=COMMAND   execute a `.wgetrc'-style command.
    
    Logging and input file:
      -o,  --output-file=FILE    log messages to FILE.
      -a,  --append-output=FILE  append messages to FILE.
      -d,  --debug               print lots of debugging information.
      -q,  --quiet               quiet (no output).
      -v,  --verbose             be verbose (this is the default).
      -nv, --no-verbose          turn off verboseness, without being quiet.
           --report-speed=TYPE   Output bandwidth as TYPE.  TYPE can be bits.
      -i,  --input-file=FILE     download URLs found in local or external FILE.
      -F,  --force-html          treat input file as HTML.
      -B,  --base=URL            resolves HTML input-file links (-i -F)
                                 relative to URL.
           --config=FILE         Specify config file to use.
    
    Download:
      -t,  --tries=NUMBER            set number of retries to NUMBER (0 unlimits).
           --retry-connrefused       retry even if connection is refused.
      -O,  --output-document=FILE    write documents to FILE.
      -nc, --no-clobber              skip downloads that would download to
                                     existing files (overwriting them).
      -c,  --continue                resume getting a partially-downloaded file.
           --progress=TYPE           select progress gauge type.
      -N,  --timestamping            don't re-retrieve files unless newer than
                                     local.
      --no-use-server-timestamps     don't set the local file's timestamp by
                                     the one on the server.
      -S,  --server-response         print server response.
           --spider                  don't download anything.
      -T,  --timeout=SECONDS         set all timeout values to SECONDS.
           --dns-timeout=SECS        set the DNS lookup timeout to SECS.
           --connect-timeout=SECS    set the connect timeout to SECS.
           --read-timeout=SECS       set the read timeout to SECS.
      -w,  --wait=SECONDS            wait SECONDS between retrievals.
           --waitretry=SECONDS       wait 1..SECONDS between retries of a retrieval.
           --random-wait             wait from 0.5*WAIT...1.5*WAIT secs between retrievals.
           --no-proxy                explicitly turn off proxy.
      -Q,  --quota=NUMBER            set retrieval quota to NUMBER.
           --bind-address=ADDRESS    bind to ADDRESS (hostname or IP) on local host.
           --limit-rate=RATE         limit download rate to RATE.
           --no-dns-cache            disable caching DNS lookups.
           --restrict-file-names=OS  restrict chars in file names to ones OS allows.
           --ignore-case             ignore case when matching files/directories.
      -4,  --inet4-only              connect only to IPv4 addresses.
      -6,  --inet6-only              connect only to IPv6 addresses.
           --prefer-family=FAMILY    connect first to addresses of specified family,
                                     one of IPv6, IPv4, or none.
           --user=USER               set both ftp and http user to USER.
           --password=PASS           set both ftp and http password to PASS.
           --ask-password            prompt for passwords.
           --no-iri                  turn off IRI support.
           --local-encoding=ENC      use ENC as the local encoding for IRIs.
           --remote-encoding=ENC     use ENC as the default remote encoding.
           --unlink                  remove file before clobber.
    
    Directories:
      -nd, --no-directories           don't create directories.
      -x,  --force-directories        force creation of directories.
      -nH, --no-host-directories      don't create host directories.
           --protocol-directories     use protocol name in directories.
      -P,  --directory-prefix=PREFIX  save files to PREFIX/...
           --cut-dirs=NUMBER          ignore NUMBER remote directory components.
    
    HTTP options:
           --http-user=USER        set http user to USER.
           --http-password=PASS    set http password to PASS.
           --no-cache              disallow server-cached data.
           --default-page=NAME     Change the default page name (normally
                                   this is `index.html'.).
      -E,  --adjust-extension      save HTML/CSS documents with proper extensions.
           --ignore-length         ignore `Content-Length' header field.
           --header=STRING         insert STRING among the headers.
           --max-redirect          maximum redirections allowed per page.
           --proxy-user=USER       set USER as proxy username.
           --proxy-password=PASS   set PASS as proxy password.
           --referer=URL           include `Referer: URL' header in HTTP request.
           --save-headers          save the HTTP headers to file.
      -U,  --user-agent=AGENT      identify as AGENT instead of Wget/VERSION.
           --no-http-keep-alive    disable HTTP keep-alive (persistent connections).
           --no-cookies            don't use cookies.
           --load-cookies=FILE     load cookies from FILE before session.
           --save-cookies=FILE     save cookies to FILE after session.
           --keep-session-cookies  load and save session (non-permanent) cookies.
           --post-data=STRING      use the POST method; send STRING as the data.
           --post-file=FILE        use the POST method; send contents of FILE.
           --content-disposition   honor the Content-Disposition header when
                                   choosing local file names (EXPERIMENTAL).
           --content-on-error      output the received content on server errors.
           --auth-no-challenge     send Basic HTTP authentication information
                                   without first waiting for the server's
                                   challenge.
    
    HTTPS (SSL/TLS) options:
           --secure-protocol=PR     choose secure protocol, one of auto, SSLv2,
                                    SSLv3, TLSv1, TLSv1_1 and TLSv1_2.
           --no-check-certificate   don't validate the server's certificate.
           --certificate=FILE       client certificate file.
           --certificate-type=TYPE  client certificate type, PEM or DER.
           --private-key=FILE       private key file.
           --private-key-type=TYPE  private key type, PEM or DER.
           --ca-certificate=FILE    file with the bundle of CA's.
           --ca-directory=DIR       directory where hash list of CA's is stored.
           --random-file=FILE       file with random data for seeding the SSL PRNG.
           --egd-file=FILE          file naming the EGD socket with random data.
    
    FTP options:
           --ftp-user=USER         set ftp user to USER.
           --ftp-password=PASS     set ftp password to PASS.
           --no-remove-listing     don't remove `.listing' files.
           --no-glob               turn off FTP file name globbing.
           --no-passive-ftp        disable the "passive" transfer mode.
           --preserve-permissions  preserve remote file permissions.
           --retr-symlinks         when recursing, get linked-to files (not dir).
    
    WARC options:
           --warc-file=FILENAME      save request/response data to a .warc.gz file.
           --warc-header=STRING      insert STRING into the warcinfo record.
           --warc-max-size=NUMBER    set maximum size of WARC files to NUMBER.
           --warc-cdx                write CDX index files.
           --warc-dedup=FILENAME     do not store records listed in this CDX file.
           --no-warc-compression     do not compress WARC files with GZIP.
           --no-warc-digests         do not calculate SHA1 digests.
           --no-warc-keep-log        do not store the log file in a WARC record.
           --warc-tempdir=DIRECTORY  location for temporary files created by the
                                     WARC writer.
    
    Recursive download:
      -r,  --recursive          specify recursive download.
      -l,  --level=NUMBER       maximum recursion depth (inf or 0 for infinite).
           --delete-after       delete files locally after downloading them.
      -k,  --convert-links      make links in downloaded HTML or CSS point to
                                local files.
      --backups=N   before writing file X, rotate up to N backup files.
      -K,  --backup-converted   before converting file X, back up as X.orig.
      -m,  --mirror             shortcut for -N -r -l inf --no-remove-listing.
      -p,  --page-requisites    get all images, etc. needed to display HTML page.
           --strict-comments    turn on strict (SGML) handling of HTML comments.
    
    Recursive accept/reject:
      -A,  --accept=LIST               comma-separated list of accepted extensions.
      -R,  --reject=LIST               comma-separated list of rejected extensions.
           --accept-regex=REGEX        regex matching accepted URLs.
           --reject-regex=REGEX        regex matching rejected URLs.
           --regex-type=TYPE           regex type (posix|pcre).
      -D,  --domains=LIST              comma-separated list of accepted domains.
           --exclude-domains=LIST      comma-separated list of rejected domains.
           --follow-ftp                follow FTP links from HTML documents.
           --follow-tags=LIST          comma-separated list of followed HTML tags.
           --ignore-tags=LIST          comma-separated list of ignored HTML tags.
      -H,  --span-hosts                go to foreign hosts when recursive.
      -L,  --relative                  follow relative links only.
      -I,  --include-directories=LIST  list of allowed directories.
      --trust-server-names             use the name specified by the redirection
                                       url last component.
      -X,  --exclude-directories=LIST  list of excluded directories.
      -np, --no-parent                 don't ascend to the parent directory.
    
    
    展开全文
  • Linux安装MySQL

    2020-11-09 13:26:27
    使用weget命令下载MySQL,本文下载的是5.6版本的 wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-5.6.22-1.el6.i686.rpm-bundle.tar 2、安装 2.1 检查是否已安装MySQL rpm -qa | grep mysql 如果已安装,...

    1、下载

    使用weget命令下载MySQL,本文下载的是5.6版本的
    wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-5.6.22-1.el6.i686.rpm-bundle.tar

    2、安装

    2.1 检查是否已安装MySQL

    rpm -qa | grep mysql
    如果已安装,使用以下命令将其卸载
    rpm -e --nodeps 已安装的MySQL

    例如: rpm -e --nodeps mysql-libs-5.1.73-5.el6_6.i686

    2.2 开始安装

    • 创建文件夹
      mkdir /usr/local/mysql
    • 解压下载的安装包到当前文件夹
      tar -xvf MySQL-5.6.22-1.el6.i686.rpm-bundle.tar
    • 安装依赖
      yum -y install libaio.so.1 libgcc_s.so.1 libstdc++.so.6
    • 升级libstdc+±4.4.7-4.el6.x86_64
      yum update libstdc++-4.4.7-4.el6.x86_64
    • 执行安装服务端
      rpm -ivh MySQL-server-5.6.22-1.el6.i686.rpm
    • 执行安装客户端
      rpm -ivh MySQL-client-5.6.22-1.el6.i686.rpm
      至此已经安装完毕

    3 登录MySQL

    • 查看MySQL状态
      service mysql status
    • 开启服务
      service mysel start
    • 登录
      初始密码在安装MySQL server时有提示,保存在/root/.mysql_secret
    • 修改密码
      set password = password('123456')

    4、远程连接

    • 开启远程连接,登录MySQL,输入以下命令,注意自己的密码(123456)
      grant all privileges on *.* to 'root' @'%' identified by '123456'; flush privileges;

      flush privileges;
      在这里插入图片描述

    • 关闭防火墙
      service iptables stop
      至此已经可以远程访问MySQL了
      `

    展开全文
  • linux安装mysql8

    2019-06-27 21:19:55
    标题通过yum安装mysql8 去mysql官网mysql网址 ...weget https://repo.mysql.com//mysql80-community-release-el7-3.noarch.rpm 接下来输入 rpm -ivh mysql80-community-release-el7-3.noarch.rpm Li...
  • Linux安装Java-JDK

    2021-05-24 18:39:50
    Linux安装Java-JDK 本文对应的JDK版本为8 服务器版本为Linux 2.19.03 JDK下载 1.windows下载通过xfrp上传方式 Oracle官网 下载对应版本JDK 下载对应版本的jdk下载页面 使用weget方式下载jdk(暂时没搞最新版本的)...
  • linux安装hadoop

    2018-11-19 23:15:06
    终端输入:Weget http://archive.apache.org/dist/hadoop/core/hadoop-2.7.2/hadoop-2.7.2.tar.gz ################### hadoop下载地址################# https://blog.csdn.net/chanson_dog/article/details/7899...
  • 1.先按照官网下方的weget命令把redis下载下来 接着如果没猜错,你会在make命令上出错 由于redis是C写的,所以需要装上c的运行环境 yum install gcc-c++ 接着你还有可能报错 redis 编译出现 zmalloc.h:50:31: ...
  • 啥都不管,先安装ES 学什么东西都先二话不说的先来一个hello word ——鲁迅 本教程仅做个人工作笔记,可能不适用于他人的工作/学习 ...也可以使用weget的方式直接在linux上下载; 下...
  • linux nginx安装

    2019-07-08 13:53:04
    复制指定版本下载链接 wget下载 ...weget http://nginx.org/download/nginx-1.17.0.tar.gz 2. 解压 tar -zxvf nginx-1.17.0.tar.gz 3. 进入nginx目录 ,创建日志目录,执行configure脚本 # 进入...
  • Linux安装Ngnix

    2019-08-18 10:44:12
    1.gcc 安装 yum install gcc c++ 2.PCRE pcre-devel 安装 yum install -y pcre pcre-devel 3.zlib 安装 yum install -y zlib zlib-devel 4.OpenSSL 安装 yum install openssl openssl-devel ...weget -c https://...
  • 今天要学习 Yeoman ,但总是安装失败,所以就怀疑是不是node 和 npm的版本安装有问题...apt-get update //更新apt-get 为了安装weget apt-get install weget // 安装 weget wget http://nodejs.org/dist/v0.6.1/node-
  • 通过Linux安装Erlang

    2019-06-15 16:15:21
    1.先通过yum下载weget yum -y install wget 2.下载rpm包 wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm rpm -Uvh erlang-solutions-1.0-1.noarch.rpm 可能会出现问题 如果出现...
  • linux安装kafka,以及使用,各种坑

    千次阅读 2018-08-03 18:07:18
    从http://kafka.apache.org/downloads.html下载,点击里面的二进制路径,然后再linux上输入weget 路径,就会自己下载 2.解压 tar -xzvf kafka_2.10-0.9.0.0.tgz 3.配置下conf下面的文件不然会容易报错: 1)...
  • Linux系统安装Mycat配置

    2020-04-18 13:24:11
    今天的小张同志配置了一个mycat,真的是...大家可以使用wget 命令,不过可能是因为官网安装包地址出现了问题,所以我的weget没有成功。点击此处进行下载 Linux的就选择第一个进行下载,下载完成后进行解压操作 t...
  • We strive to maintain a welcoming and collaborative community. Have a look at the contributing guidelines, and go ahead! If you'd like to contribute to translations, you can visit ...
  • Prometheus在阿里云Linux系统上安装使用weget指令从官网下载配置安装安装不成功的一些情况(最后一行报错) 使用weget指令从官网下载 服务器报错说指令找不到的话就先使用指令: yum install lrzsz -y 如果yum指令也...
  • linux服务器安装tomcat总结 进入安装目录 ...也可以weget url(下载的具体地址) 解压缩 删安装包 重命名 tar -xzvf apache-tomcat-8.5.50.tar.gz rm apache-tomcat-8.5.50.tar.gz mv apache-tomcat-8....
  • Linux下yum安装mysql

    2019-08-27 01:06:24
    1.先配置好yum网络源 – 1.1安装wget指令: yum install wget –1.2备份默认源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup ...weget xxxxx (具体对应的版本...
  • Linux下Redis安装及迁移

    2020-07-30 16:33:14
    Redis是一个开源的使用ANSIC语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。 文章目录一、Redis安装配置1、下载...或者使用weget wget http://download.redis.io/releases/
  • 2 下载nginx weget 右键复制网址 3 下载后释放压缩包 tar zxf nginx压缩包 4 进入 nginx目录 执行./configure 命令用于完成编译前的配置工作 , 如果发现缺少依赖库 yum search 查找后安装 yum install (安装...
  • linux下成功安装hadoop

    2018-11-19 23:11:57
    终端输入:Weget http://archive.apache.org/dist/hadoop/core/hadoop-2.7.2/hadoop-2.7.2.tar.gz ################### hadoop下载地址################# https://blog.csdn.net/chanson_dog/article/details/7899...
  • Using configure (recommended for most linux user) autoreconf -i # skip if using released tarball ./configure make make install Using CMake Here we also show an out-of-source build in the sub ...
  • 安装依赖: yum -y install libevent-devel yum -y install gcc yum -y install gcc-c++ yum -y install tcl 一、安装memcache: 官网:... ...weget http://memcached.org/latest tar -zxvf lat...
  • Linux centos 7.4 安装memcache和Redis

    千次阅读 2018-07-04 12:05:07
    安装依赖:yum -y install libevent-devel yum -y install gcc ...yum -y install tcl一、安装memcache:官网:http://memcached.org/downloads参考:weget http://memcached.org/latest tar -zxvf latest cd me...
  • c.weget url 在线下载软件(只负责下载,不安装) 1.通过rpm包来进行软件的安装和卸载 ①rpm包的查询和卸载 rpm -qa :查询linux系统已经安装的rpm包 rpm -qa | grep vim : 寻找系统中安装含有 vim 名称的rpm...
  • 安装步骤: 1、下载tar包 ...推荐使用weget直接下载 tar -zxvf apache-tomcat-7.0.103-src.tar.gz 3、指定安装目录 mkdir /usr/local/tomcat cp -r /home/apache-tomcat-7.0.103-src /usr/loca...
  • —看了CSDN上面兄弟们分享的文档后发现都不是很详细,...这里使用 xftp 、rz 、sftp 、 weget 都可以 [root@localhost opt]# rz [root@localhost opt]# ls AutoMount ftp rh tengine-2.3.2 tengine-2.3.2.tar.gz test
  • 安装步骤: 一、官网下载安装包 下载地址:...下载后上传至服务器,或者直接在服务器上使用weget命令下载 二、解压安装 tar -xvzf apache-maven-3.6.3-bin.tar.gz mkdir /usr/lo...

空空如也

空空如也

1 2 3 4 5 ... 14
收藏数 265
精华内容 106
关键字:

linux安装weget

linux 订阅