/srv/irclogs.ubuntu.com/2014/11/29/#ubuntu-server.txt

sarnoldhey Plizzo, sorry to hear it's still happening :/00:08
sarnoldPlizzo: it might be worth storing off the dmesg every ten minutes or something and see if you can find the issue in the logs before the whole thing hangs00:09
sarnoldPlizzo: it might be worth installing mcelog too, perhaps it's a machine check exception00:09
Plizzosarnold: No worries, I’m just trying to get an understanding of why it’s doing that. If I can’t find a way to fix it it might be quicker to do a whole clean install.00:09
sarnoldPlizzo: it has the feeling of something that wouldn't go away with a clean install. :/00:11
Plizzosarnold: Here is my last syslog00:11
Plizzohttp://paste.ubuntu.com/9290289/00:11
Plizzosarnold: Sorry, I meant to say dmesg00:12
sarnoldPlizzo: wow, that looks pretty clean.00:13
Plizzosarnold: Yeah, from what I can see. All my logs are perfectly clean…00:14
Plizzosarnold: I think a clean system install might be faster than to debug this..00:19
Plizzosarnold: I will never update my Ubuntu release again, this happens every time I upgrade, last year also..00:20
tarvidStill recovering from my last upgrade. Joined this discussion late. What is the problem00:22
Plizzotarvid: I upgraded from 11.10 to 13.10 using ”do-release-upgrade”, and started experiencing seemingly random hogging/freezing of my entire machine and system. I then today tried to upgrade to 14.04 LTS to remedy this issue, but to no avail. The upgrade to 14.04 does seem to have had the opposite effect. The first freeze now occured after approx. 2 hours. Any ideas what could be causing this?00:25
Plizzotarvid: Once it freezes, there are no records in the logs and it’s impossible to reach the server over SSH. It completes disappeares and becomes unreachable. I have to perform a hard restart in order to get it back on track.00:27
Plizzotarvid: But I’m just waiting for it to freeze again..00:28
tarvidHaven't seen that issue. I upgraded from 12.04 to 14.04 and had many apache2 issues. I did have one halt on reboot00:29
tarvidI am now looking for an inexpensive KVM over IP to avoid the 6 hour drive to press the reset button00:30
Plizzotarvid: I also had some apache2 issues with htpasswd etc, but got most of them sorted out.00:31
=== MeltedLux is now known as MeltedDed
sarnoldtarvid: you might just want to look for e.g. a remote-control power switch, some PDUs have them, some UPS have them00:48
sarnoldPlizzo: oh, so e.g. 11.10 worked fine? I wonder if 12.04 LTS might work for you, that's still supported for another 2~3 years..00:48
=== Metacity is now known as lynchedasusual
=== lynchedasusual is now known as whyguyswhy
=== whyguyswhy is now known as Metacity
Plizzosarnold: Yeah, everything worked perfectly on 11.10 - but since it was an old release I figured I should upgrade. That’s when the freezing hell broke loose.00:56
=== Lcawte is now known as Lcawte|Away
tarvidsarnold, I have an old APC PDU, that would do for a power bounce but I had the damnedest  urge for a peek at the monitor.01:00
tarvidPlizzo, I wonder if the grub boot options changed and you now have a feature enabled that is not stable. I had that happen years ago when ACPI was enabled01:02
Plizzotarvid: Maybe so, what option could that be?01:02
tarvidHow old is the motherboard?01:03
sarnoldtarvid: oh you want to know -why- it doesn't come back from a reboot ;) picky picky :)01:03
Plizzotarvid: The motherboard is about three years old. But this just happened after software update, and it’s happened before. Only way I’ve been able to fix it is with a clean install.01:04
=== jvwjgames_ is now known as jvwjgames
=== inaddy is now known as tinoco
=== ivoks_ is now known as ivoks
=== MeltedDed is now known as MeltedLux
=== Lcawte|Away is now known as Lcawte
=== zz_DenBeiren is now known as DenBeiren
=== moonligh- is now known as moonlight
=== MeltedDed is now known as MeltedLux
filipsohajekHi, can you please help me? My postfix server (with MySQL) is sending and recieving to one domain, but other domains can only send11:21
lnxmenHello.12:59
lnxmenIs there possibility to set priority of usage on memcached clients? I have production server with 40% usage of RAM and other two VPSes with 40% and 6% usage of RAM. How to make my VPSes more encumbered? Generally, is there any point in doing it?13:00
mirexxhello, I'm facing some problems with installation of oracle weblogic server, could some1 help with that ? pm pls, thanks :]13:07
lnxmenmirexx: firstly, paste your log13:28
John_John_i want to setup a mail server in ubuntu 14.04 but i dont have a registered domain. does this prevent me from completing the task ?13:30
maxbRather depends on what you mean by mail server (smtp, imap, pop3) and how you want mail to reach it13:32
John_John_postfix and dovecot13:37
John_John_and imap13:37
John_John_http://www.krizna.com/ubuntu/setup-mail-server-ubuntu-14-04/13:37
John_John_here …i want to follow this guide.13:38
John_John_do you know ?13:59
SCHAAP137John_John_: yes, you need your own domain14:00
=== the_ktosiek is now known as ktosiek
John_John_OHHH14:00
SCHAAP137domains are cheapo14:00
SCHAAP137*cheap14:00
John_John_is there a work around ?14:00
John_John_i want it for educational purposes only!!14:00
SCHAAP137you could e-mail based on IP-address, or some crappy subdomain14:01
SCHAAP137but it's uncommon, and probably spamfilters will not like it14:01
SCHAAP137some kind of domain, with control over the DNS entries, is needed14:01
SCHAAP137at least to set MX records and such14:01
SCHAAP137A, MX, SPF, DKIM, DMARC, TLSA, whatever14:01
John_John_all i want is just to send from myself to me14:02
SCHAAP137it can be accomplished without a domain, but also for educational purposes, it's better to do it the right way14:02
SCHAAP137which is, with a unique domain name14:02
tanobhi, i've installed ubuntu server using the netinstall and during install it detects and sets up wireless, but after restart I dont see the wireless configured, what's the simplest way to get it working and persistent across restarts?14:02
John_John_i see your point14:02
SCHAAP137domains are cheap John_John_, i mean, $3 per year or so14:02
SCHAAP137of $514:02
John_John_where can i get one cheap ?14:02
SCHAAP137*or14:02
John_John_really ???14:03
John_John_that cheap ?14:03
SCHAAP137what do you want? a .com? .nl ?14:03
John_John_i didnt know14:03
SCHAAP137sure14:03
SCHAAP137even .eu is only 7 euros a year or so14:03
John_John_com, eu or gr or .net14:03
SCHAAP137i got my domains at www.transip.nl14:03
John_John_or anything that is cheap i guess14:03
SCHAAP137they have .nl's for 2 euros a year14:03
SCHAAP137.com for 7 euro a year14:04
SCHAAP137or 614:04
SCHAAP137not sure14:04
SCHAAP137you should check14:04
SCHAAP137but remember, a domain, is just a domain14:04
John_John_i ll check it out now and buy one i guess :))14:04
SCHAAP137which is, a bunch of DNS records14:04
John_John_which means what ?14:04
SCHAAP137to assign a particular name to particular IP-addresses14:04
SCHAAP137it's not a server, or a machine, in itself14:04
SCHAAP137it's just DNS registration14:04
John_John_yes yes i know tah14:04
SCHAAP137good14:05
John_John_that*14:05
SCHAAP137i built my own mailserver as well, with ubuntu and postfix14:05
John_John_but then i can set up myserver like machinename.mydomain.com for example ?14:05
SCHAAP137multiple domains14:05
SCHAAP137yes, definitely14:05
John_John_aha14:05
SCHAAP137that's just an A record14:06
John_John_tell me more about your setup please ?14:06
John_John_what do you use exactly ?14:06
John_John_http://www.krizna.com/ubuntu/setup-mail-server-ubuntu-14-04/14:06
John_John_is this guide a good one to follow ?14:06
SCHAAP137i followed this guide14:06
SCHAAP137http://www.pixelinx.com/2013/09/creating-a-mail-server-on-ubuntu-postfix-courier-ssltls-spamassassin-clamav-amavis/14:06
SCHAAP137long time ago14:06
SCHAAP137since that time i tweaked and improved on it14:06
John_John_i am interested in imap too14:07
John_John_is it easy to change between pop3 and ima ?14:07
John_John_imap*14:07
SCHAAP137you can serve both14:07
John_John_very nice!!!14:08
SCHAAP137but i would recommend just serving pop3-ssl and imap-ssl14:08
SCHAAP137not the unencrypted ones14:08
SCHAAP137if you wanna do it really properly, get an SSL certificate as well from a CA14:08
SCHAAP137set up a webmail as well, with RoundCube or squirrelmail14:08
SCHAAP137set up an SPF record, set up DKIM14:08
John_John_are ssl certificates cheap ?14:09
SCHAAP137some of them are14:09
SCHAAP137Comodo PositiveSSL is like $10 a year14:09
SCHAAP137for a single domain14:09
John_John_ok nice to know that14:09
SCHAAP137depends on the type of certificate14:09
SCHAAP137wildcard certs, or EV certs, can be very expensive14:09
John_John_but for the moment i need the simplest setup possible14:10
SCHAAP137the guide i pasted the URL from, is a good way to get you started14:10
SCHAAP137it uses virtual users as well, in a mysql database14:10
John_John_really thanks for the info :)14:10
SCHAAP137no need to create actual unix user accounts14:10
John_John_aha14:10
SCHAAP137for the mail users14:10
SCHAAP137which is an advantage14:10
John_John_yes thats what i am interested in actually !!!14:11
SCHAAP137it will take a moment to set up, but when it's working, you will be happy14:12
SCHAAP137and then you can expand it slowly14:12
SCHAAP137add more advanced features, better security, etc14:12
John_John_another importan question14:12
SCHAAP137or, if you are REALLY lazy, you can check this out14:13
SCHAAP137https://mailinabox.email/14:13
SCHAAP137it does everything for you14:13
John_John_this is talking for the cloud yes ?14:14
John_John_so i need to have linux on the cloud ?14:15
SCHAAP137not necessarily14:15
SCHAAP137just linux anywhere is good14:15
John_John_i have 14.04 server installed locally14:15
SCHAAP137but, for a good mailserver, u want it to be online all the time14:15
SCHAAP137and fast14:15
SCHAAP137a nice VPS in a datacenter or something14:15
John_John_not in my concern for now14:15
John_John_but please tell me where can i buy a vps cheap from ?14:16
SCHAAP137hehe, i got mine from TransIP.nl as well14:16
SCHAAP137first month is half price, $5 instead of $1014:17
SCHAAP137gives you 1 core, 50 GB HDD, and 1GB RAM14:17
SCHAAP137i run a medium one, with 2 cores, 4GB RAM, and 150GB HDD14:17
John_John_i see14:17
John_John_problem is i dont understand duch14:18
John_John_so i need something in english or greek :)14:18
SCHAAP137it's better to get one geographically close to you14:18
SCHAAP137for better performance during control sessions, speed, etc14:18
John_John_we are not far actually :)14:18
John_John_but its ok i ll find one14:19
SCHAAP137http://www.pointer.gr/en/vps14:19
SCHAAP137seems a bit expensive this one14:19
John_John_i am only interested in the domain name only right now i guess14:19
John_John_we ll see about vps later14:19
John_John_is my 14.04 server local machine enough for now ?14:20
SCHAAP137depends on your network setup14:20
SCHAAP137does your ISP block any ports?14:20
John_John_nope14:20
SCHAAP137some ISPs block port 25 on consumer lines14:20
SCHAAP137then it should be sufficient14:20
John_John_ok then14:21
SCHAAP137but for a "production" mailserver, you want more sense of security, uptime, etc14:21
John_John_how can i learn if my isp blocks port 25 ?14:21
John_John_i dont need any production right now14:21
SCHAAP137no idea, pbly only by testing it14:21
John_John_i just need it for development server14:21
SCHAAP137by sending out mail14:22
John_John_how can i test that now easily ??14:22
SCHAAP137mail servers talk on port 25, outbound, but also inbound / amongst eachother14:22
SCHAAP137hmm, difficult14:22
SCHAAP137you need a mailserver to test it i think :P14:22
John_John_lol ok14:22
mardraumtelnet to some remote mailserver on port 2514:22
SCHAAP137ah yeah, indeed14:23
John_John_telnet from inside ubuntu you mean ?14:23
John_John_can you give me the shell command please ?14:23
SCHAAP137telnet smtp.yourmailprovider.gr 2514:23
John_John_wait a sec please14:24
mardraumno, you want NOTyourmailprovider14:24
SCHAAP137ah yeah true14:24
mardraumthey should certainly allow you to connect to their server14:24
John_John_ok i got it14:24
John_John_i ll use my work’s email server14:24
John_John_just a sec14:24
John_John_is this command correct ?14:25
John_John_ok it is sorry14:26
SCHAAP137after connecting, you need to identify yourself with HELO or EHLO14:26
SCHAAP137followed by your IP or domainname, of your internet line14:26
mardraumif you can connect at all, it's enough to establish your ISP isn't blocking outbound on port 25, assuming the server tested isn't also allowed by them14:27
John_John_Microsoft ESMTP MAIL Service ready……14:28
John_John_is this correct ?14:28
SCHAAP137for testing inbound, you would need a mailserver locally14:28
mardraumuh huh14:28
SCHAAP137yes, it means it connected14:28
SCHAAP137so outbound port 25 is clear14:28
John_John_ok nice one :)))14:28
John_John_but i ididnt identified myself ok ?14:28
SCHAAP137not a problem, the connection is there14:29
SCHAAP137like mardraum said14:29
John_John_thanks14:29
John_John_how can i disconnet now :)14:29
SCHAAP137usually QUIT14:29
SCHAAP137or BYE14:29
SCHAAP137i thought14:29
John_John_ok it wotrked14:30
John_John_so i only have to buy my domain name right ?14:30
SCHAAP137correct, then you can set an A record in your DNS control panel14:30
SCHAAP137of the domainname14:30
John_John_is the ubuntu server i just installed ok ?14:30
SCHAAP137A record should point to your IP14:30
John_John_should i better install a desktop too ?14:30
SCHAAP137not necessary14:31
John_John_ok14:31
John_John_because i am on a mac and have the ubuntu server as a VM now14:31
John_John_thats my setup already actually14:31
SCHAAP137ah, okay, that changes things14:31
John_John_geeeee14:32
SCHAAP137the VM, how does it connect?14:32
John_John_bridge14:32
SCHAAP137it uses a bridged adapter, or virtual NAT ?14:32
SCHAAP137ah bridge, nice14:32
SCHAAP137so it has an IP on the physical network?14:32
SCHAAP137then it should be okay14:32
John_John_yes it is like that14:32
John_John_how do i change the server name after i got my domain ?14:34
SCHAAP137what do you mean exactly?14:35
SCHAAP137ah, you want to give your server a domain name?14:35
SCHAAP137you create an A record, to point to your IP-adress14:35
SCHAAP137with some kind of name14:35
SCHAAP137lets say14:35
John_John_yes14:36
SCHAAP137mail in A 1.2.3.414:36
John_John_how do i create an A record ?14:36
SCHAAP137then you have mail.domain.name pointing to that IP-adress14:36
SCHAAP137in the DNS control panel, from the provider where u have the domain name14:36
tewardJohn_John_: you have to set it up in the DNS provider, whether its third party or wherever you have the domain.14:37
SCHAAP137after making the A record (name pointing to IP)14:37
SCHAAP137then u create the MX record14:37
tewardwow lagggggy here...14:37
SCHAAP137which will be pointing to the (full) name from the A record14:37
John_John_aha so when i buy a domain i have a panel too ?14:37
John_John_i didnt know that14:37
SCHAAP137at TransIP yes, you get a control panel for the DNS settings14:37
SCHAAP137so for example you have the domainname maestro.gr14:38
SCHAAP137you make an A record14:38
SCHAAP137mail in A 1.2.3.414:38
SCHAAP137so then mail.maestro.gr will point to 1.2.3.414:38
John_John_ok please give me 5 minutes so i can find a domain provider in greece please and i ll get back to you ok ?14:38
SCHAAP137then after, you make an MX record14:38
John_John_hold on14:38
SCHAAP137@ in MX mail.maestro.gr.14:38
SCHAAP137@ in MX      10 mail.maestro.gr.14:39
John_John_i cant catch it all from the start14:39
John_John_i am new to this :)14:39
John_John_wait please ?14:39
SCHAAP137i cannot explain everything, you will need to learn and inform yourself as well :P14:39
SCHAAP137how DNS works etc14:39
John_John_lol of course14:39
SCHAAP137what an A record is, what an MX record is, IP-adress, etc :P14:39
John_John_i will follow the guide anyhow right ?14:39
SCHAAP137cool, good luck14:39
John_John_thanks but maybe ill need your help for the first step if thats ok with you14:40
SCHAAP137if i'm around here i will try to answer14:40
John_John_thanks :)14:40
SCHAAP137other ppl here should also know about it, i guess14:40
SCHAAP137i cannot be the only one to know about setting up mail14:41
SCHAAP137:PO14:41
SCHAAP137;P14:41
SCHAAP137you will get there14:41
SCHAAP137setting up your own DNS server is harder than setting up your own mail server, with externally managed DNS14:43
SCHAAP137once you have mail up and running, it can be intriguing to host your own DNS as well14:44
SCHAAP137gives extra possibilities14:44
SCHAAP137like DNSSEC, TLSA and such14:44
SCHAAP137the options for setting different DNS records, with a managed DNS service, are more limited14:44
tewardof course setting those up isn't the most trivial task either14:44
SCHAAP137that is definitely true14:45
tewardif your ultimate goal is just to have a web server with a domain and a mail server the whole DNS setup process is likely overkill, and you can explore DNS setups in virtual environments at home in sandbox environments14:45
tewardcase in point the 25 sandbox VMs I have for various purposes (IPSec VPN, mail server, Apache, nginx, DNS, the list goes on)14:46
SCHAAP137that's a good method for testing setups indeed14:46
tewardand you can break things allll you want and then fix em without nuking your servers in the process14:46
tewardgranted, I have actual hardware for virtualization here, got a whole ESXi server sitting at home14:46
tewardand a new ESXi server in four days coming in ;)14:47
SCHAAP137indeed nice, i have some clusters in datacenters around holland i can play with14:47
tewardmhm.14:47
SCHAAP137not at home though14:47
SCHAAP137also vSphere based14:47
tewardtrue, but to some extent VMWare Workstation can manage the server a little, and since most of my VMs start in a Workstation environment, it's just a case of click and upload14:48
tewardanyways, that's going into the techie, paranoid level of crazy :P14:48
teward(security on my network is equally intense)14:48
tewardbut i digress :)14:48
SCHAAP137ah, being a bit paranoid is good14:48
SCHAAP137i'm very security-minded as well14:48
tewards/a bit paranoid/overly crazy paranoid/14:48
SCHAAP137big fan of security through obscurity14:48
tewardmy home net has a whole firewall appliance at the edge - pfSense with Snort and IPSec VPN14:49
tewardwaaaaaaay overkill for a typical home network14:49
teward(VLAN'd out the wazoo too)14:49
SCHAAP137i assume you're already disabled SSL 3.0 everywhere14:49
SCHAAP137*you've14:49
tewardfirst thing i did when i ran updates :P14:49
SCHAAP137with the whole POODLE thing14:49
SCHAAP137hehe, cool14:49
tewardi use nginx, so it's as simple as putting an `ssl.conf` into /etc/nginx/conf.d/14:49
tewardand set ssl rules across each server as a sort of global argument14:50
SCHAAP137i edited my apache's source code to include SPDY and NPN14:50
SCHAAP137and change the default EC params to something other than the prime256v1 curve14:51
SCHAAP137secp521r1 ftw14:51
SCHAAP137can't wait for a QUIC module @ apache14:51
SCHAAP137tried running nginx/apache compiled with LibreSSL already?14:52
SCHAAP137hope OpenSSL will implement the CHACHA20-POLY1305 cipher as well soon14:53
mirexxhello, I just installed jboss server on my localmachine, I want to reach it from my virtualhost but I can't, what should I do  pls? (I have installed apache and tomcat and both are reachable from virtual machine) thanks15:01
John_John_can you please suggest me a domain registration provider with default language of english or greece which you know that a control panel is included in the price ?15:05
John_John_www.europeregistry.com15:10
John_John_i found this one15:10
John_John_can you confirm please ?15:10
andolJohn_John_: Do you only need a registrar or do you also need dns hosting to be included?15:11
SCHAAP137not sure if they provide a DNS control panel as well15:11
John_John_i guess dns hosting too since its very hard to set up my own dns right ?15:11
andolJohn_John_: Anyway, https://www.gandi.net/ is generally a good choice.15:12
John_John_https://europeregistry.secure-admin.com/login?__utma=137147300.1225744559.1417273584.1417273584.1417273584.1&__utmb=137147300.6.9.1417273760872&__utmc=137147300&__utmx=-&__utmz=137147300.1417273584.1.1.utmgclid=CK3bq8KLoMICFYvItAodgWsAXQ|utmccn=(not%20set)|utmcmd=(not%20set)&__utmv=-&__utmk=7100475215:12
John_John_see this please15:12
SCHAAP137andol, i think John_John_ would also need a kind of DNS control panel for the domain name, does gandi provide that?15:12
SCHAAP137to make A and MX records etc15:12
John_John_please follow the link above i think it has it all ?15:13
SCHAAP137like, a domain including some kind of managed DNS15:13
andolSCHAAP137: Yepp.15:13
SCHAAP137seems useful John_John_, the suggestion from andol15:13
John_John_ok i ll check that out now15:13
jak3000hi all how to open port 3306? i try: sudo iptables -A INPUT -p tcp --dport 3306 -j ACCEPT      and sudo ufw 3306 allow    but can connect from other pc15:15
SCHAAP137it is probably a mysql server setting, jak300015:16
SCHAAP137to only allow connection from localhost15:16
SCHAAP1373306 is mysql right?15:17
jak3000yes mysql15:17
SCHAAP137probably server-side setting, to only allow connection from localhost15:17
jak3000how to check? in my.ini right?15:17
SCHAAP137i think so, i am not a mysql expert15:18
SCHAAP137probably initial setup made this config15:18
SCHAAP137try to just allow non-root access from outside15:18
SCHAAP137keep root user access only on localhost15:18
jak3000ok.15:18
jak3000thanks15:18
SCHAAP137yw15:18
jak3000good idea because i typed similar rules for port 22 and worked(cann connecT)15:18
SCHAAP137yes, but sshd is different15:19
SCHAAP137it is made for remote access15:19
SCHAAP137usually u want mysql database to only talk with local services15:19
SCHAAP137like webserver, or software running locally15:19
SCHAAP137you don't want SQL over the network, you want the applications to talk over the network, with encryption15:20
SCHAAP137and local databases to interpret the data locally15:20
jak3000understand15:21
jak3000SCHAAP137 friend.15:23
jak3000ak3000: remove bind-address= and skip-networking from my.cnf and grant permission to the external 'user'@'host' and remove any firewall rules blocking port 3306 and make sure no overrides on the mysqld commandline. See  http://hashmysql.org/index.php?title=Remote_Clients_Cannot_Connect15:23
SCHAAP137indeed, that should be it15:24
SCHAAP137but still, it is not common practice i think15:24
SCHAAP137it is 'unsafe'15:24
SCHAAP137maybe you can make some kind of VPN for the SQL traffic that traverses the network, or a VLAN15:25
jak3000ye sunderstand15:25
SCHAAP137or just use iptables to limit the access15:25
SCHAAP137is not a perfect solution ofcourse15:26
SCHAAP137if the iptable rule breaks for a moment, it will allow access for someone, potential attack vector, and it is not encrypted by default15:27
jak3000Thanks SCHAAP137 for your time, i tell you, if win or not win.. :)15:27
SCHAAP137hehe cool, let me know15:27
jak3000commented the line bind-adress and worked15:35
jak3000:)15:35
SCHAAP137okay15:35
SCHAAP137but still, remember that a different solution is nicer15:36
SCHAAP137to nót have SQL traffic over the network, just locally on the machine15:36
SCHAAP137let the applications talk something else, and SQL only locally in the machine from application to database15:36
jak3000ok15:36
jak3000ok thanks15:36
SCHAAP137yw15:37
SCHAAP137because it means, other machines can potentially access the SQL now as well15:37
SCHAAP137or you contain it with iptables?15:38
SCHAAP137if u allow external access, you should define the rules in iptables, for the IP's that should have access to the mysql service on port 330615:38
SCHAAP137and block others15:38
jak3000ok15:38
jak3000understand i am working now in this step: allow ips and block others15:39
SCHAAP137best firewall policy is the 'default-deny' idea15:39
SCHAAP137everything is disallowed, expect the things u define15:39
SCHAAP137*except15:39
SCHAAP137iptables is not perfect15:39
SCHAAP137pf, from OpenBSD, is nicest15:39
jak3000a quesiton15:40
jak3000iptables and uwf can work at same time, or need disable one?15:40
SCHAAP137i don't know uwf15:41
SCHAAP137ah15:41
SCHAAP137uwf is a method to make easier iptables configuration15:41
SCHAAP137so both is good i guess15:42
SCHAAP137https://help.ubuntu.com/community/UFW15:42
tewardjak3000: ufw will supersede the iptables rulesets, on its own15:43
rsullyis there a specific room or person i should talk to about the certified images released for the joyent public cloud?15:43
tewardjak3000: you will need to use either ufw or iptables - ufw ultimately sets iptables rules, that's why15:43
jak3000ok, then no problem if type any rules with iptables and others with uwf, thanks15:43
SCHAAP137does uwf 'replace' other custom iptables rules teward ?15:44
tewardSCHAAP137: haven't tested.15:44
SCHAAP137like, some iptables stuff in /etc/rc.local, and afterwards uwf commands15:44
tewardSCHAAP137: i know there's a way to add custom rulesets to ufw outside the bounds of ufw's commands, but as the uber techie I prefer iptables over ufw15:44
SCHAAP137good question indeed15:44
tewardbesides i have special masquerade rules that ufw breaks in any situation so i stick to an iptables ruleset15:45
SCHAAP137i'm more of a /etc/pf.conf kind of person, but i prefer iptables over uwf (i guess) as well15:45
tewardand the only things open are to local, private IPs (or on my remote servers, specific system IPs), so... there's no real 'openings' in my own computer clients' systems, or my remote servers15:45
teward(and at home everything's behind the pfSense, called 'darkness', so... :P)15:46
tewardSCHAAP137: i could spin up a VM and test, but i'm on battery power for now, on the bus...15:48
tewardso meh15:48
teward(infinite bandwidth though - my phone is my hotspot instead of the bus's wifi)15:48
SCHAAP137ah, riding a bus atm?15:50
tewardyep, from my hometown to my actual home in harrisburg :P15:50
tewardIPSec VPN is evil on this hotspot but i've had worse....15:51
tewardonly got an hour of battery on the laptop15:51
teward6 + 6 (with the external battery pack) for the phone15:52
SCHAAP137IPsec is just IP-header stuff right15:52
SCHAAP137not actual data encryption15:52
SCHAAP137why not an SSLVPN ?15:52
Patrickdkheh?15:52
Patrickdkipsec is much better than sslvpn15:52
Patrickdkjust ipsec doesn't passthough firewalls cleanly like sslvpn15:52
SCHAAP137SSLVPN over an IPsec tunnel, even better15:53
Patrickdkno, that would be horrible15:53
Patrickdkyour mtu would be crap15:53
tewardL2TP over IPsec is okay but its still bleh15:53
tewardand i just need IPSec so the data doesn't look like it originates from my location :P15:53
SCHAAP137i think with pf.conf you could let IPsec tunnels pass cleanly over different networks15:53
tewardthat and i'm accessing my media server :)15:53
PatrickdkI just do ipsec, no l2tp15:54
teward... back at home :)15:54
SCHAAP137on an OpenBSD system15:54
tewardPatrickdk: yeah, it's tricky to do ipsec+l2tp, but my pfSense firewall has IPSec but not the hybrid of that and l2tp15:54
SCHAAP137through NAT and whatever15:54
SCHAAP137shouldn't be an issue15:54
tewardSCHAAP137: yeah i have nat traversal outbound on my ipsec vpn15:54
Patrickdkheh?15:54
tewardbut its not like i need it to be infinite security - it's only me on it :P15:54
Patrickdkthere is nothing special about ipsec+l2tp, they are two totally different things15:54
* teward shrugs15:54
tewardPatrickdk: windows expects it unfortunately15:55
Patrickdkyou just run ppp over the ipsec link and boom, you have ipsec+l2tp15:55
tewardootb anyways it does15:55
tewardlinux, it works fine with just the IPsec, just need a few extra plugins15:55
hadifarnoudhow can I keep the owner of files in a directory the same? with every git pull some new files become root:root15:55
tewardhadifarnoud: are you running the pull as root?15:56
hadifarnoudteward: I am.15:56
tewardthat's your problem15:56
tewardhadifarnoud: don't run the pull as root xD15:56
tewardor have an extra recursive chown15:56
tewardchown --recursive foo:bar /path/to/dir15:57
teward(replace what's relevant)15:57
* Patrickdk makes sure to add some suid binaries into that git15:57
tewardheheh15:57
hadifarnoudteward: so I can't make ubuntu keep the owner then?15:57
Patrickdkubuntu has nothing to do with it15:57
Patrickdkuse the correct user to do it, would be best15:58
Patrickdktell git to do it15:58
Patrickdkor use a stick bit15:58
Patrickdklots of options15:58
lordievaderStrongswan with virtual ip is nice :D15:58
tewardhadifarnoud: it's not an ubuntu issue - it's a pebkac user15:58
tewards/user/issue/15:58
tewardhadifarnoud: your issue is that running the git pull as root makes it assume `superuser` default settings, i.e. root:root15:58
tewardhadifarnoud: the solution is to NOT run the git pull as root, and instead as the user you intend to have the permissions set for15:59
hadifarnoudteward: that would be www-data15:59
tewardhadifarnoud: or add an extra command to the pull at the end, and set it as the combo you want, via the chown command i said15:59
tewardhadifarnoud: well then your other solution is run the pull as root and then add a command, either by using a script to handle the pull AND the chown, or... manually16:00
Patrickdkwell, into the git postpull script16:00
tewardright16:00
tewardor do what i do, scripts for everything, all of em run on their own xD16:00
* teward overcomplicates administration :)16:00
hadifarnoudcool. will do teward. have to google how to add a script to git pull16:01
tewardpostpull perhaps16:01
tewardPatrickdk is likely more fluent with git than I16:01
* teward has been learning bzr which has effectively squished his git knowledge >.>16:01
Patrickdkeveryone uses git :)16:02
Patrickdkbesides ubuntu using bzr16:02
Patrickdkand companies using perforce16:02
ScottKAnd people that still use svn.16:02
ScottKOr even, shudder, cvs.16:02
Patrickdkpeople don't normally start new stuff in svn16:02
PatrickdkI hated cvs16:02
Patrickdksvn was ok16:02
ScottKSure, but lots of stuff still around using it.16:02
tewardPatrickdk: i use bzr because i'm pushing stuff for the CVE tracker (as ScottK knows, theres quite a few cves that're WRONG against wireshark so i've been... kinda doing cleanup_16:03
tewardthat and i use the bzr method of package merges >.>16:03
PatrickdkI only know alittle git16:03
Patrickdkuse it for a few things16:03
tewardsame, git clone, git commit, git push...16:03
Patrickdkbut mainly use it for illumos commits16:03
tewardmhm16:03
Patrickdklots of git rebase :)16:04
ScottKOne of the nice things about bzr is that for people that want to, you can use it exactly like svn, just do bzr command instead of svn command.  That makes it a nice bridge into the world of DVCS for projects where some people are stuck in the old paradigm.16:04
* teward shrugs16:04
tewardScottK: i'm still a stickler for old fashioned packaging: pull the source package, tweak, changelog entry, rebuild16:04
tewardthen debdiff xD16:04
Patrickdkmain reason I have never used bzr, why bother learning yet another16:05
ScottKThat's generally true about tools.  There's little point in learning them for their own sake.16:05
Patrickdkgit I was pretty much forced to, as everything switched to it16:05
Patrickdksvn I used for years16:06
ScottKteward: I mostly use diff and patch to get stuff into/out of the VCS, so I hear you.16:06
Patrickdkcvs I was forced to use, once, and I dropped that16:06
tewardScottK: yeah, i'm even worse, i nitpick upstream commits, and at times have had to actually manually recreate the patches via quilt16:06
teward'twas painful16:06
tewardbut not unexpected...16:06
Patrickdkquilt makes it easy16:07
tewardyeah, well, reading the upstream diff and converting that to manual edits is tricky sometimes16:07
Patrickdkattempt to strip out 40+ commits from fork, and attempt to remerge them16:07
tewardespecially with gedit having changed crazy between 10.04 and now16:07
tewardPatrickdk: eheheh16:07
Patrickdkand remove extra fluf16:07
Patrickdkand fix *missing* parts16:07
ScottKI recently went through a process where I made a local branch in git and used git cherry-pick to pull the subset of upstream changes I wanted and then exported the commits as patches.16:07
ScottKThen it was mostly a matter of adding the patches to debian/patches/series.16:08
ScottKThat way most of the hard work of resolving the differences we done in Git.16:08
Patrickdkmy issue is, someone opted to change a whole style of atom locks16:08
Patrickdkcausing all kinds of fun conflicts16:08
ScottKProbably nothing will help you there.  Just fun all around.16:09
mirexxcould I install 32bit version of weblogic on 64bit ubuntu?16:09
tewardScottK: ahh, yeah, i work command line manually, and by doing the patches by hand i learn the underlying software...16:09
tewardthat's my thinking on manual patch recreation anyways16:09
Patrickdkif you install all the 32bit libs it wants, sure16:09
mirexxty16:09
tewardmirexx: you can do that easy by installing the 32bit dependencies, via package:i38616:10
tewardunless it needs manual building of the deps :)16:10
teward(then it can get tricky i believe)16:10
Patrickdkif your building, it shouldn't really matter16:10
Patrickdkbut you can't build weblogic :)16:11
tewardtrue16:11
tewardPatrickdk: build deps of the dep you have to build though16:11
tewarddepending on the software, that can get VERY tricky and time consuming16:11
Patrickdkya, I spent 3 days working on that for dovecot16:12
Patrickdkbuilding all the deps I needed in omnios so I could build a fully featured dovecot16:13
mirexxyes, I didn't find the 64bit version of weblogic :/ so I need to install 32bit version16:13
tewardheh16:13
Patrickdkactually, building them wasn't the horrible part, but I was attempting to package it correctly, so I wouldn't have to do it again :)16:13
tewardPatrickdk: ahahahahh, yeah THAT gets tricky16:15
tewardPatrickdk: kinda glad i don't have to worry about the naxsi packages in nginx nowadays though, that isn't trivial to maintain16:17
teward(thank goodness debian dropped them, from Vivid onwards I can have relatively easy maintenance... :) )16:17
LartzaI know one should really REALLY not run own mail servers, but I have to. There's literally no easy way still and you have to configure everything meticulously?16:20
SCHAAP137there is16:21
SCHAAP137https://mailinabox.email/16:21
Patrickdkthe problem with email servers is, everyone has different kinds of spam, so everyone blocks it differently and uses different things to process and reject/filter/...16:22
LartzaSCHAAP137, That requires a fresh box :/16:22
SCHAAP137true16:22
Patrickdkif it wasn't for that, a standard postfix/dovecot stack would be simple16:22
SCHAAP137http://www.pixelinx.com/2013/09/creating-a-mail-server-on-ubuntu-postfix-courier-ssltls-spamassassin-clamav-amavis/16:22
SCHAAP137this guide is good as well16:23
Patrickdkoh evil, courier16:23
tewardwheeeeee laggy16:23
Patrickdksave yourself a ton of pain and use dovecot :)16:23
mirexxcan I add 32bit libraries through these commands: 1. sudo dpkg --add-architecture i386  then 2. sudo apt-get update ?16:23
SCHAAP137i heard good stories about dovecot, i use courier-imap-ssl myself16:23
SCHAAP137users, domains, aliases, all virtual in mysql, mapped in postfix16:24
SCHAAP137opendkim16:24
LartzaIs amavis like spamassassin?16:24
SCHAAP137still wanna do TLSA16:25
SCHAAP137but need my own DNS for that16:25
Patrickdkno, amavis *includes* spamassassin16:25
Patrickdkya, I'm fully tlsa16:25
SCHAAP137i use 4096-bit DKIM keys, some servers have a hard time verifying them16:25
PatrickdkI mainly use my email via webmail, and use tlsa for mx and to verify my webmail link16:25
Patrickdk4k for dkim is kindof insane16:26
PatrickdkI hate google killed dkim for everyone16:26
=== teward is now known as teward_
Patrickdkyour suppost to rotate your dkim keys weekly or monthly, but since google didn't everyone must suffer16:26
=== teward_ is now known as teward
SCHAAP137true16:26
tewardwhoopsies16:26
Patrickdkmaybe that is something I should start tracking16:27
Patrickdkkeep track of dkim verifications16:27
Patrickdkand if I see the same key again, over x days old, derate it16:28
PatrickdkI used a 768bit dkim rotated weekly, for years16:28
Patrickdkor well, used to16:29
LartzaI'm literally thinking of buying a VPS for mail in a box now...16:30
SCHAAP137still need to set up my own nameserver16:30
SCHAAP137so i can do some TLSA16:31
LartzaBut I think I'll just get around to installing all this16:31
SCHAAP137secondary caching/forwarding with some ip checks pbly16:31
SCHAAP137still need to learn some shit about DNSSEC before proceeding16:33
Patrickdkdnssec is simple16:33
Patrickdkbut just don't be stupid, when you rotate your keys16:34
SCHAAP137need moar DNS knowledge in general tbh16:34
ScottKPatrickdk: DKIM key less than 1024 bits is not a great idea.16:36
ScottKSCHAAP137: 4096 is overkill though.16:36
Patrickdkwhy?16:36
SCHAAP1374096 all the way yo16:36
Patrickdkbits only dictate how long till it's bruteforced16:36
SCHAAP137relaxed/simple16:36
Patrickdkif you rotate often, and expire the old key, not an issue16:36
ScottKPatrickdk: Yes, and with 768 it's not that long.16:36
Patrickdkthe problem was, people where not doing so16:37
Patrickdkand google was using a 512bit key for years16:37
teward4096 is overkill, but if you're security-paranoid like i am... :P16:37
ScottKThat's true, but there are some systems that decline to trust keys < 1024.16:37
Patrickdkyes, cause of that google problem16:37
ScottKPatrickdk: They were using 512 until they got brute forced.16:37
Patrickdkthey said, lets make 1k the limit16:37
ScottKDoesn't change the fact that if you use 768 many receivers will ignore your signature.16:38
Patrickdkwhy would they?16:38
SCHAAP137i am, teward16:38
SCHAAP137in different ways pbly16:38
Patrickdkand as I said, if you read, BEFORE 1k became the limit, I used 768bit rotated weekly16:38
Patrickdkafterwards, well, I had to change16:38
ScottKBecause most people don't do key rotation.16:38
Patrickdkpeople not doing rotation is insane16:38
Patrickdklike not rotating your ssl certs, dnssec keys, and everything else16:39
ScottKopendkim, which is the most common implementation for Sendmail/Postfix use has a 1024 limit.16:39
tewardi have an 8192bit ssh key too, which is REALLY overkill xD16:39
teward(just sayin)16:39
Patrickdkopendkim is relatively new16:39
ScottKNot really.16:40
Patrickdkteward, I attempting that before, openssl had no support using >4k16:40
ScottKIt's a fork of dkim-milter which was an update of dk-milter.16:40
Patrickdkscottk, opendkim wasn't widely used till around the google 512bit key incident16:40
tewardPatrickdk: openssl or openssh?  (ssh keys 8192 worked for me since 11.04)16:40
Patrickdkteward, yes, and that is pretty new :)16:41
PatrickdkI mean back in like 200216:41
Patrickdkit could *make* 32k keys16:41
Patrickdkbut it coulding use anything >4k16:41
Patrickdktotally pissed me off :)16:41
tewardahhh right16:41
tewardPatrickdk: yeah I am REALLY overkill with my ssh keys ;)16:42
ScottKSince dkim didn't exist in 2002, it's completely true that all the software for the protocol didn't exist either.16:42
Patrickdkwho is talking about dkim in 2002?16:42
ScottKNevermind then.16:42
Patrickdkssh != dkim16:42
ScottKThe oldest supported Ubuntu release (10.04) has opendkim.16:43
ScottKIt's also the last one with dkim-milter.16:43
ScottKSo I think it's not that new.16:43
tewardyep16:43
Patrickdkand google had their key compromised in nov 201216:43
Patrickdkconsidering it takes people a year or two to upgrade to the newest version16:44
Patrickdkyes, I would say I was pretty right on16:44
Patrickdkpeople started using opendkim heavily around when google 512bit was compromised16:44
ScottKopendkim 1.0 was released in 2009 (and that's when it entered Debian/Ubuntu).16:47
ScottKThe reason it was forked from dkim-milter is the author changed jobs.16:47
ScottKBefore that, dkim-milter was the predominate implementation for Sendmail/Opendkim.16:47
Patrickdkyes, I still use dkim-filter16:52
Patrickdkbut I pretty much forked it myself16:52
Patrickdkas it's completely mysql backed16:52
LartzaAnyone have experience with iRedMail?16:56
LartzaOh needs a fresh server too16:57
LartzaMhh16:57
ScottKopendkim supports mysql.  Not sure why you'd stay with ancient, unsupported software, but meh.16:58
Patrickdkhmm, I can't find anything in the documentation about it16:59
Patrickdkwas just reviewing it again16:59
=== liam_ is now known as Guest6400
Patrickdkguess maybe the documentation is lacking16:59
Patrickdkand unsupported only means, someone other than my supports it17:02
Patrickdkas I said I forked it17:03
Patrickdkthat was long before opendkim existed though17:03
ScottKSee the --with-sql-backend config option described in INSTALL.17:11
Patrickdkya, but not described in the config file manual17:22
PatrickdkI did see a readme.sql in the source17:22
Patrickdkbut I don't normally look at the source for documentation17:22
=== MeltedLux is now known as MeltedDed
=== MeltedDed is now known as MeltedLux
=== Siebjeee is now known as Siebjee
mirexxhello guys, I'm using ubuntu 64bit and I'm trying to install oracle weblogic server but after I put this command : java -jar wls_121200.jar to the terminal  it's output is following: The OpenJDK JVM is not supported on this platform.19:10
mirexxThe Oracle Universal Installer failed.  Exiting.19:10
mirexxwhat I am suppose to do to run this properly?19:11
Patrickdkit told you19:11
Patrickdkuse oracle jvm19:11
Patrickdkwhy are you using openjdk?19:11
mirexxI am newbie in this.. :/19:14
mirexxso first thing I have to do is to install oracle jvm right?19:14
=== jvwjgames_ is now known as jvwjgames
shaanhey guys what is a lightweight secure email server19:38
shaan??19:38
shaani just need simple E-mail and IMAP19:38
mirexxok Patrickdk got it now, thx very much for  your help ;]19:41
JanCpostfix + dovecot is reasonably lightweight19:41
sheptardwhy not get email hosted by google19:42
JanCprivacy probably?19:43
Patrickdkgmail is *private*19:44
JanCit might even be illegal if he is inside the EU and has personal data about other people in his email/contacts19:46
Patrickdkor in ma, usa19:47
maxbWhat is not lightweight is doing your own spam & virus checking20:09
maxbspamassassin and clamav are pretty good, but require CPU time and admin care and feeding20:09
qmanrolling your own antispam/antivirus is hard, I use scrollout F120:10
mirexxguys, I'm trying to start my weblogic  server but, when I execute startWebLogic.sh it says: Can't open .../Oracle/Middleware/oracle_common/common/bin/commEnv.sh      #I don't  even have that directory..20:18
mirexxwhere is the problem ? :(20:19
bekksWell, it tells you it cant start because that directory and that file mentioned doesnt exist.20:20
mirexxyes I know that, but what I need to do about that ? I didn't find nothing about this problem so far..20:21
bekksmirexx: You need to install the WebLogic server properly, I guess.20:22
=== jvwjgames_ is now known as jvwjgames
allenHow can I make sure that my entire wordpress directory is readable, writable, and executable by my user?20:43
allenLike I want full privileges, and no permission related issues for this directory and all its subdirectories and files lower in the heirarchy20:44
bekksWhere is your wordpress directory located?20:45
RoyKallen: the easiest, though not safest choice, is to chown -R youruser /path/to/wordpress/dir20:45
allenin /var/www/html/wordpressdirectory20:45
bekksThat directory should not be owned by your user.20:46
RoyKbekks: why not? so long that it's readable by the apache group, it doesn't matter20:46
bekksRoyK: Well, it opens the door for vulnerabilities by using the users account.20:47
RoyKallen: btw, /var/www/html/... is typically a redhat/centos thing - I don't think I've see the html dir in any debian-based distros20:47
RoyKbekks: he's saying full rwx to his user, so yes20:47
allenRoyK,its like that on ubuntu-server 14.0420:47
Patrickdkroyk, ubuntu *or debian* gave in a few years ago20:49
allenThanks guys, I think its working, I'm not to stressed about security right now20:49
alleni just need things working, i'll tighten it up later20:49
RoyKallen, Patrickdk: I was looking at wheezy and some older ubuntu release - seems there's a html there now, yes20:50
RoyKallen: then chown -R20:50
John_John__what desktop to install in 14.04 server ?21:36
bekksThe one you want, basically. :)21:36
John_John__ok i need the most stable one21:36
bekksAll available desktops in the Ubuntu repos are considered to be stable.21:37
John_John__ok which one is the most featured and which one is the lightest ?21:38
=== John_John__ is now known as John_John_
RoyKJohn_John_: why would you want to install a desktop environment on a server?21:41
RoyKJohn_John_: if it's a desktop you want, just install ubuntu desktop and the server packages you need.21:42
John_John_because ….i think might have a better experience ?21:42
RoyKprobably not21:42
John_John_actually i cant paste from my mac into ubuntu21:42
RoyKlinux servers are configured on the commandline, although there exists other solutions, but not remotely as good21:43
RoyKjust ssh into the server and paste into the terminal21:43
John_John_aha21:43
John_John_can you give me the exact command please ?21:43
RoyKon the mac, open terminal and type "ssh user@host" wher "user" is your username and "host" is the hostname or ip address of the server21:44
John_John_connection refused...21:44
RoyKthen apt-get install ssh21:45
RoyKon the server21:45
=== Jactive is now known as Jactive|OFF
=== Jactive|OFF is now known as Jactive
John_John_yep :)21:47
John_John_thanks alot !21:47
John_John_so no need a gui at least for now i guess21:47
John_John_question....21:47
John_John_when i installed the server i installed LAMP too21:48
John_John_now i cant seem to be able to stop mysql serice for example21:48
John_John_i mean it seems it restarts by itself when i stop it21:48
RoyKJohn_John_: that would be the first 5 minutes of a linux 101 ;)21:48
RoyKJohn_John_: which ubuntu version?21:49
John_John_14.0421:49
RoyKservice mysqld stop should work well21:49
John_John_mysqld: unrecognized service21:50
RoyKmysql, perhaps21:50
John_John_something missing in my path maybe ?21:50
RoyKnope21:50
RoyKservice mysql21:50
RoyKnot mysqld21:50
RoyKmy fault21:51
John_John_mysql stop/waiting21:51
John_John_what it means ?21:51
RoyKit means it's stopping21:51
RoyKbut that may take a few seconds21:51
RoyKcommiting transactions etc21:51
RoyKtry service mysql status21:51
John_John_sudo service mysql status21:52
John_John_and still the same answer21:52
RoyKwait a wee while21:52
John_John_lol how while ???21:52
John_John_how much*21:52
John_John_i think something is wrong!21:53
John_John_still stop/waiting21:53
John_John_any thoughts ?21:53
John_John_a bug maybe ?21:53
bekksIt's stopped, when you got the command prompt back.21:53
RoyKJohn_John_: ps axf|grep -v grep|grep mysql21:54
qmanstop/waiting means it's stopped21:54
qmanwhich is what you should expect, since you stopped it21:54
John_John_it gives me no answer21:54
John_John_aha21:54
RoyKqman: shouldn't that say just 'stopped'?21:55
bekksJohn_John_: It gave you a prompt back, where you typed service mysql status already.21:55
John_John_i see21:55
qmannot from my experience21:55
qmanupstart jobs say stop/waiting21:55
RoyKqman: ok21:55
bekksRoyK: The service is stopped and waiting for further instructions.21:55
* RoyK doesn't like upstart21:55
RoyKok21:55
John_John_mysql start/running, process 171121:55
John_John_after i start it again21:55
RoyKgood21:55
John_John_but it doewsnt give me the uptime info and all21:56
John_John_like this one command…udo /etc/init.d/mysql status21:57
RoyKJohn_John_: mysql ... "show global status;"21:57
bekksBecause /etc/init.d/mysql status shows you the mysql stats, while service mysql status shows you the upstart status for the mysql service.21:58
John_John_show which method is the most secure/correct ?21:58
RoyKjust use "service ..."21:58
bekksJohn_John_: Depends on which status you want to see.21:59
John_John_ok hear this21:59
John_John_i stopped with init.d and it doesnt stop at all!!!!22:00
bekksWhy didnt you use service...?22:00
John_John_with service command it works fine i guess22:00
John_John_so i ll use that22:00
bekksThats what you did before, yes.22:00
John_John_does the same work for apache2 too ?22:01
bekksYes.22:01
RoyKJohn_John_: yes, or apache's own "apache2ctl (something)"22:01
John_John_udo service apache2 start22:01
John_John_worked22:01
John_John_so i am fine so far i guess22:02
John_John_one more question please ?22:02
John_John_i have installed parallels tools22:03
PrezidentHey22:03
Prezidentsur.22:03
John_John_where can i find the mount ?22:03
bekksWhich mount?22:05
John_John_its ok maybe they are installed correctly because i found my mac share folder under /media/psf22:05
John_John_but what exacly is /media/psf ?22:05
John_John_why psf ?22:05
John_John_can i give it an alias/shortcut ?22:06
bekksHow are we supposed to know why you named your device "psf"? :)22:06
=== Jactive is now known as Jactive|OFF
John_John_no no no noi didnt named that22:06
bekksThen it wouldnt be named like that ;)22:06
John_John_my device is called “Elements” and its under /media/psf/22:07
bekksSo your user is named psf, then?22:07
John_John_no no22:07
John_John_my user is also displayed under psf too!!!!22:07
* RoyK gets off to do something more productive, like drinking beer22:07
bekksRoyK: :)22:08
John_John_RoyK:  LOL22:08
John_John_maybe psf is a name that paralles created ? who knows22:08
John_John_but anyways can i give an alias to what is under /media/psf ?22:09
bekks"Parallels Shared Folder".22:09
John_John_right!!!!22:09
John_John_so what about the alias ?22:09
bekksWhich alias?22:09
John_John_all i want is to say “Elements”22:10
bekksIt says "Elements".22:10
John_John_and access /media/psf/Elements22:10
John_John_is that possible ?22:10
bekksAnd it is mounted under /media/psf - that how things work in Parallels.22:10
John_John_maybe i do not ask correctly22:11
John_John_anyways not so important22:11
John_John_hmm22:11
John_John_java -version22:12
John_John_The program 'java' can be found in the following packages:22:12
John_John_ * default-jre22:12
John_John_ * gcj-4.8-jre-headless22:12
John_John_ * openjdk-7-jre-headless22:12
John_John_ * gcj-4.6-jre-headless22:12
John_John_ * openjdk-6-jre-headless22:12
John_John_Try: sudo apt-get install <selected package>22:12
John_John_i just want the oracle jave 822:12
John_John_what shoud i do ?22:12
bekksYou have to install that manually.22:13
bekkshttp://askubuntu.com/questions/464755/how-to-install-openjdk-8-on-14-0422:13
John_John_no not open jdk22:14
John_John_i want this one!!!22:14
John_John_http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html22:14
bekkshttp://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/22:14
RoyKJohn_John_: really, java?22:16
RoyKJohn_John_: java is for visiting, java coffee is for drinking, java in computing is for loathing22:16
John_John_lol why you say that ?22:17
bekksBecause it is the truth.22:17
John_John_which other open source language/framework is close to microsoft’s .net ?22:17
bekksMono.22:17
John_John_fuck mono…mono is shit22:18
John_John_are you a developer ?22:18
bekksIt is far more close to .Net than Java.22:18
John_John_i dont think so really22:18
John_John_i know java is shit ok22:18
bekksThen you are denying technical facts.22:18
John_John_but php is better ?22:18
bekksPHP has entirely nothing to do with .net22:19
John_John_i know that22:19
John_John_but i need to develop and be safe22:19
John_John_i am adeveloper22:19
bekksThen dont use PHP at all.22:19
John_John_lol22:19
bekksPHP is a big pile of crap.22:19
John_John_what to use then ?22:19
RoyKC? HTML5?22:19
bekksDepends on your requirements - just naming different languages doesnt specify them.22:20
John_John_i need to create a mail client application22:20
bekksArent there enough MUA already? :)22:20
RoyKapparently not....22:21
John_John_this is a long discussion now22:21
John_John_my mail client will have “special features”22:21
bekksLike?22:21
RoyKJohn_John_: anyway - what is it openjdk can't do?22:21
John_John_like departmental email management ?22:22
bekksJohn_John_: Thats nothing a client should handle, but your mailserver should do :)22:22
RoyKI don't think that is closely tied to a specific language22:22
John_John_i dont know openjdk but i hear is not compatible with oracle java sadly22:22
bekks"I hear" - thats not very reliable.22:22
RoyKJohn_John_: it's the other way around22:23
John_John_i agree22:23
=== cnj_ is now known as cnj
RoyKJohn_John_: and if you're using it server-side, why bother?22:23
John_John_i need a server side technology that it is a stable one22:23
bekksSo use OpenJDK 8.22:24
John_John_anyways i want to go with java for now22:24
RoyKbekks++22:24
RoyKJohn_John_: the code written for openjdk8 is compatible with the jvm from oracle, but that doesn't matter. So long the java stuff is done on the server, the users won't even need java installed (which is a jolly good thing)22:27
John_John_i am talking about me now and the tools i ll be using22:28
John_John_not the end users22:28
RoyKthen use openjdk22:28
John_John_and why oracle supports only .rpm ?22:28
RoyKforget oracle22:28
John_John_that makes me think to move to CentOS i guess22:29
John_John_forget oracle ??????22:29
RoyKyes. forget. oracle.22:29
RoyKuse openjdk22:29
RoyKit works22:29
John_John_i am not that good in java i guess and i dont have time for such risks22:29
RoyKomg22:30
John_John_i maybe think about it for a while22:30
bekksI still can see "I hear" is the main reason for assumptions in your design process.22:30
John_John_shame…and i like ubuntu!22:30
RoyKJohn_John_: if you don't know too much, learn more22:30
JanCJohn_John_: technically, Oracle JDK 8 is a commercial release fork of OpenJDK 823:02
John_John_ok i have just installed the default jdk23:02
JanCand they probable use.rpm because that's what Oracle Linux uses  :p23:03
John_John_whis is openjdk 1.723:03
John_John_is that ok ?23:03
John_John_for some reason it doesnt give me 1.8 by default23:03
John_John_only 1.723:03
John_John_but if i want i can download the tar from oracle and install it locally in my home folder23:04
JanCthat should give you support on older OS versions too, so unless you really need any JDK 8 (= 1.8) features JDK 7 should be fine23:04
John_John_i dont need 8 features no i guess23:05
John_John_how do i search for a package with apt get ?23:05
John_John_for example glassfish ?23:05
JanCapt-cache search23:05
John_John_is cache upto date ?23:06
JanCrun 'apt-get update' to make it up-to-date23:07
John_John_i have done so23:07
JanCit's up-to-date until at the point in time when you last ran that  :)23:08
John_John_lol ok23:08
John_John_how can i download files from internet in console ?23:10
Quoexlwget?23:11
JanCthere are several ways, but usually people use wget or curl23:11
John_John_thanks i ll check out how they work23:12
Quoexlwget http://whatever the download link is23:12
JanCwget is probably the easiest for simple downloads23:12
Quoexlor install links2 and use the text based browser23:13
John_John_how can i tell to what directory should download ?23:14
Quoexlit downloads right where you are sitting23:15
Quoexlif you have access to write to that dir23:15
John_John_ok that works for me23:15
John_John_actuall i am in my home dir23:15
Quoexlthen it will drop right where you sit23:15
John_John_which is totally empty23:15
John_John_no predefined dir structure like dokuments and downloads in server edition ?23:16
JanCwget also has a -P/--directory-prefix option23:16
JanCbut the default is '.', so "wherever you are"23:16
JanCJohn_John_: I doubt it's totally empty (likely has some .dotfiles)23:17
John_John_yes only those23:18
JanCbut you can create directories as you like, of course23:18
John_John_ok so ill create my Downloads directory i guess :)23:18
John_John_with mkdir right ?23:18
JanCmost of those directories don't make sense on a server anyway23:19
JanCyes23:19
John_John_so where an expert user downloads things on a server ?23:19
JanCwherever you need/want them?23:19
John_John_i need to download glassfish app server23:20
John_John_where is a good location to download and extract ?23:20
John_John_is inside the home folder a safe bet ?23:20
JanCI have no idea; ultimately you probably want/need it to be in some particular folder related to your project?23:21
JanCyou can always copy/move it later though23:21
John_John_ok i guessed so23:21
John_John_ok thanks :)23:21
JanC_personally_ I tend to make some project directory where I store everything related to that project23:22
John_John_thats good i agree23:22
JanCseems like glassfish is already available in Ubuntu though?23:23
John_John_alrighty23:38
John_John_so far so good23:38
John_John_i have installed and run latest glasfish and work ok so far with openjdk 723:38
John_John_for now i am good from the server side23:39
John_John_now my client/host is a mac23:39
John_John_ubuntu is on vm23:39
John_John_i have installed everything i need on my mac…java/ide etc23:39
John_John_can i use for example eclipse on my mac to access glassfish on ubuntu ?23:40
John_John_i have set up hosts already and i can reach glassfish console from my local browser on the mac23:40
RoyKJohn_John_: I'd suggest a separate machine, perhaps a raspberry pi or something, for the linux stuff23:45
RoyKJohn_John_: makes it easier to handle23:45
Guest63112i was woundering if i could get some help with my ubuntu server ive setup. its running a dhcp and its giving out ips correctly the only problem is that for android phones the device is not able to connect to anything untill its pinged from inside the network23:48
=== MeltedLux is now known as MeltedDed
Guest63112is anyone monitoring this chat?23:53
=== Lcawte is now known as Lcawte|Away
=== Guest63112 is now known as TheSpawnMan
TheSpawnMan@nomadjim how does this magic place work?23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!