-
Posts
58 -
Joined
-
Last visited
Content Type
Forums
Status Updates
Blogs
Events
Gallery
Downloads
Store Home
Everything posted by kompetenzbolzen
-
Just getting into servers - help
kompetenzbolzen replied to william444555's topic in Servers, NAS, and Home Lab
What does it say when it starts up? Did you get into the bios? I've seen some servers disable USB boot by default. I presume it has some sort of RAID controller for the harddrives, so you would have to configure that first before it could even see a drive. -
for minecraft, you want as high a CPU clock as you can get, since it's not multithreaded. So go for a moderately new Ryzen or intel core. If it can run minecraft, transcoding shouldn't be a problem.
-
Good learning material for interacting with X11 in C++
kompetenzbolzen replied to Nineballo's topic in Programming
https://xcb.freedesktop.org/ There also is another implementation of the X protocol in C. supposedly easier -
Good learning material for interacting with X11 in C++
kompetenzbolzen replied to Nineballo's topic in Programming
https://www.x.org/releases/current/doc/libX11/libX11/libX11.html Also what might help is finding a simple window manager and looking at the code -
exactly. Might be good as a learning platform tho if you don't mind the noise and power consumption.
-
You could probably stilll access the freenas webui from those two computers, but freenas won't have internet, so no updates etc.
-
Probably not. That controller is normally completely seperate. Sometimes it works the other way round tho, so you can use the IPMI on the normal LAN as well.
-
Depends on CPU & RAM installed. Not much tho, this thing is old and powerhungry. Take a look on ebay now ur just using me as a search engine Google is your friend.
-
Yes you can. As I said, servers are just fancy PCs
-
Power Supply unit. This server has two for redundancy, but probably only needs one to run
-
Have you tried just waiting a few minutes? My HP servers have the habit of taking a good minute or two before anything shows up. Also you could try getting the ILO (integrated Lights Out management) to work. plug in the port with the wrench next to it and check if it shows up on your network, then navigate there with a web browser and type in the credentials printed on that card on the back Edit: If you have only one PSU plugged in, that's why it's flashing red
-
HP ProLiant ML370 G5 ? https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c00715135
-
This looks like an HP, socket lga773 probably. maybe around 2008ish Servers are just fancy computers. put it together, plug it in and hit the button and see what it says on the screen. They take very long to POST tho so be patient
-
Switching from Windows To Linux
kompetenzbolzen replied to MartinIAm's topic in Linux, macOS and Everything Not-Windows
Linux isn't windows. sounds straight forward, but for me that took a while to really understand. Everything, except the graphical part, is fundamentally different and stuff you might regard as normal are actually windows specific. Installing programs is probably the most prominent example, but there is much more subtle stuff. I am much more productive in linux, but that only works if you use linux as it is "intended", not as a thing that replaces windows. And of course that depends on what you are doing. Software development is much more streamlined imo, but there might be use cases where that isn't the case. -
honestly, I think it's a good move. ARM is way more power efficient and can be really good performance wise. Software compat is the one thing they have to get working, but windows managed, so i think they'll be fine. I think Linus Torvalds once said, that the only thing that is holding ARM back in conquering Desktop is the availability of affordable powerful workstations. I would really welcome to see more ARM on the Desktop
-
How do I compile Linux from sources to make a command line?
kompetenzbolzen replied to AndrewCam100's topic in Programming
for the linux source, look at kernel.org. though, what you are thinking about is probably a bit more complicated. Linux itself does not do much, if anything. you need a lot of extra tooling, usually provided by the GNU project (GNU/Linux). Look at this video to get an idea how linux works under the hood Edit: If you just want to change your "command line", you can just specify python as the default shell for a user with usermod -s /usr/bin/python user -
"just work" is what pfsense always did for me, especially since it normally auto-configures an anti-lockout on the LAN interface. Could you provide a bit more info?
-
Yes not using string functions is always better. since you know the length from recv() or at least know your buffer length, there is no need to rely on potentially dangerous functions. The String is only terminated because the data from the socket is. If your buffer is smaller than the data available, your buffer won't be terminated, as seen here: char *buff = malloc(3); int fd = open("test.txt", O_RDONLY); //test.txt has more than 3B of data in it read (fd, buff, 3); for(int i = 0; i < 3; i++) printf("%x ", buff[i]); free(buff); This outputs only 3 chars and no null termination.
-
Also i believe recv() returns the number of read bytes. pass that. Please don't use strlen. I beg you. You're just asking for trouble...
-
foo(char* bar, int barlen); or use strlen() to determine the lenght of a string you are absolutely sure is correctly terminated. Do that only of you can't do it any other way.