[00:26] Ciao [01:32] mate 1.0 on mint12, nrrd a battery indicator [01:32] need* [01:33] !mint | zetarc12 [01:33] zetarc12: Linux Mint is not a supported derivative of Ubuntu. Please seek support in #linuxmint-help on irc.spotchat.org [01:41] well mint is like 95% ubuntu, every ubuntu guide seems to work perfectly with it [01:41] hi [01:41] whats everyone doing? [01:47] khmerog not much, trying to prep this netbook with linux, only has xp, acer didn't include a disc and refuses to send one for thess then $20 even though xp is deadin a little over a year [01:47] less* [01:48] sorry [01:48] i thought this chat room is a class room and will teach us about ubuntu [01:48] like teach us basics and tricks and tweaks [01:49] zetarc12 do u have the windows XP key? the code? [01:50] khmerog yeah, but it didn't work with the .iso I had ripped off a newegg bought copy of xp sp3 [01:53] i had to download 3 differnt version of XP in order to get my XP key to work [01:54] remeber there is XP oem, XP oem SP 3, and windows XP retail, retail SP3, etc. [01:54] but what are the specs of your notebook? CPU and ram please [01:56] Zetarc12, but it's still different. And mate isn't available in official Ubuntu repositories [01:58] which is a shame as the desktops based on gnome 3 are all terrible and LXDE and XFCE are lacking [02:03] i have lubuntu right now on my pentium 4 laptop...its very boring and windows like but it is very responsive compared to XP [02:03] i think it is running LXDE === SaMe is now known as SergioMeneses === pabspabspabs is now known as pabs3 === muthusuba_ is now known as muthusuba === maleknet is now known as alirezameskin === alirezameskin is now known as AlirezaMeskin === pirat is now known as Guest46602 === billybigr is now known as billybigrigger === Guest77193 is now known as yofel === yofel is now known as Guest53016 === Guest53016 is now known as yofel_ === lool- is now known as lool === ikonia_ is now known as ikonia === jbicha is now known as Guest36751 === akira is now known as Guest75867 [13:58] everyone ready? I guess my time is up for preparing this session ;) === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Open Week - Current Session: Configuring your network using NetworkManager - Instructors: cyphermox [14:01] Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html following the conclusion of the session. [14:02] Hi, I'm Mathieu Trudel, Ubuntu Developer, employed by Canonical and the usual suspect for breaking your network :) In all seriousness though, I'm the one usually responsible for NetworkManager -- I say "usually", because we *do* encourage users to contribute. It's not as scary as you may think; but you can ask me about the details later :) [14:02] I'll run this session in two parts: the first I'll give a few tricks to make NetworkManager really do what you want it to do; then I'll answer any questions. [14:03] For the second part, I'll go into some small debugging tips if things don't go as planned, so that you can understand what's going on and hopefully get online to be able to report a bug, if necessary [14:03] Then I'll obviously answer any other questions :) [14:04] One of the key things we did in 12.04 was to make it as simple as possible to deal with DNS (what translates between URL names and IP addresses used on the Internet); to do this we enabled dnsmasq (a local nameserver) by default; I'll show you how to debug issues related to this shortly. [14:05] The jist of it is: that's supposed to help you and make your life easier, just working properly out of the box for almost everyone, but we understand that some use cases don't work well with it, so I'll show you how to disable it... just before getting into the debugging part. [14:05] But first, let's talk about routing. Routing is basically what decides how traffic goes from your computer and any interfaces it has to other systems on the Internet, choosing what interface to use and what other systems to talk to. (I'm simplifying, but you get the idea) [14:05] Routing is special in that NetworkManager uses a particular rule to choose the most useful connection -- basically, Wired is always preferred, followed by Wireless, then by 3G and other connections. To circumvent this if you want to be connected to a wired network to... debug your wireless router, for instance, and on wireless at the same time, you can toggle the "Use this connection only for the resources on its [14:05] network" checkbox. [14:06] To do this, click the Network indicator (nm-applet), then Edit Connections... http://imgur.com/ld2cq [14:06] ^^ the link above is a screenshot I took from my system. [14:07] (also, feel free to jump in in #ubuntu-classroom-chat and ping me if I'm going too fast) [14:07] You'll see the list of all your connections. Those also match with files in /etc/NetworkManager/system-connections as long as they are set "Available to all users", which is a checkbox in the next screen (the one that shows up when you hit Edit in the connection editor). http://imgur.com/6bcGg [14:08] Usually, you won't have to add new networks via the editor, because most cases are already covered by clicking on a wireless network, which will automatically create the right type of connection as long as it gets properly detected by NM. [14:09] Should you need to, though, for specific Wired settings, or for a new Wireless network that is invisible, you can use Add and enter the settings. For wireless, all you really need is a name for the connection, and to fill in the SSID below (and then any security settings under the Wireless Security tab). [14:09] If you're filling in a connection and you can't click the "Save" button, it just means that NM is still expecting you to enter data, or that the data is not entered correctly (it can't make sense of it, like using commas instead of periods in IP addresses) [14:10] To get back to routing, you'll see under the IPv4 (and IPv6!!) tab, a button labelled "Routes". If you click on it, a new dialog will appear and allow you to toggle that "Use this connection....", which will make that connection not be used as the "default" for accessing the Internet. See http://imgur.com/zvshy [14:11] "Use this connection only for the resources on its network" is basically doing exactly what it means: that connection will not become the default route (the one used for Internet access, basically), but you should still be able to connect to any other machines connected to the same network [14:11] Questions so far? [14:12] (make sure you drop by in #ubuntu-classroom-chat, which is where I'll be able to see them) [14:12] Let's continue :) [14:12] Now, let's talk about configuration files in NetworkManager: [14:13] There are two basic types of configuration files for NetworkManager, the global configuration which handles the internal NM stuff; and per-connection configurations which describe the settings you've selected. So if you want to move connections from one computer to the other (and basically, back stuff up) you can now do this easily by copying the contents of /etc/NetworkManager/system-connections! [14:13] The global configuration is largely explained in the manual page NetworkManager.conf(5); it has the details about plugins to use (we use ifupdown and keyfile: ifupdown understands the /etc/network/interfaces configuration file from ifupdown (something we inherit from Debian), and keyfile reads the per-connection configs. [14:14] It also has a line "dns=dnsmasq"; this is what enables the use of dnsmasq as a local nameserver; it's also the line you want to remove or comment out if you find that this is being a problem -- but I strongly encourage you to seek help if you think it's being an issue! [14:15] A good place to ask for this is #ubuntu; or #ubuntu-bugs if you're about to file a bug about it [14:15] If this kind of thing doesn't work, we definitely want to know about how you use NetworkManager, so that we can provide you with a solution (or fix a bug!) [14:16] The usual NetworkManager.conf file should look like this: http://paste.ubuntu.com/ [14:16] ah, oops [14:17] http://paste.ubuntu.com/962450/ [14:17] ^^ in the above, the other think I didn't mention yet is that weird "managed=false" line [14:18] This is another special trick that deals with /etc/network/interfaces, the way that is used in Debian, and on servers, to configure network connections [14:18] What it means is: if managed is "false"; NM will simply ignore any device configured in /etc/network/interfaces, and assume they are *online* [14:19] If it's set to "true", the same applies, but NM will also try to make it possible to enable and disable that connection from the applet! [14:19] It's useful if you're trying to do special configurations that use both NM and ifupdown -- but that's outside of the scope of this session; just ask me at the end if you're more curious about details related to this. [14:20] Now, let's look at a standard per-connection configuration file [14:21] Those are under /etc/NetworkManager/system-connections -- they require root to be read, and may contain passwords; so I encourage you not to share them unless absolutely necessary (and after removing the password) [14:21] http://paste.ubuntu.com/962453/ [14:22] ^^ this is a free wifi connection I use in Montreal, a small cafe with small businesses and LUG meetings :) [14:22] As you can see, the top part is just the name of the connection and matches the name of the file [14:22] it's followed by some magic to make sure all connections are unique, and to clarify the type of device it's for [14:23] Since there's a UUID involved, I encourage you not to try to write them yourselves; but if you must, the UUID can be generated by the 'uuidgen -r' command. [14:24] In the 802-11-wireless section, the name of the wireless (ssid=) is all that's really required, but the other fields further clarify other details, such as the mac address of the accesspoint [14:25] Then, as you can see, IPv6 and IPv4 are set to "auto", which has been the default since 11.10; and means to get IP addresses via DHCP or autoconfiguration -- that normally works well, but if you had configured it differently, it would also be written there [14:27] If you want to configure a connection to use static addresses, scroll back up above to the part where I showed the "Available to all users" checkbox, and you can change the settings in the IPv4 (or IPv6) tabs to set the static address, after switching the "Method" dropdown at the top to "Manual" [14:28] I have more time for questions now, before I jump in to debugging tips -- I'm not getting too deep in configuration specifics, because I think it's pretty obvious in the dialogs, but if not, feel free to ask :) [14:30] No questions? [14:30] * cyphermox prepares links for debugging tips [14:32] So, one of the things I fixed some time ago was to make the wiki page for Debugging NetworkManager clearer (I hope), and useful both for developers and users, also making it simpler to get all the information for a bug report (which means you can also quickly get all the information to figure things out yourself, if you know a few tricks about wifi) [14:32] That page is here: https://wiki.ubuntu.com/DebuggingNetworkManager [14:33] in "Understanding your bug and getting more information", keys things are two links: matching error and reason codes to what they mean! [14:34] https://wiki.ubuntu.com/DebuggingNetworkManager/ReasonCodes is a page I generate straight from the NetworkManager source code; and explains the various error messages and reasons you may see in logs. [14:34] Everything that NM sees and thinks is of interest ends up in /var/log/syslog; there's lots of information there, and that wiki link above helps make sense of it [14:36] This may help you figure out what is going wrong, and in some cases avoid opening bugs when it may be details to discuss with your network's administrator (assuming it's an issue with your office's wifi), or an indication of a configuration that may be just about to fail [14:36] The second link is a little more scary: http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob;f=src/common/ieee802_11_defs.h [14:37] I'm pointing it out because it does come up every once in a while in bug reports, and in questions: it contains the description of the reason codes from wpasupplicant [14:38] Wpasupplicant is what NM uses to establish encrypted wireless connections; since it's a program external to NetworkManager, it writes its own information to /var/log/syslog, some of it is a little cryptic. [14:39] If you scroll down on that link to the entries starting in WLAN_STATUS_ and WLAN_REASON_; you can match those to messages from wpasupplicant when it fails to connect (the things you'll see, once again, in /var/log/syslog) [14:39] Let me see if I can find a good example. [14:40] wpa_supplicant[1152]: CTRL-EVENT-DISCONNECTED bssid=58:6d:8f:70:71:d6 reason=4 [14:40] there's also reason 3 that is pretty common [14:41] Reason 4 means WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY; which I think means I took too long to authenticate myself (in this particular case) [14:41] Reason 3 would mean that it's a normal disconnection (DEAUTH_LEAVING) because of roaming to a different network, or changing connections. [14:42] This is data that is particularly useful when reporting bugs, because it gives me (and other developers) and idea of what might have happened without needing packet traces, or access to the wireless access-point ;) [14:43] Other issues that come up often in large locations is WLAN_REASON_DISASSOC_AP_BUSY 5; which can mean that there are too many clients connected to the access point already [14:43] I've seen this happen a few times in bug reports, in university environments where the APs may be pretty busy [14:44] Back to the wiki page: [14:44] There's another link, to the upstream debugging page: http://live.gnome.org/NetworkManager/Debugging. If you're curious, and in need of more tricks on figuring out what might be happening that's a nice place to look [14:44] In 11.10, we also made it easier to get debugging logs [14:45] Before, you had to shut down NetworkManager (and lose your connection), then start it again with a complicated command-line. [14:45] Or if you wanted to get debugging logs from wpasupplicant, you had to *edit* configuration files as root -- not very fun, for anyone [14:46] I wrote a small script in Python that makes this easier: see "Getting debug logs" on http://wiki.ubuntu.com/DebuggingNetworkManager [14:46] that script has since made it upstream, and is now shipped with every install of Ubuntu Desktop: [14:47] sudo python /usr/lib/NetworkManager/debug-helper.py --nm debug [14:47] You can with this quickly enable debugging in NM, in ModemManager (for 3G connections), and in wpasupplicant [14:48] See sudo /usr/lib/NetworkManager/debug-helper.py --help [14:48] When responding to bug reports, I'll ask for the kind of debugging information needed. [14:49] The last think I want to show is "nmcli" [14:49] Not purely debugging, but it's a nice little tool that can be useful if you need to get online and can't start the graphical interface === txwikinger2 is now known as txwikinger [14:49] It interfaces with NetworkManager to allow you to bring down, or bring up connections. [14:50] Unfortunately, it does not yet *create* connections, that's something we want to fix for 12.10. [14:50] The interface for it is a little complicated; but "nmcli help" helps [14:50] There are 10 minutes remaining in the current session. [14:50] For any of the commands in it you can use "nmcli help", like "nmcli con help" [14:51] So, to bring up a connection from the command line: [14:51] nmcli con up id "cyphermox.net" [14:51] (changing "cyphermox.net" with whatever your connection is called ;) [14:52] 'nmcli con' lists all connections, and 'nmcli dev' lists all the devices. [14:53] nmcli con status id "UQAM Wi-Fi" can give you all the information about a connection [14:53] Though "nm-tool" is a slightly simpler way to get all this in one go :) === imbrandon is now known as imbrandon2 [14:53] and finally, if you want to list wireless networks in range, you can try "nmcli dev wifi list" [14:54] I'm pretty much done; any questions? [14:55] If you want to contact me on IRC, I'm mostly always connected and hanging out in #nm with other NetworkManager developers... As well as in many many channels. Feel free to ping me if you need help figuring out what might be going wrong, but I do encourage bug reports rather than email or other forms of contact, it's easier to track if something was fixed :) [14:55] There are 5 minutes remaining in the current session. [14:55] No questions? [14:56] Thanks all for listening! :) === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Open Week - Current Session: Scaling wordpress with juju, the OMG!Ubuntu! story - Instructors: marcoceppi, imbrandon [15:00] If everyone's ready, we'll get started! [15:00] Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html following the conclusion of the session. [15:01] Feel free to ask questions in #ubuntu-classroom-chat at anytime during the discussion === Pupuser-1 is now known as HYFRYD [15:01] Hello, my name is Marco Ceppi, I'm a Senior DevOps Engineer and Ubuntu Member. This is going to be a two part openweek class the first half consisting of how we setup and migrated OMG! Ubuntu! from traditional host to Juju deploy cloud service, the pitfalls and victories involved with that transition. [15:01] The second half will be led by Brandon Holtsclaw, a Senior DevOps Engineer and Ubuntu Developer, who will dive in to the more technical aspect of the OMG! Ubuntu! charm and how it's been setup to scale. [15:02] If you're not familiar with Juju you can check it out at http://juju.ubuntu.com/ Juju is essentially a service orchestration tool for the cloud [15:02] o/ [15:02] Some back story: About a month and a half ago OMG! Ubuntu!'s main server was down for about three days, on the third day we approached OMG! and asked if we could charm their environment and have it so OMG! can scale their service out when the load on the site grows (say about every six months during release). [15:03] The first steps we took were a bit naive, without much information we used Juju to deploy a MySQL charm, a WordPress charm, and an HAProxy charm. [15:04] After this was deployed and relations were made; we manually put OMG!'s theme files and Database files on to the charm, added a few extra WordPress heads and pointed the traffic at the HAProxy instance. Within moments all the services died under the load of traffic. [15:04] The next week was spent tuning WordPress to scale properly to meet the traffic demands of a site like OMG! [15:04] In order to work on the charm simultaneously we employed several techniques both within and outside of Juju [15:05] First we forked the default wordpress charm and started building on to it all the things that were needed to run OMG! within Juju [15:05] hey marcoceppi [15:05] a few are a little foggy on what exact a charm is [15:05] Sure! [15:05] can you spend half sec on that [15:05] kk === thisfred is now known as dr_lag [15:06] Juju includes a collection of services that you can deploy which are called Charms. These Charms contain the information that let you deploy whatever services you want in Juju. === dr_lag is now known as thisfred [15:07] You can find a collection of the current charms in the Juju Charm Store: http://jujucharms.com/charms new Charms are being added every day to help flesh out the number of different things you can deploy with Juju [15:08] Each charm contains a set of hooks which can be written in any language that drive how the service is deployed, configured, and exposed to other services deployable by Juju [15:09] So, we forked the default WordPress charm (http://jujucharms.com/charms/oneiric/wordpress) so we could commit all the ongoing improvements required to make WordPress scale [15:10] Another issue we had to overcome was providing access to multiple people as there was a small group of experts working on this Charm. In order to do that we utilized a few tools for this [15:11] The first thing we did was gather all the SSH keys for each person involved and gave them access to the Juju environment by adding them to a list of keys in the Juju evironment file under "authorized-keys" [15:12] This allowed us to all to connect to the Juju environment and tweak things as needed. [15:12] During the earlier times of firefighting we started an EC2 micro instance and actually ran Juju from there in a byobu screen session [15:13] That way we could add additional people access to the environment without having to modify the Juju environment directly [15:14] Though that method of access was eventually replaced by the aforementioned authorized-keys way of divvying out access [15:15] As we continued to tweak the charm over time we were able to go from running three Extra Large Amazon EC2 instances just to keep the site up, down to just one Medium instance, to eventually serving everything from just one Small instance [15:16] This is kind of the core of what Juju Charms are, they encapsulate the knowledge of the Experts who know these services in to an easily deployable Charm. As the WordPress charm was one of the first to hit the charm store it didn't have that level of expertise capture [15:17] As the charm store has grown, more experts have contributed their knowledge of how *they* setup that service, meaning when you deploy something like MySQL (as we do in the case of the OMG! charm) that MySQL service is tuned by a MySQL expert for cloud computing and Juju [15:18] That's what will happen with the WordPress charm, as the work on OMG! Ubuntu! charm finishes, the lessons learned from creating a highly scalable WP installation will be merged in to the existing WordPress charm, making it available to everyone for deployment [15:19] Any questions so far on Juju, Charms, how we shared environments, etc? [15:20] In that case I'm going to go ahead and let imbrandon discuss more the technical aspect of the OMG! Ubuntu! charm and things we ended up doing to make it so powerful [15:21] o/ Hey Everyone , I'm gonna give a real high overview of the stuff we use to make it so fast, and scale so well then, i'll get into the config bits in detail just a little bit [15:22] first of all like marcoceppi said , the first days we rough with 3 extra large instances running apache and mod_php [15:22] a pretty standard lamp stack === Resistance is now known as EvilResistance [15:23] the first things we swapped out were to bring nginx into the mix with php-fpm as the processor [15:24] this allowed us to out of the box drop down to mediums with no special config [15:24] on top of nginx and php , we needed to make sure the opcode caching ( APC ) was setup correctly [15:25] and as we got those things started to calm down a bit and we really had the time to put [15:25] some of this into code back into the charm [15:25] allowing us to redeploy at this level at will, and also allowing us to setup "staging" [15:26] where we would test many diff options before actualy needed to do it on the live servers [15:26] if your not aware of the traffic we're talking about , omg gets somewhere between 3 million and 7 million pageviews a month [15:27] that works out to , well −0- time of the day that it can be down and someone not be effected [15:27] so staging really helped us to achieve that and with juju at a level that we're confident it matched production [15:28] ok now , a little bit about the actual config [15:28] you can actually find the code we deploy with at https://github.com/websitedevops/charms-omgubu [15:28] no this is not the general WP charm that you would deploy [15:29] as it has alot of OMG specific items [15:29] but the general idea of it will be put back ":upstream:" into the WP charm for every one [15:30] one of the main things we do diffrently on OMG that is not a wide practice yet is "Micro-caching" [15:30] where as traditional caching there is problems with content getting out of sync [15:30] or logged in vs logged out users , etc [15:31] what a microcache does is caches everything, instead of only anon users, but only for a very short time [15:31] in our case 60s [15:31] normally its anywhere from 1 second to 60 seconds [15:32] and at that level then all the traffic is handled by the nginx load balancer [15:32] and actual traffic to php only happens a few times a minute [15:33] scaling a webserver to handle 300req/s is not all that trivial, but to scale one to 3 req/s is much more ootb [15:33] this alllows us to use a very stock wordpress with out much code modification to handle the scale out [15:34] but still handle i think we measured right at 260req/s per webhead on realease day a few days ago [15:34] another thing we use is tracking and metric software [15:34] to allow us to know where the bottlenecks are and what areas to concentrate on [15:35] i've done a quick screencast you all can watch at your leasure that goes over the use of Blitz.io for load testing the staging env before we deploy it to prod [15:36] and Newrelic ( thats also a charm in juju ) to "see" inside the app code as it runs [15:36] http://www.youtube.com/watch?v=DXR5V4j-UMo [15:36] is where the screencast lives, and forgive the quality, as it is my first attempt at such [15:37] also [15:37] if you take a look at this file in particular [15:37] https://github.com/websitedevops/charms-omgubu/blob/master/files/nginx/etc_nginx_sites-enabled_loadbalancer [15:37] you can see exactly what i was talking about with the micro-caching that we do with nginx [15:38] anything so far that you all would like covered a little deeper ? [15:39] ok I'm gonna let marcoceppi step back in for a moment [15:39] and go over a few more things [15:40] and I'll return before we wrap up [15:41] What's great about investing time in Charm authoring, is how portable the Charms are [15:42] As imbrandon mentioned, we were able to create a "staging" environment on EC2 for testing updates to the charm before the went live, but we were also able to deploy the charm locally to our own machines [15:43] This allowed us to develop, deploy, destroy, develop, deploy, destroy, over and over without actually needing to pay a dime to EC2 or another cloud provider as everything was deployed locally [15:43] One of the benefits of Juju is it's cloud abstraction, the same charm you deploy locally, will deploy on EC2, OpenStack, MAAS, Orchestra, etc [15:45] Right now we're deploying OMG! to EC2, but if a more cost effective cloud provider was available we could deploy to them if they're supported by Juju with little to no modifications of the charm [15:47] ( we have tested the environment in HPCloud and are currently evaluating Rackspace too , all with the same codebase and "tweaks" ) [15:48] As we continue to make improvements and test them for OMG! Ubuntu! upgrading the current environment is very simple and straight forward, since Juju tracks all the units, services, and all those relations, etc when we need to upgrade the current deployment it's as easy as juju upgrade-charm omgubuntu [15:49] This makes rollouts to the current charm, and upgrades to things like MySQL extremely straight forward. [15:49] Any questions on anything we've talked about so far, or OMG! Ubuntu! we can answer? [15:50] If anyone would like to scale their own sites in much the same ways we're normally available in #juju as well as many other [15:51] There are 10 minutes remaining in the current session. [15:51] experienced Charmers [15:51] We have a few minutes left, in addition to imbrandon's screencast on Blitz.io here are two showing line for line deploying OMG! Ubuntu! and scaling it out [15:52] http://shelr.tv/records/4f86f8da9660807979000013 [15:52] http://shelr.tv/records/4f86fbe1966080796f000015 [15:55] I believe that's all we have time for today, if you're interested in learning more about Juju join the #juju IRC room, on the web at http://juju.ubuntu.com [15:55] Well I think that about does it for us then, again we're always around in #juju if you do have any questions later, even if its normal scaling , we might be able to help or point you to the right resource, and hopefully you all enjoyed the talk , and can now enjoy OMG!Ubuntu :) [15:55] There are 5 minutes remaining in the current session. === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Open Week - Current Session: Gaming on Ubuntu - Instructors: iheartubuntu - Slides: http://is.gd/wWEepQ [16:00] Slides for Gaming on Ubuntu: http://people.ubuntu.com/~lyz/slides/gaming_in_ubuntu-uow-p.pdf [16:01] Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html following the conclusion of the session. [16:01] Hi everyone, thanks for coming! [16:01] iheartubuntu: all yours :) [16:01] Hello everyone! My name is Dave and I am an Ubuntu *only* user of 6 years. Ubuntu is my only operating system. I help out with my California LoCo team and enjoy meeting new people at Ubuntu Hours. [16:01] if you have questions, please ask them in #ubuntu-classroom-chat with the prefix QUESTION: so it gets picked up by the bot [16:02] [Slide 1] [16:03] Gaming On Ubuntu [16:03] [Slide 2] [16:03] It's 2012 already. Lets play some games. [16:04] Gaming in Ubuntu has come a long way. You no longer have to spend hours on the internet searching for games that work on Ubuntu. [16:04] Nor do you need to learn distro packaging or learn how to compile programs from the terminal. [16:05] It is now easy to find and install games. Great games. [16:05] Lets take a look... [16:05] [Slide 3] [16:06] So where can you go to find new & breaking information about games? [16:06] There are several websites that offer great news & info about Ubuntu games. [16:06] These websites usually will provide links to download the games and instructions on how to install. [16:07] OMG! Ubuntu! http://omgubuntu.co.uk/ [16:07] I Heart Ubuntu http://www.iheartubuntu.com/ [16:07] Linux Games http://www.linuxgames.com/ [16:08] Full Circle Magazine http://fullcirclemagazine.org/ [16:08] The well respected OMG! Ubuntu! has breaking news about recently released Ubuntu games and is a great source of info. [16:09] I Heart Ubuntu loves to cover legacy games like chess and backgammon. [16:10] Linux Games always has up to date game info, and Full Circle Magazine has great in depth reviews of games. [16:10] [Slide 4] [16:11] Now you want to know where to Find some Ubuntu Games. [16:11] There are now several places to find games that will work on Ubuntu. [16:12] The Ubuntu Software Center is packed full of games to keep you busy. [16:12] It's that little orange shopping bag icon on your Unity dash. [16:12] The Desura.com game distribution website has high quality games available for Ubuntu. [16:12] Many of the hottest games are now appearing there first. [16:13] You can find Ubuntu Linux specific games on their site here: http://www.desura.com/platforms/set/linux64 [16:13] Humble Bundle continues to release fresh new game content. [16:14] They give you the choice of how much to spend and where to allocate your payment (to developers, to charity, etc) [16:14] It's a great site. You can find them here: http://www.humblebundle.com/ [16:15] Playdeb.net caters to the Ubuntu gamer and attempts to make it easy to find, browse and install Ubuntu games. [16:15] Make sure you read up on how to install games from their website. http://www.playdeb.net/updates/ [16:16] [Slide 5] [16:16] Other Games... There are a few other options you can try as well. [16:17] PlayOnLinux is an Ubuntu program that uses the WINE compatibility layer to run Windows games on Ubuntu. [16:17] Not all Windows games work, but many of them do. Try it out if you want to have a certain game installed. [16:17] PlayOnLinux http://www.playonlinux.com/en/ [16:18] You have the option of scouting the internet for all sorts of Adobe Flash games, Java games and more. [16:18] The Google Chrome Store has a ton of Online Games and makes a great place to find new and interesting web based games. [16:19] You will need Google Chrome or Chromium to access their web store here... https://chrome.google.com/webstore/category/app/3-games [16:19] [Slide 6] [16:20] Ubuntu Games: A Starting Point [16:20] The following pages are by no means an exhaustive list of Ubuntu Games available. There are far more than we can imagine. [16:20] If you are interested in installing any of these games on the list, start by searching to see if its available in the Ubuntu Software Center. [16:21] If not, try PlayDeb, Desura, or the Humble Bundle. [16:21] These lists are not necessarily the best of the best and they may perhaps leave out your all time favorite (snakes). We apologize in advance :) [16:21] [Slide 7] [16:22] ARCADE: Extreme Tux Racer, Frets on Fire, Frozen Bubble, Super Tux 2, Teeworlds, Frogatto [16:22] Again, these are just a handful of some great games you [16:22] will find. But there are lots more. [16:22] BOARD: PyChess, GNU Backgammon, Mahjongg, Shisen-Sho, Pyscrabble, GTKAtlantic, Lagno [16:23] CARD: PokerTH, Aisleriot Solitaire, Hearts [16:23] DRIVING: Supertuxkart, Stunt Rally, Speed Dreams, Torqs, Vdrift, Corebreach, Road Fighter, Trophy [16:24] (the recently updated Supertuxkart has some all new great additions, check it out if you havent played it in a while) [16:24] MMORPG: Regnum Online (now called Realms Online), Ryzom, Planeshift, Tribal Trouble 2, Flare [16:24] ACTION/FPS: Steel Storm: Burning Retribution, Alien Arena, Open Arena, Urban Terror, Smokin Guns, Wolfenstein [16:25] (ive burned several hours on Steel Storm! Its fun) [16:25] SIMULATION: Flight Gear, Danger of the Deep, Zero Ballistics, Vendetta Online, Vega Strike, OpenBVE [16:25] Danger of the Deep is a high quality submarine sim. Worth a look if you are into it [16:26] [Slide 8] [16:26] STRATEGY: Oil Rush, TripleA, Battle For Wesnoth, Family Farm, Open TTD, FreeCol, FreeCiv, Warzone 2100, Bos Wars [16:27] (my sister is hooked on Family Farm.. very addictive and nice graphics) [16:28] SPORT: Neverputt, Neverball, Volley Brawl, Awesome Soccer, Billiard-GL, Foobillard, Marble Arena 2 [16:28] The sports games on Ubuntu is definitely lacking IMO [16:28] PUZZLE: World of Goo, COGS, Clockwork Man: Hidden World, Palapeli, Sudoku, Tanglet, GBrainy, Chainz Galaxy, 7 Wonders: Magical Mystery Tour [16:29] (some of these games do cost money. hidden world is a nice hidden object game) [16:30] [Slide 9] [16:30] Thats about it for this lesson. You can download this PDF document here as well - http://ubuntuone.com/4MBDAYiMv70oQz8EBfBzDU [16:31] Anyone have any questions for iheartubuntu? [16:31] please ask them in #ubuntu-classroom-chat prefixed with QUESTION: [16:31] Hope you picked up something new! [16:38] PlayOnLinux makes it super easy for running Windows games on Ubuntu. For example World of Warcraft works great. A favorite of mine called "Future Pinball" run great as well. [16:39] The new Diablo 3 is coming out soon and I have read several places that while linux wont be supported, the game works fine using WINE (and playonlinux) [16:39] quixotedon asked: does pcsx work fine on 12.04? just installed it a few days ago before the upgrade and haven't tried it since i don't know where to find the emulation file.. :) [16:40] QUIXOTEDON: actually it works great. the internet is your friend. [16:40] UnR34L asked: Do you think the big gaming companys are sweeping linux under the carpet these days or have you seen any progress from them ? [16:41] I use the keyboard to play the pcsx games, but a gamepad would be a lot easier [16:44] Personally I feel linux games get swept under the rug by the big publishers. So yeah. [16:44] bmoez asked: we found many tutoriels to install some games with wine, but adding this games to the list of playonlinux' games isn't very used as the best way to run win'games en ubuntu. what do you think about it? [16:44] Ive been running Ubuntu for 6 years now and have not seen a lot of momentum up until recently with the new Ubuntu Software Center about 6-10 months ago. [16:44] Games are pouring in now [16:45] Its worth checking Ubuntu Software Center weekly at least as new games keep popping up and many of them are high quality (finally) [16:46] PlayOnLinux uses WINE, so for ease of use I now see if I can install a Windows based game through PlayOnLinux first. [16:47] If the game is listed in their directory it should work great. [16:47] If not, your best option is to check the WINE database and follow any tips or instructions to get the game working properly http://appdb.winehq.org/ [16:48] quixotedon asked: anyway my big question is why can't there be more games made on a cross platform such as Qt, rather than insisting on putting it on windows.. or should we non windows users urge so? [16:50] I think with google opening up their kernel and kernels merging if you will, we are going to see a ton of Android games hit the market. When? Who knows, but I would say sometime this year from researching. [16:50] There are 10 minutes remaining in the current session. [16:51] Quixotedon, I am not sure about Qt, sorry. [16:51] bmoez asked: game center become a part of OS (as on mac), will we found a official game center that interconnect with others games services (ex: steam, djl, playonlinux, getdeb-games,...) to help users to install there favorites games easy in next version? [16:52] Bmoez, thats a great question and one I have no answer for. Continue to follow the websites listed on Slide 3 of the presentation for up to date info. [16:53] bmoez asked: will getDeb-games become an optional repository in ubuntu the same way as linuxmint? [16:54] Not to my knowledge, but it is super simple to install via their DEB file or following their easy guide to installing the repository here: http://www.playdeb.net/updates/Ubuntu/11.10#how_to_install [16:55] After installing the DEB file or adding the rep manually, I recommend opening terminal window and typing in "sudo apt-get update" to make sure the new reps go into effect. [16:55] There are 5 minutes remaining in the current session. [16:56] This way when you click "Install this game" on their website, it will access their repository you just installed. [16:59] I have enjoyed this immensely and hope you have to. Please catch my next lesson tomorrow at the same time... "Starting, Maintaining & Expanding Ubuntu Hours" [16:59] thanks iheartubuntu :) === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || Event: Ubuntu Open Week - Current Session: How to help with IRC issues when you're not an operator - Instructors: topyli [17:00] Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html following the conclusion of the session. [17:01] welcome topyli! [17:01] everyone: if you have questions, please ask them in #ubuntu-classroom-chat with the prefix QUESTION: so it gets picked up by the bot [17:01] thanks pleia2 [17:01] Hi all, and thank you for attending [17:01] My name is Juha and I'm an IRC addict. :-) [17:02] I'm an Ubuntu user and have been using the Ubuntu IRC channels basically as long as Ubuntu has existed. I've also been a member of the IRC Team for a few years, and an operator in #ubuntu-offtopic as well as its Finnish equivalent. [17:02] I currently serve on the Ubuntu IRC Council, which is tasked with governing and developing the Ubuntu channels on freenode. [17:03] I am not a terribly technical person, but I'm pretty well familiar on how the Ubuntu IRC culture works. [17:03] More or less up to date information information is available on the Ubuntu wiki: https://wiki.ubuntu.com/JuhaSiltala [17:03] This session is about how you as a user of the Ubuntu IRC channels can help with IRC governance and help keep the channels friendly and useful for everybody. [17:04] To summarise up front: plenty of ways! :-) [17:04] We'll try to cover these general topics today: [17:04] 1) Support. 2) Catalyzing. 3) Contacting operators when needed. 4) Becoming an operator yourself, if you're really really sure you want to. [17:05] Support. There are a few golden rules here. [17:05] First of all, when helping someone, be helpful. Please do not tell people to google for stuff. They can probably do that themselves, and may very well have tried already. [17:06] Do give helpful links. By all means, try and suggest better search terms though, if the user has failed in their previous search attempt, but telling someone to google something is just rude and not very "Ubuntuish". [17:07] If you're not sure you understand the user's problem properly, say so, or say nothing. Someone else will hopefully step up and help the user. Bad advice is likely to make the user's problem only worse. [17:07] If you notice someone else giving bad advice, correct them. Correct them nicely and politely though. [17:08] Be prepared to give up if you're failing to solve someone's problem. [17:08] And here's an important thing to remember: [17:09] Do not get stressed out! Take a break and chat in #ubuntu-offtopic or some other nice place. Or take the dog out. Or go and have a beer. Relax. Ubuntu is supposed to be fun and relaxing, and stress will ruin it for you. [17:09] You're not at work after all :-) [17:09] Here's our general supporter's guide which you may want to look at after the class: https://wiki.ubuntu.com/IRC/SupportersGuide [17:10] I don't want to spend too much on this support topic, so unless we have questions, we might want to move on. [17:10] ok [17:11] Catalyzing. This is all-important, I can not stress it enough. [17:11] I'll quote freenode's excellent document on catalysts: [17:11] "Catalysts try to resolve problems, not through the use of authority and special privilege, but by fostering consensus, gently nudging participants in the direction of more appropriate behavior and by generally reducing the level of confrontation rather than confronting users with problems." [17:12] hrm, didn't have the link. here it is: http://freenode.net/catalysts.shtml [17:13] More often than not, this is enough to defuse pretty much any situation, or to nudge a person in the right direction. [17:13] Sometimes, all that a user who seems troublesome needs is to *know* that our standard behavior is a bit different from theirs. [17:14] You can simply link to the IRC Guidelines and remind the user(s) about their existence: https://wiki.ubuntu.com/IRC/Guidelines [17:14] The thing is, we can, and should, all do this. [17:15] Your own behavior is of course hopefully a good example of "Ubuntu culture" and people do notice it, believe me. [17:16] Different channels have different cultures, so keep your level of "tolerance" close to correct :-) [17:16] Busier channels have lower tolerance for noise. Offtopic channels often confuse people, especially new people, into thinking that anything goes. [17:17] But not just anything does of course. They're still Ubuntu channels. [17:17] Any questions on catalyzing? [17:18] No. Moving on. :) [17:19] Catalyzing sometimes fails. [17:19] Contacting operators. Since our operators (or ops on freenode generally) usually don't wear their operator flag, you might not even know who *are* operators on any given channel. :) [17:20] If you do want a list of ops on a channel, you can ask freenode's chanserv by '/msg chanserv access list #channel' [17:20] There is also a useful command for ubottu, our infobot, which will alert ops when a situation is urgent and no operator seems to be active. [17:21] The command is !ops. DO NOT TRY IT NOW :-) [17:21] Ops get quite annoyed when that's misused. [17:21] Annoyed ops are the worst kind [17:22] Use that command only when there's an obvious troll flooding the channel with inappropriate content, or when all your attempts to reason with an abusive user fail. [17:22] Common sense is pretty good at figuring out when to call ops. [17:23] You can also discuss with the operators directly. You can join #ubuntu-ops to talk to the "core" channel operators, and #ubuntu-irc in order to catch up with the operators of "non-core" and international channels. [17:23] Core channels are defined here: https://wiki.ubuntu.com/IRC/IrcTeam/Scope - basically a core channel is the main support or discussion channel of an official Ubuntu distribution. [17:24] Channels like #ubuntu and #ubuntu-offtopic, and the equivalent of official derivates [17:24] Most of the "non-core" channels are those belonging to local communities, and various other channels. Here's a full list if you want to be amazed: https://wiki.ubuntu.com/IRC/ChannelList [17:24] :) [17:25] You can join #ubuntu-ops or #ubuntu-irc any time when you have anything to discuss with operators. [17:25] However, you cannot idle in #ubuntu-ops. When your issue is dealt with, please /part the channel. #ubuntu-irc is more relaxed about that [17:26] You might also like to join the IRC Team's mailing list if you have general issues to discuss. It's not too busy so your inbox won't explode if you do. https://lists.ubuntu.com/mailman/listinfo/Ubuntu-irc [17:27] You do have to subscribe in order to send mail to the list. [17:27] Please don't hasitate to raise issues on IRC or the mailing list when someone is bugging you or you have an improvement to suggest on how we should run our IRC channels. [17:27] The IRC Team and Council may well be blind to some glaring issue you're noticing. [17:28] Any questions about contacting operators? [17:29] Oh one thing. Even though privately messaging someone on IRC is often considered, rude, operators and freenode staff can be bugged without hesitation. [17:29] They've already accepted their miserable fate. :-) [17:30] No questions. My narrative is obviously perfect :) [17:30] Becoming an operator yourself. First of all, you want to be absolutely sure and certain that you actually want this. :-) [17:31] It is not much of an honor, but a job. A volunteer job at that, too. [17:31] It is not a good idea to plan to be an op because it "might be fun" - it's not (often). [17:32] That said, you're helping Ubuntu and it can be quite satisfying and rewarding. [17:32] When people get help, they tend to like that. Consequently, they're going to like you too. [17:33] What's more awesome than that! [17:33] If you are thinking about this, talk to someone who is already an operator in the channel where you're active and willing to serve. [17:34] If the operator fails to talk you out of your crazy idea, the process and requirements for becoming an operator is described here: https://wiki.ubuntu.com/IRC/IrcTeam/OperatorRequirements [17:34] I also once wrote a little something about this: http://www.siltala.net/2010/03/24/ops-teams-applications-announcement/ [17:35] Any questions about this? [17:36] I don't mean to sound like being an op will ruin your life. It's just something that you will want to think about carefully. [17:36] Of course, if you later decide that you've made a mistake, you can leave the team. There's no guilt in that. [17:37] In conclusion, I'd just like to remind everyone that IRC contributions count when assessing your potential Ubuntu Membership application, so your work will be noted. [17:37] The IRC Council is able to accept new members even on IRC contributions alone, so we do take IRC quite seriously: https://wiki.ubuntu.com/Membership [17:37] iheartubuntu2 asked: ​ What is the general action if people are not following the Ubuntu Code of Conduct? [17:38] iheartubuntu2: we should first point out that the code exists, and it is to be respected everywhere in the Ubuntu universe [17:39] sometimes people forget this, especially in offtopic channels [17:39] if talking fails, there's no option but to have ops deal with it [17:40] "dealing with it" means usually a +q (mute) flag on the user, so they can't disturb the channel, and the operator talking to them in private [17:40] ultimately, the user may be banned. the Code is not negotiable [17:41] iheartubuntu2 asked: ​ If one is interested in becoming an IRC operator, is there a general requirement or commitment in terms of hours per day, week or month to hold status? [17:42] there is no measurable requirement [17:42] you should be active in the channel where you want to be an operator [17:42] also, since our earth is unfortunately not flat, we have time zones [17:43] often, one timezone is better covered on a certain channel than another, so op applicants from the "missing hours" will be somewhat favored [17:45] last call for questions, otherwise i'm going to call it a day :) === yofel_ is now known as yofel [17:47] ok. thanks all. [17:47] don't forget that i and all other operators are available for further questions if you ever have one [17:50] There are 10 minutes remaining in the current session. [17:55] There are 5 minutes remaining in the current session. [17:59] thanks topyli :) [17:59] thanks [18:00] Logs for this session will be available at http://irclogs.ubuntu.com/2012/05/02/%23ubuntu-classroom.html [18:00] this wraps up Ubuntu Open Week for today, join us again tomorrow at 13:00 for more, full schedule here: https://wiki.ubuntu.com/UbuntuOpenWeek === ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || [18:01] (13:00 UTC, of course) [18:02] Thanks, all. === EvilResistance is now known as Resistance === marcel__ is now known as mcamaret === jbicha is now known as Guest99314 === Guest99314 is now known as jbicha1