1. Uninstall Workstation Pro from a Linux Host
`su` root
`vmware-installer -u vmware-workstation`
(To inistall, 'sh' the bundle file)
@reference_1_docs.vmware.com
2. Prompt "No 3d support is available from the host" and "hardware graphics acceleration is not available" when booting up the virtual machine.
edit `.vmware/preferences`
`mks.gl.allowBlacklistedDrivers = "TRUE"`
@reference_2_askubuntu.com
3. “Install VMware Tools” greyed out
shutdown the machine and change both the "floppy drive" and "cd drive" to "Auto detect" and then power on the machine.
@reference_3_askubuntu.com
4. Install VMware Tools 10.3.10 in windows10 vm on ubuntu host machine
(1) Download the 10.3.10 tools from VMware. https://my.vmware.com/web/vmware/details?downloadGroup=VMTOOLS10310&productId=491
(could be downloaded without proxy)
Get the zip file with Windows and Linux tools.
(2) Unpack the zip file, and execute `chmod 777 -R VMware-Tools-core-10.3.10-12406962` .
(3) Set "floppy drive" to "pvscsi-Windows8.flp" and "cd drive" to "windows.iso" respectively.
(4) Restart the virtual machine, then click into the "cd drive" to install the "VMware Tools"
@reference_4_vm.knutsson.it
@reference_5_communities.vmware.com
@reference_6_my.vmware.com
5. Note that
There is NO "clean up disks" availability for Linux host VMware workstation.
In windows host there is an option to "reclaim disk space" but running with linux as host, that doesn't exist.
@reference_7_communities.vmware.com
6. System "Swap" memory problem
If the size of "Swap Partition" memory allocation is too low when you install the ubuntu dual boot system, your virtual window10 on the ubuntu host could be extremely slow.
To solve the problem:
(1) Run VMware under root (Terminal: `su` --> `vmware`)
(2) Click "Edit" --> "Preferences" --> "Memory" --> "Additional Memory"
--> select "Fit all virtual machine memory into reserved host RAM"
Wednesday, July 31, 2019
Sunday, July 7, 2019
Build a 'trojan' server
Step 1:
(a). install nginx
(b). install letsencrypt as previously posted
Step 2:
(a). obtaining a Let's Encrypt SSL certificate
(b). set 'live' and 'archive' folder in 'letsencrypt' to 755 recursively
@ref_github_1
Step 3:
change nginx configuration as follws:
`
@ref_blog.siaimes.me_2
Step 4:
Option 1: Install 'trojan' from github:
@ref_trojan-gfw.github.io_3
(a).
run
`
to install all the necessary dependencies.
(b).
`
`
(c).
`
`
`
`
`
`
(d).
edit '/usr/local/etc/trojan/config.json'
set "password"
set "cert": "/etc/letsencrypt/live/example.com/fullchain.pem"
set "key": "/etc/letsencrypt/live/example.com/privkey.pem"
set "alpn": [ "http/2.0" ]
(e).
`systemctl restart trojan nginx`
`systemctl status trojan nginx`
`systemctl enable trojan nginx`
Option 2: Install 'trojan' from 'apt repository'
(a).
`
@ref_blog.siaimes.me_4
Step 5:
Firewall:
'
@ref_blog.siaimes.me_5
(a). install nginx
(b). install letsencrypt as previously posted
Step 2:
(a). obtaining a Let's Encrypt SSL certificate
(b). set 'live' and 'archive' folder in 'letsencrypt' to 755 recursively
@ref_github_1
Step 3:
change nginx configuration as follws:
`
server { listen 127.0.0.1:80 default_server; server_name example.com; location / {
proxy_redirect off; proxy_pass https://www.xxxx.net; } } server { listen 127.0.0.1:80; server_name 100.100.100.100; # server IP address return 301 https://example.com; } server { listen 0.0.0.0:80; listen [::]:80; server_name _; return 301 https://example.com; }`
@ref_blog.siaimes.me_2
Step 4:
Option 1: Install 'trojan' from github:
@ref_trojan-gfw.github.io_3
(a).
run
`
sudo apt -y install build-essential cmake libboost-system-dev libboost-program-options-dev libssl-dev default-libmysqlclient-dev`
to install all the necessary dependencies.
(b).
`
git clone https://github.com/trojan-gfw/trojan.git
``
cd trojan/
`(c).
`
mkdir build
``
cd build/
``
cmake ..
``
make
``
ctest
``
make install
`(d).
edit '/usr/local/etc/trojan/config.json'
set "password"
set "cert": "/etc/letsencrypt/live/example.com/fullchain.pem"
set "key": "/etc/letsencrypt/live/example.com/privkey.pem"
set "alpn": [ "http/2.0" ]
(e).
`systemctl restart trojan nginx`
`systemctl status trojan nginx`
`systemctl enable trojan nginx`
Option 2: Install 'trojan' from 'apt repository'
(a).
`
apt install software-properties-common add-apt-repository ppa:greaterfire/trojan apt update
apt install trojan trojan version vi /etc/trojan/config.json`
@ref_blog.siaimes.me_4
Step 5:
Firewall:
'
apt install ufw
ufw allow ssh # Or port number
ufw allow https
ufw allow http
ufw enable
ufw status
ufw status verbose
'@ref_blog.siaimes.me_5
Subscribe to:
Posts (Atom)