‘OpenSource’ 分类的存档

Ubuntu 13.10 review: The Linux OS of the future remains a year away

2013年10月17日 评论已被关闭

After the customary six months of incubation, Ubuntu 13.10—codenamed Saucy Salamander—has hatched. The new version of the popular Linux distribution brings updated applications and several new features, including augmented search capabilities in the Unity desktop shell.

Although Saucy Salamander offers some useful improvements, it’s a relatively thin update. XMir, the most noteworthy item on the 13.10 roadmap, was ultimately deferred for inclusion in a future release. Canonical’s efforts during the Saucy development cycle were largely focused on the company’s new display server and upcoming Unity overhaul, but neither is yet ready for the desktop.

Due to the unusual nature of this Ubuntu update, this review is going to diverge a bit from the usual formula. The first half will include a hands-on look at the new Unity features. The second half will take a close look at the Ubuntu roadmap and some of the major changes that we can expect to see over the course of the next several releases.

Read 46 remaining paragraphs | Comments


分类: OpenSource 标签:

Upgrade your PCs, servers, and phones: Ubuntu 13.10 lands tomorrow

2013年10月16日 评论已被关闭
Ubuntu is ready to be installed on phones.
Andrew Cunningham

The newest version of Ubuntu is a big one, but not for the usual reasons. With Ubuntu 13.10 (aka Saucy Salamander) coming out tomorrow, the desktop and server editions will get some upgrades as always. But the biggest change is that Canonical is delivering the first stable version of Ubuntu for phones.

Beta versions of the mobile Ubuntu have been available to test for months, and now version 1.0 will be ready for supported devices, namely the Galaxy Nexus and Nexus 4 phones. Preview versions have also been running on the Nexus 7 and Nexus 10 tablets, but Canonical isn’t quite ready to declare Ubuntu stable for those larger touchscreens.

Ubuntu 14.04, slated for arrival in April 2014, is Canonical’s target for delivering an operating system that runs on everything, including phones, tablets, desktops, and servers. Phones preinstalled with Ubuntu should also ship sometime in Q1 or Q2 next year, assuming Canonical can get the right deals in place with carriers and hardware makers.

Read 17 remaining paragraphs | Comments


分类: OpenSource 标签:

Arduino creator explains why open source matters in hardware, too

2013年10月14日 评论已被关闭
The Arduino Tre.

Most of the technology world is familiar with open source software and the reasons why, in some eyes, it’s more appealing than proprietary software. When software’s source code is available for anyone to inspect, it can be examined for security flaws, altered to suit user wishes, or used as the basis for a new product.

Less well-known is the concept behind open source hardware, such as Arduino. Massimo Banzi, co-creator of Arduino, spoke with Ars this month about the importance of open hardware and a variety of other topics related to Arduino. As an “open source electronic prototyping platform,” Arduino releases all of its hardware design files under a Creative Commons license, and the software needed to run Arduino systems is released under an open source software license. That includes an Arduino development environment that helps users create robots or any other sort of electronics project they can dream up.

Massimo Banzi.

So just like with open source software, people can and do make derivatives of Arduino boards or entirely new products powered by Arduino technology.

Read 25 remaining paragraphs | Comments


分类: OpenSource 标签:

Node.js-based Ghost blogging platform opens to the public

2013年10月14日 评论已被关闭

Last month we covered the soft launch of Ghost, a Node.js-based minimalist blogging platform. The application blew through a Kickstarter goal and has been under heavy development; last month, Kickstarter backers were granted early access to the application to get started with it (my own Ghost-based blog, for example, is here).

Today, the Ghost team is opening the platform up to everyone. You can download the Ghost application and get it going on your own server immediately, and users interested in assisting with the development can hit up the project’s GitHub repo and start poking around.

There are two major features still lacking from the platform: the fancy graphical management console and the hosted service. The graphical console with all of its fancy charts and graphs has been set aside temporarily while the core team focuses on making Ghost stable and functional enough for launch, but it should be making an appearance in an upcoming release.

Read 3 remaining paragraphs | Comments


分类: OpenSource 标签:

Ask Stack: Are fewer lines of code better?

2013年10月12日 评论已被关闭

This Q&A is part of a biweekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 80+ Q&A sites.

Mike Bryant asks:
Which of these programming styles is better?

<code>var result = methodOne(methodTwo(a, methodThree(b)), c, d); </code>


Read 20 remaining paragraphs | Comments


分类: OpenSource 标签:

Web Served, the finale: Congrats, you have a Web server! What’s next?

2013年10月10日 评论已被关闭
Aurich Lawson / Thinkstock

Welcome, dear readers, to the final piece in our long-running “Web Served” series. Starting last November, Ars has been helping to shed light on the fun world of DIY Web hosting—we started with setting up Nginx on Ubuntu, and we’ve progressed to advanced application hosting with PHP and even Node.js.

Along the way we’ve struggled with the command line and probably cursed at typos in config files. We’ve felt the incredible triumph of a simple “success” log file message and the crushing defeat of an error that appears to be happening for absolutely no reason. If you’ve stuck with us for the entire spread of articles, you’ve got a full-featured Web server capable of safely and quickly serving pages and running a wide range of awesome applications. Congratulations are in order—good job!

At this point you’ve got a functional Nginx Web server that’s configured with an eye toward speed and security. You’ve got it configured with SSL/TLS, (maybe) have some official certificates, and can serve data encrypted. You’ve got PHP set up along with the MySQL-compatible MariaDB, so you can handle serving most popular Web applications. Speaking of applications, you also probably have a WordPress blog, a Vanilla forum, and maybe even your own MediaWiki wiki.

Read 54 remaining paragraphs | Comments


分类: OpenSource 标签:

Google offers “leet” cash prizes for updates to Linux and other OS software

2013年10月9日 评论已被关闭

Google is offering rewards as high as $3,133.70 for software updates that improve the security of OpenSSL, OpenSSH, BIND, and several other open-source packages that are critical to the stability of the Internet.

The program announced Wednesday expands on Google’s current bug-bounty program, which pays from $500 to $3,133.70 to people who privately report bugs found in the company’s software and Web properties. Security researchers inside the company considered modifying the program to reward bug reports in open-source software, but eventually decided against that approach. The reason: bug bounty programs often invite a flood of reports of varying quality that can overwhelm the finite resources of open-source developers. What’s more, it’s frequently much harder to patch a vulnerability than merely to find it.

“So we decided to try something new: provide financial incentives for down-to-earth, proactive improvements that go beyond merely fixing a known security bug,” Michael Zalewski, a member of the Google security team, wrote in a blog post. “Whether you want to switch to a more secure allocator, to add privilege separation, to clean up a bunch of sketchy calls to strcat(), or even just enable ASLR—we want to help.”

Read 2 remaining paragraphs | Comments


分类: OpenSource 标签:

“Most powerful” Arduino ever has ARM Cortex-A8 chip, runs “full Linux”

2013年10月3日 评论已被关闭
The Arduino Tre.

The Arduino line of open source electronic prototyping platforms is getting some major upgrades. Earlier today, the first Intel-powered Arduino was announced, and it will be available by the end of November.

Arduino has also announced the Arduino Tre, based on the Texas Instruments Sitara AM335x ARM Cortex-A8 processor. Texas Instruments said that with the Tre’s 1GHz processor, it is the “most powerful Arduino to date” and the first that will be able to run “full Linux.” It will be available in spring 2014 from arduino.cc and other distributors, with pricing not yet announced.

“For the first time ever, Arduino users can use the full capabilities of Linux and gain access to a variety of new on-board connectivity options to develop a range of powerful, advanced applications while leveraging the simplicity of the Arduino software experience,” the Texas Instruments announcement said. “The Sitara-processor-powered Arduino Tre serves as a network hub that can connect to millions of classic Arduino nodes, enabling customers to be at the forefront of the Internet-of-Things era.”

Read 8 remaining paragraphs | Comments


分类: OpenSource 标签:

dmidecode ipmitool mcelog

2011年12月1日 评论已被关闭

Type   Information
          0   BIOS
          1   System
          2   Base Board
          3   Chassis
          4   Processor
          5   Memory Controller
          6   Memory Module
          7   Cache
          8   Port Connector
          9   System Slots
         10   On Board Devices
         11   OEM Strings
         12   System Configuration Options
         13   BIOS Language
         14   Group Associations
         15   System Event Log
         16   Physical Memory Array
         17   Memory Device
         18   32-bit Memory Error
         19   Memory Array Mapped Address
         20   Memory Device Mapped Address
         21   Built-in Pointing Device
         22   Portable Battery
         23   System Reset
         24   Hardware Security
         25   System Power Controls
         26   Voltage Probe
         27   Cooling Device
         28   Temperature Probe
         29   Electrical Current Probe
         30   Out-of-band Remote Access
         31   Boot Integrity Services
         32   System Boot
         33   64-bit Memory Error
         34   Management Device
         35   Management Device Component
         36   Management Device Threshold Data
         37   Memory Channel
         38   IPMI Device
         39   Power Supply
Instead of type_id, you can also pass the keyword to the -t option of the dmidecode command. Following are the available keywords.
       Keyword     Types
       bios        0, 13
       system      1, 12, 15, 23, 32
       baseboard   2, 10
       chassis     3
       processor   4
       memory      5, 6, 16, 17
       cache       7
       connector   8
       slot        9   

# dmidecode -t 16

#dmidecode -t 17
#dmidecode -t memory

[2hei.net]# ipmitool
No command provided!
    raw           Send a RAW IPMI request and print response
    i2c           Send an I2C Master Write-Read command and print response
    spd           Print SPD info from remote I2C device
    lan           Configure LAN Channels
    chassis       Get chassis status and set power state
    power         Shortcut to chassis power commands
    event         Send pre-defined events to MC
    mc            Management Controller status and global enables
    sdr           Print Sensor Data Repository entries and readings
    sensor        Print detailed sensor information
    fru           Print built-in FRU and scan SDR for FRU locators
    gendev        Read/Write Device associated with Generic Device locators sdr
    sel           Print System Event Log (SEL)
    pef           Configure Platform Event Filtering (PEF)
    sol           Configure and connect IPMIv2.0 Serial-over-LAN
    tsol          Configure and connect with Tyan IPMIv1.5 Serial-over-LAN
    isol          Configure IPMIv1.5 Serial-over-LAN
    user          Configure Management Controller users
    channel       Configure Management Controller channels
    session       Print session information
    sunoem        OEM Commands for Sun servers
    kontronoem    OEM Commands for Kontron devices
    picmg         Run a PICMG/ATCA extended cmd
    fwum          Update IPMC using Kontron OEM Firmware Update Manager
    firewall      Configure Firmware Firewall
    shell         Launch interactive IPMI shell
    exec          Run list of commands from file
    set      &nb
sp;    Set runtime variable for shell and exec
    hpm           Update HPM components using PICMG HPM.1 file
    ekanalyzer    run FRU-Ekeying analyzer using FRU files
[2hei.net]# ipmitool event 3
Sending SAMPLE event: Memory – Correctable ECC
   0 | Pre-Init Time-stamp   | Memory #0x53 | Correctable ECC | Asserted
[2hei.net]# ipmitool sdr elist
CPU0 below Tmax  | 7Bh | ok  |  3.0 | 47 degrees C
CPU1 below Tmax  | 7Ah | ok  |  3.1 | 39 degrees C
DIMM0 Area(RT3)  | 7Eh | ok  |  7.0 | 30 degrees C
PCI Area(RT2)    | 7Fh | ok  |  7.0 | 36 degrees C
CPU0 VCORE       | 71h | ok  |  3.0 | 0.90 Volts

[2hei.net~]#mcelog –cpu nehalem –dmi < /var/log/mcelog >> /home/2hei.net/mcelog.dmi

CPU1 VCORE       | 70h | ok  |  3.1 | 1.02 Volts
3.3V             | 75h | ok  |  7.0 | 3.30 Volts
+12V             | 76h | ok  |  7.0 | 11.81 Volts
VBAT             | 79h | ok  |  7.0 | 3.12 Volts
5V               | 77h | ok  |  7.0 | 4.90 Volts
Sys.1(CPU 1)     | 80h | ns  |  7.0 | No Reading
Sys.2(CPU 0)     | 81h | ok  |  7.0 | 6720 RPM
Sys.3(Front 1)   | 82h | ok  |  7.0 | 4080 RPM
Sys.4(Front 2)   | 83h | ok  |  7.0 | 3840 RPM
Sys.5(Rear 1)    | 84h | ok  |  7.0 | 4200 RPM
Sys.6            | 85h | ns  |  7.0 | No Reading
Sys.7            | 86h | ns  |  7.0 | No Reading
Sys.8            | 87h | ns  |  7.0 | No Reading
Sys.9            | 88h | ns  |  7.0 | No Reading
Sys.10           | 89h | ns  |  7.0 | No Reading

BUG of kickstart config file of Ubuntu

2011年11月24日 评论已被关闭


cat ubuntu_ks.cfg
#Generated by Kickstart Configurator
#platform=AMD64 or Intel EM64T

#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
#System timezone
timezone –utc America/New_York
#Root password
rootpw –iscrypted $1$dIx6XYId$Grao2hlnjSQCXCbmdShWW1
#Initial user
user fisher –fullname “2hei” –iscrypted –password $1$yFK9gVs1$L9RHTs7B6oClIC4fonT.s/
#Reboot after installation
#Use text mode install
#Install OS instead of upgrade
#Use Web installation
url –url http://2hei.net/install/ubuntu/9.10/
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart –all –initlabel
bootloader –location=mbr

#Disk partitioning information
#part raid.11 –size 20480 –asprimary –ondisk sda
#part raid.12 –size 100 –asprimary –ondisk sda
#part raid.13 –size 8192 –ondisk sda
#part raid.14 –size 1 –grow –ondisk sda
#part raid.21 –size 20480 –asprimary –ondisk sdb
#part raid.22 –size 100 –asprimary –ondisk sdb
#part raid.23 –size 8192 –ondisk sdb
#part raid.24 –size 1 –grow –ondisk sdb
#raid / –level=1 –device=md1 raid.11 raid.21
#raid /boot –level=1 –device=md0 raid.12 raid.22
#raid swap –level=1 –device=md2 raid.13 raid.23
#raid  –level=1 –device=md3 raid.14 raid.24
#System authorization infomation
auth  –useshadow  –enablemd5
#Network information
network –bootproto=static –ip= –netmask= –gateway= –nameserver= –device=eth0
#Firewall configuration
firewall –disabled –http –ssh
#X Window System configuration information
xconfig –depth=32 –resolution=800×600 –defaultdesktop=GNOME –startxonboot

分类: OpenSource 标签: ,