NTLDR hatası, eksik, bozuk

Bu hata birçok sebepten dolayi olmus olabilir.

Boot alaninda bozukluklar
Isletim sistemin dosyalarindaki önemli sorunlar
Sabit disk kablolarindaki sorunlar
Yeni bir sabit disk eklenmesi sirasinda olasabilecek problemler
Bilgisayari önyüklenebilir olmayan bir kaynaktan boot etmek.
Hatali ya da yanlis Boot.ini dosyasi.
Boot edilecek sabit diskin bios ayarlarinda düzgün kurulmamasi ile ilgili sorunlar

Windows 7 ya da vista sürümli bir isletim sistemi kullaniyorsaniz. Isletim sistemi Dvd’sini sürücüye takin ve bilgisayarinizi dvd’den basltin. Onarma bölümünde komut satirini seçin. Burada Bootrec komutunu kullanacagiz.

Bootrec /Fixmbr komutu ile yeni bir Master Boot Record (MBR) olusturabilirsiniz.

Bootrec / Fixboot komut ve parametresi yeni bir önyükleme alani olusturur. Bu seçenegi bozulmus bir önyükleme alaniniz varsa ve NTLDR hatasini aliyorsaniz kullanabilrsiniz.

Bootrec / Scanost ile tüm önyükleme alanalrini tarayabilirsiniz.

Bootrec /RebuildBcd ile Bcd’yi yeniden olusturmak gerekiyorsa kullanabilirsiniz.

Windows Xp kullaniyorsaniz isletim sistemi cd’si ile bilgisayariniz baslatin. R tusu ile Onarmayi seçin. Komut satirinda chkdsk/r komutunu kullanin.

best pdf reader for ubuntu

Evince is the default PDF viewer in most GNOME-based Linux distributions, so if you don’t want to install all those KDE dependencies, Evince is probably your next choice. It’s lightweight, simple, and easy to use, though it doesn’t have too many advanced features. You can rotate PDFs, add bookmarks, and change the sidebar’s view mode, but other than that, you don’t have much. If all you’re doing is reading the occasional PDF, it’s great, but you won’t find any annotation features here.

Adobe Reader has a Linux version available, and as always, we don’t recommend it as your go-to reader. That said, it’s still the standard, which means if you ever have compatibility issues in something like Okular or Evince, Adobe Reader will probably handle it just fine. You don’t need to install it now, just know that if you ever have problems, it’s worth keeping in mind.

Lastly, it’s worth noting that lots of Windows PDF apps work great under WINE, including PDF X-ChangeFoxit, and Sumatra. So, while they won’t look fantastic under Linux, they’re great if you need some more advanced reading and editing tools, since most Linux apps are a bit lacking.

These aren’t the only PDF viewers for Linux, but they are, in our opinion, the best. If you’ve got a favorite we didn’t mention, let us know about it in the comments.

Ubuntu Performance Tuning

The overall performance of Ubuntu Linux is fine but to further tune the following can be done :

1. If you are not using IPv6 it can be disabled as follows:

In /etc/modprobe.d/aliases change the line alias net-pf-10 ipv6 into alias net-pf-10 off #ipv6.

2. Start daemon/processes in parallel

Change /etc/init.d/rc from CONCURRENCY=none in CONCURRENCY=shell

3. Add your hostname in the host file (default on hardy & intrepid). If you add your host name to the /etc/hosts file some apps will start quicker. e.g. 127.0.1.1 myhostname

4. Install preload. Startup times on apps. can be further improved by installing preload (apt-get install preload)

5. Decrease Swappiness setting

If you got plenty of ram (>1GB) you can decrease the use of the swap file by changing the vm.swappiness sysctl entry from 60 to 10. If you like to further reduce swapfile usage you can set this value to 0* which will not disable swapfile usage but will reduce it to the absolute minimum. To change the sysctl entry *sysctl vm.swappiness=10 can be used, to let this setting survive a reboot vm.swapiness=10 can be added to the /etc/sysctl.conf file.

I’ve found that the value of 5 works very good for my use and I have 2 GB of memory.

6. Use the profile option of grub to reduce startup time.

Hit the escape button when booting to get to the grub menu, select the default kernel and select edit, add the profile option to the end of the kernel line and boot your system.

8. Disable unused services.

9. Use the noatime mount option to disable updating the access time on files.

If you have additional tips I’m more then willing to test/add them to this list.

Setting Up a MySQL User

Setting Up a MySQL User

Our application requires to access the MySQL database. For security reasons, we do not want this user to be the root MySQL user, so we define a user named www-data that has read access to the local databases and can only connect locally with some password.

  • First we need to connect to the MySQL monitor using the default password we specified earlier:

  • Then we can create our user and exit the MySQL monitor:

Postfix Configuration Files and descriptions

Postfix Configuration Files
The Ubuntu Postfix mail server uses three configuration files, all of which are installed in the
directory /etc/postfix:
dynamicmaps.cf:
Identifies additional capabilities to be loaded at run time based on
the type of operation that is being performed.
main.cf:
Contains configuration information for Postfix that is used during message
processing.
master.cf:
Contains parameters used when the Postfix master program runs other
programs from /usr/lib/postfix.
Postfix can also use standard mailer configuration files such as /etc/aliases (which allows
e‐mail addressed to one user to be automatically delivered to another), but this is not a Postfix-
specific configuration file.
The main.cf configuration file is the only Postfix configuration file that most users will ever
have to modify. As installed on an Ubuntu system, the main.cf configuration file for a system
following the Internet site model looks like the following (I’ve removed some irrelevant com‐
ments and white space):

 

In order, these configuration variables do the following:
myorigin:
An option for Debian and derivative distributions (such as Ubuntu) that
enables you to use the first line of the text file /etc/mailname as the name of the
mailer. This is actually set later in the default file.
smtpd_banner:
Sets the value of the banner that is displayed when an SMTP connec‐
tion is established. In this case, the banner is constructed by using the value of other
variables set in the configuration file.
biff:
Determines whether the local e‐mail notification service (biff) should be used
for each user with new mail each time Postfix processes the incoming mail queue. In
this case, it is disabled because biff notifications can cause a performance drain, and
are relevant only on the machine that houses the mail files. Users who use local mail
files can enable this for themselves.
append_dot_mydomain:
Determines whether Postfix should append a domain name
to mail sent to user@host. Nowadays, this is usually handled by the MUA, so this is
disabled.
delay_warning_time:
Uncommenting this parameter would specify the period of
time after which users would be notified if mail that they had sent had not yet been
delivered. After all, the remote site could be using Microsoft Exchange, and might be
down.
smtpd_tls_cert_file:
Identifies the full pathname of the file on this system that
holds the certificate used by this machine when sending messages using TLS (Transport
Layer Security).
smtpd_tls_key_file:
Identifies the full pathname of the file on this system that
holds the RSA private key for the Postfix SMTP client when sending messages using TLS
(Transport Layer Security).
smtpd_use_tls:
Determines whether this Postfix server should use TLS when a
remote SMTP server announces STARTTLS support. If the remote server does not
announce STARTTLS support, the message is sent in the clear.
1045
Part III: Ubuntu for System Administrators
smtpd_tls_session_cache_database:
Identifies the organization and location of
the SMTP server TLS session cache used by the tlsmgr daemon.
smtp_tls_session_cache_database:
Identifies the organization and location of the
SMTP client TLS session cache used by the tlsmgr daemon.
myhostname:
Identifies the actual Internet hostname of this system. By default, this
value is the value returned by gethostname().
alias_maps:
Identifies the organization and full pathname of the aliases file used for
local mail delivery.
alias_database:
Identifies the organization and full pathname of the aliases file used
for local mail delivery, and which is updated using the traditional newaliases com‐
mand. This is often the same file as that identified by the alias_maps parameter, but
need not be.
myorigin:
Identifies the name of the host or domain that local mail is assumed to come
from and is sent to. On Ubuntu systems, it is the name of a file containing whatever you
specified as the mail name when installing Postfix. This is suitable for single-domain
installations, but insufficient for Postfix mail servers that support multiple domains.
mydestination:
A list of domains for which mail is delivered via local mail delivery. I
specified ubuntu.vonhagen.org as the name of my host when I installed Postfix╃—╃in
most cases, mail.domain-name (i.e., mail.vonhagen.org, in my case) would be the
standard name to use for a mail server to help keep your sysadmins sane and make it
easy to locate/identify your domain’s mail server.
relayhost:
If outgoing mail must be sent to another mail server for delivery, this
parameter identifies that mail server; otherwise, it is empty.
mynetworks:
Identifies the networks or specific hosts from which this mail server will
send mail. This information is specified in both IPv4 and IPv6 formats. In this case, the
mail server will only send mail from the loopback network, which is a problem. This is
discussed in the following section, “Identifying Trusted Hosts and Domains.”
mailbox_size_limit:
Identifies the maximum size of any mailbox on the system. In
this case, 0 means that there is no limit.
recipient_delimiter:
Identifies the separator used internally by the Postfix server
between usernames and addresses.
inet_interfaces:
Identifies the network interfaces on which the machine can receive
mail. In this case, the Postfix server will listen on all network interfaces.
html_directory:
Identifies the location of HTML files that describe how to install and
configure a Postfix server and various Postfix features.
A complete list of Postfix configuration parameters and possible values is available in the files sec‐
tion of the online reference information for the postconf command (man 5 postconf) or online
at locations such as www.postfix.org/postconf.5.html.