Rabu, 08 Oktober 2014

wget queue list

Bagaimana download multifile dan time tertentu ?

command :
wget -i

Buat file untuk list data download

~$ vi list-download.txt
~$ cat list-download.txt
data-download1.pdf
data-download2.pdf
data-download3.pdf

~$ crontab -e

set time untuk waktu mulai download file, misalkan kita ingin jalankan ketika tengah malam jam 3.00 am

00 03 * * * * wget -i /directory/path/list-download.txt > download.log
kemudian save crontab.

Proccess :

--2014-10-08 03:00:00--  https://domain.com/data-download1.pdf
Connecting to domain.com (domain.com)|54.231.244.0|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5821575 (5,6M) [pdf]
Saving to: ‘data-download1.pdf’

100%[=====================================================================================================>] 5.821.575   77,4KB/s   in 72s  

2014-10-08 03:15:00 (78,7 KB/s) - ‘data-download1.pdf’ saved [5821575/5821575]

--2014-10-08 03:15:01--  https://domain.com/data-download2.pdf
Reusing existing connection to domain.com.
HTTP request sent, awaiting response... 200 OK
Length: 6531095 (6,2M) [pdf]
Saving to: ‘data-download2.pdf’

100%[=====================================================================================================>] 6.531.095    101KB/s   in 78s  

2014-10-08 03:25:00 (81,3 KB/s) - ‘data-download2.pdf’ saved [6531095/6531095]

FINISHED --2014-10-08 03:25:01--
Total wall clock time: 1h 26m 15s
Downloaded: 34 files, 384M in 1h 25m 25s (76,7 KB/s)

Source :
http://askubuntu.com/questions/103623/download-files-from-a-list
http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/

Minggu, 05 Oktober 2014

Mulai persiapan Certificate Redhat SysAdmin

Saat ini saya interest terhadap system redhat, sehingga saya search tentang certificate rhcsa ( redhat certificate  ). Saya punya planning untuk tahun depan ingin mengambil certificate ini, amin. Ini beberapa preparation study point yang dapat di pelajari untuk mengambil certitificate rhcsa.

Understand and use essential tools
  • Access a shell prompt and issue commands with correct syntax
  • Use input-output redirection (>, >>, |, 2>, etc.)
  • Use grep and regular expressions to analyze text
  • Access remote systems using ssh
  • Log in and switch users in multiuser targets
  • Archive, compress, unpack, and uncompress files using tar, star, gzip, and bzip2

Sabtu, 13 September 2014

Deployment System


Apa itu Deployment System?


Salah satu yang pernah saya kerjakan sebagi sysadmin disebuah startup, yaitu membuat deploy system untuk component data application agar dapat berjalan pada mesin - mesin enviroment. Sebenarnya apa itu Deployment System (Release System) ? Deploy system adalah salah satu component yang masuk dalam Software Architecture, sebuah system computer yang terdiri dari perangkat lunak dan component - component software yang telah terinstall menjadi sebuah enviroment yang di butuhkan application agar dapat berjalan sesuai business process. Tujuannya adalah untuk mempermudah proses automatisasi release software dengan cara yang konsisten.

Kamis, 28 Agustus 2014

Example syntax for Secure Copy (scp)

What is Secure Copy?

scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh.

Examples

Copy the file "foobar.txt" from a remote host to the local host

    $ scp your_username@remotehost.edu:foobar.txt /some/local/directory

Copy the file "foobar.txt" from the local host to a remote host

Senin, 11 Agustus 2014

Puppet

Apa itu Puppet Server?

Puppet adalah open source configuration management tool, digunakan untuk mengatur konfigurasi pada sebuah host, baik berupa file, packages, maupun users secara sentralisasi. Saya menggunakan puppet untuk mengatur semua server yang saya tangani, yang jumlahnya begitu banyak, kalau hanya 1-10 mungkin bisa, tapi kalau sudah ratusan beda cerita, karena tidak mungkin saya mengkonfigurasi satu - persatu server tersebut, karena selain tidak efisien, besar peluang terjadinya human error.

Welcome my blog

Halo, welcome my blog...