Nhật An's profileAtuladn spacePhotosBlogListsMore ![]() | Help |
Atuladn space |
||||||
|
|
January 13 Linux Shell Scripting Tutorial
Nếu bạn là người mới làm quen với Linux và muốn tìm hiểu Shell là gì thì đó là một hệ thống thông dịch mã lệnh của hệ điều hành cung cấp cho con người khả năng tương tác với hệ điều hành thông qua chế độ dòng lệnh.Trong msdos cổ xưa thì đó là command.com và trong Linux thì có các shell sau: * BASH ( Bourne-Again SHell ) - Most common shell in Linux. It's Open Source. * CSH (C SHell) - The C shell's syntax and usage are very similar to the C programming language. * KSH (Korn SHell) - Created by David Korn at AT & T Bell Labs. The Korn Shell also was the base for the POSIX Shell standard specifications. * TCSH - It is an enhanced but completely compatible version of the Berkeley UNIX C shell (CSH). Để sử dụng Bash Shell hiệu quả ta có thể tham khảo Linux Shell Scripting Tutorial v2.0 từ http://bash.cyberciti.biz/guide/Main_Page December 23 OpenBsd 4.6 Release
OpenBSD 4.6 đã phát hành và đã cho download từ website openbsd.org.
Được biết đến như một os cực kỳ bảo mật với 2 lỗ hỗng được tìm thấy sau
hơn 10 năm phát hành.Phiên bản 4.6 bao gồm những cập nhật như sau:
December 14 Yum-utils mở rộng hơn nữa chức năng của YumYum-utils thực chất tập hợp các tiện ích và plugin để làm cho chúng ta sử dụng yum hiệu quả hơn: Package-cleanup:kiểm tra các packge không cần thiết hoặc các vấn đề liên quan tới dependency sau đó dựa vào thông tin này ta xử lý tiếp [root@atula home]# package-cleanup --problems Setting up yum Reading local RPM database Processing all local requires Missing dependencies: Package redhat-lsb requires /usr/sbin/sendmail Package gtk2 requires hicolor-icon-theme Package openldap-devel requires cyrus-sasl-devel >= 2.1 Package mdadm requires smtpdaemon Repoclosure: kiểm tra dependency trong repo [root@atula ~]# repoclosure Base | more Reading in repository metadata - please wait.... Checking Dependencies Repos looked at: 5 addons base extras rpmforge updates Num Packages in Repos: 12869 package: 6:kdepim-devel-3.5.4-4.fc6.i386 from extras unresolved deps: kdepim = 6:3.5.4-4.fc6 package: acx-kmod-common-0.0.0-1.nodist.rf.noarch from rpmforge unresolved deps: kmod-acx = 0:0.0.0 package: acx-kmod-common-0.0.0.20060521-1.nodist.rf.noarch from rpmforge unresolved deps: kmod-acx = 0:0.0.0.20060521 package: alsa-utils-1.0.4-1.el5.rf.i386 from rpmforge unresolved deps: alsa-driver >= 0:1.0.0 package: apfloat-2.41-1.el5.rf.i386 from rpmforge unresolved deps: libstdc++-libc6.1-1.so.2 package: aptest-0.0.1-1.el5.rf.i386 from rpmforge Repomanage: tìm package cũ nhất hoặc mới nhất trong repo
repoquery: tìm theo package hoặc group package trong repo tương tự như rpm query nhưng thông tin chi tiết và hay hơn ví dụ nhỏ. [root@atula iso]# repoquery -a httpd Repo-rss: tạo rss cho repo Yum-builddep: cài các package cần thiết cho việc build source RPMS. [root@atula ~]# yum-builddep /root/httpd-2.2.3-11.el5_1.centos.3.src.rpm --> Finished Dependency Resolution ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Installing: apr-devel i386 1.2.7-11.el5_3.1 base 231 k apr-util-devel i386 1.2.7-7.el5_3.2 base 53 k distcache-devel i386 1.4.5-14.1 base 57 k xmlto i386 0.0.18-13.1 base 26 k Installing for dependencies: dialog i386 1.0.20051107-1.2.2 base 162 k distcache i386 1.4.5-14.1 base 119 k docbook-dtds noarch 1.0-30.1 base 677 k docbook-style-xsl noarch 1.69.1-5.1 base 1.3 M ghostscript i386 8.15.2-9.11.el5 base 5.9 M ghostscript-fonts noarch 5.50-13.1.1 base 801 k netpbm i386 10.35.58-8.el5 base 834 k netpbm-progs i386 10.35.58-8.el5 base 2.0 M openjade i386 1.3.2-27 base 980 k opensp i386 1.5.2-4 base 1.1 M passivetex noarch 1.25-5.1.1 base 75 k psutils i386 1.17-26.1 base 85 k sgml-common noarch 0.6.3-18 base 40 k tetex i386 3.0-33.8.el5 base 8.4 M tetex-dvips i386 3.0-33.8.el5 base 550 k tetex-fonts i386 3.0-33.8.el5 base 29 M tetex-latex i386 3.0-33.8.el5 base 4.1 M urw-fonts noarch 2.3-6.1.1 base 4.5 M w3m i386 0.5.1-15.el5 base 1.1 M xml-common noarch 0.6.3-18 base 5.8 k xmltex noarch 20020625-8 base 41 k Updating for dependencies: apr i386 1.2.7-11.el5_3.1 base 123 k apr-util i386 1.2.7-7.el5_3.2 base 76 k Transaction Summary ============================================================================================================================================================= Install 25 Package(s) Update 2 Package(s) Remove 0 Package(s) Total download size: 62 M Is this ok [y/N]:y Yumdownloader: khi cài rpm ta thường hay thấy báo thiếu gói và ta có thể dùng yumdownload down thẳng gói cần cài về lưu trữ cho lần cài đặt khác. [root@atula ~]# ls -la | grep http [root@atula ~]# yumdownloader httpd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.sunet.se * base: ftp.sunet.se * extras: ftp.sunet.se * rpmforge: ftp-stud.fht-esslingen.de * updates: ftp.sunet.se httpd-2.2.3-31.el5.centos 100% |=========================| 1.2 MB 00:04 [root@E166 ~]# ls -la | grep http -rw-r--r-- 1 root root 1271398 Nov 14 08:21 httpd-2.2.3-31.el5.centos.2.i386.rpm December 07 FreeBSD 8.0 - RELEASE Announcement
Hiện team Freebsd đã cho ra bản freebsd 8.0 với nhiều tính năng mới như:
Link download: 8.0-RELEASE-i386-disc1 December 03 Cheat sheet cho mod_rewrite Mod_rewrite là một module của Apache nó cho phép viết lại địa chỉ của URL. Thông thường, mod_rewrite chuyển đổi từ một địa chỉ website động sang địa chỉ tĩnh. Quy luật chuyển đổi phân tích địa chỉ website được gởi từ client và chuyển sang một địa chỉ khác trước khi thể hiện trên trình duyệt. Ví dụ: Mod_rewrite chuyển đổi một địa chỉ động: từ atuladn.com/article.php?day=21&month=sep&year=2009 sang atuladn.com/article-21-sep-2009.htm Dưới đây là các thông số hay dùng cho mod_rewrite:
October 30 Updating ISOs with zsync in Ubuntu Trong Ubuntu có một tool là zsync cho phép ta đồng bộ bản iso trước đó thường là beta,RC với bản Final release.Ta có thể dùng tools này để tiết kiệm bandwidth March 30 Debian GNU/Linux 5.0 released
The Debian Project is pleased to announce the official release of Debian GNU/Linux version 5.0 (codenamed "Lenny") after 22 months of constant development. Debian GNU/Linux is a free operating system which supports a total of twelve processor architectures and includes the KDE, GNOME, Xfce, and LXDE desktop environments. It also features compatibility with the FHS v2.3 and software developed for version 3.2 of the LSB. This release includes numerous updated software packages, such as
the K Desktop Environment 3.5.10 (KDE), an updated version of the GNOME
desktop environment 2.22.2, the Xfce 4.4.2 desktop environment, LXDE
0.3.2.1, the GNUstep desktop 7.3, X.Org 7.3, OpenOffice.org 2.4.1, GIMP
2.4.7, Iceweasel 3.0.6 (an unbranded version of Mozilla Firefox),
Icedove 2.0.0.19 (an unbranded version of Mozilla Thunderbird),
PostgreSQL 8.3.6, MySQL 5.0.51a, GNU Compiler Collection 4.3.2, Linux
kernel version 2.6.26, Apache 2.2.9, Samba 3.2.5, Python 2.5.2 and
2.4.6, Perl 5.10.0, PHP 5.2.6, Asterisk 1.4.21.2, Emacs 22, Inkscape
0.46, Nagios 3.06, Xen Hypervisor 3.2.1 (dom0 as well as domU support),
OpenJDK 6b11, and more than 23,000 other ready-to-use software packages
(built from over 12,000 source packages). March 22 Watchmen
Có một số thứ nên phải biết trước khi coi Watchmen vì đây là bộ truyện/phim không như một số lớn các truyện/phim khác: nó chứa nhiều ẩn dụ, nhiều tầng lớp, nhiều tuyến nhân vật, nhiều liên tưởng, nhiều hồi ức. Watchmen ra đời thay đổi rất lớn cái nhìn của người xem dành cho truyện comic Trong Watchmen không có ai hoàn toàn tốt cũng như hoàn toàn xấu bởi Alan Moore muốn chứng minh một điều rằng không ai nghiêng hoàn toàn về một thái cực, vật có thể đổi, sao có thể dời, trong người tốt lúc nào cũng tồn tại một mảng xấu mà tuỳ người mà nó có khi to có khi nhỏ. Còn trong người xấu xa không hoàn toàn đen xì những tội lỗi mà cũng vẫn còn đó những đốm sáng của lòng thiện để khi có cơ hội là nở to hướng người ta đi theo con đường chân chính.Chiều nay phải đi coi thôi. January 17 Các phần cứng mà FreeBSD hỗ trợFreeBSD hiện tại hỗ trợ rất nhiều loại phần cứng dưới đây là danh sách phần cứng mà FreeBSD hỗ trợ : amd64 AMD’s 64-bit extensions to the 32-bit i386, copied by Intel as EM64T, and sometimes called x64. This hardware can run both the 32-bit i386 and 64-bit amd64 versions of FreeBSD. (Linux calls this the x86-64 platform.) i386 The good old-fashioned Intel-compatible personal computer. powerpc The PowerPC processor found in older Apple computers and many embedded devices. pc98 Similar to i386, but popular in Japan. sparc64 Used in high-end servers from Sun Microsystems. xbox Yes, FreeBSD can run on Microsoft’s Xbox -> |
|
||||
|
|