Jump to content
xisto Community

yordan

Administrators
  • Content Count

    4,987
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by yordan

  1. If you really felt this, something is wrong somewhere. Ubuntu is one of the more complicated Linux distros. Most of competitors have distros which install very easily, really straightforward : you instert the installation CD, you power on your system, and you click "yes" each time a question is asked. Of course, one of these questions is something like "I will install everything from scratch, all your data will be lost, do you agree", if you say "yes" you must have previously performed a backup of all your valuable files. Seem complicated, but it isn't. Virtualization is the major trend in the today IS business. You have to learn it, it's a necessary step in your future job if you want to play in the computer world. Today most of computers are somehow oversized, and have more power than necessary for a single user, or a single "application" like a web service. So, the trend is to install several servers inside a single computer. Each of them is named "virtual" because they share the same hardware, but each one of them acts as a single computer, having it's CD, Ethernet adapter, keyboard, display. Today, a guy who wants to learn Linux and needs Microsoft Windows for learning purposes needs two separate computers. He can play with dual-boot things, but this will allow a single computer at a time, no way to learn how to share filesystems between Linux and Windows. In the virtualized world, you install for instance VirtualBox, and you have several computers inside your box. So, you can see the difference between a Ubuntu Server and a RedHat server. Each virtual machine will behave as a separate physical machine, and you can learn two things on the same computer, and see if the Ubuntu documentation explains better than the RedHat documents And, obviously, in it's tutorial, the guy you are talking about supposes that you already did the standard things, meaning that you have a computer already physically connected to the internet with a tested uplink, so when you will install everything from scratch if you type "yum update" the computer will be able by itself to connect to the network, and go to the update fileservers and get the updated software. I love this kind of topics, because, 1. First of all, you can forget all the virtualbox things, continue reading and following the step-by-step instructions for installing a standalone machine. 2. If you don't have money enough and you cannot buy a second and a third computer for tests purposes, follow the instructions for installing virtualbox and then continue the tutorial and have a second system inside the same box and have two operating systems. For instance having a Ubuntu server inside your Windows client machine, and start doing client/server things for accessing, inside your php on your Windows machine querying a distributed database, the data which are hosted on the central server.
  2. yordan

    Development

    I confirm, you used huge letters.
  3. OK, why not. Please go on, post a couple of topics concerning the latest develepments in computer science. Please tell us about the current and the next devices. Please explain us why a 4-cpu tablets, when used for gaming, is more comfortable than the 2-cpu gaming tablets. Please tell us if the intensive use of the cloud facilities will blow out the available bandwidth on the antennas and the network infastructures. Please explain us how to to create a steam machine the interesting way, starting with a cheap PC and adding only the necessary devices. And of course, all of us know that the tablets will disapear very soon, each of us will have virtual reality glasses giving a standardly giant display instead of the small 10-inch or 14-inch tablets. And no need of huring my fingers while pressing too intensively my tablet, simply thinking will interact with my computer, which will not be a silicon one, of course, all organic in order to have it flexible and naturally waterproof. Please tell us a little bit about the future of the databases, what should we do when all the reliable free relational database engines start being available, having to be purchased from the single ones on the market? And what about the big data system being able to learn your behaviour and see what you are thinking? Please post about all these kind of topics, give us technical facts, give us reproducible step-by-step tutorials, and let's confirm that a lot of people will rush reading and commenting your topis.
  4. yordan

    Development

    Ouch! Are you using really huge letters, or do my glasses have problems?
  5. OK, this distro is for 64-bits system. That does not mean that you need a 64-bit system if you want to install a linux server. Only if you want th server version of Ubuntu 14.04 LTS
  6. Sorry, fila, I cannot accept this statement. Most of standard Linux distros have a 32-bit and a 64-bit version, I'm pretty sure that ubuntu has a 32-bit release. 32-bit or 64-bit choice depends of your hadware, 32-bit OS can run on 64-bit systems, and 32-bit hardwares cannot take benefit of the huge memory 64-bit access features. Also, "server" is a bad way to name your thing. If your hardware hosts an Oracle database, your computer is an Oracle database server. If your hardware has an apache service started, your computer is a web server. When you boot your computer on the installation media (a DVD or a USB flashdisk), you are prompted for the stand features you want to install (a standalone system, a web server, a thin client, or a custom install). And at any time you can add features to your installation, when you add server services your system moves to the server state. We have serveral tutos around here in the Xisto forums explaining how to install some linux systems, and the features people like or not. Regards Yordan
  7. Maybe an additional reason, is the fact that we want to keep a high technical level in the topics posted here. For instance, in standard working conditions, your topic would not be accepted here, because it's in the "computer talk" forum and you are not talking about computers, so you are off-topic.
  8. "myCENTS" is what your current work gave. It increases each time you write something inside a post. It's max value is 99 myCENTS, when it reaches 100 it's converted to $1. "myEarnings" is the total earnings you made, for all the posts you wrote. This is the great total. If you want to know the current balance of your account (after you pad some services for instance) go and see your account, in your own Xisto account, here https://support.xisto.com/index.php
  9. yordan

    Types Of Sql

    Reading books is of course a great idea. However, you should not mix the problems. First of all, in order to have a website, you you need to have something you want to tell us. Then, you should think how you want to express yourself. A lot of website providers have simple tools allowing you to express what you want to say, with simple ways of inserting a text, a background and some pictures. If you want to do something else, or if you want to master what you will show in static pages, you have to learn html. If the pages are not static, if you want something to change dynamically, by means of an interactive program, you will have to learn a programming language, php is an acceptable choice. If you want to insert data, you will need a way of storing, manipulating a querying data, you will need a database system. A Relational database management system (RDBMS) engine is a good choice. In order to query the database, an query language will be needed. SQL is probably the best choice today. MySql is a very popular database environment, it's not the only one, maybe you should consider several choices before choosing your own system. Fortunately, the SQL syntax is rather universal and if you master one SQL system you will be able to easily switch to the next one, for instance Oracle or Postgre. So, you see, quite a long way in front of you if you stick on the idea of doying everything all by yourself. Fortunately, there are a lot of alternative ways of reaching your goals, using some ready-made envirenments like DreamWeaver or something else.
  10. I guess that there are a lot of websites we never heard about.
  11. Seems rather self-explanatory : you are pointing to a file on a drive which is not the one accessed by IIS8?
  12. I guess that you need to have an unlimited web access for that? It will probably not work very well if you have a slow or limited or no internet access in the place where you are using your phone?
  13. Do you mean that this problem is still not solved? This is a very old post, I expect the problem having found a solution since a long time
  14. Aren't you supposed to do the test by yourself?
  15. Here is a nice comparison between the virtualization techniques available today, have a look : http://virtualization.softwareinsider.com/saved_compare/Xen-vs-KVM-vs-VirtualBox-Comparison-of-Open-Source-Virtualization-Software I think that you have to know how KVM works, because it's the open-source environment. You have to test it before buying the commercial versions, in order to enjoy the differences.
  16. Usually the server has to be installed, starting the server services. I love this small tools which needs no installation and disapears as soon as you don't need it.
  17. This is a filezilla portable client version. There is no filezilla portable Server version. I needed a portable server, in order to make some files reachable from client pc's.
  18. Today we will learn how to configure a hardware server hosting several virtual machines. Why should we learn how to manage virtual machines? Because virtualization is the leading architecture in today’s computing world. In standalone machines, unused cpu power is a waste of money. Virtualization allows us creating several machines, several database servers, web servers, application servers, Linux servers as well as Windows servers, all of them in the same physical box, but fully independent from each other. The physical cpu power is shared between the servers as you decide it. For maintenance purposes also, it’s the ideal case. You create several web servers, and you are able to power down one while the other one continues working. Several virtualization environments are available today. Here I will talk about KVM installation on CentOS. We will learn how to install The server hosting the partitions. The administration workstation which will create and manage the partitions. Why should we create two servers? Because in a real world, if you are the system administrator, you will have to administrate several servers from a single administration point – your own laptop in your office. Each time you will add a server, you install only the server, the administration client is installed only once, until you break it or overuse it. The server needs only cpu power and a lot of fast disks and Ethernet power. No graphics needed because in a real datacentre, the console will be used only once and then removed in order to save place and electrical power. The administration workstation does not need a lot of cpu power (because you don’t type so fast…) but it needs a reasonable graphic adapter because you love clicking icons. Of course, the client and the server can be installed on the same hardware, but in the present document I will discuss separately the server part (without graphics but with server software) and the administration workstation (with graphics and with client software). Both will be installed from the same CentOS DVD. Installing the Centos KVM serverAs usually, boot on the install DVD. When you see the first screen, click “install or upgrade” You will see the CentOs Screen (figure A1) press next. Choose your language (figure a2 I choose English of course) Choose your keyboard, chose the way you use your disks (basic storage, no SAN nor NAS), then “Discard any Data”, choose your hostname, your location, choose the root password, “use all space” on the disk, you will see the file system creation confirmation. And now comes the real interesting part, choosing the software to be installed. We are going to install a virtualization server, so we choose “Virtual host” (see figure a3 below) We don’t need any more software for a virtualization server. Howerver, if you hate Linux command lines, or if you feel lazy, you could also have considered adding graphics, and so one. See figure a6 below. That’s all, the installation process starts, figure a4 Let’s have a coffee until the installation ends. In the meanwhile you will see information displayed, like “installing libvirt” or “installing yum”. Which is a good thing, because we will use libvirt, of course, and we will probably want to update it using yum. At the end you see the “congrats please reboot” screen. Installing the CentOS administration clientBoot on the CentOs installation DVD. You will see the Centos6 splash screen. Accept the default option “Install or upgrade an existing system”(figure B1) Skip the “testing the media option”, except if you don’t trust your install DVD. For instance you could check your media once, and for the next installs you skip the test. (figure B2) You could eventually experience problems with the graphic adapters. (fig B3) If you have this kind of problems with your graphic adapters, don’t panic. Simply reboot your virtual system, and on the splash screen, instead of choosing the default “install”, hit the “escape” key. You will see the “boot:” prompt, type the words “linux vnc" (figure b4) You will see the system booting, activating the Ethernet adapter, and telling you to manually connect your vnc client to the IP address where a vnc server is listening (figure B5) Open the vnc client and continue the graphic installation. As usual, choose the language, keyboard , city (figure b6) As usual, give the root password, and allow formatting the filesystems on disk. At the software selection screen choose “Minimal Desktop” (figure b7) The installation will start, you will see a lot of sentences “installing blah-blah”, like the one shown below (figure b8) then will come the final message “Congratulations, your CentOS installation is complete, please reboot” After reboot, connect to your system, and start a command-line console. Type yum install libvirt virt-manager This will install a lot of rpm’s, the ones needed by libvirt. Then, type the following commands in order configure the libvirtd starting, and start it now. [root@kvmcli2 ~]# chkconfig --level 3 libvirtd on[root@kvmcli2 ~]# chkconfig --level 5 libvirtd on[root@kvmcli2 ~]# service libvirtd startStarting libvirtd daemon: [ OK ][root@kvmcli2 ~]# We could also update our system now, Type the following : yum update You will see : Transaction Summary================================================================================Install 1 Package(s)Upgrade 111 Package(s)Total download size: 235 MIs this ok [y/N]: yDownloading Packages: Now we are ready to start the virtual manager graphic environment. Click Applications à System Tools à Virtual Machine Manager (see figure B9 here below) Simply ignore the warning “The following packages are not installed: qemu-kvm”, we don’t really need them for our current purpose, so answer “no” to the question “would you like to install them”. Now you see the Virtual Machine Manager screen (figure b10 below) Ignore the error message concerning the default hypervisor, we are going to create it now Click File à Add Connection As shown on the screenshot (figure b11), Hypervisor QEMU/KVM Method : SSh Username : root Hostname : the name or the IP address of the server system. You will see the usual question “are you sure you want to continue connecting?” (figure b12) When prompted, enter the root password, and you will see “123.456.789.101 (QEMU) – Connecting” And now you are ready. Your Virtual Machine Manager is connected, and you can see the existing virtual machine, my first machine is shutoff and is named “windows” Having a working server and a virtual machine manager available and connected, we are able to create our first partition. Create a new partition.Right-click on the virtualization server (on the QEMU word) and chose “new” Step 1of5 is giving the virtual partition name, I name mine “mycentos” figure b14. I want to install from my centos DVD, so for step 2 I click “use CDROM or DVD”, see figure b15 Click “Forward”, fill the cpu, memory and disk size assignments, and as soon as all the creation steps are finished you see the virtual machine booting on the CentOS bootdisk. The CentOS installation is a standard one, exactly as a real system. Complete the keyboard, language and other usual settings, and you have a fully usable partition. You can see my two partitions (fig b17) here, and you can see that the “mycentos” partition is using 100% of the allowed cpu. You are ready to enjoy your virtual server. Probably your first steps will be checking the Ethernet settings, configure the Remote Desktop settings, and connect from your office PC! You will be able to see that it behaves exactly as a standard standalone system. If you see a message saying like “KVM is not available” (fig. b16) In order to see if the kernel modules are loaded, type the following : $ cat /proc/cpuinfo |grep -E "vmx|svm"flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpidflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid If you see something, this means that the the kernel modules have been loaded. Then, check that the virtualization extensions are available in the bios. If you cannot activate them, this means that you did not buy the ideal hardware for that purpose. You will still be able to learn how to install and configure virtual partitions, simply each action will seem teeeerribly looooong And now, what comes next?Now you have learned how to install a virtualization server hosting several virtual machines, using CentOS Linux, the free Community Enterprise Operating System. For a commercial use, your company will probably prefer purchasing a commercial Linux distro, with a fully efficient customer service and on-field support. Then, simply re-install your test systems with the RedHat version, and learn the differences between the free and the commercial Linux systems!
  19. Precisely. Working on a friend's PC and wanting to keep it unmodified. When a fried has a problem on his PC, I try to repair it without modifying it to much. Adding extra software installations will make the problem even more complicated instead of repairing it.
  20. Filezilla has to be installed. It writes things in the Windows Registry. When you don't want it any more, you have to uninstall it, hoping that this will leave the registry clean. babiftp doesn't have to be installed, you unpzip the file, run it, and when you finish you remove it and the system is left clean. It's the ideal way for a temporary need.
  21. I often want do add some files on a friend's computer, and and don't want to mmodify his operationg system. For instance, on Microsoft Windows systems I don't want to add a user, or add a software or share a folder. But I would like to add some files I have on my PC, on my tablet or on my android phone, without having to first transfer them on a removable media. Then I found babyftp, I found it very nice, small and useful. You get it from here : http://www.pablosoftwaresolutions.com/html/baby_ftp_server.html It's a standalone software, you put it somewhere on your friend's PC, when you don't want it any more you simply remove the folder. You start it, change the home directory (I wanted c:\brol ) and you can connect as an anonymous user ( username anonymous, choose your password). You see a full real time log, look at that : On my system, I saw the user named "anonymous" with the password "brol" connecting from the android phone, and put the "yordan.docx" text. It's probably very dangerous, having an anonymous connection allowed. However, it's for a very short time, as soon as I finish putting/getting my files I check that nobody else did something else, and I stop the server and remove the software. What do you think about that? How are you working in that situation, temporary needing some files? Regards Yordan
  22. Why? As far as I remember, you simply have to open avi, select a part, copy, new, paste?
  23. For web browsing purposes, a web-based OS could be useful. And of course Linux is probably the best (and free) solution for a standalone system, which may from time to time connect to the internet. I love the android way, which makes your tablet being a standalone computer when you are far from home, and a connected computer when you can reach a wifi access
  24. I love reading, mainly novels, or Sci-Fi. Unfortunately, not enough time for that.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.