2018年4月29日 星期日

How to fix “Package is in a very bad inconsistent state” error?

https://askubuntu.com/questions/148715/how-to-fix-package-is-in-a-very-bad-inconsistent-state-error




that is


I had a situation worse than this. I had to remove the half-installed packages by forcing dependencies.
sudo dpkg --remove --force-remove-reinstreq --force-depends <package-name>
Then I had to reinstall them
sudo apt-get -f install
That should solve any issue. But please make sure you have network connectivity when you try to do this. Otherwise, you will have to go through even more trouble.

2018年4月22日 星期日

how to use setting the VPN server for in-built windows 10

https://channel9.msdn.com/Series/Windows-Server-2012-Entry-Level/Windows-Server-2012-Entry-Level-11

https://www.youtube.com/watch?v=5GWIHv94KPM


http://www.thewindowsclub.com/configure-vpn-connection-windows



for ubuntu client setting

https://torguard.net/knowledgebase.php?action=displayarticle&id=54

notice

if your router or computer did not have the DHCP  pleas set the IP address to the incoming connection



2018年4月18日 星期三

架設 fileZilla 之 我愛 linux

這篇寫得不錯

讚讚

http://blog.xuite.net/ferret/blog/33845586-FileZilla+Ftp+程式安裝與設定心得

2017年9月3日 星期日

[Basic] linux 如何使用 wodim 燒錄光碟

首先要先把 光碟機 umount

umont /dev/sr0   通常都是這個位置

或是可以在 /dev/ 下  看
ls -al   /dev/cdrw  or /dev/dvdrw
就發現它指到的位置


  after umounting

the simple way to burn the data to disk
is
 # wodim -v dev=/dev/cdrw install-x86-minimal-2008.0.iso

-v means verbose 


more info  please visits 

http://www.coctec.com/docs/linux/show-post-109524.html


2016年12月12日 星期一

issue for pip install cryptography

when issue in 

Command "/home/andy/P_ENV1/env/bin/python3 -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-kicuvik8/cryptography/setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 
'exec'))" install --record /tmp/pip-vebd4vda-record/install-record.txt 
--single-version-externally-managed --compile --install-headers 
/home/andy/P_ENV1/env/include/site/python3.5/cryptography" failed with error code 1 in 
/tmp/pip-build-kicuvik8/cryptography/




actually 
I am really the things going 



 solution ======**********************===========

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

python

pip install -r requirement.txt



the requirement.txt looks likes:
=========================
ip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.6.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.8
cryptography==1.4
PyYAML==3.11
click
requests
backtrader
=============================

git

~/.gitconfig

紀錄 local user 的相關資料及資訊

例如說 email 
           name


這些值 透過   git -global user.name=  "Andy" user.email= aaa@gmail.com


來設定 


to be continued