Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Wednesday, March 1, 2017

#ubuntu channel featuring dbrass, ace_me, k1l_, rhqq, ubottu, kasad, and 11 others.

Southern_Gentlem 2017-03-01 04:46:06
there should be another subdirectory which is the mount
kasad 2017-03-01 04:46:06
Southern_Gentlem: that's it, thank a bunch! <3
ace_me 2017-03-01 04:46:26
ducasse ssh -t root@ip1 ssh -t root@IP2 -L 3306:127.0.0.1:3306 -N but I get bind: Address already in use
kasad 2017-03-01 04:46:39
I tried find but it said access denied (I forgot i was root, not the user which I mounted as)
Southern_Gentlem 2017-03-01 04:46:56
kasad, i had actaully been neding to figure that out myself just never sat down to do it
kasad 2017-03-01 04:47:13
:)
kasad 2017-03-01 04:47:26
kinda same, I wanted to avoid mounting it from cmdline
Katronix 2017-03-01 04:47:48
Greetings all! I'm helping running a server with 16.04.2 and php 7.0.15. I have mysql installed but I seem to be missing something that is needed for php and mysql to talk to each other. Any suggestions on how to find out what is missing? or is it more that my php is to new?
kasad 2017-03-01 04:48:02
thanks again Southern_Gentlem
kierqueen 2017-03-01 04:50:47
when I download tor, I get-- SIGNATURE VERIFICATION FAILED You might be under attack, or there might just be a networking problem. Click Start try the download again. but I tried it 4 times, and get that error?
wlp1s1 2017-03-01 04:53:13
kierqueen: how do you download tor?
Katronix 2017-03-01 04:53:30
Does my question make sense? or do I need to provide more information?
k1l_ 2017-03-01 04:54:18
!lamp | Katronix
ubottu 2017-03-01 04:54:19
Katronix: LAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process.
k1l_ 2017-03-01 04:54:52
Katronix: did you a2enmod php? did you restart apache afterwards?
k1l_ 2017-03-01 04:55:24
Katronix: did you install the php and mysql moduls/packages
Katronix 2017-03-01 04:55:28
k1l_ no I didn't I did install the lamp meta package thought that did everything, let me try that
wlp1s1 2017-03-01 04:55:49
kasad: /run/user//gvfs/:host=,user=
wlp1s1 2017-03-01 04:56:09
aka /run/user/1000/gvfs/smb:host=10.0.5.1,user=root
wlp1s1 2017-03-01 04:56:33
kasad: is that what you wanted?
Katronix 2017-03-01 04:59:17
k1l_ does it matter which directory a2enmod is ran from? I told it to a2enmod php from /root and it came back it didn't have a php module
kasad 2017-03-01 04:59:49
wlp1s1: I found it under /run/user/uid/gfvs/smbbmount-hostname-sharename
wlp1s1 2017-03-01 05:00:34
oh ok
k1l_ 2017-03-01 05:00:47
Katronix: yes it doesnt matter.
kasad 2017-03-01 05:00:55
I just typed the smbmount-hostname-sharename aproximately
k1l_ 2017-03-01 05:01:05
Katronix: what command did you use? and what was the output?
kasad 2017-03-01 05:01:36
I'm connected remotely and someone is working there atm and just minimized my screen, didn't had chance to setup router to fwd port 22 yet, so I am using teamviewer atm
kierqueen 2017-03-01 05:01:58
when I download tor, I get-- SIGNATURE VERIFICATION FAILED You might be under attack, or there might just be a networking problem. Click Start try the download again. but I tried it 4 times, and get that error?
kierqueen 2017-03-01 05:02:16
wlp1s1: using the dash board, tor
kierqueen 2017-03-01 05:02:41
apt-get install torbrowser , after installing that on my 32 bit, I just run it, and it downloads for me
k1l_ 2017-03-01 05:03:15
kierqueen: using any vpn or proxy?
kierqueen 2017-03-01 05:03:26
no
kierqueen 2017-03-01 05:03:36
sorry apt-get install torbrowser-launcher
k1l_ 2017-03-01 05:03:40
or company network? that are transparent proxies who ruin ssl
kierqueen 2017-03-01 05:04:08
then that launcher downloads it for me, and fails the signature verification, and says that I am under attack, nad yeah my network is just fine
Katronix 2017-03-01 05:04:09
k1l_ I used a2enmod php and it replied back it didn't have a php module
kierqueen 2017-03-01 05:04:31
I run home network
k1l_ 2017-03-01 05:04:32
Katronix: sudo apt install libapache2-mod-php
Katronix 2017-03-01 05:05:13
k1l_ already the newest version
paulo23 2017-03-01 05:05:25
hi, please someone advise me, i just reinstalled ubuntu 12.04, i need it to be 12.04 not 14 or 16, my system cant handle the new versions, i have unchecked in update manager all the updates versions, will this affect not only my ubuntu version but all the stuff like firefox skype etc ?
littlegirl 2017-03-01 05:05:32
Hey there, is anybody in here good with networking commands?
littlegirl 2017-03-01 05:06:01
I'm updating my Static IP page and wrote a rather lengthy command for getting my private network class and was hoping maybe one of you would know of a less lengthy and more elegant one.
kierqueen 2017-03-01 05:06:22
wlp1s1: are you still there , sorry for the late reply, but I hope now you'll tell me
littlegirl 2017-03-01 05:06:25
The one I wrote: http://paste.ubuntu.com/24090930/
wlp1s1 2017-03-01 05:06:27
kierqueen: hi
kierqueen 2017-03-01 05:06:33
hi:)
bolovanos 2017-03-01 05:06:34
hithere
wlp1s1 2017-03-01 05:06:35
ok so you said apt throws that error?
k1l_ 2017-03-01 05:06:41
kierqueen: try "gpg --homedir "$HOME/.local/share/torbrowser/gnupg_homedir/" --refresh-keys --keyserver pgp.mit.edu"
wlp1s1 2017-03-01 05:07:08
if it does blame 1) firewalls, 2) your ISP, 3) your country
dbrass 2017-03-01 05:07:20
paulo23, can you run another flavour of Ubuntu instead of 12.04?
wlp1s1 2017-03-01 05:07:44
kierqueen: does apt throw that error?
bolovanos 2017-03-01 05:07:53
I have txt file, by doing "cat file.txt | grep xyz | less" i will get only subset of "less -> / -> xy"
paulo23 2017-03-01 05:08:02
dbrass yes i can but the system run badly with them, heat problem
bolovanos 2017-03-01 05:08:07
how is that possible?
dbrass 2017-03-01 05:08:11
paulo23, because 12.04 will be out of support in 2 months
kierqueen 2017-03-01 05:08:25
wlp1s1: no I apt-get install torbrowser-launcher package just fine, when I run the launcher and download tor then the problem comes k1l_ ok wait a sec
paulo23 2017-03-01 05:09:00
dbrass yes i know but i would love to keep it, is like what i said will affect any 3rd part software ?
k1l_ 2017-03-01 05:09:38
Katronix: "sudo a2enmod php7.0"
Katronix 2017-03-01 05:09:51
k1l_ okay
ducasse 2017-03-01 05:09:57
littlegirl: you do know that just because your ip address is 192.168.x.x that does not mean you are on a class c network, right?
dbrass 2017-03-01 05:10:02
paulo23, yes, you won't receive updates for firefox and other softwares
paulo23 2017-03-01 05:10:17
dbrass i uncheck everything in upgardemanager=>softwares sources=>updates
kierqueen 2017-03-01 05:10:18
k1l_: I did but > is what I get and a newline, your comand is wrong
ducasse 2017-03-01 05:10:32
littlegirl: what you want to check is the netmask
littlegirl 2017-03-01 05:10:36
No, I didn't, ducasse.
Katronix 2017-03-01 05:10:43
k1l_ "considering conflict php5 for php7.0: Module php7.0 already enabled"
dbrass 2017-03-01 05:10:58
paulo23, you'll be running with the current version of software that you have and will be open to many security vulnerabilities
k1l_ 2017-03-01 05:11:03
Katronix: restarted apache?
paulo23 2017-03-01 05:11:19
dbrass any advise whata to do, i just wanna keep 12.04
kierqueen 2017-03-01 05:11:32
ok it's right
ducasse 2017-03-01 05:11:35
littlegirl: a class c network has a subnet mask of 255.255.255.0, class b is 255.255.0.0 and class a is 255.0.0.0
Katronix 2017-03-01 05:12:13
k1l_ thanks! that did the trick!
dbrass 2017-03-01 05:12:20
paulo23, my advice is at tha point not to stay on 12.04. You can either switch to debian stable (Jessie) and run a light desktop environment or update to a newer ubuntu release with a ligh desktop environment
dbrass 2017-03-01 05:12:38
paulo23, if you have old hardware debian stable should be fine and safe
littlegirl 2017-03-01 05:13:06
Okay, thanks, ducasse. Then I'll rewrite that part of the script, but would still love to find a more elegant way of coding it.
rhqq 2017-03-01 05:13:27
ducasse: xvfb is a no-go. it uses software rendered and i can not make it use discrete gpu
dbrass 2017-03-01 05:13:54
paulo23, You need to find what is causing to much load on newer versions
k1l_ 2017-03-01 05:14:05
dbrass: the LUbuntu desktop is targeted at slow and old hardware. but we cant tell you to run old ubuntu releases that dont have support anymore. 12.04 is only supported until april
paulo23 2017-03-01 05:14:24
dbrass all new ubu release have no light envirs, too much heat from my lap
ducasse 2017-03-01 05:15:09
rhqq: then check out virtual outputs, i imagine that is part of xrandr. i don't know if that will work, but it's the only other idea i have.
dbrass 2017-03-01 05:15:10
paulo23, no light environments? Lubuntu, Xubuntu, Ubuntu mate
dbrass 2017-03-01 05:15:23
paulo23, all those are relatiely light DE
rhqq 2017-03-01 05:15:53
ducasse: yeah, i tried to setup my own xorg.conf with virtual display, but i never managed xorg to actually pull it :/
pavlos 2017-03-01 05:15:53
littlegirl, hostname -I will give you the ip, but if you type ifconfig, you can find more about the network
k1l_ 2017-03-01 05:16:20
!lubuntu | paulo23
ubottu 2017-03-01 05:16:20
paulo23: lubuntu is Ubuntu with LXDE instead of !GNOME as desktop environment, which makes it extremely lightweight. See https://wiki.ubuntu.com/Lubuntu - /join #lubuntu for lubuntu support.
ducasse 2017-03-01 05:16:29
littlegirl: ask in #bash, i'm sure someone in there will give you a more elegant solution or at least tell you how to do it :)
dbrass 2017-03-01 05:16:37
k1l_, that's why I'm telling him not to stay on 12.04 but to find alternative with newer releases
k1l_ 2017-03-01 05:17:25
dbrass: yes. lubuntu has presets for zram etc.
paulo23 2017-03-01 05:17:29
dbrass can i switch from ubu 14 to lubuntu easily ?
dbrass 2017-03-01 05:17:31
paulo23, yo ucan do what you want but know that staying on older releases of Ubuntu that are getting out of support is a terribly bad idea
k1l_ 2017-03-01 05:18:01
paulo23: you can make your ubuntu to a Lubuntu by installing "lubuntu-desktop"
dbrass 2017-03-01 05:18:11
paulo23, from 14.04 you can unstall lubuntu-desktop
paulo23 2017-03-01 05:18:21
dbrass im using desktop version for personal use only whats dangerous in it
dbrass 2017-03-01 05:18:51
paulo23, remote exploits, spam machine, botnet... the list goes on
ducasse 2017-03-01 05:19:15
paulo23: are you connected to the internet? then it's dangerous.
dbrass 2017-03-01 05:19:19
paulo23, if your computer is connected to the internet then it's irresponsible to run old unpatched software
paulo23 2017-03-01 05:19:23
i see
paulo23 2017-03-01 05:19:55
whats the lightest distro to switch easily to from ubu please guys
k1l_ 2017-03-01 05:20:03
Lubuntu
paulo23 2017-03-01 05:20:18
with command lines ?
paulo23 2017-03-01 05:20:26
no need to download burn ?
dbrass 2017-03-01 05:20:28
paulo23, also, any remote exploitation of your machine will slow it down and might slow donw your internet speed
k1l_ 2017-03-01 05:20:37
paulo23: you can make your ubuntu to a Lubuntu by installing "lubuntu-desktop"
dbrass 2017-03-01 05:20:43
paulo23, try lubuntu 16.04 first
paulo23 2017-03-01 05:21:19
dbrass do i need to download burn install ? or just by comand line right from ubuntu
dbrass 2017-03-01 05:21:24
updating from 12.04 to 14.04 and then to 16.04 will leave a lot of crust on your system
dbrass 2017-03-01 05:21:34
paulo23, I would suggest a clean install
dbrass 2017-03-01 05:21:49
paulo23, you can try a live session first
k1l_ 2017-03-01 05:21:51
paulo23: you can just install Lubuntu the way i told you
k1l_ 2017-03-01 05:21:59
paulo23: and you can use the online update
dbrass 2017-03-01 05:22:48
k1l_, yes but updating could be problematic
dbrass 2017-03-01 05:22:48
k1l_, he'll need to remove the ubuntu-desktop package
dbrass 2017-03-01 05:23:04
k1l_, otherwise he'll get unity and the kitchen sink installed whie updating
k1l_ 2017-03-01 05:23:06
dbrass: upgrades are automated tested.
dbrass 2017-03-01 05:23:34
k1l_, they are tested from clean systems but I don't know the state of his machine
paulo23 2017-03-01 05:23:47
no way to go from 12 to lubuntu directly ?
dbrass 2017-03-01 05:23:49
k1l_, does he have unstable PPAs
paulo23 2017-03-01 05:23:53
need 14 first ?
k1l_ 2017-03-01 05:24:03
paulo23: i told you now 3 times.
dbrass 2017-03-01 05:24:14
paulo23, you can install the lubuntu-desktop package
dbrass 2017-03-01 05:24:30
paulo23, it is a metapackage that will pull all of lubuntu
pavlos 2017-03-01 05:24:33
littlegirl, this will give you the mask ... m=$(ifconfig | awk -F: '/Mask:/ {print $4}' ); echo $m
paulo23 2017-03-01 05:24:37
kll installing lubuntu desktop over ?
dbrass 2017-03-01 05:25:13
paulo23, sudo apt-get install lubuntu-desktop
paulo23 2017-03-01 05:25:32
i see thanks a lot guys
k1l_ 2017-03-01 05:25:36
paulo23: if you install the package i named to you 3 times now, you will make your system a lubuntu. you can upgrade before or afterwards. its your choice
paulo23 2017-03-01 05:25:43
doing the security updates right now
dbrass 2017-03-01 05:25:44
paulo23, reboot and log into lxde and then sudo apt-get remove ubuntu-desktop
dbrass 2017-03-01 05:26:36
paulo23, but I can't comment on the stability of the system after you remove ubuntu-desktop before upgrading. It may break on major upgrades
dbrass 2017-03-01 05:27:17
paulo23, gotta go good luck with your upgrade
k1l_ 2017-03-01 05:27:18
dbrass: should not be an issue. i dont know why you keep telling that.
paulo23 2017-03-01 05:27:38
The following packages have unmet dependencies: lubuntu-desktop : Depends: lubuntu-core but it is not going to be installed E: Unable to correct problems, you have held broken packages.
dbrass 2017-03-01 05:27:53
k1l_, you have not heard the Leo Laporte story when peoples told him to convert his ubuntu install to xubuntu and to remove ubuntu-desktop
dbrass 2017-03-01 05:28:10
paulo23, you need to re-enable the updates
dbrass 2017-03-01 05:28:31
k1l_, he then ranted about linux when his install broke on the next upgrade
k1l_ 2017-03-01 05:28:33
paulo23: what repos do you have enabled?
paulo23 2017-03-01 05:28:50
kll new install of 12.04
dbrass 2017-03-01 05:29:27
paulo23, yes but you disabled some software repositors in the update manager
paulo23 2017-03-01 05:29:42
ok now
dbrass 2017-03-01 05:29:42
paulo23, you need to reenable them
k1l_ 2017-03-01 05:29:42
paulo23: -updates and -security need to be enabled
k1l_ 2017-03-01 05:30:13
and universe, of course
paulo23 2017-03-01 05:30:20
i rechecked them now its loading
dbrass 2017-03-01 05:30:36
k1l_, good luck to both of you
paulo23 2017-03-01 05:30:58
ty dbrass
paulo23 2017-03-01 05:31:30
kll is this lubuntu light and fast ? wont use lot of cpu ? ubu 14 was causing a lot of heat
k1l_ 2017-03-01 05:32:43
!lubuntu | paulo23
paulo23_ 2017-03-01 05:36:28
kll lubuntu installed, now apt-get remove ubuntu-desktop ?
k1l_ 2017-03-01 05:37:24
paulo23_: yes. after that "sudo apt-get autoremove"
paulo23_ 2017-03-01 05:37:53
kll sudo apt-get remove ubuntu-desktop unity && sudo apt-get autoremove ?
paulo23_ 2017-03-01 05:38:09
googled a bit
k1l_ 2017-03-01 05:38:12
yes
nomic 2017-03-01 05:40:37
how to disable tool tips on panel on mate desktop
nomic 2017-03-01 05:40:39
anyone