Installing and configuring Mysql server on Freebsd

Go to the /usr folder cd /usr and then extract updates portsnap fetch extract then go to mysql client folder in ports(the version may change on your ports version and updates) /usr/ports/databases/mysql56-client then issue the command to install client make install clean and then navigate to the server folder cd /usr/ports/databases/mysql56-server then install it make

Jdk installation javaws error javaws: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

javaws -version [root@centos ~]# javaws: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory -bash: javaws:: command not found install this package yum -y install libX11-devel.x86_64 and then magic happens [root@centos ~]# javaws -version Java(TM) Web Start 10.71.2.14-fcs Usage: javaws [run-options] <jnlp-file> javaws [control-options]

Smaller Eclipse menus on ubuntu

in terminal in your home directory issue the below command sudo gedit ~/.gtkrc-2.0 and copy the below content and save style "gtkcompact" { GtkButton::defaultborder={0,0,0,0} GtkButton::defaultoutsideborder={0,0,0,0} GtkButtonBox::childminwidth=0 GtkButtonBox::childminheigth=0 GtkButtonBox::childinternalpadx=0 GtkButtonBox::childinternalpady=0 GtkMenu::vertical-padding=1 GtkMenuBar::internalpadding=0 GtkMenuItem::horizontalpadding=4 GtkToolbar::internal-padding=0 GtkToolbar::space-size=0 GtkOptionMenu::indicatorsize=0 GtkOptionMenu::indicatorspacing=2 GtkPaned::handlesize=4 GtkRange::troughborder=0 GtkRange::stepperspacing=0 GtkScale::valuespacing=0 GtkScrolledWindow::scrollbarspacing=0 GtkExpander::expandersize=10 GtkExpander::expanderspacing=0 GtkTreeView::vertical-separator=0 GtkTreeView::horizontal-separator=0 GtkTreeView::expander-size=8 GtkTreeView::fixed-height-mode=TRUE GtkWidget::focuspadding=1 } class "GtkWidget" style "gtkcompact" style "gtkcompactextra" {

Installing MySQL on FreeBSD

Go to the installation folder cd /usr/ports/databases/mysql56-server carry out the installation command make install clean After a long run of installation edit the below file nano /etc/rc.conf add this line and save&exit mysql_enable="YES" start the server /usr/local/etc/rc.d/mysql-server start Set the root password mysqladmin -u root password "YOUR-PASSWORD-GOES-HERE" connect to your server mysql -u root -p

Enabling root remote ssh login on Freebsd

Using username "root". Access denied Using keyboard-interactive authentication. Password for root@Freebsd10: Access denied nano /etc/ssh/sshd_config find the "#PermitRootLogin no" line or you can use ctrl + w and enter the line then remove # and change no to yes then ctrl+o and ctrl+x to exit restart sshd deamon by entering "/etc/rc.d/sshd restart" Performing sanity check

vmware linux ethernet module compile issue

I’ve faced this issue today in the morning after a fresh ubuntu 14.04 installation on my laptop. The issue occurs because vmware cannot configure the Ethernet module. Virtual machine monitor done Virtual machine communication interface done VM communication interface socket family done Blocking file system done Virtual ethernet failed VMware Authentication Daemon done to resolve