Skip to content
Thomas Suckow edited this page Feb 23, 2022 · 1 revision
1  export LD_DEBUG=true
 2  ~/dn/dotnet build
 3  ~/dn/dotnet build | less
 4  ~/dn/dotnet build 1&>2 | less
 5  ~/dn/dotnet build 1>&2 | less
 6  ~/dn/dotnet build &1>2 | less
 7  ~/dn/dotnet build &1>2
 8  ~/dn/dotnet build 2>&1
 9  ~/dn/dotnet build 2>&1 | less
10  ~/dn/dotnet build 2>&1 | less
11  pushd ~/dn
12  rm -r *
13  ls
14  export LD_DEBUG=
15  ls
16  wget http://bit.ly/3hceESr
17  tar -xzf 3hceESr
18  POPD
19  popd
20  ~/dn/dotnet build
21  export LD_DEBUG=true
22  ~/dn/dotnet build
23  ~/dn/dotnet build 2>&1 | less
24  locate libino
25  export LD_DEBUG=
26  locate libino
27  pkg install libinotify
28  ~/dn/dotnet build
29  ~/dn/dotnet public -c Release --runtime=freebsd-x64 -o publish
30  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish
31  ls
32  ls publish
33  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish | less
34  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish -s /duplicati/freebsd/ | less
35  ~/dn/dotnet nuget add source /duplicati/freebsd/
36  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish -s /duplicati/freebsd/ | less
37  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish
38  cd publish/
39  ls
40  ./Duplicati.Server
41  ./Duplicati.Server | less
42  cd ..
43  cd ..
44  cd ..
45  cd ..
46  ls
47  cp /duplicati/freebsd/SystemDataSQLite ./
48  cp -R /duplicati/freebsd/SystemDataSQLite ./
49  cd SystemDataSQLite/
50  ls
51  cd Setup/
52  ls
53  ./compile-interop-assembly-release.sh
54  bash ./compile-interop-assembly-release.sh
55  pkg install gcc
56  bash ./compile-interop-assembly-release.sh
57  ls
58  ls ../bin/2013/Release/bin/
59  ldd ../bin/2013/Release/bin/libSQLite.Interop.so
60  ls ~/build-dir/Executables/net5/
61  ls ~/build-dir/Executables/net5/Duplicati.Server/publish/
62  ls ~/build-dir/Executables/net5/Duplicati.Server/publish/
63   ~/build-dir/Executables/net5/Duplicati.Server/publish/Duplicati.Server
64   ~/build-dir/Executables/net5/Duplicati.Server/publish/Duplicati.Server | less
65  cd ~/build-dir/Executables/net5/Duplicati.Server/
66  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish
67  rm -rf publish bin obj
68  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish
69  cd publish
70  ls
71  ./Duplicati.Server
72  ./Duplicati.Server  | less
73  cd ..
74  cd ~
75  cp /duplicati/ ~/build-dir2/
76  cp -R /duplicati ~/build-dir2
77  cd ~/build-dir2/
78  ls
79  cd Executables/net5/Duplicati.Server/
80  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish
81  less /root/build-dir2/Duplicati/Library/SQLiteHelper/Duplicati.Library.SQLiteHelper.csproj
82  cp -R /duplicati ~/build-dir2
83  ls -la
84  mount_vboxvfs duplicati /duplicati
85  ls /duplicati/
86  cp -R /duplicati ~/build-dir2
87  cd ~/build-dir2/
88  cd duplicati/Executables/net5/Duplicati.Server/
89  ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish
90  cd publish/
91  ls
92  ./Duplicati.Server
93  ./Duplicati.Server  | less
94  export LD_DEBUG=true
95  ./Duplicati.Server 2>&1 | less
96  export LD_LIBRARY_PATH=/root/build-dir/SystemDataSQLite/bin/2013/Release/bin/
97  ./Duplicati.Server 2>&1 | less
98  export LD_DEBUG=
99  ./Duplicati.Server 2>&1 | less
100  ls | less
101  tip
102  top
103  mount
104  mail
105  c d~
106  cd ~
107  ;s
108  ls
109  mkdir monoposix
110  gt
111  git
112  pkg install git
113  git clone https://github.com/mono/mono.posix.git monoposix/
114  cd monoposix/
115  ls
116  ./build.sh
117  bash build.sh
118  pkg install cmake ninja
119  pkg install cmake ninja
120  bash build.sh
121  ls
122  cd artifacts/
123  ks
124  ls
125  cd host-freebsd-x64-release/
126  ls
127  cd lib/
128  ls
129  cp libMono.Unix.so ~/build-dir2/duplicati/freebsd/
130  env
131* cp libMono.Unix.so ~/build-dir/SystemDataSQLite/bin/2013/Release/bin/
132  cd ~/build-dir2/duplicati/Executables/net5/Duplicati.Server/
133  ls
134  cd publish/
135  ls
136  ./Duplicati.Server
137  ./Duplicati.Server  | less
138  ls
139  ls c*
140  ./Duplicati.Server  | less
141  ./Duplicati.Server  | less
142  cd Duplicati
143  ls
144  cd control_dir_v2/
145  ls
146  ls -la
147  cd ..
148  cd ..
149  ls
150  cd ..
151  vim ../../../Duplicati/Server/SingleInstance.cs
152* ~/dn/dotnet publish -c Release --runtime=freebsd-x64 -o publish
153  cd publish/
154  ./Duplicati.Server  | less
Clone this wiki locally