美文网首页
安装虚拟机遇到问题

安装虚拟机遇到问题

作者: 灵动的小猪 | 来源:发表于2018-06-24 22:10 被阅读107次

    因为权限问题安装失败

    image.png

    大意是:错误 1303。安装程序没有足够的权限来访问C:\programData\Microsoft\Windows\Start Menu\Programs\Autodesk这个目录。安装无法继续。以管理员身份登录,或与您的系统管理员联系。

    不会吧!我Windows 8还有这嗜好?!立马启动内置的 administrator 后,重启电脑,使用 administrator 大法安装。居然还是这脸色!神马玩意?!

    仔细研究,多次重启,终于搞定!办法如下:

    1、打开C:\programData\Microsoft\Windows\Start Menu\文件夹,找到Programs;
    2、右击Programs-->属性,切换到“安全”标签;
    3、点击“编辑”按钮-->“添加”-->“高级”-->“立即查找”,在搜索结果栏中找到SYSTEM-->“确定”-->“确定”;
    4、然后在次安装就可以了

    识别不了USB

    在运行中输入services.msc
    找到VMwaer USB 开头的文件,全部点启动

    安装VMware tools

    打开虚拟机后,点击 “设置——安装VMware tools”,然后点 “是”,然后虚拟机里面就有了VMware tools 的压缩包,移到home目录下

    tar -zxvf VMwareTools-9.2.2-893683.tar.gz
    cd vmware-tools-distrib
    sudo perl vmware-install.pl
    

    就可以了

    安装aspera

    推荐:Aspera工具安装与使用

    wget -c https://d3gcli72yxqn2z.cloudfront.net/connect/bin/ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.tar.gz
    tar -zxvf ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.tar.gz
    #2018.7.19
    mkdir biosoft
    mv ibm-aspera-connect-3.8.0.158533-linux-g2.12-64.sh biosoft/
    cd biosoft/
    bash ibm-aspera-connect-3.8.0.158533-linux-g2.12-64.sh
    cd
    echo export PATH="/home/u1013/.aspera/connect/bin:$PATH" >>.bashrc
    
    

    使用aspera下载文件

    for i in `seq 00 03`
    do
            ascp -T -l 200M -i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh --host=ftp-private.ncbi.nlm.nih.gov --user=anonftp --mode=recv /sra/sra-instant/reads/ByRun/sra/SRR/SRR402/SRR40223$i/SRR40223$i.sra ./
    done
    

    在使用的过程中可能遇到网络问题
    参考:http://download.asperasoft.com/download/docs/proxy/1.2.2/admin_linux/webhelp/dita/troubleshooting.html
    Session Stop (Error: Client unable to connect to server (check UDP port and firewall))

    If you get this error, check the following:

    1. Ensure that IP forwarding is enabled. IP forwarding must be enabled and is enabled automatically when FASP Proxy is installed. To confirm, run the following command:
            cat /proc/sys/net/ipv4/ip_forward 
    
        If the command returns 1, IP forwarding is enabled. If it returns 0, it is not. IP forwarding can be enabled manually by setting the **net.ipv4.ip_forward** line in **/etc/sysctl.conf** as follows:
    
    # Controls IP packet forwarding
          net.ipv4.ip_forward=1
    

    To activate changes to /etc/sysctl.conf, run the following:

      /sbin/sysctl -p /etc/sysctl.conf
    
    1. If the error still occurs when IP forwarding is on, open your aspera.conf file and turn off source-port filtering as follows. By default, source-port filtering is enabled.
    ...
    <rproxy>
      <enabled>false</enabled> 
      ... 
      <rules>
        <rule>
          ... 
          <src_port_filtering>false</src_port_filtering> 
        </rule>
      </rules>
    </rproxy>
    ...
    

    If the same timeout errors still occur when source-port filtering is disabled, this generally indicates that traffic is being blocked at a firewall.

    For more information about source-port filtering, see Source-Port Filtering.

    安装conda

    wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
    sh Miniconda3-latest-Linux-x86_64.sh #全部选择yes,就将conda添加到环境变量了,有时需要使用bash代替sh
    source ~/.bashrc
    

    添加channels

    conda config --add channels r
    conda config --add channels defaults
    conda config --add channels conda-forge
    conda config --add channels bioconda
    

    添加国内channels

    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
    

    上下左右键变成ABCD

    cp /etc/vim/vimrc ~/.vimrc

    将软件添加到环境变量

    export PATH=$PATH:/opt/au1200_rm/build_tools/bin #就是将软件的bin目录添加到环境变量
    

    或是直接在bashrc里面进行修改

    vi .bashrc
    export PATH="/opt/au1200_rm/build_tools/bin:$PATH"
    

    然后source一下

    source .bashrc
    

    相关文章

      网友评论

          本文标题:安装虚拟机遇到问题

          本文链接:https://www.haomeiwen.com/subject/ypjteftx.html