Category: noobs are welcome!

Send mails from command line

Send mails from command line:

submitted by /u/masum400
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

I have Linux, but still prefer to use Windows …

I have Linux, but still prefer to use Windows for almost everything. Is there any use in keeping Linux if I don’t intend to switch?:

I installed Linux Mint a few weeks ago because Windows was acting sluggish and I wanted to know if it was a problem with my hardware or Windows. I found that Linux was much faster, and reinstalling Windows fixed the sluggish problem.

Since then, I’ve not used Linux at all. Is there anything I can do with it? I don’t intend to fully switch to Linux, and I could use the extra HDD space for my new Windows installation.

submitted by /u/aramaruma
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

How would I make absolutely clean and remove m…

How would I make absolutely clean and remove manually compiled software?:

Pathing is still very confusing to me when using make install. I’m not exactly sure where things are installed to and having to remove what to make absolutely sure it’s back to its state before installing manually compiled software.

sudo apt-get install/remove makes life so much easier, but sometimes I have to compile manually to include certain options, or lack of sudo priv

Another big thing is, sometimes I mess up and install multiple copies, how do I specify which should be used when calling it by name? basically how do I change the “which [curl]”

Thanks.

submitted by /u/avyii
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

Processes running differently as daemons?

Processes running differently as daemons?:

I’m trying to run some nodeJS-based Discord bots on my rented Ubuntu server as daemons. Simple response bots work fine, but when I try to add functionality that involves saving/editing a file, the bot produces no output at all.

A check with systemctl status uwu-bot says that everything is running just fine, but the bot won’t respond to messages or create/edit files.

The weirdest part is that when the bot is run using node bot.js, it behaves exactly as it should. Unfortunately this isn’t ideal because I can’t keep a putty window open at all times.

I’ve tried:

  • Javascript’s default file writing
  • Javascript sqlite
  • A Python version of the bot
  • Launching the service as root
  • Using usr/bin/sudo in the .service file with a privileged user
  • Upgrading/downgrading nodeJS

Here’s the uwu-bot.service file:

[Unit] Description=uwu-bot After=network.target

[Service] Environment=NODE_PORT=3000 Type=simple ExecStart=/usr/bin/node /var/www/html/uwu-bot/bot.js Restart=on-failure

[Install] WantedBy=multi-user.target

I can post the bot code too if you guys need.

Thanks!

submitted by /u/annihilate_music
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

Simplest/quickest way to down-size a photo?

Simplest/quickest way to down-size a photo?:

I want to make a large jpg (png? It’s hosted on imgur at full size now but I have to make it fit:

Maximum dimensions; width: 180 pixels, height: 300 pixels, file size: 20.00 KiB.

Have no clue how to alter images, has been ages since I had to do this so any guidance on this would be hugely appreciated! Thanks 😀

submitted by /u/neovngr
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

best solution to share folders off a computer …

best solution to share folders off a computer that needs to be connected to a VPN for a seedbox?:

ssh works wonders, so its easy to use program like rtorrent over ssh to control downloads and avoid the penalties from sftp over a local network (no need for it if the box is connected to the VPN itself)

the problem is accessing local shared folders this way.

the only other way I can think of doing it is to sshfs mount the shared folders and download from my own machine connected to the VPN, but I worry about two problems from this method:

1: speed – speed is awful when connected to VPN->SSH->server since there are basically tunnels on top of tunnels and unneccessary encryption in the middle

2: Potential IP leak of either the server or my PC since that way Im using my PC as a middleman to download the files without any encryption on the servers connection

If I happen to do it this way, connect the server to the VPN then ssh into the server and use it as a seedbox by using something like rtorrent to control it from the console (or I guess I could use qbittorrent if I started Ssh in X mode)

but the problem there is, since the IP changes when the VPN connects, nothing on the local network can any longer connect to the server.

basically, Im trying to set up a system where a purpose-built linux laptop is acting as a server to torrent files and share them on my network locally – it would save time and valuable read-writes on my own hard drive if I could both share from and directly download to the server.

but its becoming more of an issue than I imagined it would, mainly because I have the VPNs setup to run on individual computers, not the router – this will be fixed in the future when I can afford a linux router to replace this proprietary shit – because then I can just openVPN from the router and the entire connection would be behind it.

any suggestions?

submitted by /u/sRand45
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

How to minimize update related issues

How to minimize update related issues:

I’m really liking Lubuntu 18.04 right now. Tempted not to comply with the 6 month update schedule though, if it means potential issues. What is the right way to handle them and minimize concerns? Must the entire partition be backed up?

submitted by /u/seands
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

So far my experience with Linux

So far my experience with Linux:

So I stopped using [pirated] Windows a year ago since it was problematic. Buying is not an option. So I switched to Linux since it was free, open source, and I am a Science student so I thought it would be pretty useful. A year have passed and I am still a noob (was very busy with my exams already, learning Linux would have been a burden). I have a Dell Inspiron Laptop with Intel HD Graphics 5500, 4 GB RAM and 1TB Hard Disk. I have been switching distros and these are the experience so far:

  1. Ubuntu 16.04 – Was good but it was a little slow. Plus it wouldn’t detect my headphone half of the times.
  2. Elementary OS – Was extremely slow. Took 30 minutes to just boot to login screen.
  3. Return to Ubuntu 16.04
  4. Switching to Ubuntu 16.04 Budgie Remix – Was good. Better than the default Unity both in looks and performance.
  5. Ubuntu 16.04 Xubuntu – Thought this would be lightweight, so installed it. The performance was OK and the look was really bad.
  6. Ubuntu 17.10 – tried to install. My laptop crashed. Couldn’t even get past booting screen.
  7. Switch to Ubuntu 16.04 – Performance became slower day by day.
  8. Ubuntu 16.04 Lubuntu – thought that my laptop is low spec, so why not switch to the lightest distro? Well, surprise, Lubuntu encountered issues. The screen flickered often, especially when coming out of suspend.
  9. Finally, now I am in Linux Mint 18.3 Sylvia – The performance is OKish, lags sometimes, hangs out of nowhere.

I will not talk about gaming experience, but in short it is awful.

So, those of you who are new to Linux, this is my message: be cautious before installing Linux and understand Linux very carefully. Linux, as an interface for personal use, is terrible.

submitted by /u/Suradoe
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

Best distros for a 15 year old laptop?

Best distros for a 15 year old laptop?:

Hey everyone, total linux virgin here. This is kinda specific, but I decided to get my toes wet with linux on a Dell Inspirion 1100 with 128 mb of ram and a 2.0 GHz processor. Because of this, my distro options are pretty limited and I was wondering if there are any super lightweight distros that are somewhat accessible to a noob.

submitted by /u/triopathy
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!

Internet connection with ethernet really slow

Internet connection with ethernet really slow:

My internet connection is really slow on ubuntu(16.04 version), and problem is that it has really low speed but while i am downloading something even though its downloading at 50kb/s it slows my wifi on lap top like its working at full speed, now i am a noob for linux so i don’t know if i need to screenshot something from console, but if need to, please tell me what. Thanks.

submitted by /u/Tensaix
[link] [comments] via Linux 101 stuff. Questions are encouraged, noobs are welcome!