Upload 2 files
Browse files
bashrc
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Source global definitions
|
2 |
+
if [ -f /etc/bashrc ]; then
|
3 |
+
. /etc/bashrc
|
4 |
+
fi
|
5 |
+
|
6 |
+
export http_proxy=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/
|
7 |
+
export https_proxy=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/
|
8 |
+
export HTTP_PROXY=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/
|
9 |
+
export HTTPS_PROXY=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/
|
10 |
+
|
11 |
+
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
12 |
+
# export SYSTEMD_PAGER=
|
13 |
+
|
14 |
+
# User specific aliases and functions
|
15 |
+
alias proxy_on='export http_proxy=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/; export https_proxy=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/ ; export HTTP_PROXY=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/; export HTTPS_PROXY=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/'
|
16 |
+
alias proxy_off='unset http_proxy; unset https_proxy; unset HTTP_PROXY; unset HTTPS_PROXY'
|
17 |
+
|
18 |
+
|
19 |
+
# export PATH=$PATH:/mnt/petrelfs/zhuchenglin/Python3/bin/python3
|
20 |
+
# alias python='/mnt/petrelfs/zhuchenglin/Python3/bin/python3'
|
21 |
+
# >>> conda initialize >>>
|
22 |
+
# !! Contents within this block are managed by 'conda init' !!
|
23 |
+
__conda_setup="$('/mnt/petrelfs/zhuchenglin/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
24 |
+
if [ $? -eq 0 ]; then
|
25 |
+
eval "$__conda_setup"
|
26 |
+
else
|
27 |
+
if [ -f "/mnt/petrelfs/zhuchenglin/anaconda3/etc/profile.d/conda.sh" ]; then
|
28 |
+
. "/mnt/petrelfs/zhuchenglin/anaconda3/etc/profile.d/conda.sh"
|
29 |
+
else
|
30 |
+
export PATH="/mnt/petrelfs/zhuchenglin/anaconda3/bin:$PATH"
|
31 |
+
fi
|
32 |
+
fi
|
33 |
+
unset __conda_setup
|
34 |
+
# <<< conda initialize <<<
|
35 |
+
|
36 |
+
export PATH=~/bin:$PATH
|
37 |
+
export CUDA_HOME=/mnt/lustre/share/cuda-11.8
|
38 |
+
alias aws_perf="aws --profile=default --endpoint-url=http://10.140.85.159 s3"
|
39 |
+
export LD_LIBRARY_PATH=/mnt/petrelfs/zhuchenglin/anaconda3/lib:$LD_LIBRARY_PATH
|
wgetrc
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
http_proxy=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/
|
2 |
+
https_proxy=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/
|
3 |
+
HTTP_PROXY=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/
|
4 |
+
HTTPS_PROXY=http://zhuchenglin:GkDasqH7xD2VlNn20lNH3DZdcw35z53UaozKnLa5MNw43b4sERthyMXVXyd9@10.1.20.50:23128/
|
5 |
+
use_proxy=on
|
6 |
+
|