1. Download file Install onedrive
2. Unzip file
3. Install
cd onedrive-d-old-future/
./install.sh
4. run command ondrive-pref
ondrive-pref ทำตามลิ้งนี้ สำคัญมาก
* ถ้าไม่มี Folder onedrive ในเครื่องแนะนำให้สร้างก่อนไว้ที่ /home/user/onedrive
5. run command onedrive-d start เพื่อให้ onedrive syn ข้อมูล
อ้างอิง
1. https://zecheru.com/install-onedrive-on-ubuntu/
2. https://github.com/xybu/onedrive-d-old
3. http://www.makeuseof.com/tag/synchronize-files-ubuntu-onedrive/
Wednesday, September 28, 2016
Monday, September 12, 2016
command
Command:
1.lastlog -b 0 -t 10 (las login 10 d)
2.echo 'p@ssw0rds' | smbclient //172.16.0.240/netlogon -UAdministrator -c 'ls'
3.cd Document\ Center\ and\ fife\ sharing/
4.เอา #comment ออกเหลือแต่ค่า configure
4.1 mv /etc/squid/squid.conf /etc/squid/squid.conf.bkp
4.2
grep -Eiv '(^#|^$)' /etc/squid/squid.conf.bkp
or
grep -ve ^# -ve ^$ /etc/squid/squid.conf.bkp > /etc/squid/squid.conf
4.3 ps
ps -ae --forest | grep apache2
4.4 watch
watch -n 2 'ps -aef | grep firefox'
5. Check linux OS 32bit & 64bit
dpkg --print-architecture
getconf LONG_BIT
arch
uname -m
1.lastlog -b 0 -t 10 (las login 10 d)
2.echo 'p@ssw0rds' | smbclient //172.16.0.240/netlogon -UAdministrator -c 'ls'
3.cd Document\ Center\ and\ fife\ sharing/
4.เอา #comment ออกเหลือแต่ค่า configure
4.1 mv /etc/squid/squid.conf /etc/squid/squid.conf.bkp
4.2
grep -Eiv '(^#|^$)' /etc/squid/squid.conf.bkp
or
grep -ve ^# -ve ^$ /etc/squid/squid.conf.bkp > /etc/squid/squid.conf
4.3 ps
ps -ae --forest | grep apache2
4.4 watch
watch -n 2 'ps -aef | grep firefox'
5. Check linux OS 32bit & 64bit
dpkg --print-architecture
getconf LONG_BIT
arch
uname -m
ติดตั้ง stickynotes ใน ubuntu
ติดตั้ง Indecator Sticknotes
sudo add-apt-repository ppa:umang/indicator-stickynotes
sudo apt-get update
sudo apt-get install indicator-stickynotes
sudo add-apt-repository ppa:umang/indicator-stickynotes
sudo apt-get update
sudo apt-get install indicator-stickynotes
Scan network by: netdiscover
1. Install
2. Use
sudo netdiscover -r 192.168.0.0/24 -i enp1s0
Example:
Ref.
how-to-find-all-the-used-ip-addresses-on-a-network
sudo apt-get install netdiscover
2. Use
sudo netdiscover -r 192.168.0.0/24 -i enp1s0
Example:
Ref.
how-to-find-all-the-used-ip-addresses-on-a-network
Wednesday, September 7, 2016
how to monitor linux server
Install package following page: quick-install-linux-dash-linux
Installation and Prerequisites
A CentOS 7 and Ubuntu 15.10 machine, git, Apache web server, PHP package.Let us install the package with CentOS 7 first
update system #yum update
Install Apache, php and git packages
#yum -y install httpd git php php-json php-xml php-commonStart httpd service
# systemctl start httpd # systemctl enable httpdChange working directory to /var/www/html
# cd /var/www/htmlDownload linux-dash usiing git# git clone https://github.com/afaqurk/linux-dash.gitRestart apache service
# systemctl restart httpdTo use:/linux-dash Install linux-dash with Ubuntu 15.10
Update system
# apt-get updateInstall required packages
# apt-get install apache2 curl php5 php5-curl php5-json gitChange working directory to /var/www/html or your web directory Download package
git clone https://github.com/afaqurk/linux-dash.gitStart apache service
# /etc/init.d/apache2 start
Open Browser and start linux-dash monitoring system
/linux-dash
Subscribe to:
Posts (Atom)