Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "linux server"
-
My Friend: Dude our Linux Server is not working anymore!
Me: What? What did you do?
My friend: Nothing I swear!
Me: But you were last on it?
My friend: Yes. I just wanted to run a bash file and needed to give it permissions.
Me : WHAT DID YOU ENTER???!
My Friend: Chill man, just this command I found on the internet
chmod -R 600 /
chown -R root:root /
Me: WHY ARE YOU EVEN IN ROOT AND GOD DAMMIT WHY ARE YOU EVEN USING SOME RANDOM COMMAND FROM THE INTERNET. YOU KNOW YOU SHOULD NOT DO THIS OR JUST ASK!
My friend: Ok I did something wrong, how can I fix it?
Me: Did you make a backup or rsync of the server?
My friend: No. I just wanted to run this file.
Me: You holocausted the server. FUCK MY LIFE35 -
*SSH's into VPS*
*Starts doing some general maintainance (updating, checking the logs etc)*
*runs the who command for fun*
*NOTICES THAT THERE"S ANOTHER ACTIVE SESSION*
*FURIOUSLY STARTS TO TRY AND LOOK HOW THAT USER MIGHT HAVE GOTTEN IN (root)*
*Goes one terminal to the left after a few minutes to see if I can use that one as well*
*notices an active and forgotten SSH session to that VPS*
I am stupid.19 -
Today I told my boss to move from windows server to Linux Based Server.
Boss: Linux Server is used for small and light projects only.
.
Me: 😠🔫22 -
My face when a developer suggests to use Windows server instead of Linux for speed and security reasons29
-
Client: We want it to run on both, windows and Linux servers.
Me: Why would you want such a thing?
Client: The user should be able to connect to the server, independently from what system he or she is using.
Me: So... should we setup a Mac OS X server too?10 -
I use a lot of dev tools, but one of my favorites is the Linux screen utility. It's awesome to be able to keep shit running on servers whether my laptop stays connected tot he server or not. It's great for jobs that take a long time, can't get interrupted, etc.
If you haven't used screen definitely give it a try!14 -
Meeting with client.
Me: our solution does not require a central server, any computer (windows, Mac or Linux) on which you install our software can act both as a client and a server
Client: no we need to have all our data on our server
Me: sure, you can install our software on any computer
Client: no, we need it on our server
Me: ok then, we can make the needed changes to install our software on your server, it will cost an additional fee though
Client: very good then17 -
When the senior Linux engineer puts a terminal game on a server everyone uses which launched at login and after a little you start hearing oh's, wtf's, laughing and everything and then you suddenly have a whole room of Linux engineers playing some kinda terminal space invaders game while doing customer support.
😆12 -
This was at my previous and last internship. At previous ones i never got serious tasks so i was pretty used to that but one day my guider (lead backend programmer) called me over to help him out with a server issue (in all seriousness he said that i was probably the best Linux guy at that company at that moment). So i fixed it quickly and just out of curiousity i asked what kinda server it was and how many visitors it got monthly!
"it's a prod server and about one million at least i think"
I was just standing there for a minute and then asked why the hell he let me, an intern, work on that to which he replied: because you know what the fuck you're doing. I think I succeeded in hiding the tears of happiness that came up at that moment :) i fucking miss that place.12 -
First year of my study (application development) (5 years ago).
We were finally starting getting courses on using Linux and the teacher knew I was already using it for a while so he said that I had to finish the assignment but could work on whatever I wanted next to that.
Assignment was installing a server, getting a web server up and running and compiling at least one program from source.
I setup the server in 20 minutes, wrote a script to do the rest for me and was finished in half an hour. (we got 10 weeks for this (1 hour every week officially))
Well, I was about to start doing my own shit when people started asking me for help.
Fuck it, I love helping people with the things I'm passionate about so sure!
For weeks, during that one hour, I was probably the second teacher. Got called all over the classroom and helped people with everything.
Afterwards (the course), most people said that I probably helped about the whole class pass that course and I got called the linux God etc.
From that day on, my nickname at my study, which even many teachers used was: Mr. Linux.
It felt awesome though!
And still whenever I visit that place again, one teacher always goes: Hello again, mr. Linux!12 -
A fellow intern recommended the use of windows server for security and speed reasons.
Few details about the situation: windows server got hacked due to a vulnerability which had no patch released yet and this had happened multiple times that year. Also, the company was migrating everything to Linux (servers).
The senior/lead programmer literally gave him a GTFO face and pointed at the door.
Everyone was giving him the GTFO face by the way, he didn't know how fast he had to get out 🤣8 -
So at work today my coworker overlooked my laptop running Linux with i3.
Coworker: How do you live with this?
Me: What do you mean? This is customized to work with Git and my IDE efficiently while I do dev ops with my server.
Coworker: Your mouse barely works and you operate this thing totally on keyboard shortcuts. Linux will never be a serious platform.
Me: I'm not saying you or anyone at work has to use this, I built an environment to suite my needs. Same as anyone. I thought you liked consumer choice?
Needless to say we didn't get much further beyond him thinking I was nuts for configuring my server in the cli. I swear I don't understand why I try to explain anymore. 😡19 -
Guy: dot net dev (C#) on windows. (desktop + server)
Team(not his team, he just happened to sit next to us): php/frontend devs and Linux (server) people.
Team: starting a new project! We'll have to see what framework to use and what server :D
Guy: i know it's none of my business...... but I'd recommend dot net and windows server!
Me: respectfully, that hardly makes sense, you know our skillset/field... i understand that it works for you but it doesn't really for us :).
Next to that we'd rather not use windows for security reasons.
It's fine if that happens once.
When it happened for the 1748472823'th time, I had a real hard time controlling myself.10 -
Ranted about him before but this just came to my mind again.
The fucking windows (to the max) fanboy I had to deal with for too long.
Every time I mentioned something about what programming language to use in a project he was NOT part of:
"I know it's none of my business, BUT I think you should use .net"
(All backend JavaScript and php guys).
Every time I mentioned something about what server system to use:
"I know it's none of my business but I think you should use Windows server"
(All Linux guys)
Every time I'd say something positive about Linux he'd search as long as needed to prove that that was also a windows thing (didn't even come close sometimes)
Every time I told the devs there about a windows security issue (as in "guys they found this thing, install the next update to stay safe :)" - "ahhh will do, thanks for letting know man!") he'd search as long as needed to prove that Linux also had had security issues like that.
(Okay?!? I know?!? I'm just trying to notify people so their systems stay secure and they're genuinely happy with that so STFU)
MOTHERFUCKER.17 -
*tries to convert a Windows drive into btrfs*
*copies the whole 1.4TB of data back from server*
Windows: Wait, you expect me to do more than browsing the Phasebuk and playing games? Over a million files?! No no no, can't do that.
*reboot after BSOD*
Ehm, a hard drive you say? A drive that I just fucked up? What are you talking about? I don't see any hard drive :/
Piece of shit.
Crappy Arch Linux laptop: ah, I see a new hard drive connected here. Limme mount it real quick for ya :3
Me: eh, not now. I want to format it first.
Linux: oh, cool! Your wish is my command <3
*formats hard drive to btrfs*
Me: alright, now please copy all that 1.4TB onto the drive and please don't overheat _/\_
Linux: Gotcha! On your commands sir!
See the difference? The mental communication level? Windows is like talking to an obnoxious grade schooler that just does whatever the fuck they want to. Linux on the other hand is so much more mature and capable. Guess which one I like the most.20 -
The windows/microsoft fanboy I've ranted about multiple times.
- wouldn't use anything except for windows. Even if required for a project (I would if really needed, have done that a few times already)
- refused to use any framework/language not written by Microsoft
- tried to get other projects to use windows/.net when it wasn't required and it was only linux/php guys (and that fit the projects perfectly)
- ONLY wanted to use Skype and whatsapp. Always bragged about how he had 10gb of Skype history.
- didn't want to use anything related to linus torvalds or open source because 'those are open source and have no business model so they're bad'
And then: he suggested the use of windows server right after one was hacked (windows vuln that wasn't patched yet) which caused the devops guys to want to install a new Linux server for it.
Even the windows sysadmin pointed to the door when he said that and gave him a huge 'GTFO' face cD
Yeah, fuck him.9 -
One of the linux engineers gets up with: 'I'm sorry, I just pushed a windows server sale to the sales guy :/'
Linux engineer 1: WHAT HAVE YOU DONE D:
Linux engineer 2: WHY WOULD YOU DO THAT @_@
Linux engineer 3: Why the FUCK would we want to manage yet another piece of problems?!
Engineer who said it: 'But it's still a sale guys....'
All engineers: THAT'S NOT A VALID EXCUSE O_o
😆33 -
So I was looking at the linux environment at my new job. Found 2 VM's in the local network, only one of them is documented. Noone knows about the other one or what it does, let alone usernames and passwords.
Spent over an hour trying to break in, only to find out that a couple of bored devs, that have long since left the company, set up a game server on there and noone noticed it for the past 3 years..5 -
Just saw a microsoft ad saying:
“Six reasons for switching to SQL Server on Linux“
Well done microsoft...7 -
Yesterday I was updating the code in a linux server at 23:00.
My 6 year son look the terminal while i was typing and said:
"Dad, why you always write in block letters? I can read and write also in italics."
"Dear son, you are smarter than my PC."11 -
Got my front end friend (also my irl best friend) to agree on me setting up a vm/vps on one of my dedi's with a sub domain so he can learn to work with servers.
He agreed on me leaving root access for myself in case he couldn't figure something out and I (a Linux server engineer myself) would have to help him out.
He seemed so excited, will set this up when I get home 😊6 -
CIO: what kind of web server do you want for your dev environment? WordPress?
Me: Uhm, Linux centos running apa-
CIO: whoa that's dangerous you need to think of the people who are going to support this.
Me: right...
CIO: we're going to pick something and stick with it.
FML company is just starting to do in house dev. CIO is heavily involved and knows more than I do... My life is a Dilbert comic strip9 -
To people who don't know how to use Linux: Just because I use nano instead of gedit or any other GUI text editor does not mean I'm showing off. Why can't you understand that ssh-ing into a server and opening a file in the terminal itself to edit three lines of configuration is much easier than opening FileZilla, connecting, downloading the file, making the changes and uploading it again. It's fine if you want to do it that way. But please don't judge me for doing it my way.
To people who are good with Linux: Can you please stop suggesting me to use vim instead, EVERY FUCKING TIME? I know it's more powerful, but I haven't been using Linux enough to have surpassed it's learning curve. Plus I google up how to use it and do use it when I have the need. Please let me be?
To people who tell me to use Windows for everything: Go suck a fat dick, you uncultured morons.10 -
Just had a fucking god-mode moment.
My dear @Divisionbyzero asked me to help out with DKIM on his Linux server.
Although I'd never done it before, with the help of a search engine and root access to the server, I managed to somehow figure out what was going wrong and fix it.
This is quite deeper than I ever went with debugging!
Also a big thanks to Linux for being open, otherwise I'd be fucking fucked right now.7 -
*Downloading a linux iso (distrohopping YAY) because the download stopped last night*
*200kbs instead of the 5mbs last night*
*sets up a subdomain for downloading iso's*
*enables SSL*
*downloads the iso to my server*
*copies the iso to the directory of the iso subdomain*
*starts downloading the iso from the server*
5mbs YAY
I am weird 😆11 -
Spend half the day setting up a dedicated server at work (including getting all the hardware together) and installing CentOS and tweaking around.
For a client? Oh no, there just literally wasn't anything else to do and I didn't want to sit around doing nothing or working on shell scripts AGAIN. (working in support (+ linux server management) and due to the holidays hardly any support requests come in)
*Hmmm, lets install nginx for fun*
"yum install ngi..."
*wait, let's compile from source and make it more fun!*
So yeah, that was my day, I guess.5 -
I remember that time my class (first year of software development) wrote a huge project for a real company as practice for irl stuff.
I was the only Linux user and it would be deployed on a Linux server.
Spent 10 weeks of development and then the moment of deployment on a Linux server began!
.
.
.
.
.
Nothing was case sensitive, everything was programmed for a windows architecture (backward slashes etc) and mssql was used while we would host it on a MySQL server.
The tree core guys spent three days or so to make the entire fucker compatible 😂
It was enjoyable to see them (literally) sweat 😊 (it had been known from the very beginning)7 -
TLDR; I just screwed a production server and rendered it useless!!!
Long story:
I went to install a product that we built at the customer's site, and was given a Linux running server, to deploy our app.
I work in windows, and barely know the basic Linux commands.
So I look at the files in the home directory, and see that the are a lot of files, so I ask the customer if it is ok that I move all the files to a separate directory.
He agrees, and me thinking that I am smart, proceed to enter the following commands in the terminal:
mkdir old
mv /* old
Of course I got an error that I don't have permission so my next command was:
sudo mv /* old
And that was the end of that computer.
The amazing part of the story is that as soon as it happened, I understood so much about Linux.
The file structure, sudo, the power of the terminal, aliases and so much more...15 -
"For our app we are using Docker, so for the new server we will need a barebone Linux install"
"Oh please no, Linux is not for a stable server and is very hard to manage, let's install Windows Server 2002 and you can virtualize everything you want"
"Wait, we really can use our cpu cycles to something better..."
"Sorry, too late, already installing!"
Our sysadmin is a Microsoft integralist, we should RUN!18 -
Doing Linux server management stuff via ssh with a FUCK 500ms PING IS NOT FUN AT ALL
GET OFF THE FUCKING NETWORK EVERYONE 😤😤😤😤😤5 -
I haven't met many people through programming but I've met many friends through devRant but certainly also through being a Linux (server) enthusiast.
At study I found some good Linux guys and now through devRant I've gotten some awesome linuxers and privacy/security like minded people who I definitely see as great friends!
Also I find it awesome that I can actually teach people stuffs that I love researching about/ doing myself!9 -
*sees people on Facebook wanting to get Linux certificates*
Me: naah that's not how I'ma do it
*at le job interview*
Interviewer: "So you apply as a sysadmin.. what are your skills? Certificates?"
Me: "No certificates sir.. but I USE ARCH LINUX 😎"
Me (quietly): "and Ubuntu Server too but that's not as cool :v"9 -
Ok, some @#$#!!@ at my company set the WordPress cache directory to "/" on a Linux server, some other plugin triggered the cache clear and the Apache user was the owner of almost all the WordPress directories of several MU installations, this all happened on a Friday afternoon.2
-
Thanks ssh!
Because of you I don't have to leave the bed to run commands on my Linux server(laptop) sitting on my desk.8 -
"Can't we extract the UNIX from Linux and use it as our server operating system?"
fml
Linux isn't even based on UNIX, but this piece of shit of a bitch of client was so freaking stubborn, and wanted a RAR file of UNIX from me7 -
The school I went to...
Grade 1:
*GTA and minecraft to let student familiarize with cheating command and console
*Student should find and read the damn documentation him/herself about items, mobs and quests in every game. Be self motivated!
Grade 2:
*Contribute to community for myth hunting, map creation and glitch
*Solve personal networking, graphics problem and understanding hardware limitation.
*Solving game compability problem after Windows update
*Introduction to cracking and hacking
Grade 3:
*Motivation to host a game server
*Custom server scripting => start To really code the first time, Perl, python, etc
*Introduction to Linux server and Debian
Grade 4:
*From DDoS to server security
*Server maintenance and GitHub
*Game Server web development
*Motivation into non-gaming discipline by a random YouTube geek
*Set up mincraft with raspberry pi and Arduino
*Switch to Linux or Mac and just dual boot for gaming
Prepared for the real world.
Congratz for the graduation in the Pre-school of Developers (11-14 yrs old) :)5 -
When the whole dev team desperately tries to convince the boss to get Linux on the new servers instead of windows.6
-
School has default router username and password. And it's not just a shitty tp-link router. It runs linux.
Made a simple reverse shell and I have a fully functional linux computer. Not really a hack, but it's sad.
Soon to get to the school server!3 -
I'm only two step far from having an intelligent house, just missing finish my own domotic system and then a bot to control, music, TV, and electricity.
Let's do the list:
1.- Kodi on TV ✔
2.- MPD on a hidden PC inside my old grandpa's stereo ✔
3.- a small data server to provide music, movies and series to Kodi and mpd ✔
(This is something that im trying to do with spare PC's running Linux on my free time)
MPD on a PIII (500mhz + 512mb RAM)
Kodi on a dual core (2.80ghz +3gb RAM)
Server on a opteron (1.80ghz + 1.5gb RAM)3 -
Them: My company is looking for a junior C++ programmer. You must have 10 years experience with PL, SQL, SQL Server, MySQL, SQL oracle, javascript, HTML, XML, UML, c-sharp, visual basic, java.net, j unit, and win32 api, cutie, gtk, PHP, ASP, Perl, Python, and shell scripting with the windows, linux, and solaris operating systems.
Us: Do i need to know C++?
Them: no
https://youtube.com/watch/...5 -
A colleague approached me today and said - "Why are we using Linux? Windows server is clearly better. We need to migrate our infrastructure"
I'm generally not someone who gets too caught up in opinion - but shut the fuck up. There is no way we're going to adopt Windows server because it has a GUI and you're too shit to learn how to use a console.23 -
N e v e r, fucking e v e r chmod/ chown permissions recursive on the linux /etc folder❗
I did yesterday (, because I am fucking dumb and know little about linux systems) and got the result today. My whole mailserver wasn't working.
After fucking tons of googling and searching and log-digging I found that postfix and opendkim require specific permissions on their respective folders and files.
After changing a fucking amount of permissions on those fucking files the fucking mailserver worked and I can send and receive mails, now. 😤😤😤
What a torture. Lesson learned. Never will repeat this mistake.16 -
I got my first Linux server for Christmas! This is the first time I've actually used Linux and it's awesome and way less complicated than I thought it would be.3
-
Me : Never actually worked on Linux before.
Also me : Tries to create, host and maintain a LAMP server.17 -
My university has impeccable data management. I needed to ssh into their Linux server for an assignment but it refused to accept my login. Which was weird because I could login to the same account on one of our websites just fine. I typed my password into a text file and then copy and pasted it into both logins. The Linux one failed but the website succeeded. After some experimentation it turns out that the Linux server only recognized my username if I typed it in all lowercase, even though when I created the account it had uppercase characters as well.
So let me walk you through the sloppiness that had to have occurred for this to happen. When I first created the account it must have ignored what I entered and just saved the username in all lowercase without communicating that to me. Then the websites that use this account must either ignore case for usernames or lowercase the user input before querying the database. Finally, the Linux server, despite knowing that all the usernames are lowercase, is case sensitive and won't recognize the username as I originally typed it in.
Can you guess what department manages the account, website and Linux server? The Department of Computer and Information Science. Incredible.2 -
Back in my sysadmin days we had an IT zoo to look after. And I mean it... Linux side was allright, but unix.... Most unices were no longer supported. Some of their vendors' companies were already long gone.
There was a distant corner in our estate known to like 2 people only, both have left the company long ago. And one server in that corner went down. It took 2 days to find any info about the device. And connecting to it looked like:
1 ssh to a jumpbox #1
2 ssh to a jumpbox #2
3 ssh to a dmz jumpbox
4 ssh to an aix workload
5 fire up a vnc server
6 open up a vnc client on my workstation, connect to than vnc server [forgot to mention, all ssh connections had to forward a vnc port to my pc]
7 in vnc viewer, open up a terminal
8 ssh to hp-uxes' jumpbox
9 ssh to the problematic hp-ux
.....6 -
Windows servers are a joke. A bad joke.
I feel sorry for people who have to work on them and have that as their profession you never used Linux
If someone came up to me and said we should use a windows server for this I'd laugh in his face and fire him. Seriously. I would.
That's how much I hate them. Got it? Ok good ... I'm calm now 😎65 -
me: hey dad i finally installed linux on my laptop
dad: whats that? nvm, what i want u to do is set up a server for emails
me: *slowly backs out*
dad doesnt acknowledge the fact that im diving into linux :(7 -
Meet my new toy, Centos7 as of this afternoon (once I get the usb burned and installation done)
She's not much to look at, but she's mine.10 -
So I've been using Antergos Linux as a way to ease myself into Arch.
Gnome apparently has moved to Wayland so I thought "Oh I don't need the Xorg window server anymore, let's just delete the Pacman package for that..."
Oh. Oh crap.
That was a mistake.
...Gnome is gone.
.... Guess I got my excuse to install vanilla Arch.6 -
So my previous alma mater's IT servers are really hacked easily. They run mostly in Microsoft Windows Server and Active Directory and only the gateway runs in Linux. When I checked the stationed IT's computer he was having problems which I think was another intrusion.
I asked the guy if I can get root access on the Gateway server. He was hesitant at first but I told him I worked with a local Linux server before. He jested, sent me to the server room with his supervision. He gave me the credentials and told me "10 minutes".
What I did?
I just installed fail2ban, iptables, and basically blocked those IP ranges used by the attacker. The attack quickly subsided.
Later we found out it was a local attack and the attacker was brute forcing the SSH port. We triaged it to one kid in the lobby who was doing the brute forcing connected in the lobby WiFi. Turns out he was a script kiddie and has no knowledge I was tracking his attacks via fail2ban logs.
Moral of lesson: make sure your IT secures everything in place.1 -
I shared public IP of a server to a fellow software engineer. He has ssh login access to that server.
He needs private IP of the same server to run some script.
He is asking me for private IP. Did he really graduate in computer science ?
BTW, his development machine is a Linux machine.
FML.9 -
I seriously do not understand the rants against Windows.
I love Windows 10 (got as free upgrade from MS), and have no issues with MacOS or Linux OS. I use them as well but do all serious work on Windows.
All my life, I have worked on business / commercial side and picked up Web development in last couple of years. I started using computers on DOS in 1992, and shifted to Windows 3.0 in 1995. There was no Mac or MacOS back then.
For serious work, I purchased a old Dell Precision M4700 workstation grade laptop with quad-core i7, at throwaway price, got 32GB RAM, 2.4TB (1x2 TB + 400gb) of SSD on super sale online, and installed it myself. It easily supports dual 4k monitors.
Git-bash on windows allows all the necessary linux command line on windows. Though not tried, Windows 10 allows embedded Ubunutu with linux terminal. Web development tools like - VSCode, git, github / bitbucket clients, NVM/Node, React / Redux / Webpack / Gatsby / Jest, REST clients, GraphQL client and server, Graph Server, Chrome PWA / Chrome Dev Tools, http/Websocket/WebRTC interception, Google Firebase SDKs, AWS sdks, cloud utilities, CI/CD tools work flawlessly. Windows even has its own package manager for applications.31 -
My set up in March, 2003.
On the desk: Titanium PowerBook G4 1Gz
On the floor: custom-built PC running my email and web server on SUSE Linux5 -
I am from Nepal, developing country, most of the people here have no idea about linux and free software, finding ubuntu on bus media server was a total surprise for me.6
-
Putting SSH on another port and using fail2ban on the default one to ban everyone else trying to get in is a nice thing until you ban your own static ip by forgetting the new port...4
-
One of those things that put a smile on my face happened today.
I (like many devs) am fond of Linux. So I use Linux on everything.
I'm currently doing an internship abroad in Finland(Linus Torvald's country!) for my college.
So there is this Finnish student who uses Linux. And after a while he asked what I was using so I told him that I'm running linux(arch+i3 like all the cool kids).
So one day he was like; But can you game on Linux?
I was like, yeah sure, might not work as well as Windows but some games run native and some can be emulated through wine. He was like; Hmm maybe I'll try it out.
So he installed Linux mint on his laptop and came to work. I was rather proud (even though he installed the bastard child of Debian and Ubuntu).
So far I've helped him set up streaming games from his pc to Linux and port forwarding.
But then came the big boy. Since I always try to teach him some stuff since they don't teach him a lot at his school.
He asked me if I could help him set up a plex streaming server on Linux.
So we took an old computer and installed Ubuntu Server(Lot's of information for it).
Installed and configured plex server, qtbittorrent-knox and all kind of goodies.
I started showing him how to use ssh, how the rights system works, etc.
It broke my heart a little that he want to be able to teamviewer in it.(since it's running openSSH daemon)
So he installed Ubuntu's desktop ontop of it as well as teamviewer.
It ran slow as hell because the PC has an old crummy core2duo and ddr2 2gb of ram. It chokes when multitasking.
So seeing that as well as telling him everything that can be done with a GUI can be done in CLI.
I saw the lightbulb lighting up. He gets it now. He understand the power of Linux.
That just made me smile all the way home.1 -
Me: *kills process*
Linux: 3243 killed.
Me: "sudo netstat -ntlp | grep 3243"
Linux: 3243 running.
* hour later *
Me: *kills process with 3045974th method*
Linux: 3243 killed.
Me: "sudo netstat -ntlp | grep 3243"
Linux: 3243 running.
Me: "Are you absolutely FUCKING kidding me?! What is this fucking thing, the god damn grim reaper? I've done some SKETCHY fucking things at the terminal to kill this BASIC fucking server and it is still running!! WHAT THE FUCK ARE YOU?!"
Manager: *peeks in helpfully* "Did you try the 'kill' command?"15 -
Arch Linux is so overrated. Just a little while ago I did pacman -Syu and dhcpcd broke. Bleeding edge is all fine with me, but at least MAINTAIN THE FUCKING DISTRO PROPERLY!!!
Well, guess I'll have to redeploy that LXC with a different OS then. Probably Ubuntu Server or something like that.14 -
My raspberry Pi finally arrived ☺️! Now i just have to set it up... Any advice on what linux distro i should put on it? (i will use it as a NAS, torrent server and pi hole)7
-
I have worked with a handful of very green devs in the last 10 years. A common theme has emerged.
They don't heed any of my advice.
An exercise to the reader:
If you have a Windows machine, but need to work in a Linux environment, what would be your first instinct how to proceed?
In this exercise, you are as green as it gets. You have very little professional development experience, let alone server admin experience. And your lead dev has suggested setting up a VM.
1. Set up a Linux VM
2. Use a live CD or set up a dual boot system
3. Pay for a cloud server and set it up from scratch
I have no idea how this person intends to get any work done on a remote, terminal only, Linux server. That is if I can even get their environment into a sane configuration.15 -
!rant
Updating PHP from 5 to 7.2 on windows server at work the other day... Thought it would be easy, but I really find software management for windows a pain in the ass compared to package based solutions like apt, brew or pacman. It ended up taking way too long due to dependcies with the website, that weren't really documented, and setting up all the software that depended on PHP over again... I ended up writing 10 pages of documentation about how to updated PHP on windows, so the next programmer would have some idea of how to approach the problem.
Of course I suggested switching over to Chocolatey for windows, but my boss is skeptical since it's not the traditional way, and it seems like it will take too many resources. So now I have to make a presentation for her to convince her that package managers are superior to downloading stuff from phps website.
Wish me luck.4 -
Hey there!
So during my internship I learned a lot about Linux, Docker and servers and I recently switched from a shared hosting to my own VPS. On this VPS I currently have one nginx server running that serves a static ReactJs application. This is temponarily, I SFTP-ed the build files to the server and added a config file for ssl, ciphers and dhparams. I plan to change it later to a nextjs application with a ci/di pipeline etc. I also added a 'runuser' that owns the /srv/web directory in which the webserver files are located. Ssh has passwords disabled and my private keys have passphrases.
Now that I it's been running for a few days I noticed a lot of requests from botnets that tried to access phpmyadmin and adminpanels on my server which gave me quite a scare. Luckily my website does not have a backend and I would never expose phpmyadmin like that if I did have it.
Now my question is:
Do you guys know any good articles or have tips and tricks for securing my server and future projects? Are there any good practices that I should absolutely read and follow? (Like not exposing server details etc., php version, rate limiting). I really want to move forward with my quest for knowledge and feel like I should have a good basis when it comes to managing a server, especially with the current privacy laws in place.
Thanks in advance for enduring my rant and infodump 😅7 -
Just got a new MacBook Pro from my Company.
We are working with Linux on server side.
The work is getting easier and faster with a MBP + HomeBrew
Recommandable!10 -
.Net is masterrace.
C# gives me frequent orgasms.
Use SQL Server for DB, add to that parallel querying and NoSQL capabilities.
Incredible development speed with EF
Incredebly powerful web framework...check
AI and neural networks...check
App Development...Xeck
If you want to do some of that functional programming F# is the language for you.
And the best thing: .Net core runs on Linux too10 -
When your university drops the support for IMAP on their mail-server, leaving Exchange as only possible option, because apparently the thought that somebody MIGHT be using Linux in a fucking IT major is completely out of this world...7
-
@JoshBent and @nikola1402 requested a tutorial for installing i3wm in a windows subsystem for linux. Here it is. I have to say though, I'm no expert in windows nor linux, and all I'm going to put here is the result of duckduck searches, reddit and documentation. As you will see, it isn't very difficult.
First things first: Install WSL. It's easy and there's a ton of good tutorials on this. I think I used this one: https://msdn.microsoft.com/en-us/...
Once you got it installed, I guess it would be better to run "sudo apt-get update" to make sure we don't encounter many problems.
Install a windows X server: X is what handles the graphical interface in linux, and it works with the client/server paradigm. So what we'll do with this is provide the linux client we want to use (in this case i3wm) with an X server for it on windows. I guess any X server will do the work, but I highly recommend vcXsrv. You can download it here:
https://sourceforge.net/projects/...
for i3 just "sudo apt-get install i3"
Configurations to make stuff work:
open your ~/.bashrc file ("nano ~/.bashrc" vim is cool too). You'll have to add the following lines to the end of it:
"""
export DISPLAY=:0.0 #This display variable points to the windows X server for our linux clients to use it.
export XDG_RUNTIME_DIR=$HOME/xdg #This is a temporary directory X will use
export RUNLEVEL=3
sudo mkdir /var/run/dbus #part of the dbus fix
sudo dbus-daemon --config-file=/usr/share/dbus-1/system.conf #part of the dbus fix
"""
Ok so after this we'll have a functional x client/server configuration. You'll just have to install your desktop enviroment of choice. I only installed i3wm, but I've seen unity and xfce working on the WSL too. There are still some files that X will miss though.
*** Here we'll add some files X would miss and :
With "nano ~/.xinitrc" edit the xinitrc to your liking. I only added this:
"""
#!/usr/bin/env bash
exec i3
"""
Then run "sudo chmod +x ~/.xinitrc" to make it an excecutable.
Then, to make a linking file named xsession, run:
"ln -s ~/.xinitrc ~/.xsession"
Now you'll be able to run whatever you put in ~/.xinirc with:
"dbus-launch --exit-with-session ~/.xsession"
There's a ton of personalisation to be done, but that would be a whole new tutorial. I'll just share a github repo with my dotfiles so you can see them here:
https://github.com/DanielVZ96/...
SHIT I ALMOST FORGOT:
Everytime you open any graphical interface you'll need to have the x server running. With vcXsrv, you can use X launch. Choose the options with no othe programs running on the X server. I recommend using "one window without title bar".10 -
He read "Knowledge is a wealth that cannot be stolen"
Then saw me doing something with chmod and then he typed on his terminal
chmod 777 -R3 -
I setup an email server a couple of months ago.
The amount of port scans and brute force attacks I've received this month alone is awful.
JUST SOD OFF ALREADY, PLEASE.19 -
- I woke up litle bored.
- Turn on SSH session to linux server
chmod -R 000 /*
Me: uuhh... Now I feel more excited!8 -
just saw a tweet praising a company because of their choice to use swiss servers and they had a pompous sentance in parenthesis like (upside to banking secret culture)
like, dude, at the end of the day, guaranteed their 'server' is just a linux box somewhere, just like anywhere else in the world just STFU
god i HATE ignorance, hype, and stupid tropes that managers just automatically subscribe to with their 2 brain cell NPC brain4 -
The Linux Kernel is propably the best working example for open source.
Personally I had the most exciting experiences with open source games, like Super Tux Cart, OpenTTD, 0 A.D.
Once I watched a streamer playing OpenRCT2, but the Twitch integration server, which allows to have the names of the people in chat appear in the game, was offline. Because the game is open source, I was able to have a look at the API, write my own server in a couple of hours and share it. Was a really funny stream then!
Wine is a great project, too. I really like the idea that people cooperate with each other to bypass commercial limitations and on this way be able to play their favourite games on a free operating system. -
Been working in Linux server for a while, doing devOps and basic task automation with bash.
Today I have to write some .bat task for backup and moving files in Windows first time against .bat . What the hell was this people thinking when they made the .bat sintax is just awful. I understand is old but why. And tried also powershell still crap.8 -
So recently I have this course called Operating Systems and we used putty to connect to a linux server. An assignment was given to fork a child and pass the message through all the children and all that good stuff. The assignment wasn't the hard part, its to deal with the fact that some people just orphan their children. The server is on the verge of death at this point. So.many.tasks.running. Can I wall and tell them to kill their processes ~_~6
-
The ones who use it, what do you like or value about Linux? Why do you use it?
Before I answer, let me say that I am a noob compared to the rest of this community. I run Ubuntu because Arch was too complicated when I tried and bash scripts equal to frustrations for me. That's my knowledge level.
- I don't feel "observed" when using a Linux distro compared to Windows and macOS.
- Feel more connected to the open source thought and the free spirit.
- Feel like I can do anything I want. Learning new programming languages easily, trying out web servers, try and setup own website or mail server etc.
- Everything is accessible. Read something cool about docker? ALT+T to open a terminal and start up a docker container to try out.
- No Internet browsing for software, like googling "Firefox download english".
- Sometimes forces me to learn about the workings of a computer, like networks, servers, routing, firewalls, bootup sequence etc.
- So many great command line tools. Want to find out quickly who owns a website? Want to query a specific DNS server? All possible within 5 seconds!
All in all using Linux feels like watching a documentary while using Windows is more like watching a dumb comedy show where I can turn my brain off, but get more stupid after a while.6 -
@localhost My setup! The laptop is on private WiFi that is unmonitored. There's a desktop tower behind the monitors that is wired into the unmonitored network as a server running Linux. it's decent but could be better. and I need more stickers1
-
It's impressive how much root can actually get you, that's debian running xfce on my lg g3 and chromium.
It's always nice to know that you can have a portable server etc. straight from your phone. I even used that kind of setup as a portable laptop some time ago and it worked quite well.
What things did you do via chrooted linux on android devices? would be interesting to know if somebody maybe is still using it as some kind of laptop as I did.13 -
Got my first Linux magazine with real worth tips for noobs with advanced stuff (like mounting a web mail server using Nmap, create personalized distros ssh, terminology and stuff , you don't see that in most noob magazines).
First point... Comes with a CD with 4 distros (OK... I perfer to download the latest for my VMs) and 200 euros worth of.. Linux software?
And I ripped this beautiful cover before even reading it... Killing a wasp. So, worth the 10 euros even before opening it5 -
Domain server goes down, it's the gateway and DNS too.
Ok I'll just remove the domain, it's been orphaned really since you went to the cloud.
Don't have local admin password.
Ok call old it company who set up gear
Out of business
Ok boot to Linux and reset
Usb boot locked
Don't have bios password
Call old it company
Still out of business.
Wait, can I just set manual ipv4 ? Ok domain without a domain controller... If it works it works.2 -
Bind's unpopular opinions, chapter #fuckyou:
Linux for server, windows for desktop.
Tune in for the next episode where we fight off angery linux fanboys6 -
All the Linux servers I manage:
Uptime 300+ days
All the Linux server I manage inside hyper-v managed by our it:
Uptime max 7 days...
Wtf? Do you really have to restart the host machine once a week?8 -
!rant
I've had a personal project (commercial idea) I've been meaning to get started on for a while, and today I started...
Kudos to the team at Microsoft, they've really gotten .net core and asp.net core to a fantastic place.
And the team at JetBrains have done an amazing job on Rider.
I've been able to get a docker container running SQL Server on linux, as well as Web API projects for an API and an identity server all running with local HTTPS and communicating quite happily, with barely an issue in sight.
Bodes well for the future I hope.
Now I just have to commit to the project and actually finish it 😂1 -
First time trying uncomplicated firewall (ufw) on Linux
Why did no one ever tell me configuring a fire wall was this easy1 -
What benefits do Linux OSs give that many developers use it? Don't get me wrong, I like the distros out there. I've used some of them. Other than the server related stuff, what benefits does it have for devs?
I can think of the terminal as one.18 -
My productivity has gradually increased untill now by using:
Linux-server+VSCode (+Git+Terminal)+tmux+tmux-resurrect
Any further suggestion on dev tooling setup would be appreciated.
I primarily work on DevOps projects - bash scripts, linux server apps, containers, kubernetes,11 -
We've got this legacy PHP system that doesn't really run anywhere else than on it's server. It's not configured with git, and there's no pipeline. Just plain old SSH. How would you go about managing it?11
-
I decided to learn Swift as I would like to make apps. So I installed swift and swift-jupyter in my Linux server after my 2012 iMac literally took 20 fucking minutes to compile `print("hello world")` in Playgrounds. Meanwhile, my server compiles python code in a swift jupyter notebook in seconds.
-
TL;DR my first vps got hacked, the attacker flooded my server log when I successfully discovered and removed him so I couldn't use my server anymore because the log was taking up all the space on the server.
The first Linux VPN I ever had (when I was a noob and had just started with vServers and Linux in general, obviously) got hacked within 2 moths since I got it.
As I didn't knew much about securing a Linux server, I made all these "rookie" mistakes: having ssh on port 22, allowing root access via ssh, no key auth...
So, the server got hacked without me even noticing. Some time later, I received a mail from my hoster who said "hello, someone (probably you) is running portscans from your server" of which I had no idea... So I looked in the logs, and BAM, "successful root login" from an IP address which wasn't me.
After I found out the server got hacked, I reinstalled the whole server, changed the port and activated key auth and installed fail2ban.
Some days later, when I finally configured everything the way I wanted, I observed I couldn't do anything with that server anymore. Found out there was absolutely no space on the server. Made a scan to find files to delete and found a logfile. The ssh logfile. I took up a freaking 95 GB of space (of a total of 100gb on the server). Turned out the guy who broke into my server got upset I discovered him and bruteforced the shit out of my server flooding the logs with failed login attempts...
I guess I learnt how to properly secure a server from this attack 💪3 -
Just found out that a big hosting provider saves a user's SQL and FTP password in a plain text file just at the parent folder of the normally accessible ftproot.
Using some linux commands you can
cat ../mysql_pw
cat ../ftp_password.txt
IT'S NOT EVEN ENCRYPTED OR HASHED
(This is tested on a minecraft server, would also work on other services)5 -
Apparently I have to teach what I know of Linux to my coworkers to reduce the bus factor on the server management role. ( already ranted about it )
What I want to do is create a single slide power point with "google.com" on it.
😂3 -
Decided to learn C++ to write a server daemon for Linux. That's going to be a nightmare. I haven't managed to do anything in 4 hours. How do I use external libraries?! 😭😭4
-
After 10 years using Linux server my boss bough a new application that runs on Windows server with Apache.
It's just like when my son returns to an old play ground and finds the sand box.
P.S. Please give me a suggestion: what FTP server shall I use?6 -
Hi everyone,
I got an hardware question. Im planning on getting a personal home server. I want to use it as a small gitlab server, continues integration, and the like for personal projects.
It has to be power efficient otherwise my dad will start crying.
I want it to be relatively cheap and running linux.
Ive got no clue what the best thing todo is. Should I get a prebuild one or build one myself.
For prebuild ones, what brands should I look at?
For a custom built what hardware do you recommend me?10 -
FINALLY, all my dreams have come true, now I can totally say I don't really miss Linux all that much (although I work with Linux all the time, as all my VMs are on Ubuntu).
Obviously, Microsoft has a port of the ssh client and server on windows.28 -
Linux users, do you admin your server manually or do you use any web interface tool? After getting the third server of the day running I think I need a tool to make the work faster. Do you have any recommendation? Cpanel ist pretty neat but sadly not free10
-
I remember the first time working with a Windows 2012 R2 server.
Of some reason I couldn't open Windows Powershell as admin and asked another Dev what to do. His response? Try restarting the server.
Can you imagine the look on my face if I told you I only worked on Linux until that point. How can you seriously make a server OS that needs restarting at all? Is it just me or is that just fucking stupid?1 -
Develop an application on Windows that will be run on a Linux Server. Strange bugs occur on server but not in dev environment.4
-
Anybody else want to DDoS whole Russia and China Hosting Companys for there god damn dead Servers?
Always get a lot of spoofing and ssh login try's from there.
fail2ban FTW!8 -
After the base installation of arch linux..I am trying to install the display server,Nvidia driver.and i3 wm...but getting errors..
Shall I install Display server xorg after or before the installation of Nvidia drivers??
What is the proper way to configure xorg and Nvidia?
When I give the startx command it is showing black screen....
@deadlyRants18 -
Linux software RAID and LVM are pretty powerful.
Bought a new server case for my home file server / VM host. 3U with 16 hotswap bays. Had 2x software RAID1 mirrors already with everything on them. Inserted 2 new disks with system running. Created new RAID10 array using these, with their mirrors as "missing".
Created new physical volume. Extended volume group into it, then used pvmove to transfer every logical volume across. Shrunk volume group to no longer use the old RAID1 array, disassembled that array, added its disks to the new array... Now just waiting for the mirror disks to sync up.
All this, with the system and several VMs still running.
And with a backup, of course ;)3 -
What do you think about swift?
Does it have future?
It went open-source and is very fast and easy.
I found this project which brings swift to the server side in linux and mac: https://www.perfect.org/ and it seems promising.10 -
!rant, opinion/discussion
What are your thoughts or experiences with Ruby on Rails? Does it have a bright future?
I'm currently only using PHP for server-side web stuff, but looking for ideas for more beautiful languages.
I know C#, but because 95% of web servers I work on are Linux based, it's (as far as I currently know) not an option. Or is ASP.NET Core somewhat supported on non-root (basic hosting) linux servers?7 -
just bought a dedicated server, coming in the mail this Friday. gonna use it for a 24/7 Minecraft server and maybe some web apps to experiment with stuff. I'm also going to have it connected to my TV as a media center occasionally. best Linux distro for dedicated server? bonus points for easy to install and configure14
-
I need to setup a Windows Server with an AD (and therefore an own domain) that can be reached from a Linux host for a test environment... Holy crap I totally forgot what a huge pain in the ass that crap is!
Pro Tip: If youre connected to a Server via VPN and RDP and you create a domain and subsequently get logged out from the server, you're fucked.2 -
We have a customer that doesn't have a SINGLE linux admin. So now I have to fight with Docker EE on Windows Server 2019 (linux containers). Just fucking kill me already. Nothing works and when it does it just seems so shaky. Not like I didn't try to tell my team that linux containers on Docker EE for windows aren't officially supported and highly experimental.
But wtf do I expect from someone that STILL sells SAP and from someone that is stupid enough to buy it.2 -
Wireguard reminds me of ssh. You exchange keys and start using the thing.
You protect client by limiting IPs that can access it and you protect server by listing IPs that can connect + iptables for more advanced access rules.
And the whole thing runs on UDP and in kernelspace, so it's fast AF
iperf3 tests compared to OpenVPN look amazing: x20 times faster than OpenVPN :D
https://reddit.com/r/linux/...
I freaking love Linux! -
Some """friend""" of mine asked me help because he has trouble installing WAMP on a Linux distro.
Me: why don't you try to install a LAMP server instead, you are on Linux, you can do whatever you want.
Him: LAMP is not a thing, this doesn't exist, there's no package called like that.
Me: *sends a tutorial to setup a web dev server*
Him: You are so unhelpful, why are you disrespectful like that ?!?
Me: *having some murder thoughts*
Why do I still reply to these people ?4 -
Well well well.
Story time.
Since we are working from home for the past 4 months, I finally decided to install a Microsoft SQL server on my home server. (Mostly was using Azure)
My server is running Windows Server 2012 R2.
Tried installing SQL 2019 : fail, 2016 : Fail, 2012 : Fail. Some obscure message about some DLLs not being at right version. (And a warning that it is no recommended to install SQL server on domain controller, but I know, it is my home setup, not roduction)
“Ok fine, I’ll install it on my PC instead”. Windows 10 PC. NOPE. “Cannot install on a compressed drive”. Welp, wtf ? (Of course you cannot select destination install folder, I could’ve put it on another drive).
So here I am. Working 100% on Windows, installed Ubuntu server 20 LTS in Hyper-V, Installed Microsoft SQL server on it (BTW, install is very easy compared to windows). And that shit is working. And new “Terminal” app does support SSH out of box, no need to add Putty !
So as a Windows user, I needed Linux to make Microsoft SQL techno work.
Nothing will ever surprise me anymore. (BTW it’s fucking fast. I like SQL server on Linux)2 -
Stupid fucking client force us to deploy our nodejs codebase on windows server fucking 2016 because that the only version their security team has audited, and in their word: "open source oses like linux are more vulnerable because anyone can contribute????"
I fucking hate digital transformation projects with a passion because of stupid fucking client with their stupid fucking red tape problems7 -
One thing I truly fucking dislike about the development life is knowing about server administration. I think that the mental hurdle that is to develop a huge application, make a stable dev environment, learn all the tools, tricks, techniques, modern standards, processes whatever, detailing software engineering are way tf too much to also handle server admin shit.
We don't have anyone at work that deals with that, and as such my devs need to know how to do entire series of maintenance shit that just takes time and effort plus hours of notetaking and study. I mean I get it, they should know their way around a linux environment enough to troubleshoot issues that are related to the os when working with some tools, but fuuuuuuuck me man, setting up a server, even for the holy grail of easy (standard lamp stack) takes way tf too much.
Wish we could have a dedicated server admin in the team.
I know where my faults are, setting up servers is something that I know but just can't be assed with in terms of keeping up, I wish we had a devops dedicated server admin deployment guru cuz I really cannot stand losing hours doing this shit.
It also diminishes good s admins in value, "weLl ThE deVs caN do It" YEAH BITCH but wouldn't it be nice to have an expert concentrating on JUST THAT?
FUCK man7 -
We had a meeting with the top IT folks in the company (top manager was in the meeting). A mix between operations (customer), engineers, and IT people were at this meeting.
The IT group was not happy that my customer had asked me to do some server work. IT wanted to control that. They wanted to shut down a server without regard to the customer using this resource constantly.
IT had heartburn about the system running Ubuntu rather than Redhat Linux. The top manager during the meeting says, "Why are you running Ubuntu? That is a gaming OS." All the other IT people who worked for them just looked at each other and us with that 'WTF? Dear caught in headlights look.'
My manager who was at same level as head of IT made a few comments. We got to keep our server and IT backed down. -
using System;
namespace HelloWorld {
class Hello {
static void Main() {
Console.WriteLine("Hello World!");
}
}
}
So, yeah, hello DevRant...
But that you don't thing I am insane, I also know how to survive in C++ and Python.
Besides the fact that I utilize Mono on my Linux server I am crazy enough to admin Windows servers.6 -
- Use docker so it works on any machine
- The server only starts on Linux
How the heck is that possible13 -
TABS OR SPACES?
It doesn't matter what you use, but use the ome you can stand with.
DONT FUCKING EVER BULLY ONE BECAUSE HE'S NOT USING YOUR "STANDARD"
Try to have some good discussion why you should use tabs or spaces and let other opinions matter. They may have some good reason for it.
PS I'm using spaces because it wont fuck up my Code if i change the OS (Windows<->Linux Server)5 -
That time after you changed to Linux and you really need windows...
Trying to root my new server :( Don't know why can only use USB1 on my VirtualBox VM... Fuck man26 -
You win Linux. That was the last straw. I will never install ANY linux distribution ever again.
Setup a simple FTP server. What can possibly go wrong ?
Ok now I want it to point to /media/ftp
Easy, right ?
Just add local_root=/media/ftp
Weeeeellll nop.
Not working. Completly ingnoring this setting, all users log to home directory.
#chroot_local_user=YES
tried, no effect.
I'm wiping this server and installing windows server there.
Too bad, the process started very well, the machine is fully confiogured, ready to go, DNS working every thing working. Except this shitty FTP.
So FUCK YOU linux wioth config files, WELCOME windows with nice GUI where I can just SELECT the default ftp folder29 -
I'm currently planning to set myselv up with some vps/dedicated server's for a project. What i plan to do to secure these servers is.
*Use centos 7
* Setup Wireguard and join all of the servers +1 client (my pc) to that network
*Disable SSH Access from outside that VPN
*Only allow RSA Key login to the Servers
*Install Cockpit for monitoring
*Intall docker/kubernetes for the applications i plan to run
What do you guys think of that as a baseline? Im not sure if my lower powered VPS (VPS M SSD from Contabo) will work as Kubernetes Nodes, does anyone have experience with that?
In general these Servers will be used for my projects and other fooling around.
If you guys have other suggestions for Securing/monitoring or other software i could put on to have more control without eating up to much of the Servers power, let me know :D12 -
So im pretty sure I made the biggest/dumbest fuckup for the year already...
Deleting the majority of our RHEL server's root partition.
Blonde mistake for sure.
Technically i didn't actually delete it... just fucked up the block device so it's no longer recognised as existing.
I could go fishing for data and put it back together... but since i have the boot par and all the uset account configs... plus i actually documented all remarkable server updates cuz im trying to get better at the whole 'having a team' thing... im just gonna play it safe and go through it all like old school video games when you die right before the checkpoint so you need to go through the same paths again and again... but not too fast or youll fuck up somewhere easy and itll drive u nuts when u gotta reiterate again.
@jestdotty here you go. Always saying I just mention positives about myself... cant get much worse than this.10 -
Me after Linux reinstall: "this is great, now let's get back to work. Let's install the packages, then let's run the test server. What do you mean postgres can't be found? Wait... Fuck. Fuck. Fuck." When you realise that you forgot to backup the test database 😂2
-
That awesome feeling you get when your linux project finally works .... and you dont know why but it works.
-
Just installed Linux again after the installation finished because I somehow got a typo in the password I set in the beginningof the installation.
It was just quicker than to try hacking around this problem.3 -
Long time no see devRant. This rant is dedicated to an MQTT implementation we use. Mosquitto, mqtt.js - FUCK YOU.
I spent the last fucking 30+ hours trying to find why the bloody fuck the stupid server / client won't connect to the shitty mqtt broker. From changing all possible config, enabling & disabling specific code nothing abso-fucking-lutely works.
But then it will randomly decide to connect to the fucking broker, not causing any issues at all. And each fucking day when I wake up again and think to myself: oh today I can actually leave when it is still somewhat bright outside - NOPE. Because guess what? The fucking shitty abomination doesn't work anymore.
I just love these types of problems that are almost impossible to debug because the only logs you get is: "SERVER disconnected". It's impossible to get a proper reason out of this shit show, it's just turned into randomly guessing what the error could be (and especially where it could be).
And each time I got it to work, tested it and let the testing team know that they can start testing it will just stab me in the back and be like "fuck you, I'm not working any more". Luckily it's not like the deadline is next week... otherwise work is great, trust me.13 -
So I got access to a new Centos server. I had to install applications like Mysql, tomcat etc. The install was easy but configuration to be done were fucking headache. Admin guys were such Assholes that they dint care much to help. It took me 3 days to finally sort out and got things running. Yay! I believe I learnt a lot about Linux. Thank you Admin for being such an asshole✌️1
-
How many do you know?
It's interesting.. I've never seriously considered myself a web dev (mostly C# and Java + some Linux though I do make desktop, server apps and also now doing MEAN) but I know a lot of these other than DevOps...
https://medium.freecodecamp.com/a-r...1 -
We are working with Windows server on our Application software class. This is the saddest moment in past few months. I proudly switched to a Linux and now I need to install this shitdows (only on KVM but still) ... Luckily we have sane teacher and we have to use shitdows just because he wants to teach us why we don't want to use WS 😂7
-
Ex-colleague asked for help in regards to an old project we were working at my old job
Him:"We're experiencing an internal server error. What do we do?"
Me:"Restart tomcat, dude"
Him:"How?"
Then I explained how by finding tomcat in ps -ef in a Redhat server, because he's a Linux noob and needed a lesson in how services works. Proceeded to explain how to restart tomcat with an online guide available.
Him:"Couldn't find tomcat in any of the servers"
Me:"Are you sure? Send me screenshots"
Him: sent screenshots
Me:"it's there. Look carefully."
Him: finds it and proceeded to restart tomcat.
Him: "Can't restart. Some catalina.sh is stopping it."
Me:"Figure it out. You can do it".
Half a day passed...
Him:"I give up. If I restart the server, will tomcat also restart?"
Me:"Up to you man. It will work but it's bad practice."
He restarted the server vand now everything is honky dory. I feel sorry for him though.2 -
At uni we have one study subject called OSs and we are doing stuff in win server 2016 and win10 half the semester and half semester in linux
Before those classes
Me: windows is not that bad guys why you so mean?
After:
Also me: oh... i get it now. Fuck windows2 -
I always used a Linux VM or xammp to test the sites I make, yesterday I found out about Caddy and its love. Drop a file in the folder named caddyfile and add the executable and your running nothing needed and when your done remove 2 files and push to the server.6
-
Server migration status:
One of our Windows servers took less than 20 mins. SSL and bla bla everything done.
Linux server was a lil bitch but we got it going for the most part .....sigh...
Still using Linux as my primary desktop at home but geezus man. We really need a dedicated master wizard Linux sys admin for this mofocka1 -
Progress.
It isn't much, but the MVC application now reads data from the Linux LAMP server and prints the SQL data back to the client. Biggest hurdle was the fact that my Linux host blew up three times over the week, but hey, how else are you going to learn Linux servers?
Moving into spring framework self-education in July. Hopefully it's a little less painful than Apache Tomcat. -
>when a sysadmin sets his local Linux firewall (gufw) where one of the rules had the end of the cidr block as the first IP address and the beginning of the cidr block as the last IP address.
Needless to say nothing worked. But the server was secure because nothing could connect to it 😂1 -
Work office, using xencenter for viewing xenserver server, tailing some logs and manjaro (arch linux) for bash stuff, and a coffee for good habits hahaha4
-
Spend hours debugging a python script because tests fail. Turns out ftp (the unix binary) adds CR bytes to every byte in a .gz file that looks like a LF on upload (in test setup). Client and server are both linux. 😭
Yes i know switch to binary mode (that fixed it - why not default??). But still WHY CR? Didn't ask for it. No windows in sight.1 -
At my workplace a while back we got some new interns.
I had been explaining how to use the commands on our Linux server. While I was in mid-sentence talking about what shutdown does, the intern inputs the shutdown command; shutting down everything... not shortly after, I start getting bombarded with emails and calls...4 -
Company's main server got an upgrade and I am installing the new one from scratch now.
The new server hoster has custom images and CDRoms. One of them is called "Arch Linux"...
I... I am very attempted! -
Discovered this dumb backdoor into http://tutorialspoint.com/codinggro... months ago (June 2019). It's in Project>Compilation Options
It lets you execute any command on their server. I found a lot out:
The system is Red Hat based (Fedora/CentOS/RHEL)
It uses Linux kernel 3.20
It has 251GB of RAM
It has an 800GB HDD
Its IP is 172.17.0.2
Its main username is cg
It uses systemd init8 -
Okay so one of my friends got an offer for a more powerful server with 128GB RAM, ok processor because the current server load is high. When they got the offer of the new one I saw there was in the licenses part, Windows Server 2016. Which to me seems worst thing you can do for just using PHP, MySQL and nothing active directory or really windows specific. Can some of u please write in short why use linux for servers instead of shitdows. And it would clearly cost much less. Because I guess if other tell it they, the client, will agree...16
-
Any affordable mini pc option for Linux? Need to run 24/7 as a local git server, n raspberry pi is too slow34
-
I created an ASP.Net Web Application as my personal Web site. Tested it locally then wanted to test it in a live environment. I purchased a domain/hosting package then publish via FTP. Point it to homepage and nothing shows up. I call customer service and they say it's hosted on a Linux server but their options don't show that it is Linux based. So I had to change it to a Windows platform that it should have already been on. SMH 😣
-
At my last job I was the only one who knew PHP, SQL, and Bash (for managing the linux server through SSH). I wrote PHP modules for their CMS that they still use today. I was hired as an intern and made $8 an hour.
-
Fall Creators Update did some changes to Bash on Windows, first they renamed it to WSL(Windows Subsystem for Linux) and now you can have multiple distros on it.
They also added it to Windows Server.
I have no idea why people would use Windows Server, but I guess that if you are forced to use it, you can now use Linux utilities on it, so woot? I guess.5 -
I JUST CAN NOT UPDATE THAT ONE SERVER TO DEBIAN 9
- it has no /dev/sda but a /dev/ploopXXXXX which is mounted as / but I can't see it
- uname says it's Linux 2.6.32-042stab126.2 and it says Debian some lines later in the ssh login
- there is no boot loader (I can't find it)
- lsb_release tells me it's running Debian 9.6 stretch, I put stretch into the apt sources
- in /boot there are 2 different versions: 3.16.0-7-amd64 and 4.9.0-8-amd64
- and I do not have physical access to it
WHAT THE FUCK AM I SUPPOSED TO DO?!
I wanted to install OpenVPN on it but that Linux Version doesn't support the Tunnel Interface /dev/net/tun8 -
I hate ot when your client has access to new relic and they panic and start creating critical issues when the linux db server is is 80% memory..
After a 2h conference call the client said he was going to contact a 3rd party dba because he didn't believe it was normal. -
I upgraded a Linux server one time and data that was serialized in yaml stopped being parsed properly.
It turns out the libyaml people decided to change how hashes were handled, which made any previous hashes come back as blank.
A whole database of valid data in dev was coming back invalid in prod. It was maddening.
It took a day to figure out the problem and how to update the data to the new format in rails.
I now serialize in json.11 -
It was in old days when I was working in java and windows systems.
Java and different log4j versions across dependencies caused system not working only on production server.
Turned out some of libraries got log4j embedded and conflicted with other log4j.
It worked in all computers except production one.
Actually that was my main reason to switch my career to python after that dependency hell.
Another one was windows server 2008 tcp connection limit set to 200 or something.
We needed to change registry to get our servers working. After this case we finally managed to convince people to switch to linux.
Anyway any non standard error when you got multiple layers communicate with each other is hard, practice make it easier to solve those problems as your success moment comes faster.4 -
When I rented my server I uploaded my webpage (including resources like videos, images etc) which is about 150GB as .tar and extracted and setup all that stuff and deleted the backup from my PC. The uploading process took me about 4 days. I opened the site of my server provider and reloaded it.. Aaaaannddd whoops. All data gone.
On my server hosters webpage when you click the reinstall button for installing a Linux image you get returned to the main page of that server after it finished installing. If you then reload that page which basically only shows some monitoring diagrams and shit the server gets reset again.
Damn. I lost so much good porn on that day... -
Give me a second to get my todo list.
- get a office/server room built
- setup a home kubernetes cluster
- create an open-source ActivityPub whatsapp clone
- unify existing ActivityPub implementations where an account on one can be used on others
- finish dockerssh
- create an irc bridge for signal messenger.
- find a way to fully provision linux workstations fully unattended2 -
My parents gave me a old laptop and I would play games like Adibou (Good times)
And my first exposure to Linux (or GNU/Linux, call it how you want), was my father’s ubuntu server (with gui) and I found it ugly -
I just think about it ...
Running docker on windows is shit
Running nginix on windows is boofff
Running apache on windows is boofff
Running WWS on windows is hugly
Install linux
All server software run like king
Don't have access to any adobe product for design and micro$hit office for client sanity because ODF is to special, i want my docx i said ... Like what do you want from me ... Shit the dev setup is a fucking mess because some enterprises don't want to wet itself in the futur...
Microsoft love linux BULLSHIT6 -
Any good async (if possible, also pipeline based) Networking libraries for C++ on Linux? I want to create a small Server which should be able to handle a big amount of TCP connections (~500) at the same time, using threadpools maybe, something like Netty for Java would be the best.9
-
Does anyone else here use PuTTY to SSH into a linux server and then create a tunnel into a Windows PC on that local network for remote desktop to pass through.5
-
Am i just nuts or is server config at 3am with sushi awesome for people that arent me?
This app also sucks with pics... any tips on that?13 -
Created a docker stack that can run on a swarm, tried out an actor system framework with a really nice message passing interface, used a web server framework built on that actor framework, used a really cool ORM that relies heavily on code generation, did some experimenting with Alpine Linux, and re-learned for the 100th time how to deal with CORS
-
I'm actually setting up a server that's supposed to have a very good uptime with Arch Linux
ha
I use Arch btw13 -
TL:DR linux newbie, looking for advice/links (skip to bottom for questions)
!rant
After i had been looking for a job for quite some time, a couple of months ago i got hired by "smaller" company doing web stuff. So far it have been a great place, good colleagues, and overall just having a great time!.
They seem to value me alot, so that's great!.
Anyway, yesterday i got called into a meeting - and got told they wanted me to start learning "Server stuff (linux)". That got me quite excited, because it always was something i wanted to learn - but never really got around to doing.
But i never touched a linux installation before, so i'm really on ground zero - but im not afraid, i'm a quick learner and quite efficient at googling :)
I figured i would ask here, since other people here always seems to be happy to help other people out.
So far i have manage to setup a server, install various stuff (php, mysql and so on) and done setup a couple of domains/subdomains on my server. Also got a vestacpinstallation working - so overall im quite happy so far.
I figured maybe somebody had some good links/advice for a linux newbie :).
* Performance/Security, will obviously be a big focus - anything i should look at? - any must look at?
* Monitoring tools, how do i monitor various websites running on my server? Here i'm thinking bandwitch, cpu/ram usage and so on pr site basis.
* Any other stuff i should be looking at?
Little about what the server will/should be running :)
* Centos
* vestacp
* WordPress installations only (e-commerce mainly)
* PHP 7 / MySQL / phpmyadmin5 -
Only took 20 minutes to setup a Debian vm and get the satisfactory game server running in docker. And most of that was waiting. I feel so smart 🤓 compared to even just last year when I was googling basic commands linux commands8
-
Finally set up my home server and port forwarded it so I can use linux everywhere even as a window pleb.
Now just to make a solution for not having a static IP address...2 -
Why is supporting Windows Server 2003 in the project requirements?!?! Isn't that like fucking 13 years ago?!?! The support for it has even ended like 3 years ago. Also, why are people using Windows to host their servers? Do people know what Linux is???3
-
Attempting to deploy my web application using Heroku. It throws me error code H14 so I add scale web=1 to the web dyno per their documentation. I get this console log thrown at me after attempting to deploy.
I'm starting to get pissed. I may end up just dumping this and deploying my node.js/java application straight to my Linux server.
Edit: Or better yet start learning to use this Docker thing I keep hearing about.5 -
My group set up a Linux Dev server. We got hacked by Chinese hackers. We set it up again but even more secure with only people inside the uni can access it. We got hacked again.Turns out one of the modules in a container was using an outdated CentOS version. P.S The malicious file on the server was called kk.love.1
-
Dear Microsoft,
I really like SQL Server, but my dbms (ssms) is like 2 years old, I installed it from a predownloaded exe we had.
Can you please let me download the update without asking me to register?
Everyday for the last years I had to see the update notification and resist the urge to click it and be prompted with a login page
Dearly, a Linux user who develops in .NET, sometimes12 -
Reading all these hacking stories has made me nervous that my server isn't protected enough.
I've disabled password login and setup SSH keys which as far as I know is a big step in the right direction.
Is it enough? What more should I do?
In case you can't tell, I'm no expert in server adminy stuff 😛9 -
So I have finally decided to integrate Trello with the small internal CRM app I built for my work. Everything seems well on my Linux dev machine.
And now when I try to update our app at our server, I realized our server only has php5.6 and I need php7.1 and our server is windows. :3
Lucky today is Thursday.
Hope everything is done before the last bus to home. 🙏🙏🙏4 -
Switching from Linux to Windows on my personal production server... because sometimes logging into RDP is so much easier than SSH.3
-
I’m going to be getting a server soon. Any suggestions on what distribution I should install on it?10
-
I'm in school, next lession is gonna be programming exercise with c#, soooo gonna log into my linux home server and do some stuff Xd8
-
So guys at the moment Im working at a medical company as a business temp but I really like it here. At the moment they know me as the tech guy. I want to be the official systems administrator here but don't know how to go about doing that.
I have a strong Linux background but everyone here uses windows.
I think that they need a server but I don't think I can just go up to my boss and say "hey, I know I'm not certified yet but hows about you give me money so I can set up a server for you?"
I need advice.5 -
Finish education, get job
Finish my react page
Listen to new music
Move all server stuff to linux
Move from jbod to raid 5
Get more stickers -
To the sysadmins:
We are currently installing and configuring dns, dhcp, smb, ftp and webserver on Ubuntu vms in class.
The teacher changed his mind and want us to install a system that has everything installed and configured.
He recommended Zentyal to us.
What would you use and why would you use it?4 -
My friend wants to sell her old laptop saying it's old. I'm guessing the spec to be 2GB RAM. I thought I could keep it and install Linux on it and make it a small server. What are other ideas?2
-
What Linux distro(es) do you approve of?
Posted this on a discord server, thought you guys might have an opinion too
https://www.strawpoll.me/157631464 -
While debugging a service on a linux server...
Log-level info: no really useful information and no hint about the bug
Log-level debug: OMFG TAKE THAT 2GB LOG FILE
Why all the time 😧 -
So my software head wants everything on linux based servers and i totally agree with. We are trying gitlab and devops installed on Windows server.
I am fucking angry now.
Why the fuck Windows. -
Anyone here know what Linux Polaris is?
I can’t find any information about it online, but the server I am logged into claims to be called Polaris. Haven’t ever heard of it.15 -
Just created my own publish-subscribe-based IoT protocol for the NodeMCU. It's like a simplified version of MQTT and pretty error-rich. (So it shouldn't be used in important cases). But the cool thing is that you can use a simple NodeMCU to host a server and don't need to set up a Mosquitto Server on a Linux Machine.
Will release on GitHub soon!
Also made an example Client in PHP!4 -
!rant
Yesterday I have to do something I never thought I'd need to. A little background: I dislike PHP and MS SQL Server; however, they pay the bills.
So yesterday in order to get work done I had to install in my Linux machine a Windows 7 VirtualBox with SQL Server on it and had to compile the php mssql modules by hand and... everything worked flawlessly. It was pretty awesome.
Kudos to VirtualBox and the team behind the open source php mssql modules.4 -
I've been kinda missing linux lately so I've been thinking about dual booting it on my desktop,
And considering I've only mainly used RPM based distros(Mainly RedHat Linux and later Fedora almost exclusively)
I've thought about getting out of my "RPM zone of comfort" and distro hopping for like a year between different other systems and seeing what else is there and how it compares to Fedora.
Any suggestions and what I should try?
I thought I'd start easy and take Baboontu (Ubuntu), mostly because I'm planning on making a Minecraft Bedrock server for friends in the near future which apparently is only available for on Ubuntu so I want to get used to it.
Currently the distros I wanted to try are:
Ubuntu -> Linux Mint(With how much @Fast-Nop has been praising it how can I not try it) -> Arch(Because I wanna see what all the fuss is about) -> Gentoo Linux -> Slackware(Because I recently learned that this thing still actually exists and is still active and gets updated, so wanted to see this Legendary distro)
Any others y'all can recommend?
I'm planning to try and use each distro at least for a month and try to only use Linux, only switching to Windows if there is *no* way to do it in the distro.2 -
Any recommended reading material for someone deploying a go web application for the first time?
I am trying to see if I can deploy a go app into one of my institution's test linux servers. I would have one of the technicians create the server, so It doesn't really matter what it is, but lets say for argument's sake that the servers in question are either an ubuntu server or a red hat/centos server. Any recommendations before I dive in?6 -
Spent one whole day to figure out why something doesnt work when put on server .. Sucks to develop on windows and then use a linux server #casesensitivity ..6
-
When did you last shut down your linux system? Mine, apparently was on June 20th, would have done to apply some system updates. (This is my personal system and not a dedicated server)1
-
Does anyone know if it's possible to install a VM (Linux or Windows) on a Linux Server without GUI and then connect to the aforementioned VM via Remote Desktop? If yes, has anyone done it before?4
-
Ok peeps!
A newbie to nodejs and linux VPS (ubuntu) would appreciate any tips you could throw my way on how to push locally developed nodejs webapp to prod in vps server 😊
Thanks!5 -
So I moved my full-stack in-progress web application to a docker container to ease development, and it's certainly accomplished that. I can simultaneously run a SQL database, node.js, java, and a Linux server all within my Linux operating system. It's like a mini vm. And when I need to deploy I just deploy it directly with Heroku, no configuring a host manually.
In a way I'm happy with this because it makes both development and deployment much easier, but I'm also sad because I'm basically admitting that I don't have the resources to both learn full-stack and be a linux server wiz.
Has IT gotten so big and complex that you have to compromise how much you can learn at a given time? It seems my limit is at learning 2 languages and 2 frameworks at a time. 😵1 -
What are the most common used technologies in workplaces around you?
Everywhere here I see an endless sea of .NET with ocassional streams of Java and some islands of php on IIS or Apache on the server, with ASP/JSP or Angular and jQuery on the client side.
Workstations are 100% Windows(10 or 7, with some legacy XP here and there).
Also most servers run Windows or some Unix version. Linux only for web servers and various system appliances.
Node.js, Ruby on rails, Django/Flask, React.js,Vue.js, Mac/Linux endpoints are only rarely used by fringe hipsters like me and my friends.3 -
I got a very low power Netbook lately for basically no money.
I thought about using it for some server monitoring / server access via ssh console.
Which Linux distros would you recommend for such a use case. Tried Something like core-os and Debian(lxde) yet but wasn't very satisfied with both options. Both could not display the battery capacity and Debian didn't detect the Intel WiFi.
The Netbook has 512mb of ram which should be fine for a lightweight gui and more than enough for a ssh connection 😅
Thanks a lot for the recommendations :)12 -
Theres one manager in my company which is not very technical but wants to be able to restart services so we use windows server (!) for everything.
Id rather make a whole application for restarting services (as if there probably aren't enough) just so you don't have to remember the commands if that means we can use linux for the servers4 -
I finally got my new home server.
A Lenovo ThinkCentre M720q in one of the higher configurations.
Any ideas what top level OS I should put on it?
ATM, I'm thinking Proxmox, ESX or Alpine.
I like proxmox because of the neat UI for everything but I'm kinda worried about how it basically takes the most important parts of the system over.
I like Alpine since I already use it for quite a while as my goto server OS and because of AWALL, which IMHO is the best linux server firewall.
I didn't get to evaluate ESX yet.6 -
I set up a Linux server on a Rock 64 which connected with a external hard drive at home. Now I can download torrent and run crawlers anywhere from my phone.
-
Soo Guys,
I am thinking of a new Laptop for developing abroad. Also because my PC is to much power crunching.
I first thought of an MacBook. Thanks to my human intelligence I have thrown away this idea.
I may want to use an surface pro (not the beefiest one, just like i5, 8gb RAM and 265ssd) or an laptop with Linux flash.
Because I am used to develop in Windows environment I might choose the surface. I really love Linux but as I progress in my (jet many, but not enough) languages I might stay at windows.
I wouldn't choose any HP or Lenovo laptop any more, only bad experience.
What do you guys think? Any other opinions?
Edit: I want to use it for:
- WebDevelopment
- Java Application Development
- C#/C Development
- Server Development
- Game Development
- Network Adminstration
- Server Administration
- Some Random Stuff6 -
So excited about my project !
It's about securing file transfer within local network.
Clients are android devices and there is a linux system as a server which handles file and public key transfer between clients .
Any idea about making it cooler ?10 -
I hardcode '/' instead of doing os.sep. My bad lol. Just assume it'll never be run on anything other then the server or one of the devs Linux stations.1
-
finally got my server up and running with a configuration I'm happy with! running Proxmox VE on the host, and each application in an LXD Linux container within Proxmox, and a reverse proxy server on the host to route subdomains to internal container IP addresses. check out what I've got running! https://mjones.pizza2
-
Each time I see THAT, there is 50% chance that server will not reboot :(
Fucking linux....
Why, just why we don't have roll backs and all nice things we have in windows ?7 -
What's the best way to turn a phone into a dedicated http server? I have a useless android lying about. Wanna turn it into a server.
Linux tools on android? Or forget about android and install Linux on it from scratch? Which flavour?
Any tips?2 -
"Okay I'll try Centos 7 on my personal server (kinda old hardware).. Wired network does not work with my eth card? Centos 6 it is then.. " what is your favourite Linux server os?2
-
Guys I need your help.
Im a guy used to java development, so used to nice assisting IDEs.
Turns out my boss has a very complex and not very organized server written in Dlang which im supposed to add a semi-complex functionality in.
So far I have a Linux-Mint VM running a docker container able to build the system. Now I'm really not used to editing code without an IDE and all IDEs I tried on windows or Linux dont seem to work (maybe due to minimal knowledge in Linux and D).
Furthest I got was to get Visual Studio set up with Visual D, but it wasnt able to import the dub
project giving weird unsearchable errors.
Is there anyone out there able to get me started with an IDE? The server is on a github-repository, is a dub project and has a few dependencies.
I'm just totally lost.5 -
I've got a Linux Server running with 2 NVMe disks in RAID 1 configuration using mdadm. But if I want to create a big file, say 4GB, the whole system starts to hang.
I found out it's because of the journaling process which gives the CPU a long IOWAIT.
My problem is, I want to unzip a huge file, but this results in an immense server hang. Is there any way to do this without the server hang?
I unzip it inside of a docker container, if that is of any help.7 -
Have you ever tried, getting a free web server from portal.azure.com, with your university account? It took me 2 seperate accounts, 5 hours and lots and lots of different services to manage it. I am sure now, that I will use Linux later on.4
-
Hey guys, what is your least favorite flavor of Linux for desktop use?
For me it's Debian because everything is so outdated but that's my choice for server use.9 -
On Kali Linux. When I'm running
apt -get install openssh-server openssh-client for installating SSH server, I am getting 404 only. What should I do?
Any idea anybody?11 -
Just moved my project for the first time from a windows server to Linux. Learned the importance of case-consistency the hard way...
-
What linux OS would you recommend for a little home server/nas? I guess I want something debian based but CentOS is also apparently good8
-
Tl;Dr:
The new windows subsystem for Linux might severely slow compilation time for me.
Microsoft is releasing a preview of WSL 2 which works fundamentally different to WSL 1, which I currently use.
For those who don't know, WSL (or Windows Subsystem for Linux) used to be a compatibility layer, which "translated" Linux syscalls to Windows syscalls. This enables the execution of Linux applications on Windows. The new WSL (WSL 2) doesn't do any of that, instead, it is a highly optimised Virtual Machine.
So don't get me wrong from a performance point of view there is no Issue, RAM and CPU usage is truly astonishingly small and performance of Linux applications is much improved over WSL 1.
BUT, apparently, accessing files stored on Windows through Linux is now piss slow.
Great, truly outstanding.
Why is this a problem? Well, I use WSL to develop c++ Linux applications using CLion, the way this works is that you set up an ssh server in WSL, which CLion uses to do compilations.
One _needs_ to have the project files stored on Windows as otherwise CLion on Windows can't access them.
If I wanted a Linux VM I would have installed one.
Urgh.13 -
Me, trying to access an old mysql database on a Linux server, the root user gets rejected. Out of frustration I delete mysql entirely and try to start again.
I was not using sudo to access the root user...
In the bright side, the deleted mysql version was actually an old one, the database is actually fine.1 -
I have a Server with the IP address
x.x.233.61
For clarification, this is the public IP, it does not start with 192 or 172 or whatever local IP.
When I pinged 8.8.8.8 it said
From x.x.1.1: Destination Net Unreachable
After asking my Hoster what this IP address was, he said it would be the router.
In a traceroute to 8.8.8.8 this IP never appears.
Since these ping problems are now fixed, this IP never appears anywhere. If it really is the Server racks router, is there any way to get that IP in Linux?4 -
What's the best Linux distribution for servers? I don't want an UI and that fancy stuff. I just want a 1337 hax0r console.10
-
finishing existing projects, resurrecting abandoned projects with dev friends from uni (where we had actual customers calling us and saying they wanna pay us, but we are idiots and couldn't come up with effective pricing)
meanwhile learn proper JS (and node.js, also getting from noob to pro in vue.js/vuex and react/redux)
also getting better in linux server management -
How much ram do you generally need in a Linux server? I'm already using 70% out of 2GB on my LAMP stack, and I'm planning to deploy my website prototype to show off in interviews next year. Is 8-16GB of EEC RAM a better option for future proofing? The only thing holding me back is I don't plan to make money on this server in the immediate future so I'm trying to weigh the pros and cons. 🤔
This CentOS server runs on CLI only so the GUI isn't a factor. Eventually I'll have it host Java Spring API's which will easily take up what RAM I have left. On top of that I have 10 db on mySQL so that's another likely culprit.7 -
Not a rant more like a question
Hello devRant,
I am currently planning to purchase a small home server + media client (with Kodi).
A small Linux Distro running the Hometheateroftware Kodi will run on the media clients (Odroid C2). The control is then over an app over the local network. The database of Kodi should be on the server in the form of a MySQL database. The movies, pictures, music are also streamed by the server (max. 2 simultaneously) via SMB (simplest variant). In addition, the server is to be accessible to the outside via a web interface to act as a cloud (maybe nextcloud). The whole should be optimized for stability and longevity. In addition, a small GitLab CE instance will probably run on the server. Do you have any comments or objections? The fact that I only take 2x ne 2 TB hard drive has the simple reason that I currently have no need for more space. Sometimes it happens to me that I forget completely obvious things :D -
I'm running unintuitive server on a Mac mini for home Dev type stuff and it's running warm but quick. Has two virtual containers innit as well - admittedly I'm not banging it hard but seems fine.
Would be interested in other views is Linux server as on Linode Ubuntu seems to be standard1 -
Anyone have any recommendations on an open source security/malware scanner to run at server level for the OS and web server files on Linux?2
-
! rant, I hope😗
To anybody with MySQL/Mariadb experience, how different are these two as I need to pick one for a database application I'm building.
Also, and God will I sound like an amature for asking, is it best practice to debug and deploy the SQL database on an actual hosted server or to just do it on the client PC? I have both and I want to work with whichever one will give me less of a headache.😣
Any feedback would be helpful! The server is Debian and the client is Arch Linux.8 -
While planning my (personal) server I just seem to pile up more and more things to do/consider. Basically, for now I just want to have rclone, nextcloud and jellyfin, plus some usenet stuff later on. But I want to have the whole installation and configuration automated as far as possible, since I'll at first it will run in a test environment and needs to be migrated to another server at a point, possibly even another OS. So I suppose that means docker, docker-compose and Chef (any better options?). I want SSL: Traefik. User management / auth? RADIUS, LDAP. SSO? keycloak. I also need to deal with virtual hosts. And probably much more..
Since I just have basic Linux knowledge and have no real experience with any of the other technologies, I feel a bit lost. I just got to the abovementioned software due to some ddg research. I don't mind digging deep, I want to learn (which is half the reason for this project), but it's not easy to the the best way to set this up.11 -
Why am i just now looking into linux containers?! Would have made life so much easier and kept my server less messy and shit!
Anyone can tell me the pros and cons of docker, rkt from coreOS, and LXC? -
Can i get some stats? Currently running windhoos, definitely gonna swap to linux but still not sure what distro, my server runs debian 8 and console wise its quite neat. Whats your favorite distro and why?1
-
Linux noob... just accidentally made myself (not root) owner on all files. seemed fine for a while, but I couldn't sudo or even ssh. had to rollback my server nearly a month to fix it 😭
-
I have no idea how to make custom images so i keep a txt file for “apt-get install“ or “yum install“
-
Ranters, I need help
Does anyone know how can I run something as a systemd service and still have access to the "console" - the input and output of the program, when I need it?
(It is a minecraft forge server and there are multiple people managing the physical server and one of them managed to corrupt the map yesterday by rebooting the machine without stopping the minecraft server... so there comes the need for a service so it can shut down before the machine reboots... but I also need the access to the console of said minecraft server because sometimes when some modded items are misbehaving the rcon will stop responding while the console still works)
Edit: currently I am running the minecraft server in a detached screen (ddg "screen linux" if you don't know what I am talking about)5 -
Gonna set up a linux server for educational purposes (VM), which distro would be fitting?
(thinking about Arch actually (have a couple of years experience with Ubuntu))3 -
Hello ranters,
i am following a job postulation but they required ISS and Windows server as a must-to-know, do you have a good book or a good website to learn all those tools (i love linux, but you know, you need to adapt to every situation)..9 -
When i want to install something on my laptop but realise I'm in a ssh session on my server.
Found a annoying thing about linux, probably the first in the world.. -
I'm having this strange problem I cannot figure out:
2 Linux servers with docker
one of them acts as docker registry, the other either pull or push to that registry.
Pull works without issues.
Push: pushes to itself, the server is not pushing to docker registry even though the container is tagged with registry ip:port/name
Anyone has a clue, SO not being helpful on this :\4 -
The moment when I stay overnight at office to finish installation and deployment of several applications in the Linux server.
At noon, project leader said, we should use Windows server. And then I officially completed a full day entertaining the demand.
I'm glad I love my jobs.2 -
Looking at server rentals prices.
Windows ones are, as a rule, about 2x more expensive than linux ones.
Which made me realize the reason why it's usually the more crap tech that wins and spreads:
because usually the more crap tech is free.
We're a bunch of cheapskates willing to impose shit tech on ourselves in the name of saving a few bucks.
In other news, there's no news today.5 -
Does any one know how to install ffmpeg for php on server
On window or Linux server? I want to use ffmpeg for merging the sound on server.4 -
I wanna know who use xenserver and why??
Currently am using xenserver 6.5 in a production environment and today i start to test xenserver 7.1 -
My remote server and local machine both run Linux and I'm logged in with similarly formed user names. All I had to do was reboot my local machine and I ended up shooting across a `sudo reboot` on my SSH window! 🤯5
-
"I need this server account to have sumo and ssh access for the install of this software"
but if that software requires sudo, who not run it as your login account? and instead of ssh access, why not sudo over to the service account?
God I hate when people don't understand how Linux works... -
I want to automatically backup all my local files to the cloud that have been copied onto my Linux server a week or longer ago. How do I do that? My idea is that if something goes wrong locally I have a week to restore from the cloud.5
-
So my gaming card start to be Old.
Radeon 6800 XT.
But it feets perfectly them Llama 3.1 8B model. Like like a glove.
I have a linux server whicj now has nvidia card ( GTX 1070 or somethiong. Old). I'm scared that if I change the card server will not even boot lol.9 -
Even if i normally don't belive thoose things, since i heard from the devil i cannot execute chmod 666...
-
Having problems with getting user's IP address with PHP.
So basically I made a custom DDoS protection for my linux server.
It works like this: php website gathers visitor IP address when he does a certain action (in this case registers an account). All visitor ips are stored in ips.txt securely on my website ftp.
Then my linux server has iptables rules setup in a way where it blocks all traffic except my website traffic.
On linux server I have a cron job which pulls whitelisted ips every 5 minutes from my php website FTP and then whitelists all IP's in iptables.
That way only visitor IP's (of those who registered account in my website) are being whitelisted in my linux server.
In case of a DDoS attack, all traffic is dropped except for the whitelisted visitor's IP's gathered from website ips.txt
Now I'm having a problem. My PHP script is not accurate. Some visitors in my website are not being whitelisted because they might have a different ipv4 ip address than what is given from php website. So basically I am looking for some php script/library that would gather ALL ipv4 ips from a visitor, then whitelist them.
Also regarding ipv6, my iptables are all default (which means that all ipv6 visitor traffic is allowed) so problem is not with visitors that have ipv6. Problem is with my script not getting ALL ipv4 ip addresses assigned to the user.
Can you recommend me some php library for that? So far I've used https://github.com/marufhasan1/... but apparently it's not accurate enough.16 -
Windows or Linux?
It's a simple choice.
Window for personal computer (I wanna use visual studio and win apps and sometimes play games)
Linux for server (a 500m RAM Linux work better than 4g RAM window)14 -
What are types of load issues occurs in a Linux (Cent os) server and it is troubleshooting methods???15
-
What are the benefits of windows server 2012 over linux? I received a CD & key for free, but I can't decide if I should play around with it for a learning experience or gift it to someone who could actually use/need it for their work.3
-
I often have to use files on Linux, Mac OS and Windows. I've had multiple issues trying to swap files across the platforms. Is there a solution I can use to replace USB storage? A dedicated server or something?2
-
Microsoft server licensing - so complex that it's probably easier to add Postgres support to my app and run the database server on Linux instead, than to try to make sense of MS license rules.
-
DEBATE:
where do you deploy your web applications (node/rails/etc) on a linux server?
/srv -
/opt -
/var -
/usr/local -7 -
Hello folks, have a question, I can't decide if I should install windows 7 (super stable Windows btw) or a Linux distribution (debian or Ubuntu 14), I've always been a Windows guy and was thinking of switching to Linux on my new free dos laptop and wanted to have a hand on Linux, but please I don't want that Windows/Linux fight I just need real advice. Some friends told me to get Windows 7 and a VM Linux just for practice, I also thought about having a dual boot Windows Linux server , I think it would be the best config for me.. so..?3
-
Hey, anyone have experience with email with encryption?
I need to setup TLS for emails for all devices on premises. The printer and other devices does not support TLS.
I'm thinking i could use local exchange server that forwards to our office 365, as we use outlook for the domain. But i would rather use some linux solution.
We have multiple ip's we might send from.1 -
So I'm about to set up a server for websites and my past experience comes with Linux running Apache. I'm wondering however what you guys would recommend for system and engine (if URL forwarding is included like in Apache that's preferable). I want it to be able to run PHP or similar since I'm looking to create my own CMS (or run C++ if anyone got any good tutorials on how to use that for web development).
Thank you! 😃1 -
I need to run wordpress on a Windows server or Windows 10 to be used for a medium sized WooCommerce site for a reason I don't want to state. What is the best way to do this. My best options seem to be :-
Using IIS
Docker with caddy
Linux vm with or without docker9 -
What are 3 problems that may occur if the agent application nydus ex and ex-api porte 2224 is down on a vps? Apart from metric issues and task completion issues.
-
In your guys' opinion, what's the best services to run/hosting use of a Linux server? 🤔 I'm thinking of standing one up to tinker with but I want some useful functionality in mind before I pull the trigger.2
-
So though I SORT of understand this when you're talking a server for example, one 'feature' of linux I really don't like is when a bogus entry in fstab causes the whole machine to boot into emergency mode without so much as an error message !
-
!rant
So, why is everybody's answer for a windows based git server bit bucket, but Linux does it naturally? -
need ideas to create an app that runs linux commands on a server from a web page.
i have tried sshxcute lib of java to do the same .it works
any other ideas7