zackify | is vi and vim the same in ubuntu server | 00:00 |
---|---|---|
zackify | 14.04* | 00:00 |
RoyK | vi is vim if vim-basic is installed | 00:01 |
zackify | RoyK: thanks, I thought thats what happens | 00:02 |
RoyK | queorgullo is a spambot, btw | 00:02 |
RoyK | zackify: vim is always better than old vi | 00:03 |
RoyK | (unless you're on a very tiny embedded thing) | 00:04 |
zackify | RoyK: I know it is, i have a friend who was telling me about it and I was thinking it was replaced with vim even when just doing 'vi' | 00:08 |
=== ideopathic_ is now known as ideopathic | ||
=== Eu is now known as Guest44460 | ||
=== markthomas is now known as markthomas|away | ||
=== peter is now known as Guest44805 | ||
=== havanamint is now known as havanamint_out | ||
=== Ursinha_ is now known as Guest97591 | ||
=== danley_ is now known as danley | ||
=== semiosis_ is now known as semiosis | ||
=== MadsRC_ is now known as MadsRC | ||
=== RobertLaptop_ is now known as RobertLaptop | ||
=== yokel_ is now known as yokel | ||
=== broder_ is now known as broder | ||
=== Pici` is now known as Pici | ||
=== bigjools_ is now known as bigjools | ||
=== psivaa_ is now known as psivaa | ||
=== ggherdov`_ is now known as ggherdov` | ||
=== tsimpson_ is now known as tsimpson | ||
=== SP33D_ is now known as SP33D | ||
=== Guest97591 is now known as Ursinha | ||
=== Ursinha is now known as Guest20083 | ||
=== jeremy_carroll__ is now known as jeremy_carroll_ | ||
=== thesheff17_ is now known as thesheff17 | ||
=== imanc_ is now known as imanc | ||
=== IdleOne is now known as Guest28381 | ||
=== Tm_Tr is now known as Guest65216 | ||
=== SpamapS_ is now known as SpamapS | ||
=== Guest28381 is now known as IdleOne | ||
=== bilde2910 is now known as bilde2910|away | ||
=== bilde2910|away is now known as bilde2910 | ||
=== bilde2910 is now known as bilde2910|away | ||
=== mfisch is now known as Guest18588 | ||
FilthyMacNasty | evening everyone, anyone got some wisdom on samba4? | 05:43 |
lordievader | Good morning. | 06:13 |
FilthyMacNasty | gutentag lord | 06:15 |
lordievader | Hey FilthyMacNasty, how are you? | 06:16 |
FilthyMacNasty | if it was any better I'd need 2 of me to enjoy it | 06:16 |
lordievader | Sounds good ;) | 06:17 |
FilthyMacNasty | fiddling with samba4 tonight | 06:18 |
=== rharper is now known as rharper_brux | ||
=== nath|off is now known as nathema | ||
=== gnuoy` is now known as gnuoy | ||
Vladimir_ | is it possible to install zypper on ubuntu and does it work well? | 07:23 |
FilthyMacNasty | I use buttons not zypper, I'm amish | 07:25 |
=== Guest65216 is now known as Tm_Tr | ||
=== shauno_ is now known as shauno | ||
Sycrid | I think I'm missing something stupid, I'm trying to connect to another linux machine using remmina, is this possible? If so, can it be done by rdp? | 09:17 |
FilthyMacNasty | !remmina | 09:22 |
FilthyMacNasty | naturally ubotu dont know what that is | 09:22 |
FilthyMacNasty | I use x11vnc | 09:22 |
FilthyMacNasty | Sycrid: what is remmina? | 09:23 |
=== caribou_ is now known as caribou | ||
=== lool- is now known as lool | ||
Sycrid | FiltyMcNasty: It's an rdp program for linux. | 09:32 |
Sycrid | Really good going from linux into windows environments. | 09:32 |
Sycrid | What I'm looking for is a tool to allow remote desktop of a ubuntu server from my desktop (with interface so I don't need to enter a cold server room all the time). | 09:32 |
FilthyMacNasty | ok, from a windows box right? | 09:33 |
FilthyMacNasty | download putty.exe from chiark, its an ssh client, download realvnc from realvnc.com for windows, log into the linux box by ssh and run x11vnc, then connect to it from realvnc | 09:34 |
Sycrid | no, from ubuntu to ubuntu | 09:34 |
FilthyMacNasty | same x11vnc and the vnc client of your choice | 09:34 |
Sycrid | cool, | 09:35 |
lordievader | !info remmina | 09:35 |
ubottu | remmina (source: remmina): remote desktop client for GNOME desktop environment. In component main, is optional. Version 1.0.0-4ubuntu3 (trusty), package size 127 kB, installed size 362 kB | 09:35 |
FilthyMacNasty | so, on the server sudo apt-get install x11vnc | 09:35 |
FilthyMacNasty | ssh into the box, run x11vnc, when you close it the security risk closes with it | 09:36 |
FilthyMacNasty | having a full time remote desktop server running is bad | 09:36 |
Sycrid | yeah, it's just so I can run updates from time to time, don't want it open permanently. | 09:37 |
Sycrid | still learning linux as well, don't think that ever stops, but I'm a newbie, so it's nice to have an interface from time to time | 09:38 |
Sycrid | FiltyMacNasty: did as you said, and I don't see the remote desktop window... I did get the security message though | 09:41 |
FilthyMacNasty | did you install x11vnc on the server? | 09:47 |
Sycrid | ye | 09:47 |
Sycrid | yes* | 09:47 |
Sycrid | do I need to install it locally? | 09:48 |
FilthyMacNasty | no, you need to open a terminal ssh into the server and run x11vnc --xauth guess | 09:48 |
Sycrid | done the ssh and run x11vnc | 09:49 |
Sycrid | I'll try again | 09:49 |
Sycrid | FilthyMacNasty I've noticed as I try, i get the following line "4/10/2014 10:50:27 *** XOpenDisplay failed. No -display or DISPLAY. | 09:50 |
Sycrid | " | 09:50 |
FilthyMacNasty | did you type x11vnc --xauth guess | 09:51 |
FilthyMacNasty | wait, sudo | 09:51 |
FilthyMacNasty | sudo x11vnc --xauth guess | 09:51 |
FilthyMacNasty | then rdp into it using vnc protocols | 09:52 |
FilthyMacNasty | are you using unity on your desktop? | 09:53 |
FilthyMacNasty | Sycrid: you'll need to go into remmina and change the protocol from rdp to vnc | 09:56 |
Sycrid | sorry was checking server locally. | 09:56 |
Sycrid | restarting it now. | 09:57 |
Sycrid | (Filthy, thanks for the help. I've got to go, will be back later if I need further help). | 09:57 |
FilthyMacNasty | I'll be around | 09:57 |
=== vincent_1dk is now known as vincent_vdk | ||
matts1lver | Hi, trying to install ubuntu server 14.04 on two 3TB hard drives, I have created a 1MB partition and selected the "Reserved Bios boot area" option on both drives e.g. /dev/sda1 and /dev/sdb1. Then created a big partition filling the rest of the disks and selecting them for use as raid. Then create the raid on the two partitions e.g. /dev/sda2 and /dev/sdb2 and then LVM on top of the raid with LV's for swap, root a | 11:04 |
FilthyMacNasty | never used the reserved bios boot area option, but the rest of it seems to be right on target, matts1lver | 11:06 |
matts1lver | I believe it is required for GPT due to the size of the disks | 11:06 |
matts1lver | I followed this http://stackful-dev.com/raid-install-ubuntu-server-on-a-large-hard-drive.html but extended it to use LVM | 11:07 |
FilthyMacNasty | well it is true i havent used bigger than 1tb's | 11:07 |
matts1lver | OK, any one else? | 11:08 |
matts1lver | I will also try #ubuntu as this isn't 100% just a server question | 11:09 |
lordievader | matts1lver: Do you have /boot outside of lvm? | 11:13 |
matts1lver | lordievader: there is no /boot but the 1MB biosgrub partition is outside of the LVM and raid. Looks a lot like this http://stackful-dev.com/static/images/ubuntu-gpt-raid/partitioned-drives-no-raid.png | 11:15 |
matts1lver | This is GPT, not MBR | 11:15 |
lordievader | Grub doesn't like to boot from lvm. | 11:15 |
lordievader | It's a good idea to get that outside of the lvm partitions. | 11:15 |
matts1lver | grub is not in lvm | 11:16 |
lordievader | matts1lver: I'm not talking about grub, guess I wasn't clear. I was talking about /boot or the kernel/initrd. | 11:17 |
FilthyMacNasty | the whole /boot directory needs to be outside lvm | 11:18 |
matts1lver | **grub is not in lvm** | 11:18 |
FilthyMacNasty | ^ | 11:18 |
lordievader | matts1lver: Again, I'm not talking about grub. | 11:18 |
matts1lver | But /boot is not required with GPT….correct? | 11:19 |
FilthyMacNasty | well if you want your kernel doesnt it live in there? | 11:19 |
lordievader | matts1lver: /boot contains the kernel/initrd how do you suppose to boot your system without it? | 11:20 |
matts1lver | ok let me try something then | 11:20 |
=== jtv1 is now known as jtv | ||
matts1lver | Ok, i'm trying: 2M "Reserved Bios boot area" partition, 550M partition RAID , Remaining disk RAID on each drive. Creating two raids, one on the 550M (md0) and one on the Remaining (md1). Mounting md0 raid at /boot and creating LVM on md1 and creating root, swap and data as LV's. Sound good? | 11:46 |
matts1lver | lordievader: thanks for the assistance, creating the extra raid for /boot worked. | 12:05 |
FilthyMacNasty | woot I was right! | 12:06 |
matts1lver | Yes right, thanks | 12:07 |
=== Guest61804 is now known as rcj | ||
=== rcj is now known as Guest90815 | ||
virtualhost | hello, i want to set up multiple frontends on my server but it is a development server and as such has no domain name, only an ip address. how can i set it up? is there a guide you know of? | 12:57 |
virtualhost | i am using this linode guide https://www.linode.com/docs/websites/lamp/lamp-server-on-ubuntu-12-04-precise-pangolin | 12:58 |
virtualhost | and it requires purchasing a domain | 12:58 |
virtualhost | i tried using the ip address and setting different ports but i cant access index.html on http://myip:8080 | 12:59 |
virtualhost | or even http://myip:8080/index.html | 12:59 |
virtualhost | ubuntu server 14 lts | 13:00 |
virtualhost | where can i paste my /etc/apache2/sites-available/000-default file? | 13:01 |
virtualhost | can anyone help me set it up? | 13:19 |
=== smoser` is now known as smoser | ||
FilthyMacNasty | virtualhost: unfortunately I dont know how to make 1 instance of apache serve multiple ports | 13:20 |
FilthyMacNasty | virtualhost: I was mistaken earlier I thought you had seperate machines for each site | 13:21 |
lordievader | virtualhost: Is Apache listening to 8080? | 13:21 |
virtualhost | when i directed port 80 to an empty dir, it showed what was on port 8080 | 13:22 |
virtualhost | !paste | 13:24 |
ubottu | For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. | 13:24 |
virtualhost | http://paste.ubuntu.com/8559091/ | 13:27 |
=== Guest24850 is now known as balloons | ||
lordievader | virtualhost: What does 'netstat -tulpn|grep 8080' return? | 13:27 |
virtualhost | nothing | 13:28 |
lordievader | virtualhost: What does nmap say about the port? | 13:28 |
FilthyMacNasty | virtualhost: your document root on *80 is misspelled | 13:28 |
virtualhost | lordievader i am not sure i am using it correctly, i tried nmap -p80 and nmap -p8080 and it shows the same result | 13:32 |
virtualhost | WARNING: No targets were specified, so 0 hosts scanned. | 13:32 |
virtualhost | can you please specify the command to use here? | 13:32 |
lordievader | virtualhost: You forgot to specify the host, nmap -p 8080 -Pn <host-ip> | 13:32 |
virtualhost | FilthyMacNasty where do you see an error? i have copied from what was allready there | 13:33 |
jpds | virtualhost: You know that you can fake a domain name using /etc/hosts ? | 13:33 |
virtualhost | nmap output: Host is up (0.000074s latency). PORT STATE SERVICE 8080/tcp closed http-proxy | 13:34 |
virtualhost | jpds no i did not. how can i use that in my case? | 13:35 |
lordievader | virtualhost: There you go, apache is not listening to that port. | 13:36 |
virtualhost | if i fake the domain i will still need to access it from the web. how could i point my web browser to point to the two different ports? | 13:36 |
jpds | virtualhost: fakedomain.test:8080 ? | 13:36 |
virtualhost | lordievader, how can i make it listen? | 13:36 |
jpds | virtualhost: Look at the Apache error log and figure out why it's not starting. | 13:36 |
lordievader | ^ | 13:37 |
FilthyMacNasty | the directory on virtualhost *80 is spelled */pot80/* not */port80/* | 13:43 |
virtualhost | thank you for pointing that out, i changed the names before pasting to make it more obvious for you guys while helping me. the directory is the right one in the original file. | 13:45 |
WhiteIntel | hello guys, could you help me with this: http://askubuntu.com/questions/536883/server-crashed-but-why?noredirect=1#comment734030_536883 | 13:45 |
FilthyMacNasty | did you restart apache after the fix? | 13:45 |
virtualhost | i got it! | 13:46 |
virtualhost | i restart apache after every change | 13:47 |
virtualhost | all i had to do is write Listen 8080 Listen 80 on the begining of the conf file | 13:47 |
virtualhost | i saw it here: http://httpd.apache.org/docs/2.2/bind.html | 13:47 |
virtualhost | thanks to lordievader i knew that port 8080 is inactive and now it is | 13:48 |
virtualhost | thank you all for our help! | 13:48 |
lordievader | virtualhost: No problem ;) | 13:49 |
FilthyMacNasty | virtualhost: It's only possible to Listen to the "wildcard" address, or to specific addresses. So if you have a need to listen to a specific address for whatever reason, then you will need to listen to all specific addresses | 13:49 |
FilthyMacNasty | your *80 and *8080 need to be xxx.xxx.xxx.xxx:80 and xxx.xxx.xxx.xxx:8080 | 13:50 |
FilthyMacNasty | betcha that fixes it | 13:50 |
virtualhost | FilthyMacNasty thank you for your help. it is working despite the use of the wild card. if anything else fails in the future, that is what i will check first | 13:51 |
FilthyMacNasty | rock on | 13:52 |
WhiteIntel | anybody can help me? | 13:52 |
FilthyMacNasty | I think its an either or situation with the * or the address must use one or the other but not both | 13:52 |
FilthyMacNasty | whatcha need WhiteIntel | 13:52 |
WhiteIntel | this here: http://askubuntu.com/questions/536883/server-crashed-but-why?noredirect=1#comment734030_536883 | 13:52 |
=== bilde2910|away is now known as bilde2910 | ||
Odd_Bloke | I'm looking at https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1379080; how do I go about changing the name of a kernel I am building? | 14:03 |
uvirtbot | Launchpad bug 1379080 in cloud-init "update-grub-legacy-ec2 fails to detect xen kernel" [Medium,New] | 14:03 |
WhiteIntel | @FilthyMacNasty can you help me? | 14:06 |
FilthyMacNasty | not really alot of help I'm afraid, got me scratchin my head | 14:07 |
WhiteIntel | Ok, no problem, can you give me any other tips where I could ask? | 14:08 |
FilthyMacNasty | lemme eyeball it one more time, I've been up all night | 14:09 |
WhiteIntel | ok, thank you | 14:09 |
=== rcj_ is now known as rcj | ||
FilthyMacNasty | WhiteIntel: take a look at this https://www.kernel.org/doc/Documentation/trace/events-nmi.txt | 14:12 |
=== hxm is now known as Guest75916 | ||
=== Guest75916 is now known as hxm | ||
blackyboy | Hi all i have two Virtual machines in KVM , vm1 ip was 192168.0.10 vm2 ip was 172.24.0.10 how can i route between both network, iam using ubuntu14 | 15:28 |
=== johnlage is now known as Artemis | ||
=== Artemis is now known as johanleg | ||
=== johanleg is now known as johnlage | ||
lordievader | blackyboy: How are those two networks interconnected? | 15:29 |
blackyboy | In local area | 15:30 |
lordievader | blackyboy: Could you explain your network setup in more detail? | 15:30 |
blackyboy | i want to use different network for those | 15:30 |
=== johnlage is now known as Andromeda-DT | ||
blackyboy | lordievader: i want to install one VM for one server and other one want to be client. but both want to be in different network | 15:32 |
=== Andromeda-DT is now known as johnlage | ||
FilthyMacNasty | set your vm network card to bridged and set a static ip during install | 15:32 |
blackyboy | FilthyMacNasty: its already bridged. But for practising i want to setup those in different network. But my host machine is ubuntu 14 with kvm | 15:34 |
lordievader | blackyboy: That is not a network description, please describe how you've setup your network. | 15:34 |
blackyboy | may i know how can i route between two network from 192.168.0.10 to 172.24.0.10 ? | 15:34 |
FilthyMacNasty | put it in the hosts file | 15:35 |
patdk-wk | doesn't sound like you want to route that | 15:37 |
patdk-wk | it sounds like yo uwant to nat it | 15:37 |
blackyboy | FilthyMacNasty: actually both the VMS are in same network now, but for some reason i want to configure both in different network then i need to route. | 15:39 |
FilthyMacNasty | why not just put the hostname and ip addy in the hosts file and voila | 15:40 |
blackyboy | Is it possible to ping if one of my VM in 192.168.0.10 and other vm in 172.24.0.10 ? | 15:40 |
=== hxm is now known as Guest29005 | ||
zul | coreycb: ceilometer rc3 is available | 15:41 |
FilthyMacNasty | if you use ping wateverhostname you put in the hosts file you can | 15:41 |
lordievader | blackyboy: As patdk-wk says, you likely want to NAT that. | 15:41 |
blackyboy | FilthyMacNasty: :( how its possible if other network | 15:42 |
=== Guest29005 is now known as hxm | ||
blackyboy | lordievader: yes you right and patk-wk too right | 15:42 |
FilthyMacNasty | edit /etc/hosts after localhost and your local machine name and addy add the ip/2 digit subnet and the hostname hostname.my.domain | 15:43 |
lordievader | FilthyMacNasty: The hosts file is used for resolving hosts, not for routing/NATing. | 15:44 |
blackyboy | lordievader: 8-) well said | 15:45 |
FilthyMacNasty | yes I know, but if he refers to the machine on the other network by the name he stuck in hosts it will resolve it and go | 15:45 |
FilthyMacNasty | its a kludge | 15:45 |
coreycb | zul, thanks I'll get it | 15:46 |
=== markthomas|away is now known as markthomas | ||
FilthyMacNasty | grrr vmware is hating on me | 16:42 |
coreycb | zul, when you have a moment, https://code.launchpad.net/~corey.bryant/ceilometer/2014.2-rc3/+merge/238328 | 16:55 |
zul | coreycb: done | 16:59 |
coreycb | zul, thanks | 17:00 |
=== balloons is now known as Guest18783 | ||
=== matsubara is now known as matsubara-lunch | ||
=== Lcawte|Away is now known as Lcawte | ||
=== Guest18783 is now known as balloons_ | ||
=== balloons_ is now known as balloons | ||
=== matsubara-lunch is now known as matsubara | ||
=== wendar_ is now known as wendar | ||
YamakasY | why does mysql stop actually never stops the mysql server ? | 18:17 |
patdk-wk | likely cause you broke the debian-mant user account in mysql | 18:20 |
genii | YamakasY: Probably because Upstart | 18:25 |
YamakasY | genii: I get the feeling, as it's percona it get's stuck on bootstrap | 18:26 |
YamakasY | how can I avoid to start mysql after installing ? | 18:26 |
YamakasY | genii: I puppetize :) | 18:27 |
lordievader | YamakasY: That is the annoying thing about Ubuntu... If you figure it out, please tell me :) | 18:28 |
YamakasY | lordievader: no, because i want to become rich by myselfish :P | 18:28 |
lordievader | :( | 18:29 |
YamakasY | lordievader: you can buy a share :P | 18:30 |
genii | YamakasY: Add: manual to the end of the /etc/init/mysql.conf file | 18:32 |
genii | ( but before any line like: exit 0 or such ) | 18:32 |
YamakasY | genii: uhm, but it's already running after installation ? | 18:34 |
YamakasY | so, I cannot get between installing and starting | 18:35 |
genii | YamakasY: To stop: sudo service mysql stop | 18:36 |
mgw | Is it ok to post a link to a devops opportunity here? I'm not a recruiter, just looking for help. | 18:36 |
YamakasY | genii: but my percona stuff is already there, so it starts wrong | 18:36 |
lordievader | genii: The issue is that services start upon install. | 18:38 |
dasjoe | YamakasY: you have to divert initctl for this, "dpkg-divert --local --rename --add /sbin/initctl && ln -s /bin/true /sbin/initctl", install your service, then remove /sbin/initctl and restore the original version | 18:39 |
lordievader | So say for example your in a chroot and you install a service, the service is started (unwanted) inside the chroot. | 18:39 |
dasjoe | By "rm /sbin/initctl && dpkg-divert --local --remove /sbin/initctl" | 18:39 |
dasjoe | Also, having a manual backup of /sbin/initctl in case anything goes wrong is a good idea | 18:40 |
YamakasY | dasjoe: mhh | 18:40 |
YamakasY | maybe an idea indeed | 18:40 |
YamakasY | thanks! | 18:40 |
lordievader | dasjoe: Looks usefull, thanks :) | 18:41 |
genii | YamakasY: In the .cnf file I think you can also have a combination of package { "mysql-server": ensure => installed } and enable => false, under the service { "mysqld": section | 18:43 |
YamakasY | genii: yeah can test that | 18:43 |
=== Guest18588 is now known as mfisch | ||
Rich | as | 19:48 |
=== havanamint_out is now known as havanamint | ||
stokachu | rbasak, is it possible to use uvtools behind a proxy? | 20:26 |
=== guntbert_ is now known as guntbert | ||
=== markthomas is now known as markthomas|away | ||
=== thumper is now known as thumper-dogwalk | ||
bananapie | can I do a packet dump with cat on a file in dev or proc or something like that if I am in an unusual situation where I can't install tcpdump or ngrep ? | 21:34 |
jrwren | bakhtiya: no | 21:57 |
=== markthomas|away is now known as markthomas | ||
=== thumper-dogwalk is now known as thumper | ||
kyle__ | I'm trying to verify my packages using dpkg -V, and keep on seeing the error, "dpkg: error: control file 'md5sums' missing value separator" What exactly does it mean? When I extract the md5sums file out of the package, it appears complete, with no missing seperators or empty lines. | 22:35 |
=== Lcawte is now known as Lcawte|Away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!