wine start /unix problem opening .exe files with Wine
Edit the default launch command for wine
gksu gedit /usr/share/applications/wine.desktop
Exec=cautious-launcher %f wine start /unix
Exec=wine start /unix %f
gksu gedit /usr/share/applications/wine.desktop
Exec=cautious-launcher %f wine start /unix
Exec=wine start /unix %f
If you have never set a root password for MySQL server, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:$ mysqladmin -u root password NEWPASSWORD
However, if you want to change (or update) a root password, then you need to use the following command:$ mysqladmin -u root -p'oldpassword' password newpass
For example, If the old password is abc, you can set the new password to 123456, enter:
$ mysqladmin -u root -p'abc' password '123456'
To change a normal user password you need to type (let us assume you would like to change password for user vivek) the following command:$ mysqladmin -u vivek -p oldpassword password newpass
This is another method. MySQL stores username and passwords in user table inside MySQL database. You can directly update password using the following method to update or change password for user vivek:
1) Login to mysql server, type the following command at shell prompt:$ mysql -u root -p
2) Use mysql database (type command at mysql> prompt):
mysql> use mysql;
3) Change password for user vivek, enter:
mysql> update user set password=PASSWORD("NEWPASSWORD") where User='vivek';4) Finally, reload the privileges:
mysql> flush privileges; mysql> quit
The last method can be used with PHP, Python or Perl scripting mysql API.
Eğer olurda bir WordPress admin şifrenizi unutursanız ya da herhangi bir şekilde parolanızı sıfırlayamıyorsanız, aşağıda anlatacağım yöntemle WordPress admin panel şifrenizi değiştirebilirsiniz.
cPanel için:
cPanel’e giriş yapıyoruz. Bilmeyenler için söylüyorum cPanele giriş için; http://siteadi.com:2082 ya da http://siteadi.com/cpanel . Karşınıza gelen pencereye hosting sağlayıcınızın verdiği bilgileri girerek devam diyoruz. Ardından cPanel’deki PhpMyAdmin‘i seçiyoruz. Sol taraftan WordPress’in kurulu olduğu veritabanını seçtikten sonra tablolar arasından wp_users‘a giriyorsunuz ve karşınıza aşağıdaki gibi bir bölme geliyor.
| Bu resim yeniden boyutlandırılmıştır. Orijinal boyut için bu çubuğa tıklayınız. (618x49px) |
Yukarıda gördüğünüz bölmede user_pass altındaki karışık rakam ve yazılar, admin panel şifremizin md5 ile şifrelenmiş halidir. Bu bölümü değiştirmek için admin tablosunun en solundaki kaleme tıklayıp düzenle diyoruz. user_pass başlığı altındaki karışık kodları silip yerine 320c0ee3ef9c331d766799413dba44ef eksiksiz şekilde bu kodları yazıyorsunuz. Bu işlemide yaptıktan sonra yeni parolanız: plusbilgi oluyor.
Plesk Panel içinse,
Panele giriş yaptıktan sonra, veritabanlarından WordPress kurulu olan veritabanını seçiyorsunuz ve yukarıda beliren myadmin ikonuna tıklıyorsunuz ve yukarıdaki tüm işlemleri aynen yapıyorsunuz.
Yukarıdaki tüm işlemleri yaptıktan sonra, admin panelinize giriş yapıp admin panelinizden şifreyi değiştirmeyi unutmayın.
Ubuntu 10.10 Maverick Meerkat comes with the Rhythmbox music player, which is perfectly adequate for most people, but many users prefer the venerable Winamp media player. However, Winamp is Windows-only, which would seem to present a barrier to using it on Ubuntu Maverick Meerkat. However, the Wine compatibility layer lets you run Windows programs on Ubuntu, and using Wine, it’s possible to install Winamp on a Ubuntu system. Granted, on a Ubuntu system you’re probably better off using Rhythmbox, but if you insist upon Winamp, Wine will let you install it. Here’s how to do it.
First, you’ll need to lay some groundwork. You’ll need to install the ubuntu-restricted-extras package (if you didn’t do so during the Ubuntu installation), so that Winamp will be able to play MP3 and AAC files. You can do so with this Terminal command:
sudo apt-get install ubuntu-restricted-extras
Enter your password to authenticate, and apt-get will download and install the ubuntu-restricted-extras package for you.
Next, you’ll need to install Wine itself to your Ubuntu system. Read this post for directions and a quick introduction to Wine.
Once you have Wine installed, download the Winamp installer file from here. After the files are finished copying, you’ll need to mark the installer file as executable for Wine to run it. Do so with this Terminal command:
sudo chmod 755 ~/Downloads/NAMEOFWINAMPINSTALLER.exe
(Note that the name of the file changes frequently, so replace NAMEOFWINAMPINSTALLER.exe with the actual name of the file.)
Once the command has completed, go to your Downloads folder, right-click on the installer file and select “Open With Wine Windows Program Loader”. The Setup program for Winamp will then run. Follow the default prompts, and Winamp should install in short order. After the installation is complete, you can launch Winamp by going to Applications, to Wine, to Programs, to Winamp, and clicking on the Winamp icon.
Wine is a compatibility layer that lets you, in theory, run applications written for Windows on a Unix-like system (though depending on the application, it can take some tweaking). Wine installs quite easily and runs just fine on Ubuntu 10.10 Maverick Meerkat. First, you’ll need to install Wine with this command at the Terminal prompt:
sudo apt-get install wine
Enter your password to authenticate, and apt-get will download and install Wine. The combined packages come to a little over a hundred megabytes, so it might take a while to install depending upon your connection speed.
After the installation is finished, you’ll have a new Wine category added to your Applications menu. The Wine category will have four subcategories:
-Programs, which lets you browse the installed Wine programs on your system.
-Browse C: Drive, which lets you browse the C: drive structure Wine emulates for Windows programs.
-Configure Wine, which lets you tweak settings for both individual programs and Wine as a whole.
-Uninstall Wine software, which lets you remove Windows programs installed via Wine.
To install Windows software in Wine, you need to right-click on the installer file and select “Open With Wine Windows Program Loader”.
You can also install Windows software with Wine through the command line, which is often the easier way to do it. For instance, to install the example above, you would use this command:
wine ~/Downloads/INSTALL.EXE
If the application did not install, you’ll probably have to change the Wine settings. The best course is to probably browse the Wine application database, and see if you can find the correct settings there.
-JM